scope360-core 0.0.164 → 0.0.166

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 Tz=Object.defineProperty;var Oz=(ie,o,ds)=>o in ie?Tz(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(Oz(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)))})},Pe={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>ds(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>OV),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>$V),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>NV),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>AV),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>IV),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>YV),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>ZV),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>GV),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>QV),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>vB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>OB),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>NB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>vA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>OA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>NA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>vR),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>OR),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>NR),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>vF),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>OF),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>NF),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>aI),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>dI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>fI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>gI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>wI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>CI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>vI),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>OI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>$I),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>NI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>AI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>II),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>YI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>ZI),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>GI),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>QI),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>tz),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>sz),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>az),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>dz),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>fz),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>gz),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>wz),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>Cz),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>vz)}),`../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},m4=["disabled"],p4={key:1},ga=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(Pe,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",p4,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,m4))}},[["__scopeId","data-v-ffc148b3"]]);function Sc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function g4(t){return(...e)=>!t(...e)}function _4(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function _h(t,e,n,r){return e?t.filter(s=>_4(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function y4(t){return t.filter(e=>!e.$isLabel)}function Tc(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 w4(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=_h(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const yh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var b4={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 Sc(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):_h(n,e,this.label,this.customLabel):n=this.groupValues?Tc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(g4(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 yh(w4(e,n,this.groupValues,this.groupLabel,this.customLabel),Tc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return yh(Tc(this.groupValues,this.groupLabel),y4)(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(Sc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Sc(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))}}},k4={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}}},wh={name:"vue-multiselect",mixins:[b4,k4],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 C4={ref:"tags",class:"multiselect__tags"},x4={class:"multiselect__tags-wrap"},M4={class:"multiselect__spinner"},v4={key:0},S4={class:"multiselect__option"},T4={class:"multiselect__option"},O4=o.createTextVNode("No elements found. Consider changing the search query."),D4={class:"multiselect__option"},E4=o.createTextVNode("List is empty.");function $4(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",C4,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",x4,[(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",M4,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",v4,[o.createVNode("span",S4,[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",T4,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[O4])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",D4,[o.renderSlot(t.$slots,"noOptions",{},()=>[E4])])],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"])}wh.render=$4;const P4={key:0,class:"scope-multiselect-label"},L4=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",P4,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(wh),{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(Pe,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Pe,{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"]]),N4={key:0,class:"scope-input__label"},V4={key:0,class:"scope-input__sign"},B4=["disabled","placeholder","veeBind","maxlength","pattern","type"],A4={key:1,class:"scope-input__error"},R4=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,hasSave:Boolean},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter","save"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=dh(),s=n,i=o.ref(null),a=o.useModel(t,"modelValue"),l=t,c=o.computed(()=>l.width?{width:l.width}:null),d=o.ref(!1),u=()=>{i.value.focus()},h=f=>{navigator.clipboard.writeText(f).then(()=>{d.value=!0;const m=setTimeout(()=>{d.value=!1,clearTimeout(m)},3e3)}).catch(m=>{r(m)})};return e({focus:u}),(f,m)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton,"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon}])},[t.label?(o.openBlock(),o.createElementBlock("div",N4,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",V4,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:i,disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":m[0]||(m[0]=g=>a.value=g),style:o.normalizeStyle(c.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:m[1]||(m[1]=g=>s("input")),onKeyup:m[2]||(m[2]=o.withKeys(g=>s("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,B4),[[o.vModelDynamic,a.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.hasSave||t.haveCopyButton&&!t.icon,"-with-label":!!t.label,"-has-save":t.hasSave}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Pe),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Pe),{key:1,class:"scope-input__clear",icon:"cross",onClick:m[3]||(m[3]=g=>a.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!d.value?(o.openBlock(),o.createBlock(o.unref(Pe),{key:2,class:"scope-input__clear",icon:"copy",onClick:m[4]||(m[4]=g=>h(a.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&d.value?(o.openBlock(),o.createBlock(o.unref(Pe),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0),t.hasSave&&a.value.length?(o.openBlock(),o.createElementBlock("div",{key:4,class:"scope-input__save",onClick:m[5]||(m[5]=g=>s("save"))},"Save")):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",A4,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-86835b6c"]]),F4={class:"scope-radio-label"},I4=["value"],z4={class:"scope-text"},H4={__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.computed(()=>e.value===n.value);return(s,i)=>(o.openBlock(),o.createElementBlock("label",F4,[o.withDirectives(o.createElementVNode("input",{name:"radio",type:"radio",value:t.value,class:"scope-radio-input","onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a)},null,8,I4),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",z4,o.toDisplayString(t.label),1)]))}},Y4=Oe(H4,[["__scopeId","data-v-00175a44"]]),W4=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),j4={class:"scope-toggle-wrapper"},Z4=["checked","name"],U4=W4(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),q4=Oe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e,s=()=>{n.value=!n.value,r("change",n.value)};return(i,a)=>(o.openBlock(),o.createElementBlock("div",j4,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,Z4),U4]))}},[["__scopeId","data-v-a4862285"]]),G4={class:"scope-checkbox-container"},K4=["id"],X4=["for"],Q4=Oe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e;return o.watch(n,s=>{r("change")}),(s,i)=>(o.openBlock(),o.createElementBlock("ul",G4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,K4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,X4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),J4={class:"scope-menu-tabs"},e5=["onClick"],t5=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",J4,[(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"]]),n5={class:"scope-switcher"},r5={class:"scope-switcher__current-item"},s5=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",n5,[o.createVNode(Pe,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",r5,o.toDisplayString(n.value.name),1),o.createVNode(Pe,{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 bh(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 i5(t,e){const n=+le(t);return Le(t,n+e)}const kh=6048e5,o5=864e5,a5=6e4,Ch=36e5,l5=1e3;function c5(t,e){return i5(t,e*Ch)}let d5={};function us(){return d5}function Fn(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 Fn(t,{weekStartsOn:1})}function xh(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 Mh(t){const e=le(t);return e.setHours(0,0,0,0),e}function _a(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 vh(t,e){const n=Mh(t),r=Mh(e),s=+n-_a(n),i=+r-_a(r);return Math.round((s-i)/o5)}function u5(t){const e=xh(t),n=Le(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function h5(t,e){const n=e*3;return Sn(t,n)}function Oc(t,e){return Sn(t,e*12)}function Sh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!Sh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function Th(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Oh(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 f5(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=h5(a,l);return s?c.reverse():c}function m5(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Dh(t){const e=le(t),n=Le(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function p5(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 Eh(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 g5={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"}},_5=(t,e,n)=>{let r;const s=g5[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 Dc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const y5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},w5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},b5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},k5={date:Dc({formats:y5,defaultWidth:"full"}),time:Dc({formats:w5,defaultWidth:"full"}),dateTime:Dc({formats:b5,defaultWidth:"full"})},C5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},x5=(t,e,n,r)=>C5[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 M5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},v5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},S5={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"]},T5={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"]},O5={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"}},D5={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"}},E5={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:M5,defaultWidth:"wide"}),quarter:Zi({values:v5,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:S5,defaultWidth:"wide"}),day:Zi({values:T5,defaultWidth:"wide"}),dayPeriod:Zi({values:O5,defaultWidth:"wide",formattingValues:D5,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)?P5(l,h=>h.test(a)):$5(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 $5(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function P5(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function L5(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 N5=/^(\d+)(th|st|nd|rd)?/i,V5=/\d+/i,B5={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},A5={any:[/^b/i,/^(a|c)/i]},R5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},F5={any:[/1/i,/2/i,/3/i,/4/i]},I5={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},z5={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]},H5={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},Y5={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]},W5={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},j5={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}},Z5={ordinalNumber:L5({matchPattern:N5,parsePattern:V5,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:B5,defaultMatchWidth:"wide",parsePatterns:A5,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:R5,defaultMatchWidth:"wide",parsePatterns:F5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:I5,defaultMatchWidth:"wide",parsePatterns:z5,defaultParseWidth:"any"}),day:Ui({matchPatterns:H5,defaultMatchWidth:"wide",parsePatterns:Y5,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:W5,defaultMatchWidth:"any",parsePatterns:j5,defaultParseWidth:"any"})},$h={code:"en-US",formatDistance:_5,formatLong:k5,formatRelative:x5,localize:E5,match:Z5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function U5(t){const e=le(t);return vh(e,Dh(e))+1}function Ec(t){const e=le(t),n=+Xs(e)-+u5(e);return Math.round(n/kh)+1}function $c(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=Fn(a,e),c=Le(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=Fn(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function q5(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=$c(t,e),i=Le(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Fn(i,e)}function Pc(t,e){const n=le(t),r=+Fn(n,e)-+q5(n,e);return Math.round(r/kh)+1}function Be(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Pr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Be(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Be(n+1,2)},d(t,e){return Be(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 Be(t.getHours()%12||12,e.length)},H(t,e){return Be(t.getHours(),e.length)},m(t,e){return Be(t.getMinutes(),e.length)},s(t,e){return Be(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Be(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ph={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 Pr.y(t,e)},Y:function(t,e,n,r){const s=$c(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Be(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Be(i,e.length)},R:function(t,e){const n=xh(t);return Be(n,e.length)},u:function(t,e){const n=t.getFullYear();return Be(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 Be(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 Be(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 Pr.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 Be(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=Pc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Be(s,e.length)},I:function(t,e,n){const r=Ec(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Be(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Pr.d(t,e)},D:function(t,e,n){const r=U5(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Be(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 Be(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 Be(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 Be(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 Pr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Pr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Be(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Be(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Pr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Pr.s(t,e)},S:function(t,e){return Pr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Nh(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 Nh(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"+Lh(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"+Lh(r,":");case"zzzz":default:return"GMT"+fs(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Be(r,e.length)},T:function(t,e,n){const r=t.getTime();return Be(r,e.length)}};function Lh(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+Be(i,2)}function Nh(t,e){return t%60===0?(t>0?"-":"+")+Be(Math.abs(t)/60,2):fs(t,e)}function fs(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Be(Math.trunc(r/60),2),i=Be(r%60,2);return n+s+e+i}const Vh=(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"})}},Bh=(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"})}},Lc={p:Bh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Vh(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}}",Vh(r,e)).replace("{{time}}",Bh(s,e))}},G5=/^D+$/,K5=/^Y+$/,X5=["D","DD","YY","YYYY"];function Ah(t){return G5.test(t)}function Rh(t){return K5.test(t)}function Nc(t,e,n){const r=Q5(t,e,n);if(console.warn(r),X5.includes(t))throw new RangeError(r)}function Q5(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 J5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,e9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,t9=/^'([^]*?)'?$/,n9=/''/g,r9=/[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??$h,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(e9).map(C=>{const b=C[0];if(b==="p"||b==="P"){const S=Lc[b];return S(C,s.formatLong)}return C}).join("").match(J5).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const b=C[0];if(b==="'")return{isToken:!1,value:s9(C)};if(Ph[b])return{isToken:!0,value:C};if(b.match(r9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");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 b=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Rh(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ah(b))&&Nc(b,e,String(t));const S=Ph[b[0]];return S(l,b,s.localize,d)}).join("")}function s9(t){const e=t.match(t9);return e?e[1].replace(n9,"'"):t}function i9(t){return le(t).getDay()}function o9(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 a9(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function l9(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 c9(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 d9=10;class Fh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class u9 extends Fh{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 h9 extends Fh{constructor(){super(...arguments);W(this,"priority",d9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Le(n,c9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new u9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class f9 extends Ne{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}/},Hn={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 Yn(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*Ch+i*a5+a*l5),rest:e.slice(n[0].length)}}function Ih(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 ya(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 Vc(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 zh(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 Hh(t){return t%400===0||t%4===0&&t%100!==0}class m9 extends Ne{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=zh(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 p9 extends Ne{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=$c(n,i);if(s.isTwoDigitYear){const c=zh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Fn(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),Fn(n,i)}}class g9 extends Ne{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 ya(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 _9 extends Ne{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 ya(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class y9 extends Ne{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 w9 extends Ne{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 b9 extends Ne{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 k9 extends Ne{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 C9(t,e,n){const r=le(t),s=Pc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class x9 extends Ne{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 Fn(C9(n,s,i),i)}}function M9(t,e){const n=le(t),r=Ec(n)-e;return n.setDate(n.getDate()-r*7),n}class v9 extends Ne{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(M9(n,s))}}const S9=[31,28,31,30,31,30,31,31,30,31,30,31],T9=[31,29,31,30,31,30,31,31,30,31,30,31];class O9 extends Ne{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=Hh(s),a=n.getMonth();return i?r>=1&&r<=T9[a]:r>=1&&r<=S9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class D9 extends Ne{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 Hh(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 Bc(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 E9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}class $9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}class P9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}function L9(t,e){const n=le(t),r=l9(n),s=e-r;return vn(n,s)}class N9 extends Ne{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=L9(n,s),n.setHours(0,0,0,0),n}}class V9 extends Ne{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(Vc(s),0,0,0),n}}class B9 extends Ne{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(Vc(s),0,0,0),n}}class A9 extends Ne{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(Vc(s),0,0,0),n}}class R9 extends Ne{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 F9 extends Ne{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 I9 extends Ne{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 z9 extends Ne{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 H9 extends Ne{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 Y9 extends Ne{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 W9 extends Ne{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 j9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Yn(Hn.basicOptionalMinutes,n);case"XX":return Yn(Hn.basic,n);case"XXXX":return Yn(Hn.basicOptionalSeconds,n);case"XXXXX":return Yn(Hn.extendedOptionalSeconds,n);case"XXX":default:return Yn(Hn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-_a(n)-s)}}class Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Yn(Hn.basicOptionalMinutes,n);case"xx":return Yn(Hn.basic,n);case"xxxx":return Yn(Hn.basicOptionalSeconds,n);case"xxxxx":return Yn(Hn.extendedOptionalSeconds,n);case"xxx":default:return Yn(Hn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-_a(n)-s)}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Ih(n)}set(n,r,s){return[Le(n,s*1e3),{timestampIsSet:!0}]}}class q9 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Ih(n)}set(n,r,s){return[Le(n,s),{timestampIsSet:!0}]}}const G9={G:new f9,y:new m9,Y:new p9,R:new g9,u:new _9,Q:new y9,q:new w9,M:new b9,L:new k9,w:new x9,I:new v9,d:new O9,D:new D9,E:new E9,e:new $9,c:new P9,i:new N9,a:new V9,b:new B9,B:new A9,h:new R9,H:new F9,K:new I9,k:new z9,m:new H9,s:new Y9,S:new W9,X:new j9,x:new Z9,t:new U9,T:new q9},K9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q9=/^'([^]*?)'?$/,J9=/''/g,e7=/\S/,t7=/[a-zA-Z]/;function Ac(t,e,n,r){var p,_,y,C,b,S,M,T;const s=a9(),i=(r==null?void 0:r.locale)??s.locale??$h,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=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:S.weekStartsOn)??s.weekStartsOn??((T=(M=s.locale)==null?void 0:M.options)==null?void 0:T.weekStartsOn)??0;if(e==="")return t===""?le(n):Le(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new h9],u=e.match(X9).map(v=>{const D=v[0];if(D in Lc){const E=Lc[D];return E(v,i.formatLong)}return v}).join("").match(K9),h=[];for(let v of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Rh(v)&&Nc(v,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ah(v)&&Nc(v,e,t);const D=v[0],E=G9[D];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(F=>I.includes(F.token)||F.token===D);if($)throw new RangeError(`The format string mustn't contain \`${$.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(t7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");if(v==="''"?v="'":D==="'"&&(v=n7(v)),t.indexOf(v)===0)t=t.slice(v.length);else return Le(n,NaN)}}if(t.length>0&&e7.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 n7(t){return t.match(Q9)[1].replace(J9,"'")}function Yh(t,e){const n=hs(t),r=hs(e);return+n==+r}function r7(t,e){return vn(t,-e)}function Wh(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=o9(i);return n.setMonth(e,Math.min(s,a)),n}function Ye(t,e){let n=le(t);return isNaN(+n)?Le(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Wh(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 jh(t,e){const n=le(t);return n.setHours(e),n}function Rc(t,e){const n=le(t);return n.setMilliseconds(e),n}function Zh(t,e){const n=le(t);return n.setMinutes(e),n}function Fc(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 s7(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=r7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Le(t,u.getTime()-m)}function Uh(t,e){return Oc(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 qh(){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"})])}qh.compatConfig={MODE:3};function Ic(){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"})])}Ic.compatConfig={MODE:3};function zc(){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"})])}zc.compatConfig={MODE:3};function Hc(){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"})])}Hc.compatConfig={MODE:3};function Yc(){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"})])}Yc.compatConfig={MODE:3};function Wc(){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"})])}Wc.compatConfig={MODE:3};function Gh(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 i7(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const o7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(i7(t))}catch{s=r.map(Gh(e))}else s=r.map(Gh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},jc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:tf(s,e)});return n?r.reverse():r},Kh=(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}})},a7=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},l7=t=>({type:"dot",...t??{}}),Xh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Zc={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,Qh=t=>t===0?t:!t||isNaN(+t)?null:+t,Jh=t=>t===null,ef=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},c7=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)=>c7(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}}})),Lr=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},d7=()=>["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 u7(t,e){let n=[...document.querySelectorAll(d7())];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 h7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),tf=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Uc=t=>In(t,"dd-MM-yyyy"),qc=t=>Array.isArray(t),wa=(t,e)=>e.get(Uc(t)),f7=(t,e)=>t?e?e instanceof Map?!!wa(t,e):e(q(t)):!1:!0,nf=(t,e,n,r,s,i)=>{const a=Ac(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&Sh(a)?r||s?a:Ye(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},m7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return nf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=nf(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,p7=(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=jh(e,0),e=Zh(e,0),e=Fc(e,0),e=Rc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=jh(s,+e)),(n||n===0)&&(s=Zh(s,+n)),(r||r===0)&&(s=Fc(s,+r)),Rc(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)),ba=(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=Ye(new Date(t),{date:1});return Zt(e)},Gc=(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)}),rf=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},sf=(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))},of=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return Oh({start:n,end:r})},g7=t=>{const e=Sn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Fn(t,{weekStartsOn:+e}),r=p5(t,{weekStartsOn:+e});return[n,r]},af=(t,e)=>{const n={hours:Tn(q()),minutes:zn(q()),seconds:e?Js(q()):0};return Object.assign(n,t)},Vr=(t,e,n)=>[Ye(q(t),{date:1}),Ye(q(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=Wh(r,e)),n&&(r=Wn(r,n)),r},lf=(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?!y7(...a,e):!_7(...a,n)},_7=(t,e,n)=>rt(...Vr(n,t,e))||Me(...Vr(n,t,e)),y7=(t,e,n)=>ut(...Vr(n,t,e))||Me(...Vr(n,t,e)),cf=(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(Zc.prop("partial-range"))},ka=(t,e)=>{if(e)return t();throw new Error(Zc.prop("range"))},Kc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,w7=(t,e)=>Ye(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Xc=(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(Ye(t,i),Ye(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Qc=(t,e,n)=>t?w7(t,e):q(n??e),df=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Qc(t,r[0],e),l=Qc(t,r[1],e);return Xc(r[0],a,n,!!e)&&Xc(r[1],l,n,!!e)&&s}const i=Qc(t,r,e);return Xc(r,i,n,!!e)&&s},Jc=t=>Ye(q(),ms(t)),b7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],uf=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),ed=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),hf=()=>{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:[]}),td=o.ref(null),Ca=o.ref(!1),nd=o.ref(!1),rd=o.ref(!1),sd=o.ref(!1),Ot=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>Ca.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):nd.value?[...je.timePicker[0],...je.timePicker[1],sd.value?[]:[td.value],je.actionRow].filter(h=>h.length):rd.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Ot.value=h?Ot.value+1:Ot.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Ot.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Ot.value=h?0:t.value[ht.value].length-1):f||(Ot.value=h?Ot.value-1:Ot.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][Ot.value]&&Ot.value!==0&&(Ot.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][Ot.value]),f?f.focus({preventScroll:!Ca.value}):Ot.value=h?Ot.value-1:Ot.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=()=>{Ot.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{td.value=h},setSelectionGrid:h=>{Ca.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{nd.value=h,sd.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]=[],Ca.value=!1,nd.value=!1,sd.value=!1,rd.value=!1,u(),td.value=null},setMonthPicker:h=>{rd.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),ff=(t,e)=>id(t,e)||q(),k7=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),id=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?k7(t,e):lr(n,e.timezone)},C7=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},mf=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??{}}),x7=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??{}}),pf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,M7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:pf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=pf(s);return Object.assign(n,r,{count:i})},v7=(t,e,n)=>t||(typeof n=="string"?n:e),S7=t=>typeof t=="boolean"?t?mf({}):!1:mf(t),T7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},O7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),D7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),E7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},$7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),P7=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??{}}},L7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},N7=(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},V7=(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},od=(t,e)=>new Map(t.map(n=>{const r=ff(n,e);return[Uc(r),r]})),B7=(t,e)=>t.length?new Map(t.map(n=>{const r=ff(n.date,e);return[Uc(r),n]})):null,A7=(t,e,n,r,s,i,a)=>({minDate:id(t,a),maxDate:id(e,a),disabledDates:qc(n)?od(n,a):n,allowedDates:qc(r)?od(r,a):null,highlight:typeof s=="object"&&qc(s==null?void 0:s.dates)?od(s.dates,a):s,markers:B7(i,a)}),R7=(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=>af(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(()=>M7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>x7(t.ariaLabels)),c=o.computed(()=>O7(t.filters)),d=o.computed(()=>S7(t.transitions)),u=o.computed(()=>D7(t.actionRow)),h=o.computed(()=>v7(t.previewFormat,t.format,n())),f=o.computed(()=>T7(t.textInput)),m=o.computed(()=>E7(t.inline)),g=o.computed(()=>$7(t.config)),p=o.computed(()=>P7(t.highlight)),_=o.computed(()=>L7(t.weekNumbers)),y=o.computed(()=>V7(t.timezone,t.emitTimezone)),C=o.computed(()=>R7(t.multiDates,t.multiDatesLimit)),b=o.computed(()=>A7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),S=o.computed(()=>N7(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:b,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},F7=(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=C7(a.value.timezone);return c5(w,B)}return w},m=(w,B,z=!1)=>cf(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))):ka(()=>[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)),b=w=>{const B=Ye(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(z=>y(z,ar(B,+z.month,+z.year))):ka(()=>[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(Zc.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])},T=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?ka(()=>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)?ka(()=>D(),i.value.enabled):ee(Ct(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?b(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?S(Ct(w)):e.weekPicker?M(Ct(w)):T(Ct(w)),F=w=>{const B=$(w);Kc(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]):""}`},O=()=>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"?O():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(Ac(w,c(),new Date)):h(Ac(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?p7(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)}},P=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))},k=w=>U(Ct(P(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:F,formatInputValue:N,emitModelValue:()=>(N(),e.monthPicker?k(p):e.timePicker?k(g):e.yearPicker?k(ye):e.weekPicker?t("update:model-value",V()):U(j(),!0))}},I7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Qe(t),{validateMonthYearInRange:s}=Rr(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?Oc(u,1):Uh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=Ye(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=>lf(Ye(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 z7=({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=O=>{if(a.teleport){const x=O.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(O,x)=>{u.value.left=`${O+x-c.value.width}px`},p=O=>{u.value.left=`${O}px`},_=(O,x)=>{a.position===oi.left&&p(O),a.position===oi.right&&g(O,x),a.position===oi.center&&(u.value.left=`${O+x/2-c.value.width/2}px`)},y=O=>{const{width:x,height:N}=O.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(O):m(O);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},b=()=>{const O=wt(n),{top:x,left:N,transform:Z}=a.altPosition(O);u.value={top:`${x}px`,left:`${N}px`,transform:Z??""}},S=(O=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return b();if(O){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:O,left:x,width:N})=>{window.screen.width>768&&!d.value&&_(x,N),D(O)},T=O=>{const{top:x,left:N,height:Z,width:ee}=y(O);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:O,left:N,width:ee})},v=O=>{const{top:x,left:N,width:Z}=y(O);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:O,left:N,width:Z})},D=O=>{if(a.autoPosition){const{left:x,width:N}=y(O),{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 O=wt(n);if(O){const{height:x}=c.value,{top:N,height:Z}=O.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=O=>E()===ps.bottom?T(O):v(O),j=()=>{const O=wt(n);if(O)return a.autoPosition?I(O):T(O)},$=function(O){if(O){const x=O.scrollHeight>O.clientHeight,N=window.getComputedStyle(O).overflowY.indexOf("hidden")!==-1;return x&&!N}return!0},F=function(O){return!O||O===document.body||O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(O)?O:F(O.parentNode)},G=O=>{if(O)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${O.width}px`,transform:"translateX(-100%)"};default:return{left:`${O.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:S,getScrollableParent:F,shadowRender:(O,x)=>{var N,Z,ee;const U=document.createElement("div"),P=(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 k=G(P),w=o.h(O,{...x,shadow:!0,style:{opacity:0,position:"absolute",...k}},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"]}],H7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Y7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>H7,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 Y7[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}},W7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Qe(e),{isDisabled:c}=Rr(e),d=o.ref(null),u=o.ref(lr(new Date,i.value.timezone)),h=k=>{!k.current&&e.hideOffsetDates||(d.value=k.value)},f=()=>{d.value=null},m=k=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?k?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(k,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(k.value),z)},p=k=>{const w=Array.isArray(t.value)?t.value[0]:null;return k?!rt(d.value??null,w):!0},_=(k,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!k.current?!1:Me(q(k.value),t.value[w?0:1]):l.value.enabled?g(k,w)&&p(w)||Me(k.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(k,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?k?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=k=>!t.value||e.hideOffsetDates&&!k.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(k.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,k.value)):Me(k.value,t.value?t.value:u.value),b=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!k.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(k.value)):Me(w,q(k.value))}return!1}return!1},S=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!k.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(k.value,B[0])&&rt(k.value,B[1]):ut(k.value,d.value)&&rt(k.value,w)}return!1}return!1},M=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!k.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],k.value):Me(d.value,k.value)}return!1}return!1},T=k=>ba(t.value,d.value,k.value),v=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,D=()=>e.modelAuto?Xh(e.internalModelValue):!0,E=k=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(k)&&!_(k,!1):!0;return!c(k.value)&&!C(k)&&!(!k.current&&e.hideOffsetDates)&&w},I=k=>l.value.enabled?e.modelAuto?v()&&C(k):!1:C(k),j=k=>s.value?f7(k.value,a.value.highlight):!1,$=k=>{const w=c(k.value);return w&&(typeof s.value=="function"?!s.value(k.value,w):!s.value.options.highlightDisabled)},F=k=>{var w;return typeof s.value=="function"?s.value(k.value):(w=s.value.weekdays)==null?void 0:w.includes(k.value.getDay())},G=k=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||k.current)&&D()&&!(!k.current&&e.hideOffsetDates)&&!C(k)?T(k):!1,O=k=>{const{isRangeStart:w,isRangeEnd:B}=ee(k),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!k.current,dp__pointer:!e.disabled&&!(!k.current&&e.hideOffsetDates)&&!c(k.value),dp__cell_disabled:c(k.value),dp__cell_highlight:!$(k)&&(j(k)||F(k))&&!I(k)&&!z&&!M(k)&&!(G(k)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(k)&&(j(k)||F(k))&&I(k),dp__today:!e.noToday&&Me(k.value,u.value)&&k.current,"dp--past":rt(k.value,u.value),"dp--future":ut(k.value,u.value)}},x=k=>({dp__active_date:I(k),dp__date_hover:E(k)}),N=k=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...P(k),dp__range_start:Me(w[0],k.value),dp__range_end:Me(w[1],k.value),dp__range_between_week:ut(k.value,w[0])&&rt(k.value,w[1])}}return{...P(k)}},Z=k=>{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{...P(k),dp__range_start:Me(w[0],k.value)||Me(B[0],k.value),dp__range_end:Me(w[1],k.value)||Me(B[1],k.value),dp__range_between_week:ut(k.value,w[0])&&rt(k.value,w[1])||ut(k.value,B[0])&&rt(k.value,B[1]),dp__range_between:ut(k.value,w[1])&&rt(k.value,B[0])}}return{...P(k)}},ee=k=>{const w=n.value.count>0?k.current&&_(k)&&D():_(k)&&D(),B=n.value.count>0?k.current&&_(k,!1)&&D():_(k,!1)&&D();return{isRangeStart:w,isRangeEnd:B}},U=k=>{const{isRangeStart:w,isRangeEnd:B}=ee(k);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(k),dp__date_hover:E(k),dp__date_hover_start:y(E(k),k,!0),dp__date_hover_end:y(E(k),k,!1)}},P=k=>({...U(k),dp__cell_auto_range:S(k),dp__cell_auto_range_start:M(k),dp__cell_auto_range_end:b(k)}),V=k=>l.value.enabled?l.value.autoRange?P(k):e.modelAuto?{...x(k),...U(k)}:e.weekPicker?Z(k):U(k):e.weekPicker?N(k):x(k);return{setHoverDate:h,clearHoverDate:f,getDayClassData:k=>e.hideOffsetDates&&!k.current?{}:{...O(k),...V(k),[e.dayClass?e.dayClass(k.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Rr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=Qe(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!wa($,r.value.disabledDates):!1,a=$=>{const F=r.value.maxDate?ut($,r.value.maxDate):!1,G=r.value.minDate?rt($,r.value.minDate):!1,O=i($),x=e.value.months.map(P=>+P).includes(Ce($)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===i9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(F||G||O||x||U||N||Z)},l=($,F)=>rt(...Vr(r.value.minDate,$,F))||Me(...Vr(r.value.minDate,$,F)),c=($,F)=>ut(...Vr(r.value.maxDate,$,F))||Me(...Vr(r.value.maxDate,$,F)),d=($,F,G)=>{let O=!1;return r.value.maxDate&&G&&c($,F)&&(O=!0),r.value.minDate&&!G&&l($,F)&&(O=!0),O},u=($,F,G,O)=>{let x=!1;return O?r.value.minDate&&r.value.maxDate?x=d($,F,G):(r.value.minDate&&l($,F)||r.value.maxDate&&c($,F))&&(x=!0):x=!0,x},h=$=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!wa($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Oh({start:$[0],end:$[1]}).some(F=>f(F)):!0,g=$=>{if($){const F=ye($);return F>=+t.yearRange[0]&&F<=t.yearRange[1]}return!0},p=($,F)=>!!(Array.isArray($)&&$[F]&&(n.value.maxRange||n.value.minRange)&&g($[F])),_=($,F,G=0)=>{if(p(F,G)&&g($)){const O=vh($,F[G]),x=of(F[G],$),N=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(O)-(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=$=>Array.isArray($)?[$[0]?Jc($[0]):null,$[1]?Jc($[1]):null]:Jc($),b=($,F,G)=>$.find(O=>+O.hours===Tn(F)&&O.minutes==="*"?!0:+O.minutes===zn(F)&&+O.hours===Tn(F))&&G,S=($,F,G)=>{const[O,x]=$,[N,Z]=F;return!b(O,N,G)&&!b(x,Z,G)&&G},M=($,F)=>{const G=Array.isArray(F)?F:[F];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?S(t.disabledTimes,G,$):!G.some(O=>b(t.disabledTimes,O,$)):$},T=($,F)=>{const G=Array.isArray(F)?[ms(F[0]),F[1]?ms(F[1]):void 0]:ms(F),O=!t.disabledTimes(G);return $&&O},v=($,F)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(F,$):T(F,$):F,D=$=>{let F=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(F=df(t.maxTime,r.value.maxDate,"max",Ct(G),F)),(t.minTime||r.value.minDate)&&(F=df(t.minTime,r.value.minDate,"min",Ct(G),F)),v($,F)},E=$=>{if(!t.monthPicker)return!0;let F=!0;const G=q(On($));if(r.value.minDate&&r.value.maxDate){const O=q(On(r.value.minDate)),x=q(On(r.value.maxDate));return ut(G,O)&&rt(G,x)||Me(G,O)||Me(G,x)}if(r.value.minDate){const O=q(On(r.value.minDate));F=ut(G,O)||Me(G,O)}if(r.value.maxDate){const O=q(On(r.value.maxDate));F=rt(G,O)||Me(G,O)}return F},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:D($)),j=o.computed(()=>$=>t.monthPicker?Array.isArray($)&&(n.value.enabled||s.value.enabled)?!$.filter(F=>!E(F)).length:E($):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:D,isTimeValid:I,isMonthValid:j}},xa=()=>{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}},j7=(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}},Ma={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={...Ma,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}},Z7={key:1,class:"dp__input_wrap"},U7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],q7={key:2,class:"dp__clear_icon"},G7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ma},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}=Rr(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})),b=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},S=x=>{const N=f();return m7(x,i.value.format??h(),N??af({},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()),P=ee?S(ee.trim()):null,V=U&&P?[U,P]:[U];m(P,V,0)&&(g.value=U?V:null)}},T=()=>{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)):b(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(v(x.target.value),i.value.enterSubmit&&Kc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):$(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&v(x.target.value),i.value.tabSubmit&&Kc(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())})},$=x=>{x.preventDefault(),Lr(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},F=()=>{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=>{Lr(x,c.value,!0),r("clear")},O=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:$},[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",Z7,[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:F,onKeypress:O,onPaste:T,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"]),O],onBlur:F,onFocus:j,onKeypress:O,onPaste:T},null,42,U7)),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",q7,[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(qh),{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)])}}}),K7=["title"],X7=["disabled"],Q7=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}=Rr(r),{buildMatrix:g}=Br(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),b=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 O,x;const N=(O=b.value)==null?void 0:O.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)},T=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)||!T.value),D=()=>{const O=i.value;return r.timePicker||r.monthPicker,O(Ct(r.internalModelValue))},E=()=>{const O=r.internalModelValue;return a.value.count>0?`${I(O[0])} - ${I(O[1])}`:[I(O[0]),I(O[1])]},I=O=>cf(O,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(O=>`${I(O)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):D()),$=()=>u.value.enabled?"; ":" - ",F=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&T.value?n("select-date"):n("invalid-select")};return(O,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:S,class:"dp__action_row"},[O.$slots["action-row"]?o.renderSlot(O.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:O.internalModelValue,disabled:v.value,selectDate:()=>O.$emit("select-date"),closePicker:()=>O.$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:F.value,style:o.normalizeStyle(C.value)},[O.$slots["action-preview"]&&y.value?o.renderSlot(O.$slots,"action-preview",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),!O.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(F.value),1)],64)):o.createCommentVNode("",!0)],12,K7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:b,class:"dp__action_buttons","data-dp-element":"action-row"},[O.$slots["action-buttons"]?o.renderSlot(O.$slots,"action-buttons",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),O.$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=>O.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(N=>O.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(N=>O.$emit("close-picker"),["space"]))]},o.toDisplayString(O.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=>O.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(N=>O.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(N=>O.$emit("select-now"),["space"]))]},o.toDisplayString(O.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(O.selectText),41,X7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),J7=["onKeydown"],e8={class:"dp__selection_grid_header"},t8=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],n8=["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}=xa(),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),b=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 P;l.arrowNavigation&&((P=l.headerRefs)!=null&&P.length?i(U):r(U))},M=()=>{var U;const P=wt(g);P&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):P.focus({preventScroll:!0})),f.value=P.clientHeight<P.scrollHeight)},T=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,P;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((P=l.items)==null?void 0:P.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const P=wt(m),V=wt(g),k=wt(y),w=wt(b),B=k?k.getBoundingClientRect().height:0;V&&(V.getBoundingClientRect().height?C.value=V.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),P&&w&&U&&(w.scrollTop=P.offsetTop-w.offsetTop-(C.value/2-P.getBoundingClientRect().height)-B)})},$=U=>{U.disabled||a("selected",U.value)},F=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&F()},O=(U,P,V,k)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[V])?p.value[V][k]=U:p.value[V]=[U],x()))},x=()=>{var U,P;const V=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(Ct(V),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},N=U=>{l.arrowNavigation||Lr(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(F(),!l.isLast){const U=h7(l.menuWrapRef??null,"action-row");if(U){const P=ef(U);P==null||P.focus()}}};return e({focusGrid:M}),(U,P)=>{var V;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(T.value),style:o.normalizeStyle(v.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:b,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",e8,[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,(k,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(k,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>O(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=>$(B),onKeydown:[o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>$(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,t8))),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:F,onKeydown:[o.withKeys(F,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,n8)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,J7)}}}),va=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))}}),r8=["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,r8))}}),s8={class:"dp--year-mode-picker"},i8=["aria-label"],gf=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}=xa(),{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,b;return o.openBlock(),o.createElementBlock("div",s8,[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(Ic),{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,i8),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(b=o.unref(c))==null?void 0:b.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(zc),{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"])])}}}),ad=(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]},ld=(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},Sa=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},_f=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))},yf=(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):[],wf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>jc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,v)=>{const D=Ye(On(new Date),{month:c.value(T),year:l.value(T)});return lf(D,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,v)}),m=()=>{for(let T=0;T<t.value.count;T++)if(T===0)r.value[T]=r.value[0];else{const v=Ye(q(),r.value[T-1]);r.value[T]={month:Ce(v),year:ye(Oc(v,1))}}},g=T=>{if(!T)return m();const v=Ye(q(),r.value[T]);return r.value[0].year=ye(Uh(v,t.value.count-1)),m()},p=T=>i.focusStartDate?T[0]:T[1]?T[1]:T[0],_=()=>{if(s.value){const T=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(T),year:ye(T)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(T,v)=>{r.value[v].year=T,t.value.count&&!t.value.solo&&g(v)},C=o.computed(()=>T=>ri(u.value,v=>{var D;const E=l.value(T)===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(T))),j=ed(e.value,v.value);return{active:E,disabled:I,highlighted:j}})),b=(T,v)=>{y(T,v),M(v)},S=(T,v=!1)=>{if(!f.value(T,v)){const D=v?l.value(T)+1:l.value(T)-1;y(D,T)}},M=(T,v=!1,D)=>{v||d("reset-flow"),D!==void 0?h.value[T]=D:h.value[T]=!h.value[T],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:b,handleYear:S}},o8=(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(()=>Kh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:b,groupedYears:S,showYearPicker:M,toggleYearPicker:T,handleYearSelect:v,handleYear:D,isDisabled:E}=wf({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)&&b(ye(q(t.startDate)),0)});const I=k=>k?{month:Ce(k),year:ye(k)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(k=>I(k)):I(f.value):I(),$=(k,w)=>{const B=p.value[k],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},F=(k,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&k===((be=Fe[B])==null?void 0:be.month):!1},G=(k,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=F(k,w,0)||F(k,w,1),be=ar(On(q()),k,m.value(w));return ba(f.value,y.value,be)&&!z}return!1}return!1},O=o.computed(()=>k=>ri(_.value,w=>{var B;const z=$(k,w.value),be=Ki(w.value,rf(m.value(k),c.value.minDate),sf(m.value(k),c.value.maxDate))||b7(c.value.disabledDates,m.value(k)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,k),A=uf(l.value,w.value,m.value(k));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(k,w)=>ar(On(q()),k,m.value(w)),N=(k,w)=>{const B=f.value?f.value:On(new Date);f.value=ar(B,k,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(k,w)=>{const B=x(k,w);a.value.fixedEnd||a.value.fixedStart?f.value=yf(B,f,e,a):f.value?C(B,f.value)&&(f.value=ld(f,x(k,w),e)):f.value=[x(k,w)],Sa(f.value,e,t.autoApply,t.modelAuto)},ee=(k,w)=>{ad(x(k,w),f,h.value.limit),e("auto-apply",!0)},U=(k,w)=>(p.value[w].month=k,V(w,p.value[w].year,k),h.value.enabled?ee(k,w):a.value.enabled?Z(k,w):N(k,w)),P=(k,w)=>{b(k,w),V(w,k,null)},V=(k,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[k].month:be.month}e("update-month-year",{instance:k,year:w,month:z})};return{groupedMonths:O,groupedYears:S,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(k,w)=>{_f({value:k,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(k,w)=>{y.value=x(k,w)},selectMonth:U,selectYear:P,toggleYearPicker:T,handleYearSelect:v,handleYear:D,getModelMonthYear:j}},a8=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:b,handleYearSelect:S,handleYear:M,getModelMonthYear:T}=o8(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:T,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:v=>b(0,v)}),(v,D)=>(o.openBlock(),o.createBlock(va,{"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(gf,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(b)(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($=>[o.renderSlot(v.$slots,I,o.normalizeProps(o.guardReactiveProps($)))])}))]),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"]))}}),l8=(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)?ba(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(jc(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=ed(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=ld(n,m(g),e),Sa(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},c8=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}=l8(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"]))]))}}),d8={key:0,class:"dp__time_input"},u8=["aria-label","onKeydown","onClick"],h8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),f8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),m8=["aria-label","disabled","onKeydown","onClick"],p8=["aria-label","onKeydown","onClick"],g8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),_8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),y8={key:0},w8=["aria-label","onKeydown"],b8=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=>Ye(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),b=o.computed(()=>A=>O(A,s[A])||M(A,s[A])),S=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,H)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,H):!1,T=(A,H)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=H?+s[`${A}Increment`]:-+s[`${A}Increment`],L=s[A]+ue;return!s.validateTime(A,L)}return!1},v=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||T(A,!0)),D=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,H)=>bh(Ye(q(),A),H),I=(A,H)=>s7(Ye(q(),A),H),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})),$=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),F=o.computed(()=>$.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const H=w(+s.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),O=(A,H)=>{var ue;if(!s.disabledTimesConfig)return!1;const L=s.disabledTimesConfig(s.order,A==="hours"?H:void 0);return L[A]?!!((ue=L[A])!=null&&ue.includes(H)):!0},x=A=>{const H=s.is24?24:12,ue=A==="hours"?H:60,L=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?L:0,de=[];for(let ge=K;ge<ue;ge+=L)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)||O(A,ge.value)||M(A,ge.value)}))},N=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,H)=>{const ue=s.minTime?C(Gc(s.minTime)):null,L=s.maxTime?C(Gc(s.maxTime)):null,K=C(Gc(S.value,H,H==="minutes"||H==="seconds"?N(A):Z(A)));return ue&&L?(Gi(K,L)||ei(K,L))&&(qi(K,ue)||ei(K,ue)):ue?qi(K,ue)||ei(K,ue):L?Gi(K,L)||ei(K,L):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],P=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},V=A=>A==="hours"?Tn:A==="minutes"?zn:Js,k=(A,H=!0)=>{const ue=H?E:I,L=H?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+L,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",a7(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,H,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[H])?y.value[H][ue]=A:y.value[H]=[A];const L=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&(L[1]=L[1].concat(_.value)),i(L,s.order)}},Fe=(A,H)=>(P(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?H+12:H):r(`update:${A}`,H));return e({openChildCmp:z}),(A,H)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",d8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.value,(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[L.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(L.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>k(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>k(L.type),["prevent"]),["space"])],onClick:te=>k(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[h8,f8],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(Yc),{key:1}))],64))],42,u8),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(L.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":b.value(L.type),"dp--time-overlay-btn":!b.value(L.type)}),disabled:U(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["space"])],onClick:te=>P(L.type)},[A.$slots[L.type]?o.renderSlot(A.$slots,L.type,{key:0,text:G.value(L.type).text,value:G.value(L.type).value}):o.createCommentVNode("",!0),A.$slots[L.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value(L.type).text),1)],64))],42,m8),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(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>k(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>k(L.type,!1),["prevent"]),["space"])],onClick:te=>k(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[g8,_8],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(Wc),{key:1}))],64))],42,p8)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",y8,[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,w8))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(F.value,(L,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[L.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[L.type]?(o.openBlock(),o.createBlock(eo,{key:0,items:x(L.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:L.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Fe(L.type,de),onToggle:de=>P(L.type),onResetFlow:H[0]||(H[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(Hc)),{key:1}))]),_:2},[A.$slots[`${L.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${L.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))]))}}}),k8={class:"dp--tp-wrap"},C8=["aria-label","tabindex"],x8=["tabindex"],M8=["aria-label"],bf=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}=xa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),b=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?Xh(s.internalModelValue):!0),M=o.ref(!1),T=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(T(N));else x.push(T(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,$=x=>{r("update:hours",x)},F=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},O=()=>{if(b.value&&!u.value.enabled&&!s.noOverlayFocus){const x=ef(b.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:D}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",k8,[!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(Hc),{key:1}))],42,C8)),[[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:b,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:$,setMinutes:F,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,P)=>o.withDirectives((o.openBlock(),o.createBlock(b8,o.mergeProps({key:P},{...x.$props,order:P,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:P===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(V,k)=>t.validateTime(V,j(k,P,V)),"onUpdate:hours":V=>$(j(V,P,"hours")),"onUpdate:minutes":V=>F(j(V,P,"minutes")),"onUpdate:seconds":V=>G(j(V,P,"seconds")),onMounted:O,onOverlayClosed:O,onAmPmChange:N[3]||(N[3]=V=>x.$emit("am-pm-change",V))}),o.createSlots({_:2},[o.renderList(o.unref(I),(V,k)=>({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,P===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,M8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,x8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),kf=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(b,S)=>Array.isArray(e[b])?e[b][S]:e[b],a=b=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[b]:e.seconds:0,l=(b,S)=>b?S!==void 0?Nr(b,i("hours",S),i("minutes",S),a(S)):Nr(b,e.hours,e.minutes,a()):Fc(q(),a(S)),c=(b,S)=>{e[b]=S},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(b,S)=>{const M=Object.fromEntries(Object.keys(e).map(T=>T===b?[T,S]:[T,e[T]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const T=D=>n.value?Nr(n.value[D],M.hours[D],M.minutes[D],M.seconds[D]):null,v=D=>Rc(n.value[D],0);return!(Me(T(0),T(1))&&(qi(T(0),v(1))||Gi(T(1),v(0))))}return!0},h=(b,S)=>{u(b,S)&&(c(b,S),r&&r())},f=b=>{h("hours",b)},m=b=>{h("minutes",b)},g=b=>{h("seconds",b)},p=(b,S,M,T)=>{S&&f(b),!S&&!M&&m(b),M&&g(b),n.value&&T(n.value)},_=b=>{if(b){const S=Array.isArray(b),M=S?[+b[0].hours,+b[1].hours]:+b.hours,T=S?[+b[0].minutes,+b[1].minutes]:+b.minutes,v=S?[+b[0].seconds,+b[1].seconds]:+b.seconds;c("hours",M),c("minutes",T),t.enableSeconds&&c("seconds",v)}},y=(b,S)=>{const M={hours:Array.isArray(e.hours)?e.hours[b]:e.hours,disabledArr:[]};return(S||S===0)&&(M.hours=S),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[b])?t.disabledTimes[b]:t.disabledTimes),M},C=o.computed(()=>(b,S)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:T,hours:v}=y(b,S),D=T.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}},v8=(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}=kf(t,r,n),f=b=>{const{hours:S,minutes:M,seconds:T}=b;return{hours:+S,minutes:+M,seconds:T?+T:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=f(t.startTime[0]),M=f(t.startTime[1]);return[Ye(q(),S),Ye(q(),M)]}const b=f(t.startTime);return Ye(q(),b)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[b,S]=m();n.value=[l(b,0),l(S,1)]}else n.value=l(m())},p=b=>Array.isArray(b)?[ms(q(b[0])),ms(q(b[1]))]:[ms(b??q())],_=(b,S,M)=>{c("hours",b),c("minutes",S),c("seconds",t.enableSeconds?M:0)},y=()=>{const[b,S]=p(n.value);return i.value.enabled?_([b.hours,S.hours],[b.minutes,S.minutes],[b.seconds,S.seconds]):_(b.hours,b.minutes,b.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((b,S)=>b&&l(b,S)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(b,S=!0,M=!1)=>{a(b,S,M,C)},validateTime:h}},S8=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}=v8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(va,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(bf,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}))}}),T8={class:"dp__month_year_row"},O8=["aria-label","onClick","onKeydown"],D8=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}=I7(s,r),{showLeftIcon:C,showRightIcon:b}=xa(),S=o.ref(!1),M=o.ref(!1),T=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const v=P=>({get:()=>s[P],set:V=>{const k=P===Dn.month?Dn.year:Dn.month;r("update-month-year",{[P]:V,[k]:s[k]}),P===Dn.month?O(!0):x(!0)}}),D=o.computed(v(Dn.month)),E=o.computed(v(Dn.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===Dn.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===Dn.month?O:x})),j=o.computed(()=>s.months.find(V=>V.value===s.month)||{text:"",value:0}),$=o.computed(()=>ri(s.months,P=>{const V=s.month===P.value,k=Ki(P.value,rf(s.year,h.value.minDate),sf(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=uf(u.value,P.value,s.year);return{active:V,disabled:k,highlighted:w}})),F=o.computed(()=>ri(s.years,P=>{const V=s.year===P.value,k=Ki(P.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(P.value),w=ed(u.value,P.value);return{active:V,disabled:k,highlighted:w}})),G=(P,V)=>{V!==void 0?P.value=V:P.value=!P.value,P.value||r("overlay-closed")},O=(P=!1,V)=>{N(P),G(S,V)},x=(P=!1,V)=>{N(P),G(M,V)},N=P=>{P||r("reset-flow")},Z=(P,V)=>{s.arrowNavigation&&(T.value[V]=wt(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,V;return[{type:Dn.month,index:1,toggle:O,modelValue:D.value,updateModelValue:k=>D.value=k,text:j.value.text,showSelectionGrid:S.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:Dn.year,index:2,toggle:x,modelValue:E.value,updateModelValue:k=>E.value=k,text:tf(s.year,s.locale),showSelectionGrid:M.value,items:F.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:O,toggleYearPicker:x,handleMonthYearChange:p}),(P,V)=>{var k,w,B;return o.openBlock(),o.createElementBlock("div",T8,[P.$slots["month-year"]?o.renderSlot(P.$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)&&!P.vertical?(o.openBlock(),o.createBlock(to,{key:0,"aria-label":(k=o.unref(a))==null?void 0:k.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(()=>[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(Ic),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:P.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"])]},[P.$slots[z.type]?o.renderSlot(P.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):o.createCommentVNode("",!0),P.$slots[z.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(z.text),1)],64))],40,O8),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":P.arrowNavigation,"hide-navigation":P.hideNavigation,"is-last":P.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:P.config,type:z.type,"header-refs":[],"esc-close":P.escClose,"menu-wrap-ref":P.menuWrapRef,"text-input":P.textInput,"aria-labels":P.ariaLabels,onSelected:z.updateModelValue,onToggle:z.toggle},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[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Fe})=>[o.renderSlot(P.$slots,`${z.type}-overlay-value`,{text:Fe.text,value:Fe.value})]),key:"0"}:void 0,P.$slots[`${z.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${z.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(z.type))))]),key:"1"}:void 0,P.$slots[`${z.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(P.$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)&&P.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(()=>[P.$slots["arrow-up"]?o.renderSlot(P.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Yc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(b)(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,P.disableYearSelect?2:3))},{default:o.withCtx(()=>[P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.renderSlot(P.$slots,P.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.vertical?o.unref(Wc):o.unref(zc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),E8=["aria-label"],$8={class:"dp__calendar_header",role:"row"},P8={key:0,class:"dp__calendar_header_item",role:"gridcell"},L8=["aria-label"],N8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),V8=["aria-label"],B8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},A8={class:"dp__cell_inner"},R8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],F8=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}),b=o.ref([]),S=o.ref({left:"50%"}),M=o.ref(!1),T=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):o7(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",P,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const D=H=>H?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(H,ue)=>{if(s.transitions){const L=Zt(ar(q(),s.month,s.year));y.value=ut(Zt(ar(q(),H,ue)),L)?a.value[D(!0)]:a.value[D(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>H=>{const ue=l7(H);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),$=o.computed(()=>H=>Me(H,f.value)),F=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>H=>s.hideOffsetDates?H.current:!0),O=H=>In(H,"yyyy-MM-dd"),x=async(H,ue,L)=>{const K=wt(g.value[ue][L]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=H.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),b.value[0]){const{left:Bt,width:St}=b.value[0].getBoundingClientRect();Bt<0&&(ae={left:"0"},te=0,S.value.left=`${de/2}px`),window.innerWidth<Bt+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",H.marker)}},N=async(H,ue,L)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",H);r("set-hover-date",H),(de=(K=H.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(H,ue,L)},Z=H=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",H.marker))},ee=H=>{C.value.startX=H.changedTouches[0].screenX,C.value.startY=H.changedTouches[0].screenY},U=H=>{C.value.endX=H.changedTouches[0].screenX,C.value.endY=H.changedTouches[0].screenY,V()},P=H=>{s.vertical&&!s.inline&&H.preventDefault()},V=()=>{const H=s.vertical?"Y":"X";Math.abs(C.value[`start${H}`]-C.value[`end${H}`])>10&&r("handle-swipe",C.value[`start${H}`]>C.value[`end${H}`]?"right":"left")},k=(H,ue,L)=>{H&&(Array.isArray(g.value[ue])?g.value[ue][L]=H:g.value[ue]=[H]),s.arrowNavigation&&i(g.value,"calendar")},w=H=>{s.monthChangeOnScroll&&(H.preventDefault(),r("handle-scroll",H))},B=H=>u.value.type==="local"?Pc(H.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Ec(H.value):typeof u.value.type=="function"?u.value.type(H.value):"",z=H=>{const ue=H[0];return u.value.hideOnOffsetDates?H.some(L=>L.current)?B(ue):"":B(ue)},be=(H,ue)=>{h.value.enabled||(Lr(H,l.value),r("select-date",ue))},Fe=H=>{Lr(H,l.value)},A=H=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",H)):h.value.enabled&&r("select-date",H)};return e({triggerTransition:E}),(H,ue)=>{var L;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(F.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":(L=o.unref(c))==null?void 0:L.calendarWrap},[o.createElementVNode("div",$8,[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",P8,o.toDisplayString(H.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)},[H.$slots["calendar-header"]?o.renderSlot(H.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),H.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,L8)}),128))]),N8,o.createVNode(o.Transition,{name:y.value,css:!!H.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(T.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",B8,[o.createElementVNode("div",A8,o.toDisplayString(z(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Bt,St,Er;return o.openBlock(),o.createElementBlock("div",{id:O(ae.value),ref_for:!0,ref:kt=>k(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=(Bt=o.unref(c))==null?void 0:Bt.day)==null?void 0:St.call(Bt,ae),tabindex:"0",onClick:o.withModifiers(kt=>be(kt,ae),["prevent"]),onKeydown:[o.withKeys(kt=>H.$emit("select-date",ae),["enter"]),o.withKeys(kt=>H.$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])},[H.$slots.day&&G.value(ae)?o.renderSlot(H.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),H.$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},[H.$slots.marker?o.renderSlot(H.$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),$.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:b,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"},[H.$slots["marker-tooltip"]?o.renderSlot(H.$slots,"marker-tooltip",{key:0,tooltip:kt,day:ae.value}):o.createCommentVNode("",!0),H.$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,R8)}),128))]))),128))],40,V8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,E8)],2)}}}),Cf=t=>Array.isArray(t),I8=(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}=Rr(t),{updateTimeValues:b,getSetDateTime:S,setTime:M,assignStartTime:T,validateTime:v,disabledTimesConfig:D}=kf(t,c,a,r),E=o.computed(()=>R=>l.value[R]?l.value[R].month:0),I=o.computed(()=>R=>l.value[R]?l.value[R].year:0),j=(R,J,ce)=>{var we,X;l.value[R]||(l.value[R]={month:0,year:0}),l.value[R].month=Jh(J)?(we=l.value[R])==null?void 0:we.month:J,l.value[R].year=Jh(ce)?(X=l.value[R])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(R,J)=>{JSON.stringify(R)!==JSON.stringify(J)&&O()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&T(u.value)),O(!0),t.focusStartDate&&t.startDate&&z())});const F=o.computed(()=>{var R;return(R=t.flow)!=null&&R.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&F.value&&e("auto-apply")},O=(R=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,V(R)):Z(a.value,R);if(d.value.count&&R&&!t.startDate)return N(q(),R)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,N=(R,J=!1)=>{if((!d.value.count||!d.value.static||J)&&j(0,Ce(R),ye(R)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=Ye(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=bh(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(R,J)=>{N(R),M("hours",Tn(R)),M("minutes",zn(R)),M("seconds",Js(R)),d.value.count&&J&&B()},ee=R=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(R[0]),ce=Ce(R[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(R,J)=>{R[1]&&h.value.showLastInRange?N(R[ee(R)],J):N(R[0],J);const ce=(we,X)=>[we(R[0]),R[1]?we(R[1]):c[X][1]];M("hours",ce(Tn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(Js,"seconds"))},P=(R,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(R,J);if(g.value.enabled&&J){const ce=R[R.length-1];return Z(ce,J)}},V=R=>{const J=a.value;P(J,R),d.value.count&&d.value.solo&&B()},k=(R,J)=>{const ce=Ye(q(),{month:E.value(J),year:I.value(J)}),we=R<0?Sn(ce,1):ti(ce,1);p(Ce(we),ye(we),R<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=R=>{for(let J=R-1;J>=0;J--){const ce=ti(Ye(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=R+1;J<=d.value.count-1;J++){const ce=Sn(Ye(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 R=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(R),ye(R))}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=(R,J)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(R.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,k(t.monthChangeOnScroll!=="inverse"?-R.deltaY:R.deltaY,J))}},Fe=(R,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(R,J)},A=(R,J)=>{k(R==="right"?-1:1,J)},H=R=>{if(m.value.markers)return wa(R.value,m.value.markers)},ue=(R,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[R==0,!0];case"fair":return[R==0||J>R,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(R,J,ce,we)=>{if(t.sixWeeks&&R.length<6){const X=6-R.length,he=(J.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[$r,ir]=ue(he,fe);for(let Ks=1;Ks<=X;Ks++)if(ir?!!(Ks%2)==$r:$r){const cs=R[0].days[0],gh=K(vn(cs.value,-7),Ce(J));R.unshift({days:gh})}else{const cs=R[R.length-1],gh=cs.days[cs.days.length-1],Sz=K(vn(gh.value,1),Ce(J));R.push({days:Sz})}}return R},K=(R,J)=>{const ce=q(R),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=(R,J)=>{const ce=[],we=new Date(J,R),X=new Date(J,R+1,0),he=t.weekStart,fe=Fn(we,{weekStartsOn:he}),$r=ir=>{const Ks=K(ir,R);if(ce.push({days:Ks}),!ce[ce.length-1].days.some(cs=>Me(Zt(cs.value),Zt(X)))){const cs=vn(ir,7);$r(cs)}};return $r(fe),L(ce,we,X,he)},ge=R=>{const J=Nr(q(R.value),c.hours,c.minutes,Gs());e("date-update",J),g.value.enabled?ad(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=R=>h.value.noDisabledRange?of(s.value[0],R).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Bt=(R,J)=>{const ce=[q(R.value),vn(q(R.value),+h.value.autoRange)];y(ce)?(J&&St(R.value),s.value=ce):e("invalid-date",R.value)},St=R=>{const J=Ce(q(R)),ce=ye(q(R));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=g7(Ye(q(R),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},Er=R=>{if(ae(R.value)||!C(R.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",R.value);s.value=yf(q(R.value),a,e,h)},kt=(R,J)=>{if(te(),h.value.autoRange)return Bt(R,J);if(h.value.fixedStart||h.value.fixedEnd)return Er(R);s.value[0]?C(q(R.value),a.value)&&!ae(R.value)?rt(q(R.value),q(s.value[0]))?(s.value.unshift(q(R.value)),e("range-end",s.value[0])):(s.value[1]=q(R.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",R.value),e("invalid-date",R.value)):(s.value[0]=q(R.value),e("range-start",s.value[0]))},Gs=(R=!0)=>t.enableSeconds?Array.isArray(c.seconds)?R?c.seconds[0]:c.seconds[1]:c.seconds:0,ma=R=>{s.value[R]=Nr(s.value[R],c.hours[R],c.minutes[R],Gs(R!==1))},pa=()=>{var R,J;s.value[0]&&s.value[1]&&+((R=s.value)==null?void 0:R[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]?ma(0):(ma(0),ma(1),r()),pa(),a.value=s.value.slice(),Sa(s.value,e,t.autoApply,t.modelAuto))},uh=(R,J=!1)=>{if(_(R.value)||!R.current&&t.hideOffsetDates)return e("invalid-date",R.value);if(!h.value.enabled)return ge(R);Cf(c.hours)&&Cf(c.minutes)&&!g.value.enabled&&(kt(R,J),Mn())},hh=(R,J)=>{var ce;j(R,J.month,J.year),d.value.count&&!d.value.solo&&w(R),e("update-month-year",{instance:R,month:J.month,year:J.year}),n(d.value.solo?R: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()},vc=(R,J)=>{_f({value:R,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>O(!0))},fh=()=>{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(),$()},mh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const R=ph();a.value[a.value.length-1]=S(R)}else a.value=a.value.map((R,J)=>R&&S(R,J));else a.value=S(a.value);e("time-update")},ph=()=>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:H,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:uh,updateMonthYear:hh,presetDate:vc,selectCurrentDate:fh,updateTime:(R,J=!0,ce=!1)=>{b(R,J,ce,mh)}}},z8={key:0},H8=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:b,selectCurrentDate:S,updateTime:M}=I8(s,r,ee,U),T=o.useSlots(),{setHoverDate:v,getDayClassData:D,clearHoverDate:E}=W7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),$=o.ref([]),F=o.ref(null),G=Ut(T,"calendar"),O=Ut(T,"monthYear"),x=Ut(T,"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(k=>({...k,days:k.days.map(w=>(w.marker=m(w),w.classData=D(w),w))})));function ee(V){var k;V||V===0?(k=$.value[V])==null||k.triggerTransition(a.value(V),l.value(V)):$.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const P=(V,k=!1)=>{y(V,k),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:b,selectCurrentDate:S,toggleMonthPicker:(V,k,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(V,k)},toggleYearPicker:(V,k,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(V,k)},toggleTimePicker:(V,k,w)=>{var B;(B=F.value)==null||B.toggleTimePicker(V,k,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:b})}),(V,k)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(va,{"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(D8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Kh)(V.formatLocale,V.locale,V.monthNameFormat),years:o.unref(jc)(V.yearRange,V.locale,V.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onMount:k[0]||(k[0]=z=>N(o.unref(gs).header)),onResetFlow:k[1]||(k[1]=z=>V.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:k[2]||(k[2]=z=>V.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(O),(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(F8,o.mergeProps({ref:z=>{z&&($.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=>P(z,w!==1),onSetHoverDate:k[3]||(k[3]=z=>o.unref(v)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:k[4]||(k[4]=z=>N(o.unref(gs).calendar)),onResetFlow:k[5]||(k[5]=z=>V.$emit("reset-flow")),onTooltipOpen:k[6]||(k[6]=z=>V.$emit("tooltip-open",z)),onTooltipClose:k[7]||(k[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",z8,[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(bf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:F},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:k[8]||(k[8]=w=>N(o.unref(gs).timePicker)),"onUpdate:hours":k[9]||(k[9]=w=>o.unref(M)(w)),"onUpdate:minutes":k[10]||(k[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":k[11]||(k[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:k[12]||(k[12]=w=>V.$emit("reset-flow")),onOverlayClosed:k[13]||(k[13]=w=>V.$emit("time-picker-close")),onOverlayOpened:k[14]||(k[14]=w=>V.$emit("time-picker-open",w)),onAmPmChange:k[15]||(k[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))}}),Y8=(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}=Rr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:b,handleYearSelect:S,handleYear:M}=wf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(O,x)=>[O,x].map(N=>In(N,"MMMM",{locale:t.formatLocale})).join("-"),v=o.computed(()=>O=>u.value?Array.isArray(u.value)?u.value.some(x=>Yh(O,x)):Yh(u.value,O):!1),D=O=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(O,u.value[0])||Me(O,u.value[1]);return ba(u.value,n.value,O)&&!x}return!1}return!1},E=(O,x)=>O.quarter===Th(x)&&O.year===ye(x),I=O=>typeof i.value=="function"?i.value({quarter:Th(O),year:ye(O)}):!!i.value.quarters.find(x=>E(x,O)),j=o.computed(()=>O=>{const x=Ye(new Date,{year:h.value(O)});return f5({start:Dh(x),end:m5(x)}).map(N=>{const Z=hs(N),ee=Eh(N),U=g(N),P=D(Z),V=I(Z);return{text:T(Z,ee),value:Z,active:v.value(Z),highlighted:V,disabled:U,isBetween:P}})}),$=O=>{ad(O,u,d.value.limit),e("auto-apply",!0)},F=O=>{u.value=ld(u,O,e),Sa(u.value,e,t.autoApply,t.modelAuto)},G=O=>{u.value=O,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:O=>{n.value=O},selectYear:p,selectQuarter:(O,x,N)=>{if(!N)return m.value[x].month=Ce(Eh(O)),d.value.enabled?$(O):a.value.enabled?F(O):G(O)},toggleYearPicker:b,handleYearSelect:S,handleYear:M}},W8={class:"dp--quarter-items"},j8=["disabled","onClick","onMouseover"],Z8=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:b}=Y8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:b})}),(S,M)=>(o.openBlock(),o.createBlock(va,{"multi-calendars":o.unref(l).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:T})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(gf,o.mergeProps(S.$props,{items:o.unref(d)(T),instance:T,"show-year-picker":o.unref(g)[T],year:o.unref(u)(T),"is-disabled":v=>o.unref(h)(T,v),onHandleYear:v=>o.unref(b)(T,v),onYearSelect:v=>o.unref(C)(v,T),onToggleYearPicker:v=>o.unref(y)(T,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",W8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(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,T,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,j8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),U8=["id","aria-label"],q8={key:0,class:"dp--menu-load-container"},G8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),K8=[G8],X8={key:0,class:"dp__sidebar_left"},Q8=["onClick","onKeydown"],J8={key:2,class:"dp__sidebar_right"},ey={key:3,class:"dp__action_extra"},xf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ma,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:L,...K}=s;return{...K,flowStep:D.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=hf(),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,b(),window.addEventListener("resize",b);const L=wt(i);if(L&&!h.value.enabled&&!f.value.enabled&&(l(!0),F()),L){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),Lr(de,m.value,!0)};L.addEventListener("pointerdown",K),L.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",b)});const b=()=>{const L=wt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:S,arrowLeft:M,arrowDown:T,arrowUp:v}=Br(),{flowStep:D,updateFlowStep:E,childMount:I,resetFlow:j}=j7(s,r,C),$=o.computed(()=>s.monthPicker?a8:s.yearPicker?c8:s.timePicker?S8:s.quarterPicker?Z8:H8),F=()=>{const L=wt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),O=()=>{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})),P=L=>{Lr(L,m.value,!0)},V=()=>{s.escClose&&r("close-picker")},k=L=>{if(s.arrowNavigation){if(L==="up")return v();if(L==="down")return T();if(L==="left")return M();if(L==="right")return S()}else L==="left"||L==="up"?Fe("handleArrow","left",0,L==="up"):Fe("handleArrow","right",0,L==="down")},w=L=>{c(L.shiftKey),!s.disableMonthYearSelect&&L.code==="Tab"&&L.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&(L.preventDefault(),Lr(L,m.value,!0),r("close-picker"))},B=()=>{F(),r("time-picker-close")},z=L=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,L),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,L)},be=(L,K=0)=>{var de,ge,ae;return L==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):L==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):L==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):z(K)},Fe=(L,...K)=>{var de,ge;(de=C.value)!=null&&de[L]&&((ge=C.value)==null||ge[L](...K))},A=()=>{Fe("selectCurrentDate")},H=(L,K)=>{Fe("presetDate",L,K)},ue=()=>{Fe("clearHoverDate")};return e({updateMonthYear:(L,K)=>{Fe("updateMonthYear",L,K)},switchView:be}),(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=L.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:P,onKeydown:[o.withKeys(V,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>k("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>k("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>k("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>k("right"),["prevent"]),["right"])),w]},[(L.disabled||L.readonly)&&o.unref(f).enabled||L.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[L.loading?(o.openBlock(),o.createElementBlock("div",q8,K8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!L.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=L.presetDates)==null?void 0:ge.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=L.presetDates)==null?void 0:ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[L.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",X8,[o.renderSlot(L.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.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(L.presetDates,(te,Bt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Bt},[te.slot?o.renderSlot(L.$slots,te.slot,{key:0,presetDate:H,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=>H(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(St=>H(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(St=>H(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,Q8))],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($.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:F,onSelectDate:K[0]||(K[0]=te=>L.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>L.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>L.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>L.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>L.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>L.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>L.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>L.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>L.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>L.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>L.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:O,onUpdateMonthYear:K[11]||(K[11]=te=>L.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>L.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>L.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>L.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(N.value,(te,Bt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",J8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",ey,[L.$slots["action-extra"]?o.renderSlot(L.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!L.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(Q7,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>L.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>L.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>L.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Bt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,U8)}}}),ty=typeof window<"u"?window:void 0,cd=()=>{},ny=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,ry=(t,e,n,r)=>{if(!t)return cd;let s=cd;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=cd})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return ny(a),a},sy=(t,e,n,r={})=>{const{window:s=ty,event:i="pointerdown"}=r;return s?ry(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},iy=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ma},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}=hf(),{clearArrowNav:b}=Br(),{validateDate:S,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:v,defaultedInline:D,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:$,showTransition:F}=Qi(T);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),O=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:N,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=z7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:D,emit:r,props:s,slots:i}),{inputValue:V,internalModelValue:k,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=F7(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"),H=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||D.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=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&&(P(xf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||pa(),w(s.modelValue))},Bt=()=>{var X;V.value="",pa(),(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=k.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",k.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&v.value.enabled&&h.value.setParsedDate(k.value)},ma=(X=!1)=>{s.autoApply&&M(k.value)&&St()&&(I.value.enabled&&Array.isArray(k.value)?(I.value.partialRange||k.value.length===2)&&kt(X):kt(X))},pa=()=>{v.value.enabled||(k.value=null)},Mn=()=>{D.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),b(),r("closed"),V.value&&w(l.value)),pa(),r("blur"))},uh=(X,he,fe=!1)=>{if(!X){k.value=null;return}const $r=Array.isArray(X)?!X.some(Ks=>!S(Ks)):S(X),ir=M(X);$r&&ir&&(k.value=X,he&&(g.value=fe,Er(),r("text-submit")))},hh=()=>{s.autoApply&&M(k.value)&&B(),Gs()},vc=()=>a.value?Mn():te(),fh=X=>{k.value=X},mh=()=>{v.value.enabled&&(f.value=!0,z()),r("focus")},ph=()=>{if(v.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=u7(m.value,p.value);X==null||X.focus()}r("blur")},R=X=>{u.value&&u.value.updateMonthYear(0,{month:Qh(X.month),year:Qh(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 sy(d,h,()=>we(St)),e({closeMenu:Mn,selectDate:Er,clearValue:Bt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:fh,setMonthYear:R,parseModel:J,switchView:ce,toggleMenu:vc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(G7,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:Bt,onOpen:te,onSetInputDate:uh,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:vc,onClose:Mn,onFocus:mh,onBlur:ph,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(O),(fe,$r)=>({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(H.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref($)(o.unref(x)),css:o.unref(F)&&!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(xf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(k),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(k)?k.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:ma,onTimeUpdate:hh,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(k))),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,$r)=>({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))}}),dd=(()=>{const t=iy;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:dd},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(dd[t]=e)});const oy={class:"scope-datepicker__wrapper"},ay={key:0,class:"scope-datepicker__label"},ly={class:"scope-datepicker__container"},cy={class:"scope-datepicker__icon-wrapper"},dy={__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:o.mergeModels(["open","closed","cleared"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=o.ref(!1),i=()=>{n("open"),s.value=!0},a=()=>{n("closed"),s.value=!1};return(l,c)=>(o.openBlock(),o.createElementBlock("div",oy,[t.label?(o.openBlock(),o.createElementBlock("div",ay,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",ly,[o.createVNode(o.unref(dd),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline,onOpen:i,onClosed:a,onCleared:c[1]||(c[1]=d=>n("cleared"))},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",cy,[o.createVNode(Pe,{class:o.normalizeClass(["scope-datepicker__switcher",{"-active":s.value}]),icon:"chevron-down-small"},null,8,["class"])])])]))}},uy=Oe(dy,[["__scopeId","data-v-2d7bd716"]]),hy=["onClick"],fy=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,hy))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),my={class:"scope-number-input__fieldset","data-number-code-form":""},py=["disabled","onInput","onKeydown"],gy={key:0,class:"scope-number-input__error-message"},_y=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",my,[(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,py))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",gy,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),yy={class:"scope-navigation-tab__icon-wrapper"},wy={key:0},by=Oe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,notActive:Boolean,isFull:{type:Boolean,default:!0},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,"-not-active":t.notActive}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",yy,[o.createVNode(Pe,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",wy,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-4d7796fc"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mf(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 Sz=Object.defineProperty;var Tz=(ie,o,ds)=>o in ie?Sz(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(Tz(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)))})},Pe={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>ds(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>TV),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>EV),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>LV),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>BV),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>FV),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>HV),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>jV),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>qV),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>XV),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>eB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>rB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>oB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>cB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>hB),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>pB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>yB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>kB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>MB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>TB),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>EB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>LB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>BB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>FB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>HB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>jB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>qB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>XB),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>eA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>rA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>oA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>cA),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>hA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>pA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>yA),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>kA),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>MA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>TA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>EA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>LA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>BA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>FA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>HA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>jA),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>qA),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>XA),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>eR),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>rR),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>oR),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>cR),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>hR),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>pR),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>yR),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>kR),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>MR),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>TR),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>ER),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>LR),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>BR),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>FR),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>HR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>jR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>qR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>XR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>eF),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>rF),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>oF),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>cF),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>hF),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>pF),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>yF),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>kF),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>MF),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>TF),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>EF),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>LF),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>BF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>FF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>HF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>jF),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>qF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>XF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>eI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>rI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>oI),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>cI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>hI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>pI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>yI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>kI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>MI),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>TI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>EI),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>LI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>BI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>FI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>HI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>jI),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>qI),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>XI),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>ez),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>rz),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>oz),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>cz),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>hz),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>pz),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>yz),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>kz),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>Mz)}),`../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},m4=["disabled"],p4={key:1},ga=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(Pe,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",p4,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,m4))}},[["__scopeId","data-v-ffc148b3"]]);function Sc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function g4(t){return(...e)=>!t(...e)}function _4(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function _h(t,e,n,r){return e?t.filter(s=>_4(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function y4(t){return t.filter(e=>!e.$isLabel)}function Tc(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 w4(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=_h(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const yh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var b4={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 Sc(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):_h(n,e,this.label,this.customLabel):n=this.groupValues?Tc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(g4(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 yh(w4(e,n,this.groupValues,this.groupLabel,this.customLabel),Tc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return yh(Tc(this.groupValues,this.groupLabel),y4)(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(Sc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Sc(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))}}},k4={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}}},wh={name:"vue-multiselect",mixins:[b4,k4],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 C4={ref:"tags",class:"multiselect__tags"},x4={class:"multiselect__tags-wrap"},M4={class:"multiselect__spinner"},v4={key:0},S4={class:"multiselect__option"},T4={class:"multiselect__option"},O4=o.createTextVNode("No elements found. Consider changing the search query."),D4={class:"multiselect__option"},E4=o.createTextVNode("List is empty.");function $4(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",C4,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",x4,[(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",M4,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",v4,[o.createVNode("span",S4,[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",T4,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[O4])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",D4,[o.renderSlot(t.$slots,"noOptions",{},()=>[E4])])],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"])}wh.render=$4;const P4={key:0,class:"scope-multiselect-label"},L4=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",P4,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(wh),{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(Pe,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Pe,{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"]]),N4={key:0,class:"scope-input__label"},V4={key:0,class:"scope-input__sign"},B4=["disabled","placeholder","veeBind","maxlength","pattern","type"],A4={key:1,class:"scope-input__error"},R4=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,hasSave:Boolean},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter","save"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=dh(),s=n,i=o.ref(null),a=o.useModel(t,"modelValue"),l=t,c=o.computed(()=>l.width?{width:l.width}:null),d=o.ref(!1),u=()=>{i.value.focus()},h=f=>{navigator.clipboard.writeText(f).then(()=>{d.value=!0;const m=setTimeout(()=>{d.value=!1,clearTimeout(m)},3e3)}).catch(m=>{r(m)})};return e({focus:u}),(f,m)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton,"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon}])},[t.label?(o.openBlock(),o.createElementBlock("div",N4,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",V4,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:i,disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":m[0]||(m[0]=g=>a.value=g),style:o.normalizeStyle(c.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:m[1]||(m[1]=g=>s("input")),onKeyup:m[2]||(m[2]=o.withKeys(g=>s("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,B4),[[o.vModelDynamic,a.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.hasSave||t.haveCopyButton&&!t.icon,"-with-label":!!t.label,"-has-save":t.hasSave}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Pe),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Pe),{key:1,class:"scope-input__clear",icon:"cross",onClick:m[3]||(m[3]=g=>a.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!d.value?(o.openBlock(),o.createBlock(o.unref(Pe),{key:2,class:"scope-input__clear",icon:"copy",onClick:m[4]||(m[4]=g=>h(a.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&d.value?(o.openBlock(),o.createBlock(o.unref(Pe),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0),t.hasSave&&a.value.length?(o.openBlock(),o.createElementBlock("div",{key:4,class:"scope-input__save",onClick:m[5]||(m[5]=g=>s("save"))},"Save")):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",A4,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-86835b6c"]]),F4={class:"scope-radio-label"},I4=["value"],z4={class:"scope-text"},H4={__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.computed(()=>e.value===n.value);return(s,i)=>(o.openBlock(),o.createElementBlock("label",F4,[o.withDirectives(o.createElementVNode("input",{name:"radio",type:"radio",value:t.value,class:"scope-radio-input","onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a)},null,8,I4),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",z4,o.toDisplayString(t.label),1)]))}},Y4=Oe(H4,[["__scopeId","data-v-00175a44"]]),W4=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),j4={class:"scope-toggle-wrapper"},Z4=["checked","name"],U4=W4(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),q4=Oe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e,s=()=>{n.value=!n.value,r("change",n.value)};return(i,a)=>(o.openBlock(),o.createElementBlock("div",j4,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,Z4),U4]))}},[["__scopeId","data-v-a4862285"]]),G4={class:"scope-checkbox-container"},K4=["id"],X4=["for"],Q4=Oe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e;return o.watch(n,s=>{r("change")}),(s,i)=>(o.openBlock(),o.createElementBlock("ul",G4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,K4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,X4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),J4={class:"scope-menu-tabs"},e5=["onClick"],t5=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",J4,[(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"]]),n5={class:"scope-switcher"},r5={class:"scope-switcher__current-item"},s5=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",n5,[o.createVNode(Pe,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",r5,o.toDisplayString(n.value.name),1),o.createVNode(Pe,{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 bh(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 i5(t,e){const n=+le(t);return Le(t,n+e)}const kh=6048e5,o5=864e5,a5=6e4,Ch=36e5,l5=1e3;function c5(t,e){return i5(t,e*Ch)}let d5={};function us(){return d5}function Fn(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 Fn(t,{weekStartsOn:1})}function xh(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 Mh(t){const e=le(t);return e.setHours(0,0,0,0),e}function _a(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 vh(t,e){const n=Mh(t),r=Mh(e),s=+n-_a(n),i=+r-_a(r);return Math.round((s-i)/o5)}function u5(t){const e=xh(t),n=Le(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function h5(t,e){const n=e*3;return Sn(t,n)}function Oc(t,e){return Sn(t,e*12)}function Sh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!Sh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function Th(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Oh(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 f5(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=h5(a,l);return s?c.reverse():c}function m5(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Dh(t){const e=le(t),n=Le(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function p5(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 Eh(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 g5={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"}},_5=(t,e,n)=>{let r;const s=g5[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 Dc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const y5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},w5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},b5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},k5={date:Dc({formats:y5,defaultWidth:"full"}),time:Dc({formats:w5,defaultWidth:"full"}),dateTime:Dc({formats:b5,defaultWidth:"full"})},C5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},x5=(t,e,n,r)=>C5[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 M5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},v5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},S5={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"]},T5={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"]},O5={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"}},D5={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"}},E5={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:M5,defaultWidth:"wide"}),quarter:Zi({values:v5,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:S5,defaultWidth:"wide"}),day:Zi({values:T5,defaultWidth:"wide"}),dayPeriod:Zi({values:O5,defaultWidth:"wide",formattingValues:D5,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)?P5(l,h=>h.test(a)):$5(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 $5(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function P5(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function L5(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 N5=/^(\d+)(th|st|nd|rd)?/i,V5=/\d+/i,B5={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},A5={any:[/^b/i,/^(a|c)/i]},R5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},F5={any:[/1/i,/2/i,/3/i,/4/i]},I5={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},z5={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]},H5={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},Y5={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]},W5={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},j5={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}},Z5={ordinalNumber:L5({matchPattern:N5,parsePattern:V5,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:B5,defaultMatchWidth:"wide",parsePatterns:A5,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:R5,defaultMatchWidth:"wide",parsePatterns:F5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:I5,defaultMatchWidth:"wide",parsePatterns:z5,defaultParseWidth:"any"}),day:Ui({matchPatterns:H5,defaultMatchWidth:"wide",parsePatterns:Y5,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:W5,defaultMatchWidth:"any",parsePatterns:j5,defaultParseWidth:"any"})},$h={code:"en-US",formatDistance:_5,formatLong:k5,formatRelative:x5,localize:E5,match:Z5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function U5(t){const e=le(t);return vh(e,Dh(e))+1}function Ec(t){const e=le(t),n=+Xs(e)-+u5(e);return Math.round(n/kh)+1}function $c(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=Fn(a,e),c=Le(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=Fn(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function q5(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=$c(t,e),i=Le(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Fn(i,e)}function Pc(t,e){const n=le(t),r=+Fn(n,e)-+q5(n,e);return Math.round(r/kh)+1}function Be(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Pr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Be(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Be(n+1,2)},d(t,e){return Be(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 Be(t.getHours()%12||12,e.length)},H(t,e){return Be(t.getHours(),e.length)},m(t,e){return Be(t.getMinutes(),e.length)},s(t,e){return Be(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Be(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ph={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 Pr.y(t,e)},Y:function(t,e,n,r){const s=$c(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Be(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Be(i,e.length)},R:function(t,e){const n=xh(t);return Be(n,e.length)},u:function(t,e){const n=t.getFullYear();return Be(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 Be(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 Be(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 Pr.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 Be(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=Pc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Be(s,e.length)},I:function(t,e,n){const r=Ec(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Be(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Pr.d(t,e)},D:function(t,e,n){const r=U5(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Be(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 Be(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 Be(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 Be(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 Pr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Pr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Be(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Be(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Pr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Pr.s(t,e)},S:function(t,e){return Pr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Nh(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 Nh(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"+Lh(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"+Lh(r,":");case"zzzz":default:return"GMT"+fs(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Be(r,e.length)},T:function(t,e,n){const r=t.getTime();return Be(r,e.length)}};function Lh(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+Be(i,2)}function Nh(t,e){return t%60===0?(t>0?"-":"+")+Be(Math.abs(t)/60,2):fs(t,e)}function fs(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Be(Math.trunc(r/60),2),i=Be(r%60,2);return n+s+e+i}const Vh=(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"})}},Bh=(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"})}},Lc={p:Bh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Vh(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}}",Vh(r,e)).replace("{{time}}",Bh(s,e))}},G5=/^D+$/,K5=/^Y+$/,X5=["D","DD","YY","YYYY"];function Ah(t){return G5.test(t)}function Rh(t){return K5.test(t)}function Nc(t,e,n){const r=Q5(t,e,n);if(console.warn(r),X5.includes(t))throw new RangeError(r)}function Q5(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 J5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,e9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,t9=/^'([^]*?)'?$/,n9=/''/g,r9=/[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??$h,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(e9).map(C=>{const b=C[0];if(b==="p"||b==="P"){const S=Lc[b];return S(C,s.formatLong)}return C}).join("").match(J5).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const b=C[0];if(b==="'")return{isToken:!1,value:s9(C)};if(Ph[b])return{isToken:!0,value:C};if(b.match(r9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");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 b=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Rh(b)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ah(b))&&Nc(b,e,String(t));const S=Ph[b[0]];return S(l,b,s.localize,d)}).join("")}function s9(t){const e=t.match(t9);return e?e[1].replace(n9,"'"):t}function i9(t){return le(t).getDay()}function o9(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 a9(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function l9(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 c9(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 d9=10;class Fh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class u9 extends Fh{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 h9 extends Fh{constructor(){super(...arguments);W(this,"priority",d9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Le(n,c9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new u9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class f9 extends Ne{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}/},Hn={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 Yn(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*Ch+i*a5+a*l5),rest:e.slice(n[0].length)}}function Ih(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 ya(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 Vc(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 zh(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 Hh(t){return t%400===0||t%4===0&&t%100!==0}class m9 extends Ne{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=zh(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 p9 extends Ne{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=$c(n,i);if(s.isTwoDigitYear){const c=zh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Fn(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),Fn(n,i)}}class g9 extends Ne{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 ya(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 _9 extends Ne{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 ya(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class y9 extends Ne{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 w9 extends Ne{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 b9 extends Ne{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 k9 extends Ne{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 C9(t,e,n){const r=le(t),s=Pc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class x9 extends Ne{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 Fn(C9(n,s,i),i)}}function M9(t,e){const n=le(t),r=Ec(n)-e;return n.setDate(n.getDate()-r*7),n}class v9 extends Ne{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(M9(n,s))}}const S9=[31,28,31,30,31,30,31,31,30,31,30,31],T9=[31,29,31,30,31,30,31,31,30,31,30,31];class O9 extends Ne{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=Hh(s),a=n.getMonth();return i?r>=1&&r<=T9[a]:r>=1&&r<=S9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class D9 extends Ne{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 Hh(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 Bc(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 E9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}class $9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}class P9 extends Ne{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=Bc(n,s,i),n.setHours(0,0,0,0),n}}function L9(t,e){const n=le(t),r=l9(n),s=e-r;return vn(n,s)}class N9 extends Ne{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=L9(n,s),n.setHours(0,0,0,0),n}}class V9 extends Ne{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(Vc(s),0,0,0),n}}class B9 extends Ne{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(Vc(s),0,0,0),n}}class A9 extends Ne{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(Vc(s),0,0,0),n}}class R9 extends Ne{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 F9 extends Ne{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 I9 extends Ne{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 z9 extends Ne{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 H9 extends Ne{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 Y9 extends Ne{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 W9 extends Ne{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 j9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Yn(Hn.basicOptionalMinutes,n);case"XX":return Yn(Hn.basic,n);case"XXXX":return Yn(Hn.basicOptionalSeconds,n);case"XXXXX":return Yn(Hn.extendedOptionalSeconds,n);case"XXX":default:return Yn(Hn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-_a(n)-s)}}class Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Yn(Hn.basicOptionalMinutes,n);case"xx":return Yn(Hn.basic,n);case"xxxx":return Yn(Hn.basicOptionalSeconds,n);case"xxxxx":return Yn(Hn.extendedOptionalSeconds,n);case"xxx":default:return Yn(Hn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Le(n,n.getTime()-_a(n)-s)}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Ih(n)}set(n,r,s){return[Le(n,s*1e3),{timestampIsSet:!0}]}}class q9 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Ih(n)}set(n,r,s){return[Le(n,s),{timestampIsSet:!0}]}}const G9={G:new f9,y:new m9,Y:new p9,R:new g9,u:new _9,Q:new y9,q:new w9,M:new b9,L:new k9,w:new x9,I:new v9,d:new O9,D:new D9,E:new E9,e:new $9,c:new P9,i:new N9,a:new V9,b:new B9,B:new A9,h:new R9,H:new F9,K:new I9,k:new z9,m:new H9,s:new Y9,S:new W9,X:new j9,x:new Z9,t:new U9,T:new q9},K9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q9=/^'([^]*?)'?$/,J9=/''/g,e7=/\S/,t7=/[a-zA-Z]/;function Ac(t,e,n,r){var p,_,y,C,b,S,M,T;const s=a9(),i=(r==null?void 0:r.locale)??s.locale??$h,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=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:S.weekStartsOn)??s.weekStartsOn??((T=(M=s.locale)==null?void 0:M.options)==null?void 0:T.weekStartsOn)??0;if(e==="")return t===""?le(n):Le(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new h9],u=e.match(X9).map(v=>{const D=v[0];if(D in Lc){const E=Lc[D];return E(v,i.formatLong)}return v}).join("").match(K9),h=[];for(let v of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Rh(v)&&Nc(v,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ah(v)&&Nc(v,e,t);const D=v[0],E=G9[D];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(F=>I.includes(F.token)||F.token===D);if($)throw new RangeError(`The format string mustn't contain \`${$.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(t7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");if(v==="''"?v="'":D==="'"&&(v=n7(v)),t.indexOf(v)===0)t=t.slice(v.length);else return Le(n,NaN)}}if(t.length>0&&e7.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 n7(t){return t.match(Q9)[1].replace(J9,"'")}function Yh(t,e){const n=hs(t),r=hs(e);return+n==+r}function r7(t,e){return vn(t,-e)}function Wh(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=o9(i);return n.setMonth(e,Math.min(s,a)),n}function Ye(t,e){let n=le(t);return isNaN(+n)?Le(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Wh(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 jh(t,e){const n=le(t);return n.setHours(e),n}function Rc(t,e){const n=le(t);return n.setMilliseconds(e),n}function Zh(t,e){const n=le(t);return n.setMinutes(e),n}function Fc(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 s7(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=r7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Le(t,u.getTime()-m)}function Uh(t,e){return Oc(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 qh(){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"})])}qh.compatConfig={MODE:3};function Ic(){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"})])}Ic.compatConfig={MODE:3};function zc(){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"})])}zc.compatConfig={MODE:3};function Hc(){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"})])}Hc.compatConfig={MODE:3};function Yc(){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"})])}Yc.compatConfig={MODE:3};function Wc(){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"})])}Wc.compatConfig={MODE:3};function Gh(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 i7(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const o7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(i7(t))}catch{s=r.map(Gh(e))}else s=r.map(Gh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},jc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:tf(s,e)});return n?r.reverse():r},Kh=(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}})},a7=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},l7=t=>({type:"dot",...t??{}}),Xh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Zc={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,Qh=t=>t===0?t:!t||isNaN(+t)?null:+t,Jh=t=>t===null,ef=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},c7=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)=>c7(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}}})),Lr=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},d7=()=>["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 u7(t,e){let n=[...document.querySelectorAll(d7())];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 h7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),tf=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Uc=t=>In(t,"dd-MM-yyyy"),qc=t=>Array.isArray(t),wa=(t,e)=>e.get(Uc(t)),f7=(t,e)=>t?e?e instanceof Map?!!wa(t,e):e(q(t)):!1:!0,nf=(t,e,n,r,s,i)=>{const a=Ac(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&Sh(a)?r||s?a:Ye(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},m7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return nf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=nf(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,p7=(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=jh(e,0),e=Zh(e,0),e=Fc(e,0),e=Rc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=jh(s,+e)),(n||n===0)&&(s=Zh(s,+n)),(r||r===0)&&(s=Fc(s,+r)),Rc(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)),ba=(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=Ye(new Date(t),{date:1});return Zt(e)},Gc=(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)}),rf=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},sf=(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))},of=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return Oh({start:n,end:r})},g7=t=>{const e=Sn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Fn(t,{weekStartsOn:+e}),r=p5(t,{weekStartsOn:+e});return[n,r]},af=(t,e)=>{const n={hours:Tn(q()),minutes:zn(q()),seconds:e?Js(q()):0};return Object.assign(n,t)},Vr=(t,e,n)=>[Ye(q(t),{date:1}),Ye(q(),{month:e,year:n,date:1})],ar=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=Wh(r,e)),n&&(r=Wn(r,n)),r},lf=(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?!y7(...a,e):!_7(...a,n)},_7=(t,e,n)=>rt(...Vr(n,t,e))||Me(...Vr(n,t,e)),y7=(t,e,n)=>ut(...Vr(n,t,e))||Me(...Vr(n,t,e)),cf=(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(Zc.prop("partial-range"))},ka=(t,e)=>{if(e)return t();throw new Error(Zc.prop("range"))},Kc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,w7=(t,e)=>Ye(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Xc=(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(Ye(t,i),Ye(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Qc=(t,e,n)=>t?w7(t,e):q(n??e),df=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Qc(t,r[0],e),l=Qc(t,r[1],e);return Xc(r[0],a,n,!!e)&&Xc(r[1],l,n,!!e)&&s}const i=Qc(t,r,e);return Xc(r,i,n,!!e)&&s},Jc=t=>Ye(q(),ms(t)),b7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],uf=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),ed=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),hf=()=>{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:[]}),td=o.ref(null),Ca=o.ref(!1),nd=o.ref(!1),rd=o.ref(!1),sd=o.ref(!1),Ot=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>Ca.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):nd.value?[...je.timePicker[0],...je.timePicker[1],sd.value?[]:[td.value],je.actionRow].filter(h=>h.length):rd.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Ot.value=h?Ot.value+1:Ot.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Ot.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Ot.value=h?0:t.value[ht.value].length-1):f||(Ot.value=h?Ot.value-1:Ot.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][Ot.value]&&Ot.value!==0&&(Ot.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][Ot.value]),f?f.focus({preventScroll:!Ca.value}):Ot.value=h?Ot.value-1:Ot.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=()=>{Ot.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{td.value=h},setSelectionGrid:h=>{Ca.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{nd.value=h,sd.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]=[],Ca.value=!1,nd.value=!1,sd.value=!1,rd.value=!1,u(),td.value=null},setMonthPicker:h=>{rd.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),ff=(t,e)=>id(t,e)||q(),k7=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),id=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?k7(t,e):lr(n,e.timezone)},C7=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},mf=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??{}}),x7=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??{}}),pf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,M7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:pf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=pf(s);return Object.assign(n,r,{count:i})},v7=(t,e,n)=>t||(typeof n=="string"?n:e),S7=t=>typeof t=="boolean"?t?mf({}):!1:mf(t),T7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},O7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),D7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),E7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},$7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),P7=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??{}}},L7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},N7=(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},V7=(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},od=(t,e)=>new Map(t.map(n=>{const r=ff(n,e);return[Uc(r),r]})),B7=(t,e)=>t.length?new Map(t.map(n=>{const r=ff(n.date,e);return[Uc(r),n]})):null,A7=(t,e,n,r,s,i,a)=>({minDate:id(t,a),maxDate:id(e,a),disabledDates:qc(n)?od(n,a):n,allowedDates:qc(r)?od(r,a):null,highlight:typeof s=="object"&&qc(s==null?void 0:s.dates)?od(s.dates,a):s,markers:B7(i,a)}),R7=(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=>af(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(()=>M7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>x7(t.ariaLabels)),c=o.computed(()=>O7(t.filters)),d=o.computed(()=>S7(t.transitions)),u=o.computed(()=>D7(t.actionRow)),h=o.computed(()=>v7(t.previewFormat,t.format,n())),f=o.computed(()=>T7(t.textInput)),m=o.computed(()=>E7(t.inline)),g=o.computed(()=>$7(t.config)),p=o.computed(()=>P7(t.highlight)),_=o.computed(()=>L7(t.weekNumbers)),y=o.computed(()=>V7(t.timezone,t.emitTimezone)),C=o.computed(()=>R7(t.multiDates,t.multiDatesLimit)),b=o.computed(()=>A7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),S=o.computed(()=>N7(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:b,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},F7=(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=C7(a.value.timezone);return c5(w,B)}return w},m=(w,B,z=!1)=>cf(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))):ka(()=>[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)),b=w=>{const B=Ye(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(z=>y(z,ar(B,+z.month,+z.year))):ka(()=>[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(Zc.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])},T=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?ka(()=>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)?ka(()=>D(),i.value.enabled):ee(Ct(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?b(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?S(Ct(w)):e.weekPicker?M(Ct(w)):T(Ct(w)),F=w=>{const B=$(w);Kc(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]):""}`},O=()=>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"?O():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(Ac(w,c(),new Date)):h(Ac(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?p7(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)}},P=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))},k=w=>U(Ct(P(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:F,formatInputValue:N,emitModelValue:()=>(N(),e.monthPicker?k(p):e.timePicker?k(g):e.yearPicker?k(ye):e.weekPicker?t("update:model-value",V()):U(j(),!0))}},I7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Qe(t),{validateMonthYearInRange:s}=Rr(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?Oc(u,1):Uh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=Ye(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=>lf(Ye(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 z7=({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=O=>{if(a.teleport){const x=O.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(O,x)=>{u.value.left=`${O+x-c.value.width}px`},p=O=>{u.value.left=`${O}px`},_=(O,x)=>{a.position===oi.left&&p(O),a.position===oi.right&&g(O,x),a.position===oi.center&&(u.value.left=`${O+x/2-c.value.width/2}px`)},y=O=>{const{width:x,height:N}=O.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(O):m(O);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},b=()=>{const O=wt(n),{top:x,left:N,transform:Z}=a.altPosition(O);u.value={top:`${x}px`,left:`${N}px`,transform:Z??""}},S=(O=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return b();if(O){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:O,left:x,width:N})=>{window.screen.width>768&&!d.value&&_(x,N),D(O)},T=O=>{const{top:x,left:N,height:Z,width:ee}=y(O);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:O,left:N,width:ee})},v=O=>{const{top:x,left:N,width:Z}=y(O);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:O,left:N,width:Z})},D=O=>{if(a.autoPosition){const{left:x,width:N}=y(O),{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 O=wt(n);if(O){const{height:x}=c.value,{top:N,height:Z}=O.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=O=>E()===ps.bottom?T(O):v(O),j=()=>{const O=wt(n);if(O)return a.autoPosition?I(O):T(O)},$=function(O){if(O){const x=O.scrollHeight>O.clientHeight,N=window.getComputedStyle(O).overflowY.indexOf("hidden")!==-1;return x&&!N}return!0},F=function(O){return!O||O===document.body||O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(O)?O:F(O.parentNode)},G=O=>{if(O)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${O.width}px`,transform:"translateX(-100%)"};default:return{left:`${O.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:S,getScrollableParent:F,shadowRender:(O,x)=>{var N,Z,ee;const U=document.createElement("div"),P=(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 k=G(P),w=o.h(O,{...x,shadow:!0,style:{opacity:0,position:"absolute",...k}},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"]}],H7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Y7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>H7,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 Y7[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}},W7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Qe(e),{isDisabled:c}=Rr(e),d=o.ref(null),u=o.ref(lr(new Date,i.value.timezone)),h=k=>{!k.current&&e.hideOffsetDates||(d.value=k.value)},f=()=>{d.value=null},m=k=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?k?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(k,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(k.value),z)},p=k=>{const w=Array.isArray(t.value)?t.value[0]:null;return k?!rt(d.value??null,w):!0},_=(k,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!k.current?!1:Me(q(k.value),t.value[w?0:1]):l.value.enabled?g(k,w)&&p(w)||Me(k.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(k,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?k?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=k=>!t.value||e.hideOffsetDates&&!k.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(k.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,k.value)):Me(k.value,t.value?t.value:u.value),b=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!k.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(k.value)):Me(w,q(k.value))}return!1}return!1},S=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!k.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(k.value,B[0])&&rt(k.value,B[1]):ut(k.value,d.value)&&rt(k.value,w)}return!1}return!1},M=k=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!k.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],k.value):Me(d.value,k.value)}return!1}return!1},T=k=>ba(t.value,d.value,k.value),v=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,D=()=>e.modelAuto?Xh(e.internalModelValue):!0,E=k=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(k)&&!_(k,!1):!0;return!c(k.value)&&!C(k)&&!(!k.current&&e.hideOffsetDates)&&w},I=k=>l.value.enabled?e.modelAuto?v()&&C(k):!1:C(k),j=k=>s.value?f7(k.value,a.value.highlight):!1,$=k=>{const w=c(k.value);return w&&(typeof s.value=="function"?!s.value(k.value,w):!s.value.options.highlightDisabled)},F=k=>{var w;return typeof s.value=="function"?s.value(k.value):(w=s.value.weekdays)==null?void 0:w.includes(k.value.getDay())},G=k=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||k.current)&&D()&&!(!k.current&&e.hideOffsetDates)&&!C(k)?T(k):!1,O=k=>{const{isRangeStart:w,isRangeEnd:B}=ee(k),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!k.current,dp__pointer:!e.disabled&&!(!k.current&&e.hideOffsetDates)&&!c(k.value),dp__cell_disabled:c(k.value),dp__cell_highlight:!$(k)&&(j(k)||F(k))&&!I(k)&&!z&&!M(k)&&!(G(k)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(k)&&(j(k)||F(k))&&I(k),dp__today:!e.noToday&&Me(k.value,u.value)&&k.current,"dp--past":rt(k.value,u.value),"dp--future":ut(k.value,u.value)}},x=k=>({dp__active_date:I(k),dp__date_hover:E(k)}),N=k=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...P(k),dp__range_start:Me(w[0],k.value),dp__range_end:Me(w[1],k.value),dp__range_between_week:ut(k.value,w[0])&&rt(k.value,w[1])}}return{...P(k)}},Z=k=>{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{...P(k),dp__range_start:Me(w[0],k.value)||Me(B[0],k.value),dp__range_end:Me(w[1],k.value)||Me(B[1],k.value),dp__range_between_week:ut(k.value,w[0])&&rt(k.value,w[1])||ut(k.value,B[0])&&rt(k.value,B[1]),dp__range_between:ut(k.value,w[1])&&rt(k.value,B[0])}}return{...P(k)}},ee=k=>{const w=n.value.count>0?k.current&&_(k)&&D():_(k)&&D(),B=n.value.count>0?k.current&&_(k,!1)&&D():_(k,!1)&&D();return{isRangeStart:w,isRangeEnd:B}},U=k=>{const{isRangeStart:w,isRangeEnd:B}=ee(k);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(k),dp__date_hover:E(k),dp__date_hover_start:y(E(k),k,!0),dp__date_hover_end:y(E(k),k,!1)}},P=k=>({...U(k),dp__cell_auto_range:S(k),dp__cell_auto_range_start:M(k),dp__cell_auto_range_end:b(k)}),V=k=>l.value.enabled?l.value.autoRange?P(k):e.modelAuto?{...x(k),...U(k)}:e.weekPicker?Z(k):U(k):e.weekPicker?N(k):x(k);return{setHoverDate:h,clearHoverDate:f,getDayClassData:k=>e.hideOffsetDates&&!k.current?{}:{...O(k),...V(k),[e.dayClass?e.dayClass(k.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Rr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=Qe(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!wa($,r.value.disabledDates):!1,a=$=>{const F=r.value.maxDate?ut($,r.value.maxDate):!1,G=r.value.minDate?rt($,r.value.minDate):!1,O=i($),x=e.value.months.map(P=>+P).includes(Ce($)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===i9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(F||G||O||x||U||N||Z)},l=($,F)=>rt(...Vr(r.value.minDate,$,F))||Me(...Vr(r.value.minDate,$,F)),c=($,F)=>ut(...Vr(r.value.maxDate,$,F))||Me(...Vr(r.value.maxDate,$,F)),d=($,F,G)=>{let O=!1;return r.value.maxDate&&G&&c($,F)&&(O=!0),r.value.minDate&&!G&&l($,F)&&(O=!0),O},u=($,F,G,O)=>{let x=!1;return O?r.value.minDate&&r.value.maxDate?x=d($,F,G):(r.value.minDate&&l($,F)||r.value.maxDate&&c($,F))&&(x=!0):x=!0,x},h=$=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!wa($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Oh({start:$[0],end:$[1]}).some(F=>f(F)):!0,g=$=>{if($){const F=ye($);return F>=+t.yearRange[0]&&F<=t.yearRange[1]}return!0},p=($,F)=>!!(Array.isArray($)&&$[F]&&(n.value.maxRange||n.value.minRange)&&g($[F])),_=($,F,G=0)=>{if(p(F,G)&&g($)){const O=vh($,F[G]),x=of(F[G],$),N=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(O)-(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=$=>Array.isArray($)?[$[0]?Jc($[0]):null,$[1]?Jc($[1]):null]:Jc($),b=($,F,G)=>$.find(O=>+O.hours===Tn(F)&&O.minutes==="*"?!0:+O.minutes===zn(F)&&+O.hours===Tn(F))&&G,S=($,F,G)=>{const[O,x]=$,[N,Z]=F;return!b(O,N,G)&&!b(x,Z,G)&&G},M=($,F)=>{const G=Array.isArray(F)?F:[F];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?S(t.disabledTimes,G,$):!G.some(O=>b(t.disabledTimes,O,$)):$},T=($,F)=>{const G=Array.isArray(F)?[ms(F[0]),F[1]?ms(F[1]):void 0]:ms(F),O=!t.disabledTimes(G);return $&&O},v=($,F)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(F,$):T(F,$):F,D=$=>{let F=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(F=df(t.maxTime,r.value.maxDate,"max",Ct(G),F)),(t.minTime||r.value.minDate)&&(F=df(t.minTime,r.value.minDate,"min",Ct(G),F)),v($,F)},E=$=>{if(!t.monthPicker)return!0;let F=!0;const G=q(On($));if(r.value.minDate&&r.value.maxDate){const O=q(On(r.value.minDate)),x=q(On(r.value.maxDate));return ut(G,O)&&rt(G,x)||Me(G,O)||Me(G,x)}if(r.value.minDate){const O=q(On(r.value.minDate));F=ut(G,O)||Me(G,O)}if(r.value.maxDate){const O=q(On(r.value.maxDate));F=rt(G,O)||Me(G,O)}return F},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:D($)),j=o.computed(()=>$=>t.monthPicker?Array.isArray($)&&(n.value.enabled||s.value.enabled)?!$.filter(F=>!E(F)).length:E($):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:D,isTimeValid:I,isMonthValid:j}},xa=()=>{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}},j7=(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}},Ma={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={...Ma,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}},Z7={key:1,class:"dp__input_wrap"},U7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],q7={key:2,class:"dp__clear_icon"},G7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ma},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}=Rr(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})),b=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},S=x=>{const N=f();return m7(x,i.value.format??h(),N??af({},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()),P=ee?S(ee.trim()):null,V=U&&P?[U,P]:[U];m(P,V,0)&&(g.value=U?V:null)}},T=()=>{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)):b(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(v(x.target.value),i.value.enterSubmit&&Kc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):$(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&v(x.target.value),i.value.tabSubmit&&Kc(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())})},$=x=>{x.preventDefault(),Lr(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},F=()=>{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=>{Lr(x,c.value,!0),r("clear")},O=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:$},[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",Z7,[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:F,onKeypress:O,onPaste:T,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"]),O],onBlur:F,onFocus:j,onKeypress:O,onPaste:T},null,42,U7)),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",q7,[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(qh),{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)])}}}),K7=["title"],X7=["disabled"],Q7=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}=Rr(r),{buildMatrix:g}=Br(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),b=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 O,x;const N=(O=b.value)==null?void 0:O.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)},T=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)||!T.value),D=()=>{const O=i.value;return r.timePicker||r.monthPicker,O(Ct(r.internalModelValue))},E=()=>{const O=r.internalModelValue;return a.value.count>0?`${I(O[0])} - ${I(O[1])}`:[I(O[0]),I(O[1])]},I=O=>cf(O,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(O=>`${I(O)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):D()),$=()=>u.value.enabled?"; ":" - ",F=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&T.value?n("select-date"):n("invalid-select")};return(O,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:S,class:"dp__action_row"},[O.$slots["action-row"]?o.renderSlot(O.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:O.internalModelValue,disabled:v.value,selectDate:()=>O.$emit("select-date"),closePicker:()=>O.$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:F.value,style:o.normalizeStyle(C.value)},[O.$slots["action-preview"]&&y.value?o.renderSlot(O.$slots,"action-preview",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),!O.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(F.value),1)],64)):o.createCommentVNode("",!0)],12,K7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:b,class:"dp__action_buttons","data-dp-element":"action-row"},[O.$slots["action-buttons"]?o.renderSlot(O.$slots,"action-buttons",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),O.$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=>O.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(N=>O.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(N=>O.$emit("close-picker"),["space"]))]},o.toDisplayString(O.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=>O.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(N=>O.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(N=>O.$emit("select-now"),["space"]))]},o.toDisplayString(O.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(O.selectText),41,X7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),J7=["onKeydown"],e8={class:"dp__selection_grid_header"},t8=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],n8=["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}=xa(),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),b=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 P;l.arrowNavigation&&((P=l.headerRefs)!=null&&P.length?i(U):r(U))},M=()=>{var U;const P=wt(g);P&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):P.focus({preventScroll:!0})),f.value=P.clientHeight<P.scrollHeight)},T=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,P;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((P=l.items)==null?void 0:P.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const P=wt(m),V=wt(g),k=wt(y),w=wt(b),B=k?k.getBoundingClientRect().height:0;V&&(V.getBoundingClientRect().height?C.value=V.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),P&&w&&U&&(w.scrollTop=P.offsetTop-w.offsetTop-(C.value/2-P.getBoundingClientRect().height)-B)})},$=U=>{U.disabled||a("selected",U.value)},F=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&F()},O=(U,P,V,k)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[V])?p.value[V][k]=U:p.value[V]=[U],x()))},x=()=>{var U,P;const V=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(Ct(V),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},N=U=>{l.arrowNavigation||Lr(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(F(),!l.isLast){const U=h7(l.menuWrapRef??null,"action-row");if(U){const P=ef(U);P==null||P.focus()}}};return e({focusGrid:M}),(U,P)=>{var V;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(T.value),style:o.normalizeStyle(v.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(k=>N(k),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:b,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",e8,[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,(k,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(k,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>O(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=>$(B),onKeydown:[o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>$(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,t8))),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:F,onKeydown:[o.withKeys(F,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,n8)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,J7)}}}),va=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))}}),r8=["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,r8))}}),s8={class:"dp--year-mode-picker"},i8=["aria-label"],gf=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}=xa(),{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,b;return o.openBlock(),o.createElementBlock("div",s8,[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(Ic),{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,i8),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(b=o.unref(c))==null?void 0:b.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(zc),{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"])])}}}),ad=(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]},ld=(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},Sa=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},_f=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))},yf=(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):[],wf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>jc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,v)=>{const D=Ye(On(new Date),{month:c.value(T),year:l.value(T)});return lf(D,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,v)}),m=()=>{for(let T=0;T<t.value.count;T++)if(T===0)r.value[T]=r.value[0];else{const v=Ye(q(),r.value[T-1]);r.value[T]={month:Ce(v),year:ye(Oc(v,1))}}},g=T=>{if(!T)return m();const v=Ye(q(),r.value[T]);return r.value[0].year=ye(Uh(v,t.value.count-1)),m()},p=T=>i.focusStartDate?T[0]:T[1]?T[1]:T[0],_=()=>{if(s.value){const T=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(T),year:ye(T)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(T,v)=>{r.value[v].year=T,t.value.count&&!t.value.solo&&g(v)},C=o.computed(()=>T=>ri(u.value,v=>{var D;const E=l.value(T)===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(T))),j=ed(e.value,v.value);return{active:E,disabled:I,highlighted:j}})),b=(T,v)=>{y(T,v),M(v)},S=(T,v=!1)=>{if(!f.value(T,v)){const D=v?l.value(T)+1:l.value(T)-1;y(D,T)}},M=(T,v=!1,D)=>{v||d("reset-flow"),D!==void 0?h.value[T]=D:h.value[T]=!h.value[T],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:b,handleYear:S}},o8=(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(()=>Kh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:b,groupedYears:S,showYearPicker:M,toggleYearPicker:T,handleYearSelect:v,handleYear:D,isDisabled:E}=wf({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)&&b(ye(q(t.startDate)),0)});const I=k=>k?{month:Ce(k),year:ye(k)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(k=>I(k)):I(f.value):I(),$=(k,w)=>{const B=p.value[k],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},F=(k,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&k===((be=Fe[B])==null?void 0:be.month):!1},G=(k,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=F(k,w,0)||F(k,w,1),be=ar(On(q()),k,m.value(w));return ba(f.value,y.value,be)&&!z}return!1}return!1},O=o.computed(()=>k=>ri(_.value,w=>{var B;const z=$(k,w.value),be=Ki(w.value,rf(m.value(k),c.value.minDate),sf(m.value(k),c.value.maxDate))||b7(c.value.disabledDates,m.value(k)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,k),A=uf(l.value,w.value,m.value(k));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(k,w)=>ar(On(q()),k,m.value(w)),N=(k,w)=>{const B=f.value?f.value:On(new Date);f.value=ar(B,k,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(k,w)=>{const B=x(k,w);a.value.fixedEnd||a.value.fixedStart?f.value=yf(B,f,e,a):f.value?C(B,f.value)&&(f.value=ld(f,x(k,w),e)):f.value=[x(k,w)],Sa(f.value,e,t.autoApply,t.modelAuto)},ee=(k,w)=>{ad(x(k,w),f,h.value.limit),e("auto-apply",!0)},U=(k,w)=>(p.value[w].month=k,V(w,p.value[w].year,k),h.value.enabled?ee(k,w):a.value.enabled?Z(k,w):N(k,w)),P=(k,w)=>{b(k,w),V(w,k,null)},V=(k,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[k].month:be.month}e("update-month-year",{instance:k,year:w,month:z})};return{groupedMonths:O,groupedYears:S,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(k,w)=>{_f({value:k,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(k,w)=>{y.value=x(k,w)},selectMonth:U,selectYear:P,toggleYearPicker:T,handleYearSelect:v,handleYear:D,getModelMonthYear:j}},a8=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:b,handleYearSelect:S,handleYear:M,getModelMonthYear:T}=o8(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:T,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:v=>b(0,v)}),(v,D)=>(o.openBlock(),o.createBlock(va,{"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(gf,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(b)(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($=>[o.renderSlot(v.$slots,I,o.normalizeProps(o.guardReactiveProps($)))])}))]),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"]))}}),l8=(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)?ba(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(jc(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=ed(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=ld(n,m(g),e),Sa(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},c8=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}=l8(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"]))]))}}),d8={key:0,class:"dp__time_input"},u8=["aria-label","onKeydown","onClick"],h8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),f8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),m8=["aria-label","disabled","onKeydown","onClick"],p8=["aria-label","onKeydown","onClick"],g8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),_8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),y8={key:0},w8=["aria-label","onKeydown"],b8=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=>Ye(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),b=o.computed(()=>A=>O(A,s[A])||M(A,s[A])),S=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,H)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,H):!1,T=(A,H)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=H?+s[`${A}Increment`]:-+s[`${A}Increment`],L=s[A]+ue;return!s.validateTime(A,L)}return!1},v=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||T(A,!0)),D=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,H)=>bh(Ye(q(),A),H),I=(A,H)=>s7(Ye(q(),A),H),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})),$=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),F=o.computed(()=>$.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const H=w(+s.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),O=(A,H)=>{var ue;if(!s.disabledTimesConfig)return!1;const L=s.disabledTimesConfig(s.order,A==="hours"?H:void 0);return L[A]?!!((ue=L[A])!=null&&ue.includes(H)):!0},x=A=>{const H=s.is24?24:12,ue=A==="hours"?H:60,L=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?L:0,de=[];for(let ge=K;ge<ue;ge+=L)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)||O(A,ge.value)||M(A,ge.value)}))},N=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,H)=>{const ue=s.minTime?C(Gc(s.minTime)):null,L=s.maxTime?C(Gc(s.maxTime)):null,K=C(Gc(S.value,H,H==="minutes"||H==="seconds"?N(A):Z(A)));return ue&&L?(Gi(K,L)||ei(K,L))&&(qi(K,ue)||ei(K,ue)):ue?qi(K,ue)||ei(K,ue):L?Gi(K,L)||ei(K,L):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],P=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},V=A=>A==="hours"?Tn:A==="minutes"?zn:Js,k=(A,H=!0)=>{const ue=H?E:I,L=H?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+L,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",a7(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,H,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[H])?y.value[H][ue]=A:y.value[H]=[A];const L=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&(L[1]=L[1].concat(_.value)),i(L,s.order)}},Fe=(A,H)=>(P(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?H+12:H):r(`update:${A}`,H));return e({openChildCmp:z}),(A,H)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",d8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.value,(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[L.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(L.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>k(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>k(L.type),["prevent"]),["space"])],onClick:te=>k(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[h8,f8],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(Yc),{key:1}))],64))],42,u8),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(L.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":b.value(L.type),"dp--time-overlay-btn":!b.value(L.type)}),disabled:U(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["space"])],onClick:te=>P(L.type)},[A.$slots[L.type]?o.renderSlot(A.$slots,L.type,{key:0,text:G.value(L.type).text,value:G.value(L.type).value}):o.createCommentVNode("",!0),A.$slots[L.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value(L.type).text),1)],64))],42,m8),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(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>k(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>k(L.type,!1),["prevent"]),["space"])],onClick:te=>k(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[g8,_8],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(Wc),{key:1}))],64))],42,p8)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",y8,[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,w8))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(F.value,(L,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[L.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[L.type]?(o.openBlock(),o.createBlock(eo,{key:0,items:x(L.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:L.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Fe(L.type,de),onToggle:de=>P(L.type),onResetFlow:H[0]||(H[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(Hc)),{key:1}))]),_:2},[A.$slots[`${L.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${L.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))]))}}}),k8={class:"dp--tp-wrap"},C8=["aria-label","tabindex"],x8=["tabindex"],M8=["aria-label"],bf=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}=xa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),b=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?Xh(s.internalModelValue):!0),M=o.ref(!1),T=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(T(N));else x.push(T(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,$=x=>{r("update:hours",x)},F=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},O=()=>{if(b.value&&!u.value.enabled&&!s.noOverlayFocus){const x=ef(b.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:D}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",k8,[!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(Hc),{key:1}))],42,C8)),[[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:b,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:$,setMinutes:F,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,P)=>o.withDirectives((o.openBlock(),o.createBlock(b8,o.mergeProps({key:P},{...x.$props,order:P,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:P===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(V,k)=>t.validateTime(V,j(k,P,V)),"onUpdate:hours":V=>$(j(V,P,"hours")),"onUpdate:minutes":V=>F(j(V,P,"minutes")),"onUpdate:seconds":V=>G(j(V,P,"seconds")),onMounted:O,onOverlayClosed:O,onAmPmChange:N[3]||(N[3]=V=>x.$emit("am-pm-change",V))}),o.createSlots({_:2},[o.renderList(o.unref(I),(V,k)=>({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,P===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,M8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,x8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),kf=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(b,S)=>Array.isArray(e[b])?e[b][S]:e[b],a=b=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[b]:e.seconds:0,l=(b,S)=>b?S!==void 0?Nr(b,i("hours",S),i("minutes",S),a(S)):Nr(b,e.hours,e.minutes,a()):Fc(q(),a(S)),c=(b,S)=>{e[b]=S},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(b,S)=>{const M=Object.fromEntries(Object.keys(e).map(T=>T===b?[T,S]:[T,e[T]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const T=D=>n.value?Nr(n.value[D],M.hours[D],M.minutes[D],M.seconds[D]):null,v=D=>Rc(n.value[D],0);return!(Me(T(0),T(1))&&(qi(T(0),v(1))||Gi(T(1),v(0))))}return!0},h=(b,S)=>{u(b,S)&&(c(b,S),r&&r())},f=b=>{h("hours",b)},m=b=>{h("minutes",b)},g=b=>{h("seconds",b)},p=(b,S,M,T)=>{S&&f(b),!S&&!M&&m(b),M&&g(b),n.value&&T(n.value)},_=b=>{if(b){const S=Array.isArray(b),M=S?[+b[0].hours,+b[1].hours]:+b.hours,T=S?[+b[0].minutes,+b[1].minutes]:+b.minutes,v=S?[+b[0].seconds,+b[1].seconds]:+b.seconds;c("hours",M),c("minutes",T),t.enableSeconds&&c("seconds",v)}},y=(b,S)=>{const M={hours:Array.isArray(e.hours)?e.hours[b]:e.hours,disabledArr:[]};return(S||S===0)&&(M.hours=S),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[b])?t.disabledTimes[b]:t.disabledTimes),M},C=o.computed(()=>(b,S)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:T,hours:v}=y(b,S),D=T.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}},v8=(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}=kf(t,r,n),f=b=>{const{hours:S,minutes:M,seconds:T}=b;return{hours:+S,minutes:+M,seconds:T?+T:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=f(t.startTime[0]),M=f(t.startTime[1]);return[Ye(q(),S),Ye(q(),M)]}const b=f(t.startTime);return Ye(q(),b)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[b,S]=m();n.value=[l(b,0),l(S,1)]}else n.value=l(m())},p=b=>Array.isArray(b)?[ms(q(b[0])),ms(q(b[1]))]:[ms(b??q())],_=(b,S,M)=>{c("hours",b),c("minutes",S),c("seconds",t.enableSeconds?M:0)},y=()=>{const[b,S]=p(n.value);return i.value.enabled?_([b.hours,S.hours],[b.minutes,S.minutes],[b.seconds,S.seconds]):_(b.hours,b.minutes,b.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((b,S)=>b&&l(b,S)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(b,S=!0,M=!1)=>{a(b,S,M,C)},validateTime:h}},S8=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}=v8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(va,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(bf,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}))}}),T8={class:"dp__month_year_row"},O8=["aria-label","onClick","onKeydown"],D8=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}=I7(s,r),{showLeftIcon:C,showRightIcon:b}=xa(),S=o.ref(!1),M=o.ref(!1),T=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const v=P=>({get:()=>s[P],set:V=>{const k=P===Dn.month?Dn.year:Dn.month;r("update-month-year",{[P]:V,[k]:s[k]}),P===Dn.month?O(!0):x(!0)}}),D=o.computed(v(Dn.month)),E=o.computed(v(Dn.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===Dn.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===Dn.month?O:x})),j=o.computed(()=>s.months.find(V=>V.value===s.month)||{text:"",value:0}),$=o.computed(()=>ri(s.months,P=>{const V=s.month===P.value,k=Ki(P.value,rf(s.year,h.value.minDate),sf(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=uf(u.value,P.value,s.year);return{active:V,disabled:k,highlighted:w}})),F=o.computed(()=>ri(s.years,P=>{const V=s.year===P.value,k=Ki(P.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(P.value),w=ed(u.value,P.value);return{active:V,disabled:k,highlighted:w}})),G=(P,V)=>{V!==void 0?P.value=V:P.value=!P.value,P.value||r("overlay-closed")},O=(P=!1,V)=>{N(P),G(S,V)},x=(P=!1,V)=>{N(P),G(M,V)},N=P=>{P||r("reset-flow")},Z=(P,V)=>{s.arrowNavigation&&(T.value[V]=wt(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,V;return[{type:Dn.month,index:1,toggle:O,modelValue:D.value,updateModelValue:k=>D.value=k,text:j.value.text,showSelectionGrid:S.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:Dn.year,index:2,toggle:x,modelValue:E.value,updateModelValue:k=>E.value=k,text:tf(s.year,s.locale),showSelectionGrid:M.value,items:F.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:O,toggleYearPicker:x,handleMonthYearChange:p}),(P,V)=>{var k,w,B;return o.openBlock(),o.createElementBlock("div",T8,[P.$slots["month-year"]?o.renderSlot(P.$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)&&!P.vertical?(o.openBlock(),o.createBlock(to,{key:0,"aria-label":(k=o.unref(a))==null?void 0:k.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(()=>[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(Ic),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:P.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"])]},[P.$slots[z.type]?o.renderSlot(P.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):o.createCommentVNode("",!0),P.$slots[z.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(z.text),1)],64))],40,O8),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":P.arrowNavigation,"hide-navigation":P.hideNavigation,"is-last":P.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:P.config,type:z.type,"header-refs":[],"esc-close":P.escClose,"menu-wrap-ref":P.menuWrapRef,"text-input":P.textInput,"aria-labels":P.ariaLabels,onSelected:z.updateModelValue,onToggle:z.toggle},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[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Fe})=>[o.renderSlot(P.$slots,`${z.type}-overlay-value`,{text:Fe.text,value:Fe.value})]),key:"0"}:void 0,P.$slots[`${z.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${z.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(z.type))))]),key:"1"}:void 0,P.$slots[`${z.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(P.$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)&&P.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(()=>[P.$slots["arrow-up"]?o.renderSlot(P.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Yc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(b)(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,P.disableYearSelect?2:3))},{default:o.withCtx(()=>[P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.renderSlot(P.$slots,P.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.vertical?o.unref(Wc):o.unref(zc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),E8=["aria-label"],$8={class:"dp__calendar_header",role:"row"},P8={key:0,class:"dp__calendar_header_item",role:"gridcell"},L8=["aria-label"],N8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),V8=["aria-label"],B8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},A8={class:"dp__cell_inner"},R8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],F8=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}),b=o.ref([]),S=o.ref({left:"50%"}),M=o.ref(!1),T=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):o7(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",P,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const D=H=>H?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(H,ue)=>{if(s.transitions){const L=Zt(ar(q(),s.month,s.year));y.value=ut(Zt(ar(q(),H,ue)),L)?a.value[D(!0)]:a.value[D(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>H=>{const ue=l7(H);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),$=o.computed(()=>H=>Me(H,f.value)),F=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>H=>s.hideOffsetDates?H.current:!0),O=H=>In(H,"yyyy-MM-dd"),x=async(H,ue,L)=>{const K=wt(g.value[ue][L]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=H.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),b.value[0]){const{left:Bt,width:St}=b.value[0].getBoundingClientRect();Bt<0&&(ae={left:"0"},te=0,S.value.left=`${de/2}px`),window.innerWidth<Bt+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",H.marker)}},N=async(H,ue,L)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",H);r("set-hover-date",H),(de=(K=H.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(H,ue,L)},Z=H=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",H.marker))},ee=H=>{C.value.startX=H.changedTouches[0].screenX,C.value.startY=H.changedTouches[0].screenY},U=H=>{C.value.endX=H.changedTouches[0].screenX,C.value.endY=H.changedTouches[0].screenY,V()},P=H=>{s.vertical&&!s.inline&&H.preventDefault()},V=()=>{const H=s.vertical?"Y":"X";Math.abs(C.value[`start${H}`]-C.value[`end${H}`])>10&&r("handle-swipe",C.value[`start${H}`]>C.value[`end${H}`]?"right":"left")},k=(H,ue,L)=>{H&&(Array.isArray(g.value[ue])?g.value[ue][L]=H:g.value[ue]=[H]),s.arrowNavigation&&i(g.value,"calendar")},w=H=>{s.monthChangeOnScroll&&(H.preventDefault(),r("handle-scroll",H))},B=H=>u.value.type==="local"?Pc(H.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Ec(H.value):typeof u.value.type=="function"?u.value.type(H.value):"",z=H=>{const ue=H[0];return u.value.hideOnOffsetDates?H.some(L=>L.current)?B(ue):"":B(ue)},be=(H,ue)=>{h.value.enabled||(Lr(H,l.value),r("select-date",ue))},Fe=H=>{Lr(H,l.value)},A=H=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",H)):h.value.enabled&&r("select-date",H)};return e({triggerTransition:E}),(H,ue)=>{var L;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(F.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":(L=o.unref(c))==null?void 0:L.calendarWrap},[o.createElementVNode("div",$8,[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",P8,o.toDisplayString(H.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)},[H.$slots["calendar-header"]?o.renderSlot(H.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),H.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,L8)}),128))]),N8,o.createVNode(o.Transition,{name:y.value,css:!!H.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(T.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",B8,[o.createElementVNode("div",A8,o.toDisplayString(z(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Bt,St,Er;return o.openBlock(),o.createElementBlock("div",{id:O(ae.value),ref_for:!0,ref:kt=>k(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=(Bt=o.unref(c))==null?void 0:Bt.day)==null?void 0:St.call(Bt,ae),tabindex:"0",onClick:o.withModifiers(kt=>be(kt,ae),["prevent"]),onKeydown:[o.withKeys(kt=>H.$emit("select-date",ae),["enter"]),o.withKeys(kt=>H.$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])},[H.$slots.day&&G.value(ae)?o.renderSlot(H.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),H.$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},[H.$slots.marker?o.renderSlot(H.$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),$.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:b,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"},[H.$slots["marker-tooltip"]?o.renderSlot(H.$slots,"marker-tooltip",{key:0,tooltip:kt,day:ae.value}):o.createCommentVNode("",!0),H.$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,R8)}),128))]))),128))],40,V8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,E8)],2)}}}),Cf=t=>Array.isArray(t),I8=(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}=Rr(t),{updateTimeValues:b,getSetDateTime:S,setTime:M,assignStartTime:T,validateTime:v,disabledTimesConfig:D}=kf(t,c,a,r),E=o.computed(()=>R=>l.value[R]?l.value[R].month:0),I=o.computed(()=>R=>l.value[R]?l.value[R].year:0),j=(R,J,ce)=>{var we,X;l.value[R]||(l.value[R]={month:0,year:0}),l.value[R].month=Jh(J)?(we=l.value[R])==null?void 0:we.month:J,l.value[R].year=Jh(ce)?(X=l.value[R])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(R,J)=>{JSON.stringify(R)!==JSON.stringify(J)&&O()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&T(u.value)),O(!0),t.focusStartDate&&t.startDate&&z())});const F=o.computed(()=>{var R;return(R=t.flow)!=null&&R.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&F.value&&e("auto-apply")},O=(R=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,V(R)):Z(a.value,R);if(d.value.count&&R&&!t.startDate)return N(q(),R)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,N=(R,J=!1)=>{if((!d.value.count||!d.value.static||J)&&j(0,Ce(R),ye(R)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=Ye(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=bh(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(R,J)=>{N(R),M("hours",Tn(R)),M("minutes",zn(R)),M("seconds",Js(R)),d.value.count&&J&&B()},ee=R=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(R[0]),ce=Ce(R[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(R,J)=>{R[1]&&h.value.showLastInRange?N(R[ee(R)],J):N(R[0],J);const ce=(we,X)=>[we(R[0]),R[1]?we(R[1]):c[X][1]];M("hours",ce(Tn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(Js,"seconds"))},P=(R,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(R,J);if(g.value.enabled&&J){const ce=R[R.length-1];return Z(ce,J)}},V=R=>{const J=a.value;P(J,R),d.value.count&&d.value.solo&&B()},k=(R,J)=>{const ce=Ye(q(),{month:E.value(J),year:I.value(J)}),we=R<0?Sn(ce,1):ti(ce,1);p(Ce(we),ye(we),R<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=R=>{for(let J=R-1;J>=0;J--){const ce=ti(Ye(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=R+1;J<=d.value.count-1;J++){const ce=Sn(Ye(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 R=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(R),ye(R))}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=(R,J)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(R.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,k(t.monthChangeOnScroll!=="inverse"?-R.deltaY:R.deltaY,J))}},Fe=(R,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(R,J)},A=(R,J)=>{k(R==="right"?-1:1,J)},H=R=>{if(m.value.markers)return wa(R.value,m.value.markers)},ue=(R,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[R==0,!0];case"fair":return[R==0||J>R,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(R,J,ce,we)=>{if(t.sixWeeks&&R.length<6){const X=6-R.length,he=(J.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[$r,ir]=ue(he,fe);for(let Ks=1;Ks<=X;Ks++)if(ir?!!(Ks%2)==$r:$r){const cs=R[0].days[0],gh=K(vn(cs.value,-7),Ce(J));R.unshift({days:gh})}else{const cs=R[R.length-1],gh=cs.days[cs.days.length-1],vz=K(vn(gh.value,1),Ce(J));R.push({days:vz})}}return R},K=(R,J)=>{const ce=q(R),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=(R,J)=>{const ce=[],we=new Date(J,R),X=new Date(J,R+1,0),he=t.weekStart,fe=Fn(we,{weekStartsOn:he}),$r=ir=>{const Ks=K(ir,R);if(ce.push({days:Ks}),!ce[ce.length-1].days.some(cs=>Me(Zt(cs.value),Zt(X)))){const cs=vn(ir,7);$r(cs)}};return $r(fe),L(ce,we,X,he)},ge=R=>{const J=Nr(q(R.value),c.hours,c.minutes,Gs());e("date-update",J),g.value.enabled?ad(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=R=>h.value.noDisabledRange?of(s.value[0],R).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Bt=(R,J)=>{const ce=[q(R.value),vn(q(R.value),+h.value.autoRange)];y(ce)?(J&&St(R.value),s.value=ce):e("invalid-date",R.value)},St=R=>{const J=Ce(q(R)),ce=ye(q(R));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=g7(Ye(q(R),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},Er=R=>{if(ae(R.value)||!C(R.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",R.value);s.value=yf(q(R.value),a,e,h)},kt=(R,J)=>{if(te(),h.value.autoRange)return Bt(R,J);if(h.value.fixedStart||h.value.fixedEnd)return Er(R);s.value[0]?C(q(R.value),a.value)&&!ae(R.value)?rt(q(R.value),q(s.value[0]))?(s.value.unshift(q(R.value)),e("range-end",s.value[0])):(s.value[1]=q(R.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",R.value),e("invalid-date",R.value)):(s.value[0]=q(R.value),e("range-start",s.value[0]))},Gs=(R=!0)=>t.enableSeconds?Array.isArray(c.seconds)?R?c.seconds[0]:c.seconds[1]:c.seconds:0,ma=R=>{s.value[R]=Nr(s.value[R],c.hours[R],c.minutes[R],Gs(R!==1))},pa=()=>{var R,J;s.value[0]&&s.value[1]&&+((R=s.value)==null?void 0:R[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]?ma(0):(ma(0),ma(1),r()),pa(),a.value=s.value.slice(),Sa(s.value,e,t.autoApply,t.modelAuto))},uh=(R,J=!1)=>{if(_(R.value)||!R.current&&t.hideOffsetDates)return e("invalid-date",R.value);if(!h.value.enabled)return ge(R);Cf(c.hours)&&Cf(c.minutes)&&!g.value.enabled&&(kt(R,J),Mn())},hh=(R,J)=>{var ce;j(R,J.month,J.year),d.value.count&&!d.value.solo&&w(R),e("update-month-year",{instance:R,month:J.month,year:J.year}),n(d.value.solo?R: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()},vc=(R,J)=>{_f({value:R,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>O(!0))},fh=()=>{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(),$()},mh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const R=ph();a.value[a.value.length-1]=S(R)}else a.value=a.value.map((R,J)=>R&&S(R,J));else a.value=S(a.value);e("time-update")},ph=()=>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:H,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:uh,updateMonthYear:hh,presetDate:vc,selectCurrentDate:fh,updateTime:(R,J=!0,ce=!1)=>{b(R,J,ce,mh)}}},z8={key:0},H8=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:b,selectCurrentDate:S,updateTime:M}=I8(s,r,ee,U),T=o.useSlots(),{setHoverDate:v,getDayClassData:D,clearHoverDate:E}=W7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),$=o.ref([]),F=o.ref(null),G=Ut(T,"calendar"),O=Ut(T,"monthYear"),x=Ut(T,"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(k=>({...k,days:k.days.map(w=>(w.marker=m(w),w.classData=D(w),w))})));function ee(V){var k;V||V===0?(k=$.value[V])==null||k.triggerTransition(a.value(V),l.value(V)):$.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const P=(V,k=!1)=>{y(V,k),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:b,selectCurrentDate:S,toggleMonthPicker:(V,k,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(V,k)},toggleYearPicker:(V,k,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(V,k)},toggleTimePicker:(V,k,w)=>{var B;(B=F.value)==null||B.toggleTimePicker(V,k,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:b})}),(V,k)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(va,{"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(D8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Kh)(V.formatLocale,V.locale,V.monthNameFormat),years:o.unref(jc)(V.yearRange,V.locale,V.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onMount:k[0]||(k[0]=z=>N(o.unref(gs).header)),onResetFlow:k[1]||(k[1]=z=>V.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:k[2]||(k[2]=z=>V.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(O),(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(F8,o.mergeProps({ref:z=>{z&&($.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=>P(z,w!==1),onSetHoverDate:k[3]||(k[3]=z=>o.unref(v)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:k[4]||(k[4]=z=>N(o.unref(gs).calendar)),onResetFlow:k[5]||(k[5]=z=>V.$emit("reset-flow")),onTooltipOpen:k[6]||(k[6]=z=>V.$emit("tooltip-open",z)),onTooltipClose:k[7]||(k[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",z8,[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(bf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:F},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:k[8]||(k[8]=w=>N(o.unref(gs).timePicker)),"onUpdate:hours":k[9]||(k[9]=w=>o.unref(M)(w)),"onUpdate:minutes":k[10]||(k[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":k[11]||(k[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:k[12]||(k[12]=w=>V.$emit("reset-flow")),onOverlayClosed:k[13]||(k[13]=w=>V.$emit("time-picker-close")),onOverlayOpened:k[14]||(k[14]=w=>V.$emit("time-picker-open",w)),onAmPmChange:k[15]||(k[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))}}),Y8=(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}=Rr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:b,handleYearSelect:S,handleYear:M}=wf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(O,x)=>[O,x].map(N=>In(N,"MMMM",{locale:t.formatLocale})).join("-"),v=o.computed(()=>O=>u.value?Array.isArray(u.value)?u.value.some(x=>Yh(O,x)):Yh(u.value,O):!1),D=O=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(O,u.value[0])||Me(O,u.value[1]);return ba(u.value,n.value,O)&&!x}return!1}return!1},E=(O,x)=>O.quarter===Th(x)&&O.year===ye(x),I=O=>typeof i.value=="function"?i.value({quarter:Th(O),year:ye(O)}):!!i.value.quarters.find(x=>E(x,O)),j=o.computed(()=>O=>{const x=Ye(new Date,{year:h.value(O)});return f5({start:Dh(x),end:m5(x)}).map(N=>{const Z=hs(N),ee=Eh(N),U=g(N),P=D(Z),V=I(Z);return{text:T(Z,ee),value:Z,active:v.value(Z),highlighted:V,disabled:U,isBetween:P}})}),$=O=>{ad(O,u,d.value.limit),e("auto-apply",!0)},F=O=>{u.value=ld(u,O,e),Sa(u.value,e,t.autoApply,t.modelAuto)},G=O=>{u.value=O,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:O=>{n.value=O},selectYear:p,selectQuarter:(O,x,N)=>{if(!N)return m.value[x].month=Ce(Eh(O)),d.value.enabled?$(O):a.value.enabled?F(O):G(O)},toggleYearPicker:b,handleYearSelect:S,handleYear:M}},W8={class:"dp--quarter-items"},j8=["disabled","onClick","onMouseover"],Z8=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:b}=Y8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:b})}),(S,M)=>(o.openBlock(),o.createBlock(va,{"multi-calendars":o.unref(l).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:T})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(gf,o.mergeProps(S.$props,{items:o.unref(d)(T),instance:T,"show-year-picker":o.unref(g)[T],year:o.unref(u)(T),"is-disabled":v=>o.unref(h)(T,v),onHandleYear:v=>o.unref(b)(T,v),onYearSelect:v=>o.unref(C)(v,T),onToggleYearPicker:v=>o.unref(y)(T,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",W8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(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,T,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,j8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),U8=["id","aria-label"],q8={key:0,class:"dp--menu-load-container"},G8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),K8=[G8],X8={key:0,class:"dp__sidebar_left"},Q8=["onClick","onKeydown"],J8={key:2,class:"dp__sidebar_right"},ey={key:3,class:"dp__action_extra"},xf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ma,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:L,...K}=s;return{...K,flowStep:D.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=hf(),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,b(),window.addEventListener("resize",b);const L=wt(i);if(L&&!h.value.enabled&&!f.value.enabled&&(l(!0),F()),L){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),Lr(de,m.value,!0)};L.addEventListener("pointerdown",K),L.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",b)});const b=()=>{const L=wt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:S,arrowLeft:M,arrowDown:T,arrowUp:v}=Br(),{flowStep:D,updateFlowStep:E,childMount:I,resetFlow:j}=j7(s,r,C),$=o.computed(()=>s.monthPicker?a8:s.yearPicker?c8:s.timePicker?S8:s.quarterPicker?Z8:H8),F=()=>{const L=wt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),O=()=>{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})),P=L=>{Lr(L,m.value,!0)},V=()=>{s.escClose&&r("close-picker")},k=L=>{if(s.arrowNavigation){if(L==="up")return v();if(L==="down")return T();if(L==="left")return M();if(L==="right")return S()}else L==="left"||L==="up"?Fe("handleArrow","left",0,L==="up"):Fe("handleArrow","right",0,L==="down")},w=L=>{c(L.shiftKey),!s.disableMonthYearSelect&&L.code==="Tab"&&L.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&(L.preventDefault(),Lr(L,m.value,!0),r("close-picker"))},B=()=>{F(),r("time-picker-close")},z=L=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,L),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,L)},be=(L,K=0)=>{var de,ge,ae;return L==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):L==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):L==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):z(K)},Fe=(L,...K)=>{var de,ge;(de=C.value)!=null&&de[L]&&((ge=C.value)==null||ge[L](...K))},A=()=>{Fe("selectCurrentDate")},H=(L,K)=>{Fe("presetDate",L,K)},ue=()=>{Fe("clearHoverDate")};return e({updateMonthYear:(L,K)=>{Fe("updateMonthYear",L,K)},switchView:be}),(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=L.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:P,onKeydown:[o.withKeys(V,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>k("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>k("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>k("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>k("right"),["prevent"]),["right"])),w]},[(L.disabled||L.readonly)&&o.unref(f).enabled||L.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[L.loading?(o.openBlock(),o.createElementBlock("div",q8,K8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!L.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=L.presetDates)==null?void 0:ge.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=L.presetDates)==null?void 0:ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[L.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",X8,[o.renderSlot(L.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.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(L.presetDates,(te,Bt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Bt},[te.slot?o.renderSlot(L.$slots,te.slot,{key:0,presetDate:H,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=>H(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(St=>H(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(St=>H(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,Q8))],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($.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:F,onSelectDate:K[0]||(K[0]=te=>L.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>L.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>L.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>L.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>L.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>L.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>L.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>L.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>L.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>L.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>L.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:O,onUpdateMonthYear:K[11]||(K[11]=te=>L.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>L.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>L.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>L.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(N.value,(te,Bt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",J8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",ey,[L.$slots["action-extra"]?o.renderSlot(L.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!L.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(Q7,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>L.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>L.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>L.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Bt)=>({name:te,fn:o.withCtx(St=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...St})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,U8)}}}),ty=typeof window<"u"?window:void 0,cd=()=>{},ny=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,ry=(t,e,n,r)=>{if(!t)return cd;let s=cd;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=cd})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return ny(a),a},sy=(t,e,n,r={})=>{const{window:s=ty,event:i="pointerdown"}=r;return s?ry(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},iy=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ma},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}=hf(),{clearArrowNav:b}=Br(),{validateDate:S,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:v,defaultedInline:D,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:$,showTransition:F}=Qi(T);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),O=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:N,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=z7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:D,emit:r,props:s,slots:i}),{inputValue:V,internalModelValue:k,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=F7(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"),H=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||D.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=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&&(P(xf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||pa(),w(s.modelValue))},Bt=()=>{var X;V.value="",pa(),(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=k.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",k.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&v.value.enabled&&h.value.setParsedDate(k.value)},ma=(X=!1)=>{s.autoApply&&M(k.value)&&St()&&(I.value.enabled&&Array.isArray(k.value)?(I.value.partialRange||k.value.length===2)&&kt(X):kt(X))},pa=()=>{v.value.enabled||(k.value=null)},Mn=()=>{D.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),b(),r("closed"),V.value&&w(l.value)),pa(),r("blur"))},uh=(X,he,fe=!1)=>{if(!X){k.value=null;return}const $r=Array.isArray(X)?!X.some(Ks=>!S(Ks)):S(X),ir=M(X);$r&&ir&&(k.value=X,he&&(g.value=fe,Er(),r("text-submit")))},hh=()=>{s.autoApply&&M(k.value)&&B(),Gs()},vc=()=>a.value?Mn():te(),fh=X=>{k.value=X},mh=()=>{v.value.enabled&&(f.value=!0,z()),r("focus")},ph=()=>{if(v.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=u7(m.value,p.value);X==null||X.focus()}r("blur")},R=X=>{u.value&&u.value.updateMonthYear(0,{month:Qh(X.month),year:Qh(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 sy(d,h,()=>we(St)),e({closeMenu:Mn,selectDate:Er,clearValue:Bt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:fh,setMonthYear:R,parseModel:J,switchView:ce,toggleMenu:vc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(G7,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:Bt,onOpen:te,onSetInputDate:uh,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:vc,onClose:Mn,onFocus:mh,onBlur:ph,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(O),(fe,$r)=>({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(H.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref($)(o.unref(x)),css:o.unref(F)&&!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(xf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(k),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(k)?k.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:ma,onTimeUpdate:hh,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(k))),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,$r)=>({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))}}),dd=(()=>{const t=iy;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:dd},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(dd[t]=e)});const oy={class:"scope-datepicker__wrapper"},ay={key:0,class:"scope-datepicker__label"},ly={class:"scope-datepicker__container"},cy={class:"scope-datepicker__icon-wrapper"},dy={__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:o.mergeModels(["open","closed","cleared"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=o.ref(!1),i=()=>{n("open"),s.value=!0},a=()=>{n("closed"),s.value=!1};return(l,c)=>(o.openBlock(),o.createElementBlock("div",oy,[t.label?(o.openBlock(),o.createElementBlock("div",ay,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",ly,[o.createVNode(o.unref(dd),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline,onOpen:i,onClosed:a,onCleared:c[1]||(c[1]=d=>n("cleared"))},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",cy,[o.createVNode(Pe,{class:o.normalizeClass(["scope-datepicker__switcher",{"-active":s.value}]),icon:"chevron-down-small"},null,8,["class"])])])]))}},uy=Oe(dy,[["__scopeId","data-v-2d7bd716"]]),hy=["onClick"],fy=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,hy))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),my=["disabled","onInput","onKeydown"],py={key:0,class:"scope-number-input__error-message"},gy=Oe({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String,spaceBetween:Boolean},{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",{class:o.normalizeClass(["scope-number-input__fieldset",{"-space-between":t.spaceBetween}]),"data-number-code-form":""},[(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,my))),128))],2),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",py,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-6ba29b49"]]),_y={class:"scope-navigation-tab__icon-wrapper"},yy={key:0},wy=Oe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,notActive:Boolean,isFull:{type:Boolean,default:!0},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,"-not-active":t.notActive}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",_y,[o.createVNode(Pe,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",yy,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-4d7796fc"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mf(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},ud,Dt,Ge,cn=1e8,We=1/cn,hd=Math.PI*2,ky=hd/4,Cy=0,vf=Math.sqrt,xy=Math.cos,My=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},fd=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},At=function(e){return e!==!1},md=function(){return typeof window<"u"},Ta=function(e){return st(e)||xt(e)},Sf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Et=Array.isArray,pd=/(?:-?\.?\d|\.)+/gi,Tf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,gd=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Of=/[+-]=-?[.\d]+/,Df=/[^,'"\[\]\s]+/gi,vy=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,_d,yd,Gt={},Oa={},Ef,$f=function(e){return(Oa=ys(e,Gt))&&It},wd=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)},Pf=function(e,n){return e&&(Gt[e]=n)&&Oa&&(Oa[e]=n)||Gt},ro=function(){return 0},Sy={suppressEvents:!0,isStart:!0,kill:!1},Da={suppressEvents:!0,kill:!1},Ty={suppressEvents:!0},bd={},Fr=[],kd={},Lf,Kt={},Cd={},Nf=30,Ea=[],xd="",Md=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Ea.length;s--&&!Ea[s].targetTest(n););r=Ea[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new c0(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||Md(hn(e))[0]._gsap},Vf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():fd(r)&&e.getAttribute&&e.getAttribute(n)||r},Rt=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},Oy=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},$a=function(){var e=Fr.length,n=Fr.slice(0),r,s;for(kd={},Fr.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},Bf=function(e,n,r,s){Fr.length&&!Dt&&$a(),e.render(n,r,s||Dt&&n<0&&(e._initted||e._startAt)),Fr.length&&!Dt&&$a()},Af=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Df).length<2?n:xt(e)?e.trim():e},Rf=function(e){return e},dn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Dy=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},Ff=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},Pa=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?Dy(Et(e.keyframes)):dn;if(At(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Ey=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},If=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},La=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},$y=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},vd=function(e,n,r,s){return e._startAt&&(Dt?e._startAt.revert(Da):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},Py=function t(e){return!e||e._ts&&t(e.parent)},zf=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},Na=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Va=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Ba=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)),Va(e),r._dirty||ws(r,e)),e},Hf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Na(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?un(e,r,n):e._time)+n._delay),n._end=Mt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),If(e,n,"_first","_last",e._sort?"_start":0),Sd(n)||(e._recent=n),s||Hf(e,n),e._ts<0&&Ba(e,e._tTime),e},Yf=function(e,n){return(Gt.ScrollTrigger||wd("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},Wf=function(e,n,r,s,i){if(Vd(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Lf!==Qt.frame)return Fr.push(e),e._lazy=[i,s],1},Ly=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Sd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},Ny=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&Ly(e)&&!(!e._initted&&Sd(e))||(e._ts<0||e._dp._ts<0)&&!Sd(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&&Wf(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&&vd(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)},Vy=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&&Ba(e,e._tTime=e._tDur*l),e.parent&&Va(e),r||ws(e.parent,e),e},jf=function(e){return e instanceof Nt?ws(e):ui(e,e._dur)},By={_start:0,endTime:ro,totalDuration:ro},un=function t(e,n,r){var s=e.labels,i=e._recent||By,a=e.duration()>=cn?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*(Et(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=At(c.vars.inherit)&&c.parent;a.immediateRender=At(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},$t=function(e,n){return!xt(e)||!(n=vy.exec(e))?"":n[1]},Ay=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},Td=[].slice,Zf=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},Ry=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Zf(s,1)?(i=r).push.apply(i,hn(s)):r.push(s)})||r},hn=function(e,n,r){return Ge&&!n&&Ge.selector?Ge.selector(e):xt(e)&&!r&&(_d||!fi())?Td.call((n||yd).querySelectorAll(e),0):Et(e)?Ry(e,r):Zf(e)?Td.call(e,0):e?[e]:[]},Od=function(e){return e=hn(e)[0]||no("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return hn(n,r.querySelectorAll?r:r===e?no("Invalid scope")||yd.createElement("div"):e)}},Uf=function(e){return e.sort(function(){return .5-Math.random()})},qf=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,b,S,M,T,v,D,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,cn])[1],!E){for(v=-cn;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===cn?0:c?p*h/E-.5:s/E|0,v=0,D=cn,T=0;T<p;T++)b=T%E-y,S=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?S:b):vf(b*b+S*S),M>v&&(v=M),M<D&&(D=M);s==="random"&&Uf(_),_.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=$t(n.amount||n.each)||0,r=r&&p<0?o0(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},Dd=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:$t(r))}},Gf=function(e,n){var r=Et(e),s,i;return!r&&Zn(e)&&(s=r=e.radius||cn,e.values?(e=hn(e.values),(i=!dr(e[0]))&&(s*=s)):e=Dd(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=cn,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+$t(a)}:Dd(e))},Kf=function(e,n,r,s){return zr(Et(e)?!n:r===!0?!!(r=0):!s,function(){return Et(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)}},Iy=function(e,n){return function(r){return e(parseFloat(r))+(n||$t(r))}},zy=function(e,n,r){return Qf(e,n,0,1,r)},Xf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},Hy=function t(e,n,r){var s=n-e;return Et(e)?Xf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},Yy=function t(e,n,r){var s=n-e,i=s*2;return Et(e)?Xf(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?Df:pd),r+=e.substr(n,s-n)+Kf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Qf=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)})},Wy=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(Et(e)&&!Et(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(Et(e)?[]:{},e));if(!u){for(c in n)Ld.call(l,e,c,"get",n[c]);i=function(g){return Rd(g,l)||(a?e.p:e)}}}return zr(r,i)},Jf=function(e,n,r){var s=e.labels,i=cn,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&&Fr.length&&$a(),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,e0=[],t0=function(e){if(e)if(e=!e.name&&e.default||e,md()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Rd,add:Ld,kill:ow,modifier:iw,rawVars:0},a={targetTest:0,get:0,getSetter:Ad,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;dn(s,dn(Pa(e,i),a)),ys(s.prototype,ys(i,Pa(e,a))),Kt[s.prop=n]=s,e.targetTest&&(Ea.push(s),bd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Pf(n,s),e.register&&e.register(It,s,Ft)}else e0.push(e)},He=255,co={aqua:[0,He,He],lime:[0,He,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,He],navy:[0,0,128],white:[He,He,He],olive:[128,128,0],yellow:[He,He,0],orange:[He,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[He,0,0],pink:[He,192,203],cyan:[0,He,He],transparent:[He,He,He,0]},Ed=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)*He+.5|0},n0=function(e,n,r){var s=e?dr(e)?[e>>16,e>>8&He,e&He]: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&He,s&He,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&He,e&He]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(pd),!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]=Ed(c+1/3,i,a),s[1]=Ed(c,i,a),s[2]=Ed(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(Tf),r&&s.length<4&&(s[3]=1),s}else s=e.match(pd)||co.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/He,a=s[1]/He,l=s[2]/He,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},r0=function(e){var n=[],r=[],s=-1;return e.split(Hr).forEach(function(i){var a=i.match(li)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},s0=function(e,n,r){var s="",i=(e+s).match(Hr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=n0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=r0(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Hr,"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(Hr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Hr=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")}(),jy=/hsl[a]?\(/,i0=function(e){var n=e.join(" "),r;if(Hr.lastIndex=0,Hr.test(n))return r=jy.test(n),e[1]=s0(e[1],r),e[0]=s0(e[0],r,r0(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,b,S,M,T;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,b=M-a,(b>0||C)&&(T=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=b+(b>=i?4:i-b),S=1),C||(c=d(p)),S)for(m=0;m<l.length;m++)l[m](M,f,T,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){Ef&&(!_d&&md()&&(Un=_d=window,yd=Un.document||{},Gt.gsap=It,(Un.gsapVersions||(Un.gsapVersions=[])).push(It.version),$f(Oa||Un.GreenSockGlobals||!Un.gsap&&Un||{}),e0.forEach(t0)),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 b=y?function(S,M,T,v){_(S,M,T,v),h.remove(b)}:_;return h.remove(_),l[C?"unshift":"push"](b),fi(),b},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},Zy=/^[\d.\-M][\d.\-,\s]/,Uy=/["']/g,qy=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(Uy,"").trim():+d,s=c.substr(l+1).trim();return n},Gy=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)},Ky=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[qy(n[1])]:Gy(e).split(",").map(Af)):xe._CE&&Zy.test(e)?xe._CE("",e):r},o0=function(e){return function(n){return 1-e(1-n)}},a0=function t(e,n){for(var r=e._first,s;r;)r instanceof Nt?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]||Ky(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 Rt(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},l0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},$d=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/hd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*My((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:l0(l);return i=hd/i,c.config=function(d,u){return t(e,d,u)},c},Pd=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)}:l0(r);return s.config=function(i){return t(e,i)},s};Rt("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",$d("in"),$d("out"),$d()),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-(vf(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-xy(t*ky)+1}),ks("Back",Pd("in"),Pd("out"),Pd()),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"],Rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return xd+=t+","+t+"Params,"});var c0=function(e,n){this.id=Cy++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Vf,this.set=n?n.getSetter:Ad},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(Ba(this,r),!i._dp||i.parent||Hf(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),Bf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+zf(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)+zf(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?Na(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),Va(this),$y(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+(At(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?Na(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,jf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,jf(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(un(this,r),At(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,At(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:Rf,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}();dn(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 Nt=function(t){Mf(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=At(r.sortChildren),Je&&qn(r.parent||Je,cr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Yf(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,un(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,un(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,so(a).immediateRender=At(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=At(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,b,S,M,T,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,b=this._ts,y=!b,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(T=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),T&&p&1&&(f=d-f,v=1),p!==M&&!this._lock){var D=T&&M&1,E=D===(T&&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;a0(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=Vy(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!b,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,Va(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(b)!==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=un(this,i,s)),!(s instanceof ho)){if(Et(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=-cn);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):(La(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]=un(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,un(this,s))},n.removePause=function(s){var i=this._first;for(s=un(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--;)Yr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=hn(s),c=this._first,d=dr(i),u;c;)c instanceof _t?Oy(c._targets,l)&&(d?(!Yr||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=un(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=_t.to(a,dn({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,dn({startAt:{time:un(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),Jf(this,un(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Jf(this,un(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=cn,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&&(Bf(Je,Na(s,Je)),Lf=Qt.frame),Qt.frame>=Nf){Nf+=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);dn(Nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xy=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,p0,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(gd)||[];h=gd.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=gd.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Of.test(s)||y)&&(c.e=0),this._pt=c,c},Ld=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?nw:f0:Bd,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+($t(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Nd)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?sw:m0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&wd(n,s),Xy.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Qy=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Et(e)||Sf(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},d0=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]:Qy(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},Yr,Nd,Vd=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:_,b=e._overwrite==="auto"&&!ud,S=e.timeline,M,T,v,D,E,I,j,$,F,G,O,x,N;if(S&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?o0(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($=_[0]?_s(_[0]).harness:0,x=$&&s[$.prop],M=Pa(s,bd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Da:Sy),p._lazy=0),a){if(Ir(e._startAt=_t.set(_,dn({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&At(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(Da),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),v=dn({overwrite:!1,data:"isFromStart",lazy:l&&!p&&At(c),immediateRender:l,stagger:0,parent:y},M),x&&(v[$.prop]=x),Ir(e._startAt=_t.set(_,v)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Dt?e._startAt.revert(Da):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&&At(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Md(_)[T]._gsap,e._ptLookup[T]=G={},kd[j.id]&&Fr.length&&$a(),O=C===_?T:C.indexOf(E),$&&(F=new $).init(E,x||M,e,O,C)!==!1&&(e._pt=D=new Ft(e._pt,E,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Z){G[Z]=D}),F.priority&&(I=1)),!$||x)for(v in M)Kt[v]&&(F=d0(v,M,e,O,E,C))?F.priority&&(I=1):G[v]=D=Ld.call(e,E,v,"get",M[v],O,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),b&&e._pt&&(Yr=e,Je.killTweensOf(E,G,e.globalTime(n)),N=!e.parent,Yr=0),e._pt&&c&&(kd[j.id]=1)}I&&g0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!N,f&&n<=0&&S.render(cn,!0,!0)},Jy=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 Nd=1,e.vars[n]="+=0",Vd(e,l),Nd=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)+$t(h.e)),h.b&&(h.b=u.s+$t(h.b))},ew=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},tw=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Et(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},u0=xd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",h0={};Rt(u0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return h0[t]=1});var _t=function(t){Mf(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,b=(Et(r)||Sf(r)?dr(r[0]):"length"in s)?[r]:hn(r),S,M,T,v,D,E,I,j;if(l._targets=b.length?Md(b):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ta(d)||Ta(u)){if(s=l.vars,S=l.timeline=new Nt({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:b}),S.kill(),S.parent=S._dp=cr(l),S._start=0,f||Ta(d)||Ta(u)){if(v=b.length,I=f&&qf(f),Zn(f))for(D in f)~u0.indexOf(D)&&(j||(j={}),j[D]=f[D]);for(M=0;M<v;M++)T=Pa(s,h0),T.stagger=0,y&&(T.yoyoEase=y),j&&ys(T,j),E=b[M],T.duration=+fo(d,cr(l),M,E,b),T.delay=(+fo(u,cr(l),M,E,b)||0)-l._delay,!f&&v===1&&T.delay&&(l._delay=u=T.delay,l._start+=u,T.delay=0),S.to(E,T,I?I(M,E,b):0),S._ease=xe.none;S.duration()?d=u=0:l.timeline=0}else if(g){so(dn(S.vars.defaults,{ease:"none"})),S._ease=bs(g.ease||s.ease||"none");var $=0,F,G,O;if(Et(g))g.forEach(function(x){return S.to(b,x,">")}),S.duration();else{T={};for(D in g)D==="ease"||D==="easeEach"||tw(D,g[D],T,g.easeEach);for(D in T)for(F=T[D].sort(function(x,N){return x.t-N.t}),$=0,M=0;M<F.length;M++)G=F[M],O={ease:G.e,duration:(G.t-(M?F[M-1].t:0))/100*d},O[D]=G.v,S.to(b,O,$),$+=O.duration;S.duration()<d&&S.to({},{duration:d-S.duration()})}}d||l.duration(d=S.duration())}else l.timeline=0;return m===!0&&!ud&&(Yr=cr(l),Je.killTweensOf(b),Yr=0),qn(C,cr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Mt(C._time)&&At(h)&&Py(cr(l))&&C.data!=="nested")&&(l._tTime=-We,l.render(Math.max(0,-u)||0)),_&&Yf(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,b,S;if(!d)Ny(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,b=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!==_&&(b&&this._yEase&&a0(b,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(Wf(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;b&&b.render(s<0?s:b._dur*b._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&vd(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&&vd(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||Vd(this,d),u=this._ease(d/this._dur),Jy(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Ba(this,0),this.parent||If(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,Yr&&Yr.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?hn(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&Ey(l,c))return i==="all"&&(this._pt=0),lo(this);for(h=this._op=this._op||[],i!=="all"&&(xt(i)&&(p={},Rt(i,function(C){return p[C]=1}),i=p),i=ew(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)&&La(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);dn(_t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Rt("staggerTo,staggerFrom,staggerFromTo",function(t){_t[t]=function(){var e=new Nt,n=Td.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Bd=function(e,n,r){return e[n]=r},f0=function(e,n,r){return e[n](r)},nw=function(e,n,r,s){return e[n](s.fp,r)},rw=function(e,n,r){return e.setAttribute(n,r)},Ad=function(e,n){return st(e[n])?f0:fd(e[n])&&e.setAttribute?rw:Bd},m0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},sw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},p0=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)},Rd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},iw=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},ow=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?La(this,n,"_pt"):n.dep||(r=1),n=s;return!r},aw=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},g0=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||m0,this.d=c||this,this.set=d||Bd,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=aw,this.m=r,this.mt=i,this.tween=s},t}();Rt(xd+"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 bd[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=Nt,Je=new Nt({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=i0;var Cs=[],Aa={},lw=[],_0=0,cw=0,Fd=function(e){return(Aa[e]||lw).map(function(n){return n()})},Id=function(){var e=Date.now(),n=[];e-_0>2&&(Fd("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))}),Fd("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),_0=e,Fd("matchMedia"))},y0=function(){function t(n,r){this.selector=r&&Od(r),this.data=[],this._r=[],this.isReverted=!1,this.id=cw++,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=Od(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 Nt?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}(),dw=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 y0(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(Id):c.addEventListener("change",Id)));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}(),Ra={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 t0(s)})},timeline:function(e){return new Nt(e)},getTweensOf:function(e,n){return Je.getTweensOf(e,n)},getProperty:function(e,n,r,s){xt(e)&&(e=hn(e)[0]);var i=_s(e||{}).get,a=r?Rf:Af;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=hn(e),e.length>1){var s=e.map(function(u){return It.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&&Rd(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=It.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)),Ff(ai,e||{})},config:function(e){return Ff(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.")}),Cd[n]=function(l,c,d){return r(hn(l),dn(c||{},i),d)},a&&(Nt.prototype[n]=function(l,c,d){return this.add(Cd[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 Nt(e),s,i;for(r.smoothChildTiming=At(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 y0(e,n):Ge},matchMedia:function(e){return new dw(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()})||Id()},addEventListener:function(e,n){var r=Aa[e]||(Aa[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Aa[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:Hy,wrapYoyo:Yy,distribute:qf,random:Kf,snap:Gf,normalize:zy,getUnit:$t,clamp:Ay,splitColor:n0,toArray:hn,selector:Od,mapRange:Qf,pipe:Fy,unitize:Iy,interpolate:Wy,shuffle:Uf},install:$f,effects:Cd,ticker:Qt,updateRoot:Nt.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:Pf,Tween:_t,Timeline:Nt,Animation:ho,getCache:_s,_removeLinkedListItem:La,reverting:function(){return Dt},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return ud=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ra[t]=_t[t]}),Qt.add(Nt.updateRoot),hi=Ra.to({},{duration:0});var uw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},hw=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=uw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},zd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(xt(i)&&(c={},Rt(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}hw(l,i)}}}},It=Ra.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)}},zd("roundProps",Dd),zd("modifiers"),zd("snap",Gf))||Ra;_t.version=Nt.version=It.version="3.12.5",Ef=1,md()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var fw=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Hd=xe.Sine;xe.Expo,xe.Circ;/*!
9
+ */var qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ai={duration:.5,overwrite:!1,delay:0},ud,Dt,Ge,cn=1e8,We=1/cn,hd=Math.PI*2,by=hd/4,ky=0,vf=Math.sqrt,Cy=Math.cos,xy=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},fd=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},At=function(e){return e!==!1},md=function(){return typeof window<"u"},Ta=function(e){return st(e)||xt(e)},Sf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Et=Array.isArray,pd=/(?:-?\.?\d|\.)+/gi,Tf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,gd=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Of=/[+-]=-?[.\d]+/,Df=/[^,'"\[\]\s]+/gi,My=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,_d,yd,Gt={},Oa={},Ef,$f=function(e){return(Oa=ys(e,Gt))&&It},wd=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)},Pf=function(e,n){return e&&(Gt[e]=n)&&Oa&&(Oa[e]=n)||Gt},ro=function(){return 0},vy={suppressEvents:!0,isStart:!0,kill:!1},Da={suppressEvents:!0,kill:!1},Sy={suppressEvents:!0},bd={},Fr=[],kd={},Lf,Kt={},Cd={},Nf=30,Ea=[],xd="",Md=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Ea.length;s--&&!Ea[s].targetTest(n););r=Ea[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new c0(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||Md(hn(e))[0]._gsap},Vf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():fd(r)&&e.getAttribute&&e.getAttribute(n)||r},Rt=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},Ty=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},$a=function(){var e=Fr.length,n=Fr.slice(0),r,s;for(kd={},Fr.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},Bf=function(e,n,r,s){Fr.length&&!Dt&&$a(),e.render(n,r,s||Dt&&n<0&&(e._initted||e._startAt)),Fr.length&&!Dt&&$a()},Af=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Df).length<2?n:xt(e)?e.trim():e},Rf=function(e){return e},dn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Oy=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},Ff=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},Pa=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?Oy(Et(e.keyframes)):dn;if(At(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Dy=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},If=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},La=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},Ey=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},vd=function(e,n,r,s){return e._startAt&&(Dt?e._startAt.revert(Da):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},$y=function t(e){return!e||e._ts&&t(e.parent)},zf=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},Na=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Va=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Ba=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)),Va(e),r._dirty||ws(r,e)),e},Hf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Na(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?un(e,r,n):e._time)+n._delay),n._end=Mt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),If(e,n,"_first","_last",e._sort?"_start":0),Sd(n)||(e._recent=n),s||Hf(e,n),e._ts<0&&Ba(e,e._tTime),e},Yf=function(e,n){return(Gt.ScrollTrigger||wd("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},Wf=function(e,n,r,s,i){if(Vd(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Lf!==Qt.frame)return Fr.push(e),e._lazy=[i,s],1},Py=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Sd=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&&Py(e)&&!(!e._initted&&Sd(e))||(e._ts<0||e._dp._ts<0)&&!Sd(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&&Wf(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&&vd(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)},Ny=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&&Ba(e,e._tTime=e._tDur*l),e.parent&&Va(e),r||ws(e.parent,e),e},jf=function(e){return e instanceof Nt?ws(e):ui(e,e._dur)},Vy={_start:0,endTime:ro,totalDuration:ro},un=function t(e,n,r){var s=e.labels,i=e._recent||Vy,a=e.duration()>=cn?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*(Et(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=At(c.vars.inherit)&&c.parent;a.immediateRender=At(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},$t=function(e,n){return!xt(e)||!(n=My.exec(e))?"":n[1]},By=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},Td=[].slice,Zf=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},Ay=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Zf(s,1)?(i=r).push.apply(i,hn(s)):r.push(s)})||r},hn=function(e,n,r){return Ge&&!n&&Ge.selector?Ge.selector(e):xt(e)&&!r&&(_d||!fi())?Td.call((n||yd).querySelectorAll(e),0):Et(e)?Ay(e,r):Zf(e)?Td.call(e,0):e?[e]:[]},Od=function(e){return e=hn(e)[0]||no("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return hn(n,r.querySelectorAll?r:r===e?no("Invalid scope")||yd.createElement("div"):e)}},Uf=function(e){return e.sort(function(){return .5-Math.random()})},qf=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,b,S,M,T,v,D,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,cn])[1],!E){for(v=-cn;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===cn?0:c?p*h/E-.5:s/E|0,v=0,D=cn,T=0;T<p;T++)b=T%E-y,S=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?S:b):vf(b*b+S*S),M>v&&(v=M),M<D&&(D=M);s==="random"&&Uf(_),_.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=$t(n.amount||n.each)||0,r=r&&p<0?o0(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},Dd=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:$t(r))}},Gf=function(e,n){var r=Et(e),s,i;return!r&&Zn(e)&&(s=r=e.radius||cn,e.values?(e=hn(e.values),(i=!dr(e[0]))&&(s*=s)):e=Dd(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=cn,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+$t(a)}:Dd(e))},Kf=function(e,n,r,s){return zr(Et(e)?!n:r===!0?!!(r=0):!s,function(){return Et(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})},Ry=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)}},Fy=function(e,n){return function(r){return e(parseFloat(r))+(n||$t(r))}},Iy=function(e,n,r){return Qf(e,n,0,1,r)},Xf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},zy=function t(e,n,r){var s=n-e;return Et(e)?Xf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},Hy=function t(e,n,r){var s=n-e,i=s*2;return Et(e)?Xf(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?Df:pd),r+=e.substr(n,s-n)+Kf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Qf=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(Et(e)&&!Et(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(Et(e)?[]:{},e));if(!u){for(c in n)Ld.call(l,e,c,"get",n[c]);i=function(g){return Rd(g,l)||(a?e.p:e)}}}return zr(r,i)},Jf=function(e,n,r){var s=e.labels,i=cn,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&&Fr.length&&$a(),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,e0=[],t0=function(e){if(e)if(e=!e.name&&e.default||e,md()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Rd,add:Ld,kill:iw,modifier:sw,rawVars:0},a={targetTest:0,get:0,getSetter:Ad,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;dn(s,dn(Pa(e,i),a)),ys(s.prototype,ys(i,Pa(e,a))),Kt[s.prop=n]=s,e.targetTest&&(Ea.push(s),bd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Pf(n,s),e.register&&e.register(It,s,Ft)}else e0.push(e)},He=255,co={aqua:[0,He,He],lime:[0,He,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,He],navy:[0,0,128],white:[He,He,He],olive:[128,128,0],yellow:[He,He,0],orange:[He,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[He,0,0],pink:[He,192,203],cyan:[0,He,He],transparent:[He,He,He,0]},Ed=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)*He+.5|0},n0=function(e,n,r){var s=e?dr(e)?[e>>16,e>>8&He,e&He]: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&He,s&He,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&He,e&He]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(pd),!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]=Ed(c+1/3,i,a),s[1]=Ed(c,i,a),s[2]=Ed(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(Tf),r&&s.length<4&&(s[3]=1),s}else s=e.match(pd)||co.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/He,a=s[1]/He,l=s[2]/He,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},r0=function(e){var n=[],r=[],s=-1;return e.split(Hr).forEach(function(i){var a=i.match(li)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},s0=function(e,n,r){var s="",i=(e+s).match(Hr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=n0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=r0(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Hr,"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(Hr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Hr=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]?\(/,i0=function(e){var n=e.join(" "),r;if(Hr.lastIndex=0,Hr.test(n))return r=Wy.test(n),e[1]=s0(e[1],r),e[0]=s0(e[0],r,r0(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,b,S,M,T;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,b=M-a,(b>0||C)&&(T=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=b+(b>=i?4:i-b),S=1),C||(c=d(p)),S)for(m=0;m<l.length;m++)l[m](M,f,T,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){Ef&&(!_d&&md()&&(Un=_d=window,yd=Un.document||{},Gt.gsap=It,(Un.gsapVersions||(Un.gsapVersions=[])).push(It.version),$f(Oa||Un.GreenSockGlobals||!Un.gsap&&Un||{}),e0.forEach(t0)),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 b=y?function(S,M,T,v){_(S,M,T,v),h.remove(b)}:_;return h.remove(_),l[C?"unshift":"push"](b),fi(),b},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},jy=/^[\d.\-M][\d.\-,\s]/,Zy=/["']/g,Uy=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(Zy,"").trim():+d,s=c.substr(l+1).trim();return n},qy=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)},Gy=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Uy(n[1])]:qy(e).split(",").map(Af)):xe._CE&&jy.test(e)?xe._CE("",e):r},o0=function(e){return function(n){return 1-e(1-n)}},a0=function t(e,n){for(var r=e._first,s;r;)r instanceof Nt?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]||Gy(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 Rt(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},l0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},$d=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/hd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*xy((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:l0(l);return i=hd/i,c.config=function(d,u){return t(e,d,u)},c},Pd=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)}:l0(r);return s.config=function(i){return t(e,i)},s};Rt("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",$d("in"),$d("out"),$d()),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-(vf(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-Cy(t*by)+1}),ks("Back",Pd("in"),Pd("out"),Pd()),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"],Rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return xd+=t+","+t+"Params,"});var c0=function(e,n){this.id=ky++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Vf,this.set=n?n.getSetter:Ad},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(Ba(this,r),!i._dp||i.parent||Hf(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),Bf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+zf(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)+zf(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?Na(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),Va(this),Ey(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+(At(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?Na(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Sy);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,jf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,jf(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(un(this,r),At(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,At(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:Rf,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}();dn(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 Nt=function(t){Mf(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=At(r.sortChildren),Je&&qn(r.parent||Je,cr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Yf(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,un(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,un(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,so(a).immediateRender=At(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=At(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,b,S,M,T,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,b=this._ts,y=!b,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(T=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),T&&p&1&&(f=d-f,v=1),p!==M&&!this._lock){var D=T&&M&1,E=D===(T&&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;a0(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=Ny(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!b,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,Va(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(b)!==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=un(this,i,s)),!(s instanceof ho)){if(Et(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=-cn);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):(La(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]=un(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,un(this,s))},n.removePause=function(s){var i=this._first;for(s=un(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--;)Yr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=hn(s),c=this._first,d=dr(i),u;c;)c instanceof _t?Ty(c._targets,l)&&(d?(!Yr||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=un(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=_t.to(a,dn({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,dn({startAt:{time:un(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),Jf(this,un(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Jf(this,un(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=cn,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&&(Bf(Je,Na(s,Je)),Lf=Qt.frame),Qt.frame>=Nf){Nf+=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);dn(Nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ky=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,p0,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(gd)||[];h=gd.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=gd.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Of.test(s)||y)&&(c.e=0),this._pt=c,c},Ld=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?tw:f0:Bd,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+($t(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Nd)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?rw:m0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&wd(n,s),Ky.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Xy=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Et(e)||Sf(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},d0=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]:Xy(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},Yr,Nd,Vd=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:_,b=e._overwrite==="auto"&&!ud,S=e.timeline,M,T,v,D,E,I,j,$,F,G,O,x,N;if(S&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?o0(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($=_[0]?_s(_[0]).harness:0,x=$&&s[$.prop],M=Pa(s,bd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Da:vy),p._lazy=0),a){if(Ir(e._startAt=_t.set(_,dn({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&At(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(Da),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),v=dn({overwrite:!1,data:"isFromStart",lazy:l&&!p&&At(c),immediateRender:l,stagger:0,parent:y},M),x&&(v[$.prop]=x),Ir(e._startAt=_t.set(_,v)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Dt?e._startAt.revert(Da):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&&At(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Md(_)[T]._gsap,e._ptLookup[T]=G={},kd[j.id]&&Fr.length&&$a(),O=C===_?T:C.indexOf(E),$&&(F=new $).init(E,x||M,e,O,C)!==!1&&(e._pt=D=new Ft(e._pt,E,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Z){G[Z]=D}),F.priority&&(I=1)),!$||x)for(v in M)Kt[v]&&(F=d0(v,M,e,O,E,C))?F.priority&&(I=1):G[v]=D=Ld.call(e,E,v,"get",M[v],O,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),b&&e._pt&&(Yr=e,Je.killTweensOf(E,G,e.globalTime(n)),N=!e.parent,Yr=0),e._pt&&c&&(kd[j.id]=1)}I&&g0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!N,f&&n<=0&&S.render(cn,!0,!0)},Qy=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 Nd=1,e.vars[n]="+=0",Vd(e,l),Nd=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)+$t(h.e)),h.b&&(h.b=u.s+$t(h.b))},Jy=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},ew=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Et(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},u0=xd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",h0={};Rt(u0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return h0[t]=1});var _t=function(t){Mf(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,b=(Et(r)||Sf(r)?dr(r[0]):"length"in s)?[r]:hn(r),S,M,T,v,D,E,I,j;if(l._targets=b.length?Md(b):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ta(d)||Ta(u)){if(s=l.vars,S=l.timeline=new Nt({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:b}),S.kill(),S.parent=S._dp=cr(l),S._start=0,f||Ta(d)||Ta(u)){if(v=b.length,I=f&&qf(f),Zn(f))for(D in f)~u0.indexOf(D)&&(j||(j={}),j[D]=f[D]);for(M=0;M<v;M++)T=Pa(s,h0),T.stagger=0,y&&(T.yoyoEase=y),j&&ys(T,j),E=b[M],T.duration=+fo(d,cr(l),M,E,b),T.delay=(+fo(u,cr(l),M,E,b)||0)-l._delay,!f&&v===1&&T.delay&&(l._delay=u=T.delay,l._start+=u,T.delay=0),S.to(E,T,I?I(M,E,b):0),S._ease=xe.none;S.duration()?d=u=0:l.timeline=0}else if(g){so(dn(S.vars.defaults,{ease:"none"})),S._ease=bs(g.ease||s.ease||"none");var $=0,F,G,O;if(Et(g))g.forEach(function(x){return S.to(b,x,">")}),S.duration();else{T={};for(D in g)D==="ease"||D==="easeEach"||ew(D,g[D],T,g.easeEach);for(D in T)for(F=T[D].sort(function(x,N){return x.t-N.t}),$=0,M=0;M<F.length;M++)G=F[M],O={ease:G.e,duration:(G.t-(M?F[M-1].t:0))/100*d},O[D]=G.v,S.to(b,O,$),$+=O.duration;S.duration()<d&&S.to({},{duration:d-S.duration()})}}d||l.duration(d=S.duration())}else l.timeline=0;return m===!0&&!ud&&(Yr=cr(l),Je.killTweensOf(b),Yr=0),qn(C,cr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Mt(C._time)&&At(h)&&$y(cr(l))&&C.data!=="nested")&&(l._tTime=-We,l.render(Math.max(0,-u)||0)),_&&Yf(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,b,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,b=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!==_&&(b&&this._yEase&&a0(b,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(Wf(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;b&&b.render(s<0?s:b._dur*b._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&vd(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&&vd(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||Vd(this,d),u=this._ease(d/this._dur),Qy(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Ba(this,0),this.parent||If(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,Yr&&Yr.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?hn(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&Dy(l,c))return i==="all"&&(this._pt=0),lo(this);for(h=this._op=this._op||[],i!=="all"&&(xt(i)&&(p={},Rt(i,function(C){return p[C]=1}),i=p),i=Jy(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)&&La(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);dn(_t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Rt("staggerTo,staggerFrom,staggerFromTo",function(t){_t[t]=function(){var e=new Nt,n=Td.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Bd=function(e,n,r){return e[n]=r},f0=function(e,n,r){return e[n](r)},tw=function(e,n,r,s){return e[n](s.fp,r)},nw=function(e,n,r){return e.setAttribute(n,r)},Ad=function(e,n){return st(e[n])?f0:fd(e[n])&&e.setAttribute?nw:Bd},m0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},rw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},p0=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)},Rd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},sw=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},iw=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?La(this,n,"_pt"):n.dep||(r=1),n=s;return!r},ow=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},g0=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||m0,this.d=c||this,this.set=d||Bd,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=ow,this.m=r,this.mt=i,this.tween=s},t}();Rt(xd+"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 bd[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=Nt,Je=new Nt({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=i0;var Cs=[],Aa={},aw=[],_0=0,lw=0,Fd=function(e){return(Aa[e]||aw).map(function(n){return n()})},Id=function(){var e=Date.now(),n=[];e-_0>2&&(Fd("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))}),Fd("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),_0=e,Fd("matchMedia"))},y0=function(){function t(n,r){this.selector=r&&Od(r),this.data=[],this._r=[],this.isReverted=!1,this.id=lw++,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=Od(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 Nt?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}(),cw=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 y0(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(Id):c.addEventListener("change",Id)));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}(),Ra={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 t0(s)})},timeline:function(e){return new Nt(e)},getTweensOf:function(e,n){return Je.getTweensOf(e,n)},getProperty:function(e,n,r,s){xt(e)&&(e=hn(e)[0]);var i=_s(e||{}).get,a=r?Rf:Af;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=hn(e),e.length>1){var s=e.map(function(u){return It.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&&Rd(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=It.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)),Ff(ai,e||{})},config:function(e){return Ff(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.")}),Cd[n]=function(l,c,d){return r(hn(l),dn(c||{},i),d)},a&&(Nt.prototype[n]=function(l,c,d){return this.add(Cd[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 Nt(e),s,i;for(r.smoothChildTiming=At(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 y0(e,n):Ge},matchMedia:function(e){return new cw(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()})||Id()},addEventListener:function(e,n){var r=Aa[e]||(Aa[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Aa[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:zy,wrapYoyo:Hy,distribute:qf,random:Kf,snap:Gf,normalize:Iy,getUnit:$t,clamp:By,splitColor:n0,toArray:hn,selector:Od,mapRange:Qf,pipe:Ry,unitize:Fy,interpolate:Yy,shuffle:Uf},install:$f,effects:Cd,ticker:Qt,updateRoot:Nt.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:Pf,Tween:_t,Timeline:Nt,Animation:ho,getCache:_s,_removeLinkedListItem:La,reverting:function(){return Dt},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return ud=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ra[t]=_t[t]}),Qt.add(Nt.updateRoot),hi=Ra.to({},{duration:0});var dw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},uw=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=dw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},zd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(xt(i)&&(c={},Rt(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}uw(l,i)}}}},It=Ra.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)}},zd("roundProps",Dd),zd("modifiers"),zd("snap",Gf))||Ra;_t.version=Nt.version=It.version="3.12.5",Ef=1,md()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var hw=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Hd=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 w0,Wr,mi,Yd,xs,b0,Wd,mw=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,k0=1e8,jd=/([A-Z])/g,pw=/(left|right|width|margin|padding|x)/i,gw=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},_w=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)},yw=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)},ww=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},C0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},x0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},bw=function(e,n,r){return e.style[n]=r},kw=function(e,n,r){return e.style.setProperty(n,r)},Cw=function(e,n,r){return e._gsap[n]=r},xw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Mw=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},vw=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",zt=et+"Origin",Sw=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===zt&&(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(zt,n,"")),e=et}(i||n)&&this.props.push(e,n,i[e])},M0=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(jd,"-$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=Wd(),(!i||!i.isStart)&&!r[et]&&(M0(r),s.zOrigin&&r[zt]&&(r[zt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},v0=function(e,n){var r={target:e,props:[],revert:Tw,save:Sw};return e._gsap||It.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},S0,Ud=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(jd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},T0="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--&&!(T0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?T0[a]:"")+e},qd=function(){mw()&&window.document&&(w0=window,Wr=w0.document,mi=Wr.documentElement,xs=Ud("div")||{style:{}},Ud("div"),et=_i(et),zt=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S0=!!_i("perspective"),Wd=It.core.reverting,Yd=1)},Gd=function t(e){var n=Ud("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},O0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},D0=function(e){var n;try{n=e.getBBox()}catch{n=Gd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Gd||(n=Gd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+O0(e,["x","cx","x1"])||0,y:+O0(e,["y","cy","y1"])||0,width:0,height:0}:n},E0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&D0(e))},vs=function(e,n){if(n){var r=e.style,s;n in ur&&n!==zt&&(n=et),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(jd,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?x0:C0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},$0={deg:1,rad:1,turn:1},Ow={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=pw.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||$0[s]||$0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&E0(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==="%")&&!Ow[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 Yd||qd(),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:Ia(Kn(e,zt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Fa[n]&&Fa[n](e,n,r)||Kn(e,n)||Vf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Zr(e,n,i,r)+r:i},Dw=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,p0),c=0,d=0,u,h,f,m,g,p,_,y,C,b,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],i0(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(_),b=_.substr((y+"").length),c=li.lastIndex-b.length,b||(b=b||qt.units[n]||S,c===s.length&&(s+=b,l.e+=b)),S!==b&&(m=Zr(e,n,p,b)||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"?x0:C0;return Of.test(s)&&(l.e=0),this._pt=l,l},P0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ew=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]=P0[r]||r,n[1]=P0[s]||s,n.join(" ")},$w=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"?zt:et),vs(r,l);c&&(vs(r,et),a&&(a.svg&&r.removeAttribute("transform"),po(r,1),a.uncache=1,M0(s)))}},Fa={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,$w);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],L0={},N0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},V0=function(e){var n=Kn(e,et);return N0(n)?mo:n.substr(7).match(Tf).map(ft)},Kd=function(e,n){var r=e._gsap||_s(e),s=e.style,i=V0(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=V0(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)},Xd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Kd(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],b=n.split(" "),S=parseFloat(b[0])||0,M=parseFloat(b[1])||0,T,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):(T=D0(e),S=T.x+(~b[0].indexOf("%")?S/100*T.width:S),M=T.y+(~(b[1]||b[0]).indexOf("%")?M/100*T.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[zt]="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 c0(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,zt)||"0",u,h,f,m,g,p,_,y,C,b,S,M,T,v,D,E,I,j,$,F,G,O,x,N,Z,ee,U,P,V,k,w,B;return u=h=f=p=_=y=C=b=S=0,m=g=1,r.svg=!!(e.getCTM&&E0(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=Kd(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"),Xd(e,N||d,!!N||r.originIsAbsolute,r.smooth!==!1,v)),M=r.xOrigin||0,T=r.yOrigin||0,v!==mo&&(j=v[0],$=v[1],F=v[2],G=v[3],u=O=v[4],h=x=v[5],v.length===6?(m=Math.sqrt(j*j+$*$),g=Math.sqrt(G*G+F*F),p=j||$?gi($,j)*Ms:0,C=F||G?gi(F,G)*Ms+p:0,C&&(g*=Math.abs(Math.cos(C*pi))),r.svg&&(u-=M-(M*j+T*F),h-=T-(M*$+T*G))):(B=v[6],k=v[7],U=v[8],P=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=O*E+U*I,Z=x*E+P*I,ee=B*E+V*I,U=O*-I+U*E,P=x*-I+P*E,V=B*-I+V*E,w=k*-I+w*E,O=N,x=Z,B=ee),D=gi(-F,V),y=D*Ms,D&&(E=Math.cos(-D),I=Math.sin(-D),N=j*E-U*I,Z=$*E-P*I,ee=F*E-V*I,w=G*I+w*E,j=N,$=Z,F=ee),D=gi($,j),p=D*Ms,D&&(E=Math.cos(D),I=Math.sin(D),N=j*E+$*I,Z=O*E+x*I,$=$*E-j*I,x=x*E-O*I,j=N,O=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=ft(Math.sqrt(j*j+$*$+F*F)),g=ft(Math.sqrt(x*x+B*B)),D=gi(O,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","")||!N0(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=b+l,r.transformPerspective=S+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[zt]=Ia(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?Lw:S0?B0:Pw,r.uncache=0,r},Ia=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qd=function(e,n,r){var s=$t(n);return ft(parseFloat(n)+parseFloat(Zr(e,"x",r+"px",s)))+s},Pw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,B0(e,n)},Ss="0deg",go="0px",Ts=") ",B0=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,b=r.zOrigin,S="",M=y==="auto"&&e&&e!==1||y===!0;if(b&&(h!==Ss||u!==Ss)){var T=parseFloat(u)*pi,v=Math.sin(T),D=Math.cos(T),E;T=parseFloat(h)*pi,E=Math.cos(T),a=Qd(C,a,v*E*-b),l=Qd(C,l,-Math.sin(T)*-b),c=Qd(C,c,D*E*-b+b)}_!==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)"},Lw=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,b=parseFloat(a),S=parseFloat(l),M,T,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,T=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,T*=E)),M=ft(M),T=ft(T),v=ft(v),D=ft(D)):(M=h,D=f,T=v=0),(b&&!~(a+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(b=Zr(m,"x",a,"px"),S=Zr(m,"y",l,"px")),(g||p||_||y)&&(b=ft(b+g-(g*M+p*v)+_),S=ft(S+p-(g*T+p*D)+y)),(s||i)&&(E=m.getBBox(),b=ft(b+s/100*E.width),S=ft(S+i/100*E.height)),E="matrix("+M+","+T+","+v+","+D+","+b+","+S+")",m.setAttribute("transform",E),C&&(m.style[et]=E)},Nw=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*k0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*k0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,_w),f.e=u,f.u="deg",e._props.push(r),f},A0=function(e,n){for(var r in n)e[r]=n[r];return e},Vw=function(e,n,r){var s=A0({},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=$t(d),g=$t(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,Zd),e._pt.u=g||0,e._props.push(c));A0(l,s)};Rt("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});Fa[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 R0={name:"css",register:qd,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,b,S,M,T,v,D;Yd||qd(),this.styles=this.styles||v0(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&d0(p,n,r,s,e,i)))){if(m=typeof u,g=Fa[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+="",Hr.lastIndex=0,Hr.test(d)||(_=$t(d),y=$t(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)),$t(d+"")||d==="auto"||(d+=qt.units[p]||$t(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]))),b=p in ur,b){if(this.styles.save(p),S||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),T=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,Zd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(zt,0,l[zt]),u=Ew(u),M.svg?Xd(e,u,0,T,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Ia(d),Ia(u)));continue}else if(p==="svgOrigin"){Xd(e,u,1,T,0,this);continue}else if(p in L0){Nw(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"){Vw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(b||(h||h===0)&&(f||f===0)&&!gw.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=$t(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,b?M:l,p,f,(C?ci(f,C+h):h)-f,!b&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?ww:Zd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=yw);else if(p in l)Dw.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"){wd(p,u);continue}b||(p in l?D.push(p,0,l[p]):D.push(p,1,d||e[p])),a.push(p)}}v&&g0(this)},render:function(e,n){if(n.tween._time||!Wd())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!==zt&&(e._gsap.x||hr(e,"x"))?r&&b0===r?n==="scale"?xw:Cw:(b0=r||{})&&(n==="scale"?Mw:vw):e.style&&!fd(e.style[n])?bw:~n.indexOf("-")?kw:Ad(e,n)},core:{_removeProperty:vs,_getMatrix:Kd}};It.utils.checkPrefix=_i,It.core.getStyleSaver=v0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){ur[i]=1});Rt(e,function(i){qt.units[i]="deg",L0[i]=1}),Gn[s[13]]=t+","+e,Rt(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"),Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){qt.units[t]="px"}),It.registerPlugin(R0);var Ur=It.registerPlugin(R0)||It;Ur.core.Tween;const Bw={__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:fw.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Hd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Hd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Hd.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))}},Aw={class:"toast__content"},F0=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",Aw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Pe,{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"]]),Rw={key:0,class:"scope-textarea__label"},Fw=["disabled","placeholder","veeBind","maxlength"],Iw={key:1,class:"scope-textarea__error"},zw=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",Rw,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",Iw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-18bb6f92"]]),I0=t=>(o.pushScopeId("data-v-9bce09c1"),t=t(),o.popScopeId(),t),Hw={class:"scope-dropzone__container"},Yw={key:0,class:"scope-dropzone__label"},Ww={class:"scope-dropzone__content"},jw=I0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),Zw=I0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Uw={key:1,class:"scope-dropzone__files"},qw={class:"scope-dropzone__file"},Gw={class:"scope-dropzone__file__img-wrapper"},Kw=["src"],Xw={class:"scope-dropzone__file__options"},Qw={class:"scope-dropzone__file__name"},Jw=Oe({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=dh(),n=t,r=o.useModel(t,"modelValue"),s=o.ref(null);o.ref(null);const i=o.ref(!1),a=o.ref([]),l=()=>{s.value.click()},c=f=>{if(f.dataTransfer.files.length){s.value.files=f.dataTransfer.files;for(var m=0,g=f.dataTransfer.files.length;m<g;m++)r.value.items.length<5&&(r.value.items.add(f.dataTransfer.files[m]),h(f.dataTransfer.files[m]))}i.value=!1},d=f=>{r.value.items.length<5?(r.value.items.add(f.target.files[0]),h(f.target.files[0])):e(n.lengthError)},u=f=>{let m=new DataTransfer;a.value.forEach((g,p)=>{let _=r.value.items[p].getAsFile();p!==f&&m.items.add(_)}),r.value=m,a.value.splice(f,1)},h=f=>{const m=URL.createObjectURL(f);a.value.push({name:f.name,url:m})};return o.onMounted(()=>{r.value?r.value.items.forEach((f,m)=>{let g=r.value.items[m].getAsFile();const p=URL.createObjectURL(g);a.value.push({name:f.name,url:p})}):r.value=new DataTransfer}),(f,m)=>(o.openBlock(),o.createElementBlock("div",Hw,[t.label?(o.openBlock(),o.createElementBlock("div",Yw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":i.value,"-full-width":t.fullWidth}]),onDragover:m[0]||(m[0]=o.withModifiers(g=>i.value=!0,["prevent"])),onDragend:m[1]||(m[1]=g=>i.value=!1),onDragleave:m[2]||(m[2]=g=>i.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",Ww,[o.createVNode(o.unref(Pe),{icon:"file-bend"}),jw,Zw,o.createVNode(o.unref(ga),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:s,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),a.value.length?(o.openBlock(),o.createElementBlock("div",Uw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",qw,[o.createElementVNode("div",Gw,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,Kw),o.createElementVNode("div",Xw,[o.createVNode(o.unref(Pe),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Pe),{icon:"trash",class:"scope-dropzone__file__remove",onClick:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",Qw,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9bce09c1"]]),z0=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),eb={class:"sidebar-popup-container"},tb={class:"sidebar-popup__profile-info"},nb=["src"],rb={key:1,class:"sidebar-popup__profile-info__letter"},sb={class:"sidebar-popup__profile-info__wrapper"},ib={class:"sidebar-popup__profile-info__name"},ob={class:"sidebar-popup__profile-info__e-mail"},ab=z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),lb={class:"sidebar-popup__tabs"},cb=["onClick"],db={class:"sidebar-popup__tab__icon-wrapper"},ub={class:"sidebar-popup__tab__name"},hb=z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),fb={class:"sidebar-popup__actions-buttons"},mb=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:!0},{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",eb,[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(Pe,{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",tb,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,nb)):(o.openBlock(),o.createElementBlock("div",rb,o.toDisplayString(l.value),1)),o.createElementVNode("div",sb,[o.createElementVNode("div",ib,o.toDisplayString(t.user.name),1),o.createElementVNode("div",ob,o.toDisplayString(t.user.email),1)])]),ab,o.createElementVNode("div",lb,[(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",db,[o.createVNode(Pe,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",ub,o.toDisplayString(g.name),1)],10,cb))),256))]),hb,o.createElementVNode("div",fb,[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-cd05e8e4"]]),pb={class:"scope-tooltip"},fn=Oe({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",pb,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Pe),{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"]]),gb={class:"no-more"},_b={class:"no-more__icon-wrapper"},yb={class:"no-more__text-wrapper"},wb={class:"no-more__title"},bb={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",gb,[o.createElementVNode("div",_b,[o.createVNode(o.unref(Pe),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",yb,[o.createElementVNode("div",wb,o.toDisplayString(t.title),1),o.createElementVNode("div",bb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),H0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),kb={class:"long-short"},Cb=H0(()=>o.createElementVNode("span",null,"L",-1)),xb={class:"long-short__item__text"},Mb=H0(()=>o.createElementVNode("span",null,"S",-1)),vb={class:"long-short__item__text"},Y0=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",kb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Cb,o.createElementVNode("div",xb,o.toDisplayString(o.unref(Tt)(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}%`)},[Mb,o.createElementVNode("div",vb,o.toDisplayString(o.unref(Tt)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);/*!
17
+ */var w0,Wr,mi,Yd,xs,b0,Wd,fw=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,k0=1e8,jd=/([A-Z])/g,mw=/(left|right|width|margin|padding|x)/i,pw=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},gw=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)},_w=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)},yw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},C0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},x0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},ww=function(e,n,r){return e.style[n]=r},bw=function(e,n,r){return e.style.setProperty(n,r)},kw=function(e,n,r){return e._gsap[n]=r},Cw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},xw=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Mw=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",zt=et+"Origin",vw=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===zt&&(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(zt,n,"")),e=et}(i||n)&&this.props.push(e,n,i[e])},M0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Sw=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(jd,"-$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=Wd(),(!i||!i.isStart)&&!r[et]&&(M0(r),s.zOrigin&&r[zt]&&(r[zt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},v0=function(e,n){var r={target:e,props:[],revert:Sw,save:vw};return e._gsap||It.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},S0,Ud=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(jd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},T0="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--&&!(T0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?T0[a]:"")+e},qd=function(){fw()&&window.document&&(w0=window,Wr=w0.document,mi=Wr.documentElement,xs=Ud("div")||{style:{}},Ud("div"),et=_i(et),zt=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S0=!!_i("perspective"),Wd=It.core.reverting,Yd=1)},Gd=function t(e){var n=Ud("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},O0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},D0=function(e){var n;try{n=e.getBBox()}catch{n=Gd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Gd||(n=Gd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+O0(e,["x","cx","x1"])||0,y:+O0(e,["y","cy","y1"])||0,width:0,height:0}:n},E0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&D0(e))},vs=function(e,n){if(n){var r=e.style,s;n in ur&&n!==zt&&(n=et),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(jd,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?x0:C0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},$0={deg:1,rad:1,turn:1},Tw={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=mw.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||$0[s]||$0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&E0(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==="%")&&!Tw[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 Yd||qd(),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:Ia(Kn(e,zt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Fa[n]&&Fa[n](e,n,r)||Kn(e,n)||Vf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Zr(e,n,i,r)+r:i},Ow=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,p0),c=0,d=0,u,h,f,m,g,p,_,y,C,b,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],i0(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(_),b=_.substr((y+"").length),c=li.lastIndex-b.length,b||(b=b||qt.units[n]||S,c===s.length&&(s+=b,l.e+=b)),S!==b&&(m=Zr(e,n,p,b)||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"?x0:C0;return Of.test(s)&&(l.e=0),this._pt=l,l},P0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Dw=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]=P0[r]||r,n[1]=P0[s]||s,n.join(" ")},Ew=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"?zt:et),vs(r,l);c&&(vs(r,et),a&&(a.svg&&r.removeAttribute("transform"),po(r,1),a.uncache=1,M0(s)))}},Fa={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,Ew);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],L0={},N0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},V0=function(e){var n=Kn(e,et);return N0(n)?mo:n.substr(7).match(Tf).map(ft)},Kd=function(e,n){var r=e._gsap||_s(e),s=e.style,i=V0(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=V0(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)},Xd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Kd(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],b=n.split(" "),S=parseFloat(b[0])||0,M=parseFloat(b[1])||0,T,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):(T=D0(e),S=T.x+(~b[0].indexOf("%")?S/100*T.width:S),M=T.y+(~(b[1]||b[0]).indexOf("%")?M/100*T.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[zt]="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 c0(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,zt)||"0",u,h,f,m,g,p,_,y,C,b,S,M,T,v,D,E,I,j,$,F,G,O,x,N,Z,ee,U,P,V,k,w,B;return u=h=f=p=_=y=C=b=S=0,m=g=1,r.svg=!!(e.getCTM&&E0(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=Kd(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"),Xd(e,N||d,!!N||r.originIsAbsolute,r.smooth!==!1,v)),M=r.xOrigin||0,T=r.yOrigin||0,v!==mo&&(j=v[0],$=v[1],F=v[2],G=v[3],u=O=v[4],h=x=v[5],v.length===6?(m=Math.sqrt(j*j+$*$),g=Math.sqrt(G*G+F*F),p=j||$?gi($,j)*Ms:0,C=F||G?gi(F,G)*Ms+p:0,C&&(g*=Math.abs(Math.cos(C*pi))),r.svg&&(u-=M-(M*j+T*F),h-=T-(M*$+T*G))):(B=v[6],k=v[7],U=v[8],P=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=O*E+U*I,Z=x*E+P*I,ee=B*E+V*I,U=O*-I+U*E,P=x*-I+P*E,V=B*-I+V*E,w=k*-I+w*E,O=N,x=Z,B=ee),D=gi(-F,V),y=D*Ms,D&&(E=Math.cos(-D),I=Math.sin(-D),N=j*E-U*I,Z=$*E-P*I,ee=F*E-V*I,w=G*I+w*E,j=N,$=Z,F=ee),D=gi($,j),p=D*Ms,D&&(E=Math.cos(D),I=Math.sin(D),N=j*E+$*I,Z=O*E+x*I,$=$*E-j*I,x=x*E-O*I,j=N,O=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=ft(Math.sqrt(j*j+$*$+F*F)),g=ft(Math.sqrt(x*x+B*B)),D=gi(O,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","")||!N0(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=b+l,r.transformPerspective=S+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[zt]=Ia(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?Pw:S0?B0:$w,r.uncache=0,r},Ia=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qd=function(e,n,r){var s=$t(n);return ft(parseFloat(n)+parseFloat(Zr(e,"x",r+"px",s)))+s},$w=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,B0(e,n)},Ss="0deg",go="0px",Ts=") ",B0=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,b=r.zOrigin,S="",M=y==="auto"&&e&&e!==1||y===!0;if(b&&(h!==Ss||u!==Ss)){var T=parseFloat(u)*pi,v=Math.sin(T),D=Math.cos(T),E;T=parseFloat(h)*pi,E=Math.cos(T),a=Qd(C,a,v*E*-b),l=Qd(C,l,-Math.sin(T)*-b),c=Qd(C,c,D*E*-b+b)}_!==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)"},Pw=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,b=parseFloat(a),S=parseFloat(l),M,T,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,T=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,T*=E)),M=ft(M),T=ft(T),v=ft(v),D=ft(D)):(M=h,D=f,T=v=0),(b&&!~(a+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(b=Zr(m,"x",a,"px"),S=Zr(m,"y",l,"px")),(g||p||_||y)&&(b=ft(b+g-(g*M+p*v)+_),S=ft(S+p-(g*T+p*D)+y)),(s||i)&&(E=m.getBBox(),b=ft(b+s/100*E.width),S=ft(S+i/100*E.height)),E="matrix("+M+","+T+","+v+","+D+","+b+","+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*k0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*k0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,gw),f.e=u,f.u="deg",e._props.push(r),f},A0=function(e,n){for(var r in n)e[r]=n[r];return e},Nw=function(e,n,r){var s=A0({},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=$t(d),g=$t(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,Zd),e._pt.u=g||0,e._props.push(c));A0(l,s)};Rt("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});Fa[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 R0={name:"css",register:qd,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,b,S,M,T,v,D;Yd||qd(),this.styles=this.styles||v0(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&d0(p,n,r,s,e,i)))){if(m=typeof u,g=Fa[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+="",Hr.lastIndex=0,Hr.test(d)||(_=$t(d),y=$t(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)),$t(d+"")||d==="auto"||(d+=qt.units[p]||$t(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]))),b=p in ur,b){if(this.styles.save(p),S||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),T=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,Zd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(zt,0,l[zt]),u=Dw(u),M.svg?Xd(e,u,0,T,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Ia(d),Ia(u)));continue}else if(p==="svgOrigin"){Xd(e,u,1,T,0,this);continue}else if(p in L0){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"){Nw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(b||(h||h===0)&&(f||f===0)&&!pw.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=$t(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,b?M:l,p,f,(C?ci(f,C+h):h)-f,!b&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?yw:Zd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=_w);else if(p in l)Ow.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"){wd(p,u);continue}b||(p in l?D.push(p,0,l[p]):D.push(p,1,d||e[p])),a.push(p)}}v&&g0(this)},render:function(e,n){if(n.tween._time||!Wd())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!==zt&&(e._gsap.x||hr(e,"x"))?r&&b0===r?n==="scale"?Cw:kw:(b0=r||{})&&(n==="scale"?xw:Mw):e.style&&!fd(e.style[n])?ww:~n.indexOf("-")?bw:Ad(e,n)},core:{_removeProperty:vs,_getMatrix:Kd}};It.utils.checkPrefix=_i,It.core.getStyleSaver=v0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){ur[i]=1});Rt(e,function(i){qt.units[i]="deg",L0[i]=1}),Gn[s[13]]=t+","+e,Rt(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"),Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){qt.units[t]="px"}),It.registerPlugin(R0);var Ur=It.registerPlugin(R0)||It;Ur.core.Tween;const Vw={__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:hw.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Hd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Hd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Hd.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))}},Bw={class:"toast__content"},F0=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",Bw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Pe,{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"]]),Aw={key:0,class:"scope-textarea__label"},Rw=["disabled","placeholder","veeBind","maxlength"],Fw={key:1,class:"scope-textarea__error"},Iw=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",Aw,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,Rw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",Fw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-18bb6f92"]]),I0=t=>(o.pushScopeId("data-v-9bce09c1"),t=t(),o.popScopeId(),t),zw={class:"scope-dropzone__container"},Hw={key:0,class:"scope-dropzone__label"},Yw={class:"scope-dropzone__content"},Ww=I0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),jw=I0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Zw={key:1,class:"scope-dropzone__files"},Uw={class:"scope-dropzone__file"},qw={class:"scope-dropzone__file__img-wrapper"},Gw=["src"],Kw={class:"scope-dropzone__file__options"},Xw={class:"scope-dropzone__file__name"},Qw=Oe({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=dh(),n=t,r=o.useModel(t,"modelValue"),s=o.ref(null);o.ref(null);const i=o.ref(!1),a=o.ref([]),l=()=>{s.value.click()},c=f=>{if(f.dataTransfer.files.length){s.value.files=f.dataTransfer.files;for(var m=0,g=f.dataTransfer.files.length;m<g;m++)r.value.items.length<5&&(r.value.items.add(f.dataTransfer.files[m]),h(f.dataTransfer.files[m]))}i.value=!1},d=f=>{r.value.items.length<5?(r.value.items.add(f.target.files[0]),h(f.target.files[0])):e(n.lengthError)},u=f=>{let m=new DataTransfer;a.value.forEach((g,p)=>{let _=r.value.items[p].getAsFile();p!==f&&m.items.add(_)}),r.value=m,a.value.splice(f,1)},h=f=>{const m=URL.createObjectURL(f);a.value.push({name:f.name,url:m})};return o.onMounted(()=>{r.value?r.value.items.forEach((f,m)=>{let g=r.value.items[m].getAsFile();const p=URL.createObjectURL(g);a.value.push({name:f.name,url:p})}):r.value=new DataTransfer}),(f,m)=>(o.openBlock(),o.createElementBlock("div",zw,[t.label?(o.openBlock(),o.createElementBlock("div",Hw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":i.value,"-full-width":t.fullWidth}]),onDragover:m[0]||(m[0]=o.withModifiers(g=>i.value=!0,["prevent"])),onDragend:m[1]||(m[1]=g=>i.value=!1),onDragleave:m[2]||(m[2]=g=>i.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",Yw,[o.createVNode(o.unref(Pe),{icon:"file-bend"}),Ww,jw,o.createVNode(o.unref(ga),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:s,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),a.value.length?(o.openBlock(),o.createElementBlock("div",Zw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",Uw,[o.createElementVNode("div",qw,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,Gw),o.createElementVNode("div",Kw,[o.createVNode(o.unref(Pe),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Pe),{icon:"trash",class:"scope-dropzone__file__remove",onClick:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",Xw,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9bce09c1"]]),z0=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),Jw={class:"sidebar-popup-container"},eb={class:"sidebar-popup__profile-info"},tb=["src"],nb={key:1,class:"sidebar-popup__profile-info__letter"},rb={class:"sidebar-popup__profile-info__wrapper"},sb={class:"sidebar-popup__profile-info__name"},ib={class:"sidebar-popup__profile-info__e-mail"},ob=z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),ab={class:"sidebar-popup__tabs"},lb=["onClick"],cb={class:"sidebar-popup__tab__icon-wrapper"},db={class:"sidebar-popup__tab__name"},ub=z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),hb={class:"sidebar-popup__actions-buttons"},fb=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:!0},{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",Jw,[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(Pe,{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",eb,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,tb)):(o.openBlock(),o.createElementBlock("div",nb,o.toDisplayString(l.value),1)),o.createElementVNode("div",rb,[o.createElementVNode("div",sb,o.toDisplayString(t.user.name),1),o.createElementVNode("div",ib,o.toDisplayString(t.user.email),1)])]),ob,o.createElementVNode("div",ab,[(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",cb,[o.createVNode(Pe,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",db,o.toDisplayString(g.name),1)],10,lb))),256))]),ub,o.createElementVNode("div",hb,[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-cd05e8e4"]]),mb={class:"scope-tooltip"},fn=Oe({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",mb,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Pe),{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"]]),pb={class:"no-more"},gb={class:"no-more__icon-wrapper"},_b={class:"no-more__text-wrapper"},yb={class:"no-more__title"},wb={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",pb,[o.createElementVNode("div",gb,[o.createVNode(o.unref(Pe),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",_b,[o.createElementVNode("div",yb,o.toDisplayString(t.title),1),o.createElementVNode("div",wb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),H0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),bb={class:"long-short"},kb=H0(()=>o.createElementVNode("span",null,"L",-1)),Cb={class:"long-short__item__text"},xb=H0(()=>o.createElementVNode("span",null,"S",-1)),Mb={class:"long-short__item__text"},Y0=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",bb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[kb,o.createElementVNode("div",Cb,o.toDisplayString(o.unref(Tt)(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}%`)},[xb,o.createElementVNode("div",Mb,o.toDisplayString(o.unref(Tt)(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 W0(t){return qr(_o(t*100),0,100)}const mn={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},eu=[..."0123456789ABCDEF"],Sb=t=>eu[t&15],Tb=t=>eu[(t&240)>>4]+eu[t&15],za=t=>(t&240)>>4===(t&15),Ob=t=>za(t.r)&&za(t.g)&&za(t.b)&&za(t.a);function Db(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&mn[t[1]]*17,g:255&mn[t[2]]*17,b:255&mn[t[3]]*17,a:e===5?mn[t[4]]*17:255}:(e===7||e===9)&&(n={r:mn[t[1]]<<4|mn[t[2]],g:mn[t[3]]<<4|mn[t[4]],b:mn[t[5]]<<4|mn[t[6]],a:e===9?mn[t[7]]<<4|mn[t[8]]:255})),n}const Eb=(t,e)=>t<255?e(t):"";function $b(t){var e=Ob(t)?Sb:Tb;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Eb(t.a,e):void 0}const Pb=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function j0(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 Lb(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 Nb(t,e,n){const r=j0(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 Vb(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 tu(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=Vb(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function nu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Gr)}function ru(t,e,n){return nu(j0,t,e,n)}function Bb(t,e,n){return nu(Nb,t,e,n)}function Ab(t,e,n){return nu(Lb,t,e,n)}function Z0(t){return(t%360+360)%360}function Rb(t){const e=Pb.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?yo(+e[5]):Gr(+e[5]));const s=Z0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=Bb(s,i,a):e[1]==="hsv"?r=Ab(s,i,a):r=ru(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function Fb(t,e){var n=tu(t);n[0]=Z0(n[0]+e),n=ru(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Ib(t){if(!t)return;const e=tu(t),n=e[0],r=W0(e[1]),s=W0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${fr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const U0={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"},q0={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 zb(){const t={},e=Object.keys(q0),n=Object.keys(U0);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,U0[i]);i=parseInt(q0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Ha;function Hb(t){Ha||(Ha=zb(),Ha.transparent=[0,0,0,0]);const e=Ha[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Yb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Wb(t){const e=Yb.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 jb(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${fr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const su=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 Zb(t,e,n){const r=yi(fr(t.r)),s=yi(fr(t.g)),i=yi(fr(t.b));return{r:Gr(su(r+n*(yi(fr(e.r))-r))),g:Gr(su(s+n*(yi(fr(e.g))-s))),b:Gr(su(i+n*(yi(fr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Ya(t,e,n){if(t){let r=tu(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=ru(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function G0(t,e){return t&&Object.assign(e||{},t)}function K0(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=G0(t,{r:0,g:0,b:0,a:1}),e.a=Gr(e.a)),e}function Ub(t){return t.charAt(0)==="r"?Wb(t):Rb(t)}class wo{constructor(e){if(e instanceof wo)return e;const n=typeof e;let r;n==="object"?r=K0(e):n==="string"&&(r=Db(e)||Hb(e)||Ub(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=G0(this._rgb);return e&&(e.a=fr(e.a)),e}set rgb(e){this._rgb=K0(e)}rgbString(){return this._valid?jb(this._rgb):void 0}hexString(){return this._valid?$b(this._rgb):void 0}hslString(){return this._valid?Ib(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=Zb(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 Ya(this._rgb,2,e),this}darken(e){return Ya(this._rgb,2,-e),this}saturate(e){return Ya(this._rgb,1,e),this}desaturate(e){return Ya(this._rgb,1,-e),this}rotate(e){return Fb(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 W0(t){return qr(_o(t*100),0,100)}const mn={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},eu=[..."0123456789ABCDEF"],vb=t=>eu[t&15],Sb=t=>eu[(t&240)>>4]+eu[t&15],za=t=>(t&240)>>4===(t&15),Tb=t=>za(t.r)&&za(t.g)&&za(t.b)&&za(t.a);function Ob(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&mn[t[1]]*17,g:255&mn[t[2]]*17,b:255&mn[t[3]]*17,a:e===5?mn[t[4]]*17:255}:(e===7||e===9)&&(n={r:mn[t[1]]<<4|mn[t[2]],g:mn[t[3]]<<4|mn[t[4]],b:mn[t[5]]<<4|mn[t[6]],a:e===9?mn[t[7]]<<4|mn[t[8]]:255})),n}const Db=(t,e)=>t<255?e(t):"";function Eb(t){var e=Tb(t)?vb:Sb;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Db(t.a,e):void 0}const $b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function j0(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 Pb(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 Lb(t,e,n){const r=j0(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 Nb(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 tu(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=Nb(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function nu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Gr)}function ru(t,e,n){return nu(j0,t,e,n)}function Vb(t,e,n){return nu(Lb,t,e,n)}function Bb(t,e,n){return nu(Pb,t,e,n)}function Z0(t){return(t%360+360)%360}function Ab(t){const e=$b.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?yo(+e[5]):Gr(+e[5]));const s=Z0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=Vb(s,i,a):e[1]==="hsv"?r=Bb(s,i,a):r=ru(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function Rb(t,e){var n=tu(t);n[0]=Z0(n[0]+e),n=ru(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Fb(t){if(!t)return;const e=tu(t),n=e[0],r=W0(e[1]),s=W0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${fr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const U0={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"},q0={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 Ib(){const t={},e=Object.keys(q0),n=Object.keys(U0);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,U0[i]);i=parseInt(q0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Ha;function zb(t){Ha||(Ha=Ib(),Ha.transparent=[0,0,0,0]);const e=Ha[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Hb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Yb(t){const e=Hb.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 Wb(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${fr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const su=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 jb(t,e,n){const r=yi(fr(t.r)),s=yi(fr(t.g)),i=yi(fr(t.b));return{r:Gr(su(r+n*(yi(fr(e.r))-r))),g:Gr(su(s+n*(yi(fr(e.g))-s))),b:Gr(su(i+n*(yi(fr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Ya(t,e,n){if(t){let r=tu(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=ru(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function G0(t,e){return t&&Object.assign(e||{},t)}function K0(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=G0(t,{r:0,g:0,b:0,a:1}),e.a=Gr(e.a)),e}function Zb(t){return t.charAt(0)==="r"?Yb(t):Ab(t)}class wo{constructor(e){if(e instanceof wo)return e;const n=typeof e;let r;n==="object"?r=K0(e):n==="string"&&(r=Ob(e)||zb(e)||Zb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=G0(this._rgb);return e&&(e.a=fr(e.a)),e}set rgb(e){this._rgb=K0(e)}rgbString(){return this._valid?Wb(this._rgb):void 0}hexString(){return this._valid?Eb(this._rgb):void 0}hslString(){return this._valid?Fb(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=jb(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 Ya(this._rgb,2,e),this}darken(e){return Ya(this._rgb,2,-e),this}saturate(e){return Ya(this._rgb,1,e),this}desaturate(e){return Ya(this._rgb,1,-e),this}rotate(e){return Rb(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 qb=(()=>{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 Ae(t,e){return typeof t>"u"?e:t}const Gb=(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 Re(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 Wa(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 ja(t){if(tt(t))return t.map(ja);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]]=ja(t[n[s]]);return e}return t}function X0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Kb(t,e,n,r){if(!X0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?bo(s,i,r):e[t]=ja(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||Kb;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:Xb})}function Xb(t,e,n){if(!X0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ja(s))}const Q0={"":t=>t,x:t=>t.x,y:t=>t.y};function Qb(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 Jb(t){const e=Qb(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Za(t,e){return(Q0[e]||(Q0[e]=Jb(e)))(t)}function iu(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ua=t=>typeof t<"u",Kr=t=>typeof t=="function",J0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function ek(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,en=2*vt,tk=en+vt,qa=Number.POSITIVE_INFINITY,nk=vt/180,tn=vt/2,Os=vt/4,e2=vt*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function t2(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 rk(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 sk(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function n2(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 ou(t){return t*(180/vt)}function r2(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function ik(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 au(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function ok(t,e){return(t-e+tk)%en-vt}function nn(t){return(t%en+en)%en}function s2(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 pn(t,e,n){return Math.max(e,Math.min(n,t))}function ak(t){return pn(t,-32768,32767)}function i2(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lu(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)=>lu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),lk=(t,e,n)=>lu(t,n,r=>t[r][e]>=n);function ck(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 o2=["push","pop","shift","splice","unshift"];function dk(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),o2.forEach(n=>{const r="_onData"+iu(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 a2(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)&&(o2.forEach(i=>{delete t[i]}),delete t._chartjs)}function uk(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const l2=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function c2(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,l2.call(window,()=>{r=!1,t.apply(e,n)}))}}function hk(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const fk=t=>t==="start"?"left":t==="end"?"right":"center",d2=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function mk(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=pn(Math.min(Ds(l,c,d).lo,n?r:Ds(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=pn(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 pk(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 Ga=t=>t===0||t===1,u2=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),h2=(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=>Ga(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=>Ga(t)?t:u2(t,.075,.3),easeOutElastic:t=>Ga(t)?t:h2(t,.075,.3),easeInOutElastic(t){return Ga(t)?t:t<.5?.5*u2(t*2,.1125,.45):.5+.5*h2(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 cu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function f2(t){return cu(t)?t:new wo(t)}function du(t){return cu(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const gk=["x","y","borderWidth","radius","tension"],_k=["color","borderColor","backgroundColor"];function yk(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:_k},numbers:{type:"number",properties:gk}}),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 wk(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const m2=new Map;function bk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=m2.get(n);return r||(r=new Intl.NumberFormat(t,e),m2.set(n,r)),r}function uu(t,e,n){return bk(e,n).format(t)}const p2={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=kk(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),uu(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?p2.numeric.call(this,t,e,n):""}};function kk(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 Ka={formatters:p2};function Ck(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:Ka.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),hu=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 fu(t,e,n){return typeof e=="string"?bo(vo(t,e),n):bo(vo(t,""),e)}class xk{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)=>du(s.backgroundColor),this.hoverBorderColor=(r,s)=>du(s.borderColor),this.hoverColor=(r,s)=>du(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 fu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return fu(hu,e,n)}override(e,n){return fu(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):Ae(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new xk({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[yk,wk,Ck]);function Mk(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xa(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 vk(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=Xa(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=Xa(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 $s(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 g2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function mu(t,e,n,r){Sk(t,e,n,r,null)}function Sk(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)*nk;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),_+=e2,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=e2,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 pu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function gu(t){t.restore()}function Tk(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 Ok(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 Dk(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 Ek(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 $k(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Qa(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,Dk(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&$k(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),Ek(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function _u(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 Pk=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Lk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Nk(t,e){const n=(""+t).match(Pk);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 Vk=t=>+t||0;function _2(t,e){const n={},r=ve(e),s=r?Object.keys(e):e,i=ve(t)?r?a=>Ae(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Vk(i(a));return n}function Bk(t){return _2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function So(t){return _2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function gn(t){const e=Bk(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=Ae(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ae(t.style,e.style);r&&!(""+r).match(Lk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Ae(t.family,e.family),lineHeight:Nk(Ae(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ae(t.weight,e.weight),string:""};return s.string=Mk(s),s}function Ja(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 Ak(t,e,n){const{min:r,max:s}=t,i=Gb(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 yu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=C2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>yu([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 w2(l,c,()=>jk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return x2(l).includes(c)},ownKeys(l){return x2(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:y2(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 w2(i,a,()=>Fk(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 y2(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 Rk=(t,e)=>t?t+iu(e):e,wu=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function w2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Fk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=Ik(e,l,t,n)),tt(l)&&l.length&&(l=zk(e,l,t,a.isIndexable)),wu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function Ik(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),wu(t,c)&&(c=bu(s._scopes,s,t,c)),c}function zk(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=bu(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function b2(t,e,n){return Kr(t)?t(e,n):t}const Hk=(t,e)=>t===!0?e:typeof t=="string"?Za(e,t):void 0;function Yk(t,e,n,r,s){for(const i of e){const a=Hk(n,i);if(a){t.add(a);const l=b2(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 bu(t,e,n,r){const s=e._rootScopes,i=b2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=k2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=k2(l,a,i,c,r),c===null)?!1:yu(Array.from(l),[""],s,i,()=>Wk(e,n,r))}function k2(t,e,n,r,s){for(;n;)n=Yk(t,e,n,r,s);return n}function Wk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&ve(n)?n:s||{}}function jk(t,e,n,r){let s;for(const i of e)if(s=C2(Rk(i,t),n),typeof s<"u")return wu(t,s)?bu(n,r,t,s):s}function C2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function x2(t){let e=t._keys;return e||(e=t._keys=Zk(t._scopes)),e}function Zk(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 Uk=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],M2=t=>t==="x"?"y":"x";function qk(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=au(i,s),c=au(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 Gk(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,Uk)){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 Kk(t,e,n="x"){const r=M2(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 Xk(t,e="x"){const n=M2(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]}Gk(t,s,i),Kk(t,i,e)}function el(t,e,n){return Math.max(Math.min(t,n),e)}function Qk(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=el(s.cp1x,e.left,e.right),s.cp1y=el(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=el(s.cp2x,e.left,e.right),s.cp2y=el(s.cp2y,e.top,e.bottom)))}function Jk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")Xk(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=qk(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&&Qk(t,n)}function ku(){return typeof window<"u"&&typeof document<"u"}function Cu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function tl(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 nl=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function eC(t,e){return nl(t).getPropertyValue(e)}const tC=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=tC[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const nC=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function rC(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(nC(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 Ls(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=nl(n),i=s.boxSizing==="border-box",a=Ps(s,"padding"),l=Ps(s,"border","width"),{x:c,y:d,box:u}=rC(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 sC(t,e,n){let r,s;if(e===void 0||n===void 0){const i=Cu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=nl(i),c=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=tl(l.maxWidth,i,"clientWidth"),s=tl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||qa,maxHeight:s||qa}}const rl=t=>Math.round(t*10)/10;function iC(t,e,n,r){const s=nl(t),i=Ps(s,"margin"),a=tl(s.maxWidth,t,"clientWidth")||qa,l=tl(s.maxHeight,t,"clientHeight")||qa,c=sC(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ps(s,"border","width"),m=Ps(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=rl(Math.min(d,a,c.maxWidth)),u=rl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=rl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=rl(Math.floor(u*r))),{width:d,height:u}}function v2(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 oC=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};ku()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function S2(t,e){const n=eC(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 aC(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 lC(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 cC=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}}},dC=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function xu(t,e,n){return t?cC(e,n):dC()}function uC(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 hC(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function T2(t){return t==="angle"?{between:s2,compare:ok,normalize:nn}:{between:i2,compare:(e,n)=>e-n,normalize:e=>e}}function O2({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 fC(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=T2(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 D2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=T2(r),{start:u,end:h,loop:f,style:m}=fC(t,e,n),g=[];let p=!1,_=null,y,C,b;const S=()=>c(s,b,y)&&l(s,b)!==0,M=()=>l(i,y)===0||c(i,b,y),T=()=>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!==b&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?D:E),_!==null&&v()&&(g.push(O2({start:_,end:D,loop:f,count:a,style:m})),_=null),E=D,b=y));return _!==null&&g.push(O2({start:_,end:h,loop:f,count:a,style:m})),g}function E2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=D2(r[s],t.points,e);i.length&&n.push(...i)}return n}function mC(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 pC(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 gC(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=mC(n,s,i,r);if(r===!0)return $2(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 $2(t,pC(n,a,c,d),n,e)}function $2(t,e,n,r){return!r||!r.setContext||!n?e:_C(t,e,n,r)}function _C(t,e,n,r){const s=t._chart.getContext(),i=P2(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];_=P2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),yC(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function P2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function yC(t,e){if(!e)return!1;const n=[],r=function(s,i){return cu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
27
+ */function mr(){}const Ub=(()=>{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 Ae(t,e){return typeof t>"u"?e:t}const qb=(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 Re(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 Wa(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 ja(t){if(tt(t))return t.map(ja);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]]=ja(t[n[s]]);return e}return t}function X0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Gb(t,e,n,r){if(!X0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?bo(s,i,r):e[t]=ja(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||Gb;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:Kb})}function Kb(t,e,n){if(!X0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ja(s))}const Q0={"":t=>t,x:t=>t.x,y:t=>t.y};function Xb(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 Qb(t){const e=Xb(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Za(t,e){return(Q0[e]||(Q0[e]=Qb(e)))(t)}function iu(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ua=t=>typeof t<"u",Kr=t=>typeof t=="function",J0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function Jb(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,en=2*vt,ek=en+vt,qa=Number.POSITIVE_INFINITY,tk=vt/180,tn=vt/2,Os=vt/4,e2=vt*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function t2(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 nk(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 rk(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function n2(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 ou(t){return t*(180/vt)}function r2(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function sk(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 au(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function ik(t,e){return(t-e+ek)%en-vt}function nn(t){return(t%en+en)%en}function s2(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 pn(t,e,n){return Math.max(e,Math.min(n,t))}function ok(t){return pn(t,-32768,32767)}function i2(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function lu(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)=>lu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),ak=(t,e,n)=>lu(t,n,r=>t[r][e]>=n);function lk(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 o2=["push","pop","shift","splice","unshift"];function ck(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),o2.forEach(n=>{const r="_onData"+iu(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 a2(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)&&(o2.forEach(i=>{delete t[i]}),delete t._chartjs)}function dk(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const l2=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function c2(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,l2.call(window,()=>{r=!1,t.apply(e,n)}))}}function uk(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const hk=t=>t==="start"?"left":t==="end"?"right":"center",d2=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function fk(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=pn(Math.min(Ds(l,c,d).lo,n?r:Ds(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=pn(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 mk(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 Ga=t=>t===0||t===1,u2=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),h2=(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=>Ga(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=>Ga(t)?t:u2(t,.075,.3),easeOutElastic:t=>Ga(t)?t:h2(t,.075,.3),easeInOutElastic(t){return Ga(t)?t:t<.5?.5*u2(t*2,.1125,.45):.5+.5*h2(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 cu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function f2(t){return cu(t)?t:new wo(t)}function du(t){return cu(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const pk=["x","y","borderWidth","radius","tension"],gk=["color","borderColor","backgroundColor"];function _k(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:gk},numbers:{type:"number",properties:pk}}),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 yk(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const m2=new Map;function wk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=m2.get(n);return r||(r=new Intl.NumberFormat(t,e),m2.set(n,r)),r}function uu(t,e,n){return wk(e,n).format(t)}const p2={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=bk(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),uu(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?p2.numeric.call(this,t,e,n):""}};function bk(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 Ka={formatters:p2};function kk(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:Ka.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),hu=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 fu(t,e,n){return typeof e=="string"?bo(vo(t,e),n):bo(vo(t,""),e)}class Ck{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)=>du(s.backgroundColor),this.hoverBorderColor=(r,s)=>du(s.borderColor),this.hoverColor=(r,s)=>du(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 fu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return fu(hu,e,n)}override(e,n){return fu(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):Ae(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new Ck({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[_k,yk,kk]);function xk(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xa(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 Mk(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=Xa(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=Xa(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 $s(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 g2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function mu(t,e,n,r){vk(t,e,n,r,null)}function vk(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)*tk;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),_+=e2,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=e2,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 pu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function gu(t){t.restore()}function Sk(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 Tk(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 Ok(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 Dk(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 Ek(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Qa(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,Ok(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&Ek(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),Dk(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function _u(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 $k=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Pk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Lk(t,e){const n=(""+t).match($k);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 Nk=t=>+t||0;function _2(t,e){const n={},r=ve(e),s=r?Object.keys(e):e,i=ve(t)?r?a=>Ae(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Nk(i(a));return n}function Vk(t){return _2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function So(t){return _2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function gn(t){const e=Vk(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=Ae(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Ae(t.style,e.style);r&&!(""+r).match(Pk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Ae(t.family,e.family),lineHeight:Lk(Ae(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ae(t.weight,e.weight),string:""};return s.string=xk(s),s}function Ja(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 Bk(t,e,n){const{min:r,max:s}=t,i=qb(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 yu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=C2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>yu([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 w2(l,c,()=>Wk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return x2(l).includes(c)},ownKeys(l){return x2(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:y2(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 w2(i,a,()=>Rk(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 y2(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 Ak=(t,e)=>t?t+iu(e):e,wu=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function w2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Rk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=Fk(e,l,t,n)),tt(l)&&l.length&&(l=Ik(e,l,t,a.isIndexable)),wu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function Fk(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),wu(t,c)&&(c=bu(s._scopes,s,t,c)),c}function Ik(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=bu(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function b2(t,e,n){return Kr(t)?t(e,n):t}const zk=(t,e)=>t===!0?e:typeof t=="string"?Za(e,t):void 0;function Hk(t,e,n,r,s){for(const i of e){const a=zk(n,i);if(a){t.add(a);const l=b2(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 bu(t,e,n,r){const s=e._rootScopes,i=b2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=k2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=k2(l,a,i,c,r),c===null)?!1:yu(Array.from(l),[""],s,i,()=>Yk(e,n,r))}function k2(t,e,n,r,s){for(;n;)n=Hk(t,e,n,r,s);return n}function Yk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&ve(n)?n:s||{}}function Wk(t,e,n,r){let s;for(const i of e)if(s=C2(Ak(i,t),n),typeof s<"u")return wu(t,s)?bu(n,r,t,s):s}function C2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function x2(t){let e=t._keys;return e||(e=t._keys=jk(t._scopes)),e}function jk(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 Zk=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],M2=t=>t==="x"?"y":"x";function Uk(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=au(i,s),c=au(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 qk(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,Zk)){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 Gk(t,e,n="x"){const r=M2(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 Kk(t,e="x"){const n=M2(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]}qk(t,s,i),Gk(t,i,e)}function el(t,e,n){return Math.max(Math.min(t,n),e)}function Xk(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=el(s.cp1x,e.left,e.right),s.cp1y=el(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=el(s.cp2x,e.left,e.right),s.cp2y=el(s.cp2y,e.top,e.bottom)))}function Qk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")Kk(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=Uk(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&&Xk(t,n)}function ku(){return typeof window<"u"&&typeof document<"u"}function Cu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function tl(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 nl=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function Jk(t,e){return nl(t).getPropertyValue(e)}const eC=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=eC[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const tC=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function nC(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(tC(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 Ls(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=nl(n),i=s.boxSizing==="border-box",a=Ps(s,"padding"),l=Ps(s,"border","width"),{x:c,y:d,box:u}=nC(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 rC(t,e,n){let r,s;if(e===void 0||n===void 0){const i=Cu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=nl(i),c=Ps(l,"border","width"),d=Ps(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=tl(l.maxWidth,i,"clientWidth"),s=tl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||qa,maxHeight:s||qa}}const rl=t=>Math.round(t*10)/10;function sC(t,e,n,r){const s=nl(t),i=Ps(s,"margin"),a=tl(s.maxWidth,t,"clientWidth")||qa,l=tl(s.maxHeight,t,"clientHeight")||qa,c=rC(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ps(s,"border","width"),m=Ps(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=rl(Math.min(d,a,c.maxWidth)),u=rl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=rl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=rl(Math.floor(u*r))),{width:d,height:u}}function v2(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 iC=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};ku()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function S2(t,e){const n=Jk(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 oC(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 aC(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 lC=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}}},cC=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function xu(t,e,n){return t?lC(e,n):cC()}function dC(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 uC(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function T2(t){return t==="angle"?{between:s2,compare:ik,normalize:nn}:{between:i2,compare:(e,n)=>e-n,normalize:e=>e}}function O2({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 hC(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=T2(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 D2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=T2(r),{start:u,end:h,loop:f,style:m}=hC(t,e,n),g=[];let p=!1,_=null,y,C,b;const S=()=>c(s,b,y)&&l(s,b)!==0,M=()=>l(i,y)===0||c(i,b,y),T=()=>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!==b&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?D:E),_!==null&&v()&&(g.push(O2({start:_,end:D,loop:f,count:a,style:m})),_=null),E=D,b=y));return _!==null&&g.push(O2({start:_,end:h,loop:f,count:a,style:m})),g}function E2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=D2(r[s],t.points,e);i.length&&n.push(...i)}return n}function fC(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 mC(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 pC(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=fC(n,s,i,r);if(r===!0)return $2(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 $2(t,mC(n,a,c,d),n,e)}function $2(t,e,n,r){return!r||!r.setContext||!n?e:gC(t,e,n,r)}function gC(t,e,n,r){const s=t._chart.getContext(),i=P2(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];_=P2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),_C(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function P2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function _C(t,e){if(!e)return!1;const n=[],r=function(s,i){return cu(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 wC{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=l2.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 wC;const L2="transparent",bC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=f2(t||L2),s=r.valid&&f2(e||L2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class kC{constructor(e,n,r,s){const i=n[r];s=Ja([e.to,s,i,e.from]);const a=Ja([e.from,i,s]);this._active=!0,this._fn=e.fn||bC[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=Ja([e.to,n,s,e.from]),this._from=Ja([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 N2{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=xC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&CC(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 kC(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 CC(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 xC(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 V2(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 MC(t,e,n){if(n===!1)return!1;const r=V2(t,n),s=V2(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function vC(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 B2(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 A2(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 SC(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 R2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function TC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function OC(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 DC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function F2(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 I2(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=TC(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]=DC(s,u,p),f[l]=_,f._top=F2(f,a,!0,r.type),f._bottom=F2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Mu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function EC(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function $C(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 vu=t=>t==="reset"||t==="none",z2=(t,e)=>e?t:Object.assign({},t),PC=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:B2(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=R2(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=Ae(r.xAxisID,Mu(e,"x")),a=n.yAxisID=Ae(r.yAxisID,Mu(e,"y")),l=n.rAxisID=Ae(r.rAxisID,Mu(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&&a2(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=SC(n);else if(r!==n){if(r){a2(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&dk(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=R2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&I2(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&&I2(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:B2(s,!0),values:n._stacks[e.axis]._visualValues};return A2(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=A2(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=PC(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=OC(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=vC(Ae(this.options.clip,MC(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=$C(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=EC(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&&Ua(r);if(l)return z2(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(z2(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 N2(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||vu(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){vu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!vu(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 sl 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}=mk(n,s,a);this._drawStart=l,this._drawCount=c,pk(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,b=e.length;let S=n>0&&this.getParsed(n-1);for(let M=0;M<b;++M){const T=e[M],v=y?T:{};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,T.active?"active":s)),y||this.updateElement(T,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(sl,"id","line"),W(sl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(sl,"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 Su{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Su.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 LC={_date:Su};function NC(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?lk: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}=NC(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function VC(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 Tu(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 BC(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=ik(a,{x:e.x,y:e.y});s2(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Do(t,n,e,i),s}function AC(t,e,n,r,s,i){let a=[];const l=VC(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 Ou(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?BC(t,e,n,s):AC(t,e,n,r,s,i)}function H2(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 RC={evaluateInteractionItems:Do,modes:{index(t,e,n,r){const s=Ls(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Tu(t,s,i,r,a):Ou(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=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Tu(t,s,i,r,a):Ou(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=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Tu(t,s,i,r,a)},nearest(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ou(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Ls(e,t);return H2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Ls(e,t);return H2(t,s,"y",n.intersect,r)}}};const Y2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function W2(t,e){return t.filter(n=>Y2.indexOf(n.pos)===-1&&n.box.axis===e)}function $o(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 FC(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 IC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!Y2.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 zC(t,e){const n=IC(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 HC(t){const e=FC(t),n=$o(e.filter(d=>d.box.fullSize),!0),r=$o(Eo(e,"left"),!0),s=$o(Eo(e,"right")),i=$o(Eo(e,"top"),!0),a=$o(Eo(e,"bottom")),l=W2(e,"x"),c=W2(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 j2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Z2(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 YC(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&&Z2(a,i.getPadding());const l=Math.max(0,e.outerWidth-j2(a,t,"left","right")),c=Math.max(0,e.outerHeight-j2(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 WC(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 jC(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 Po(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,jC(l.horizontal,e));const{same:h,other:f}=YC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Po(s,e,n,r)||u}function il(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 U2(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;Ua(d.start)&&(a=d.start),c.fullSize?il(c,s.left,a,n.outerWidth-s.right-s.left,f):il(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;Ua(d.start)&&(i=d.start),c.fullSize?il(c,i,s.top,f,n.outerHeight-s.bottom-s.top):il(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var ol={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=gn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=HC(t.boxes),c=l.vertical,d=l.horizontal;Re(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);Z2(f,gn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=zC(c.concat(d),h);Po(l.fullSize,m,h,g),Po(c,m,h,g),Po(d,m,h,g)&&Po(c,m,h,g),WC(m),U2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,U2(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},Re(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class q2{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 ZC extends q2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const al="$chartjs",UC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},G2=t=>t===null||t==="";function qC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[al]={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",G2(s)){const i=S2(t,"width");i!==void 0&&(t.width=i)}if(G2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=S2(t,"height");i!==void 0&&(t.height=i)}return t}const K2=oC?{passive:!0}:!1;function GC(t,e,n){t&&t.addEventListener(e,n,K2)}function KC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,K2)}function XC(t,e){const n=UC[t.type]||t.type,{x:r,y:s}=Ls(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function ll(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function QC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.addedNodes,r),a=a&&!ll(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function JC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.removedNodes,r),a=a&&!ll(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Lo=new Map;let X2=0;function Q2(){const t=window.devicePixelRatio;t!==X2&&(X2=t,Lo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function ex(t,e){Lo.size||window.addEventListener("resize",Q2),Lo.set(t,e)}function tx(t){Lo.delete(t),Lo.size||window.removeEventListener("resize",Q2)}function nx(t,e,n){const r=t.canvas,s=r&&Cu(r);if(!s)return;const i=c2((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),ex(t,i),a}function Du(t,e,n){n&&n.disconnect(),e==="resize"&&tx(t)}function rx(t,e,n){const r=t.canvas,s=c2(i=>{t.ctx!==null&&n(XC(i,t))},t);return GC(r,e,s),s}class sx extends q2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(qC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[al])return!1;const r=n[al].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[al],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:QC,detach:JC,resize:nx}[n]||rx;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Du,detach:Du,resize:Du}[n]||KC)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return iC(e,n,r,s)}isAttached(e){const n=Cu(e);return!!(n&&n.isConnected)}}function ix(t){return!ku()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?ZC:sx}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 ox(t,e){const n=t.options.ticks,r=ax(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?cx(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return dx(e,d,i,a/s),d;const u=lx(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(cl(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)cl(e,d,u,i[h],i[h+1]);return cl(e,d,u,c,Ze(m)?e.length:c+m),d}return cl(e,d,u),d}function ax(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 lx(t,e,n){const r=ux(t),s=e.length/n;if(!r)return Math.max(s,1);const i=rk(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 cx(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function dx(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 cl(t,e,n,r,s){const i=Ae(r,0),a=Math.min(Ae(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 ux(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 hx=t=>t==="left"?"right":t==="right"?"left":t,J2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,em=(t,e)=>Math.min(e||t,t);function tm(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 fx(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 mx(t,e){Re(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 nm(t,e){if(!t.display)return 0;const n=rn(t.font,e),r=gn(t.padding);return(tt(t.text)?t.text.length:1)*n.lineHeight+r.height}function px(t,e){return Jr(t,{scale:e,type:"scale"})}function gx(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function _x(t,e,n){let r=fk(t);return(n&&e!=="right"||!n&&e==="right")&&(r=hx(r)),r}function yx(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=d2(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=J2(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=J2(t,n,e);g=d2(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=Ak(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?tm(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=ox(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=em(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=pn(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-nm(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=ou(Math.min(Math.asin(pn((u.highest.height+6)/l,-1,1)),Math.asin(pn(c/d,-1,1))-Math.asin(pn(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=nm(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=tm(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/em(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,b,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,b=S=0,!Ze(g)&&!tt(g))b=Xa(s,y.data,y.gc,b,g),S=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(b=Xa(s,y.data,y.gc,b,M),S+=C);a.push(b),l.push(S),d=Math.max(b,d),u=Math.max(S,u)}mx(i,n);const T=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(T),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 ak(this._alignToPixels?$s(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=gx(this.getContext(),e,r))}return this.$context||(this.$context=px(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 $s(r,x,p)};let C,b,S,M,T,v,D,E,I,j,$,F;if(a==="top")C=y(this.bottom),v=this.bottom-f,E=C-_,j=y(e.top)+_,F=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,F=y(e.bottom)-_,v=C+_,E=this.top+f;else if(a==="left")C=y(this.right),T=this.right-f,D=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=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,F=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))}T=C-_,D=T-f,I=e.left,$=e.right}const G=Ae(s.ticks.maxTicksLimit,h),O=Math.max(1,Math.ceil(h/G));for(b=0;b<h;b+=O){const x=this.getContext(b),N=i.setContext(x),Z=l.setContext(x),ee=N.lineWidth,U=N.color,P=Z.dash||[],V=Z.dashOffset,k=N.tickWidth,w=N.tickColor,B=N.tickBorderDash||[],z=N.tickBorderDashOffset;S=fx(this,b,c),S!==void 0&&(M=$s(r,S,ee),d?T=D=I=$=M:v=E=j=F=M,m.push({tx1:T,ty1:v,tx2:D,ty2:E,x1:I,y1:j,x2:$,y2:F,width:ee,color:U,borderDash:P,borderDashOffset:V,tickWidth:k,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,b,S,M,T,v,D,E,I,j,$,F="middle";if(s==="top")T=this.bottom-g,v=this._getXAxisLabelAlignment();else if(s==="bottom")T=this.top+g,v=this._getXAxisLabelAlignment();else if(s==="left"){const O=this._getYAxisLabelAlignment(f);v=O.textAlign,M=O.x}else if(s==="right"){const O=this._getYAxisLabelAlignment(f);v=O.textAlign,M=O.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(ve(s)){const O=Object.keys(s)[0],x=s[O];T=this.chart.scales[O].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 O=Object.keys(s)[0],x=s[O];M=this.chart.scales[O].getPixelForValue(x)}v=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?F="top":c==="end"&&(F="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){b=l[y],S=b.label;const O=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=O.color,Z=O.textStrokeColor,ee=O.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?$=-j*I+I/2:d==="center"?$=-G.highest.height/2-x*I+I:$=-G.highest.height+I/2:d==="near"||p!==0?$=I/2:d==="center"?$=G.highest.height/2-x*I:$=G.highest.height-j*I,h&&($*=-1),p!==0&&!O.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=D,$=(1-j)*I/2);let P;if(O.showLabelBackdrop){const V=gn(O.backdropPadding),k=G.heights[y],w=G.widths[y];let B=$-V.top,z=0-V.left;switch(F){case"middle":B-=k/2;break;case"bottom":B-=k;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}P={left:z,top:B,width:w+V.width,height:k+V.height,color:O.backdropColor}}_.push({label:S,font:E,textOffset:$,options:{rotation:p,color:N,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:F,translation:[M,T],backdrop:P}})}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=$s(e,this.left,a)-a/2,u=$s(e,this.right,l)+l/2,h=f=c):(h=$s(e,this.top,a)-a/2,f=$s(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&&pu(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;Qa(r,d,0,u,c,l)}s&&gu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=rn(r.font),a=gn(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}=yx(this,c,n,l);Qa(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:_x(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=Ae(e.grid&&e.grid.z,-1),s=Ae(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 dl{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;kx(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,wx(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 wx(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&bx(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function bx(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 kx(t){return"id"in t&&"defaults"in t}class Cx{constructor(){this.controllers=new dl(Oo,"datasets",!0),this.elements=new dl(Bs,"elements"),this.plugins=new dl(Object,"plugins"),this.scales=new dl(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):Re(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=iu(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 Cx;class xx{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=Ae(r.options&&r.options.plugins,{}),i=Mx(r);return s===!1&&!n?[]:Sx(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 Mx(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 vx(t,e){return!e&&t===!1?null:t===!0?{}:t}function Sx(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=vx(r[c],s);d!==null&&i.push({plugin:l,options:Tx(t.config,{plugin:l,local:n[c]},d,a)})}return i}function Tx(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 Eu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Ox(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Dx(t,e){return t===e?"_index_":"_value_"}function rm(t){if(t==="x"||t==="y"||t==="r")return t}function Ex(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function $u(t,...e){if(rm(t))return t;for(const n of e){const r=n.axis||Ex(n.position)||t.length>1&&rm(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function sm(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function $x(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 sm(t,"x",n[0])||sm(t,"y",n[0])}return{}}function Px(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Eu(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=$u(a,l,$x(a,t),mt.scales[l.type]),d=Dx(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||Eu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=Ox(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 im(t){const e=t.options||(t.options={});e.plugins=Ae(e.plugins,{}),e.scales=Px(t,e)}function om(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Lx(t){return t=t||{},t.data=om(t.data),im(t),t}const am=new Map,lm=new Set;function ul(t,e){let n=am.get(t);return n||(n=e(),am.set(t,n),lm.add(n)),n}const Vo=(t,e,n)=>{const r=Za(e,n);r!==void 0&&t.add(r)};class Nx{constructor(e){this._config=Lx(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=om(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(),im(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ul(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ul(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ul(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ul(`${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,hu,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),lm.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,hu]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=cm(this._resolverCache,e,s);let c=a;if(Bx(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}=cm(this._resolverCache,e,r);return ve(n)?bi(i,n,void 0,s):i}}function cm(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:yu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const Vx=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function Bx(t,e){const{isScriptable:n,isIndexable:r}=y2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||Vx(l))||a&&tt(l))return!0}return!1}var Ax="4.4.2";const Rx=["top","bottom","left","right","chartArea"];function dm(t,e){return t==="top"||t==="bottom"||Rx.indexOf(t)===-1&&e==="x"}function um(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function hm(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function Fx(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function fm(t){return ku()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const hl={},mm=t=>{const e=fm(t);return Object.values(hl).filter(n=>n.canvas===e).pop()};function Ix(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 zx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function fl(t,e,n){return t.options.clip?t[n]:e[n]}function Hx(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:fl(n,e,"left"),right:fl(n,e,"right"),top:fl(r,e,"top"),bottom:fl(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),pm()}static unregister(...e){Xn.remove(...e),pm()}constructor(e,n){const r=this.config=new Nx(n),s=fm(e),i=mm(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||ix(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=qb(),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 xx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=hk(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],hl[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",hm),gr.listen(this,"progress",Fx),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():v2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return g2(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,v2(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||{};Re(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=$u(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Re(i,a=>{const l=a.options,c=l.id,d=$u(c,l),u=Ae(l.type,a.dtype);(l.position===void 0||dm(l.position,d)!==dm(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)}),Re(s,(a,l)=>{a||delete r[l]}),Re(r,a=>{ol.configure(this,a,a.options),ol.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(um("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||Eu(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(){Re(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||Re(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(um("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Re(this.scales,e=>{ol.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!J0(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;Ix(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(!J0(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;ol.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Re(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(),hm({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=Hx(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&pu(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&&gu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=RC.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);Ua(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(),g2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete hl[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)};Re(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(){Re(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Re(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}});!Wa(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=ek(e),d=zx(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=!Wa(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",hl),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",Ax),W(ls,"getChart",mm),ls);function pm(){return Re(Bo.instances,t=>t._plugins.invalidate())}function gm(t,e,n=e){t.lineCap=Ae(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Ae(n.borderDash,e.borderDash)),t.lineDashOffset=Ae(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Ae(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Ae(n.borderWidth,e.borderWidth),t.strokeStyle=Ae(n.borderColor,e.borderColor)}function Yx(t,e,n){t.lineTo(n.x,n.y)}function Wx(t){return t.stepped?Tk:t.tension||t.cubicInterpolationMode==="monotone"?Ok:Yx}function _m(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 jx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=_m(s,n,r),u=Wx(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 Zx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=_m(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,b=()=>{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,T=S|0;T===g?(M<p?p=M:M>_&&(_=M),u=(h*u+S)/++h):(b(),t.lineTo(S,M),g=T,h=0,p=_=M),y=M}b()}function Pu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Zx:jx}function Ux(t){return t.stepped?aC:t.tension||t.cubicInterpolationMode==="monotone"?lC:Ns}function qx(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),gm(t,e.options),t.stroke(s)}function Gx(t,e,n,r){const{segments:s,options:i}=e,a=Pu(e);for(const l of s)gm(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const Kx=typeof Path2D=="function";function Xx(t,e,n,r){Kx&&!e.options.segment?qx(t,e,n,r):Gx(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;Jk(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=gC(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=E2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Ux(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 Pu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Pu(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(),Xx(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 ym(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 ym(this,n,"x",r)}inYRange(n,r){return ym(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,mu(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 Qx(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=Nu(c,d,s);const u=Lu(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=E2(e,u);for(const f of h){const m=Lu(n,i[f.start],i[f.end],f.loop),g=D2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:wm(u,m,"start",Math.max)},end:{[n]:wm(u,m,"end",Math.min)}})}}return a}function Lu(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 Jx(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Nu(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 Nu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function wm(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function bm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=Jx(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function km(t){return t&&t.fill!==!1}function eM(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 tM(t,e,n){const r=iM(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?nM(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function nM(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function rM(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 sM(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 iM(t){const e=t.options,n=e.fill;let r=Ae(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function oM(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=aM(e,n);l.push(bm({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++)lM(s,a[u],l)}return new _r({points:s,options:{}})}function aM(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 lM(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=cM(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function cM(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(i2(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class Cm{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 dM(t){const{chart:e,fill:n,line:r}=t;if(it(n))return uM(e,n);if(n==="stack")return oM(t);if(n==="shape")return!0;const s=hM(t);return s instanceof Cm?s:bm(s,r)}function uM(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function hM(t){return(t.scale||{}).getPointPositionForValue?mM(t):fM(t)}function fM(t){const{scale:e={},fill:n}=t,r=rM(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function mM(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=sM(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new Cm({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 Vu(t,e,n){const r=dM(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&&(pu(t,n),pM(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),gu(t))}function pM(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&&(xm(t,r,a.top),Mm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),xm(t,r,a.bottom)),Mm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function xm(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[Nu(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 Mm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=Qx(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,gM(t,a,m&&Lu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():vm(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||vm(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function gM(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 vm(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var Sm={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:tM(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=eM(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&&Vu(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;km(i)&&Vu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!km(r)||n.drawTime!=="beforeDatasetDraw"||Vu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ro={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=au(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 yC{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=l2.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 yC;const L2="transparent",wC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=f2(t||L2),s=r.valid&&f2(e||L2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class bC{constructor(e,n,r,s){const i=n[r];s=Ja([e.to,s,i,e.from]);const a=Ja([e.from,i,s]);this._active=!0,this._fn=e.fn||wC[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=Ja([e.to,n,s,e.from]),this._from=Ja([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 N2{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=CC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&kC(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 bC(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 kC(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 CC(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 V2(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 xC(t,e,n){if(n===!1)return!1;const r=V2(t,n),s=V2(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function MC(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 B2(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 A2(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 vC(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 R2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function SC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function TC(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 OC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function F2(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 I2(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=SC(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]=OC(s,u,p),f[l]=_,f._top=F2(f,a,!0,r.type),f._bottom=F2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Mu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function DC(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function EC(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 vu=t=>t==="reset"||t==="none",z2=(t,e)=>e?t:Object.assign({},t),$C=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:B2(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=R2(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=Ae(r.xAxisID,Mu(e,"x")),a=n.yAxisID=Ae(r.yAxisID,Mu(e,"y")),l=n.rAxisID=Ae(r.rAxisID,Mu(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&&a2(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=vC(n);else if(r!==n){if(r){a2(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&ck(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=R2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&I2(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&&I2(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:B2(s,!0),values:n._stacks[e.axis]._visualValues};return A2(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=A2(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=$C(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=TC(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=MC(Ae(this.options.clip,xC(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=EC(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=DC(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&&Ua(r);if(l)return z2(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(z2(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 N2(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||vu(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){vu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!vu(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 sl 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}=fk(n,s,a);this._drawStart=l,this._drawCount=c,mk(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,b=e.length;let S=n>0&&this.getParsed(n-1);for(let M=0;M<b;++M){const T=e[M],v=y?T:{};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,T.active?"active":s)),y||this.updateElement(T,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(sl,"id","line"),W(sl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(sl,"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 Su{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Su.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 PC={_date:Su};function LC(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?ak: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}=LC(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function NC(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 Tu(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 VC(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=sk(a,{x:e.x,y:e.y});s2(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Do(t,n,e,i),s}function BC(t,e,n,r,s,i){let a=[];const l=NC(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 Ou(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?VC(t,e,n,s):BC(t,e,n,r,s,i)}function H2(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 AC={evaluateInteractionItems:Do,modes:{index(t,e,n,r){const s=Ls(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Tu(t,s,i,r,a):Ou(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=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Tu(t,s,i,r,a):Ou(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=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Tu(t,s,i,r,a)},nearest(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Ou(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Ls(e,t);return H2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Ls(e,t);return H2(t,s,"y",n.intersect,r)}}};const Y2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function W2(t,e){return t.filter(n=>Y2.indexOf(n.pos)===-1&&n.box.axis===e)}function $o(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 RC(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 FC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!Y2.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 IC(t,e){const n=FC(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 zC(t){const e=RC(t),n=$o(e.filter(d=>d.box.fullSize),!0),r=$o(Eo(e,"left"),!0),s=$o(Eo(e,"right")),i=$o(Eo(e,"top"),!0),a=$o(Eo(e,"bottom")),l=W2(e,"x"),c=W2(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 j2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Z2(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 HC(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&&Z2(a,i.getPadding());const l=Math.max(0,e.outerWidth-j2(a,t,"left","right")),c=Math.max(0,e.outerHeight-j2(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 YC(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 WC(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 Po(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,WC(l.horizontal,e));const{same:h,other:f}=HC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Po(s,e,n,r)||u}function il(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 U2(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;Ua(d.start)&&(a=d.start),c.fullSize?il(c,s.left,a,n.outerWidth-s.right-s.left,f):il(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;Ua(d.start)&&(i=d.start),c.fullSize?il(c,i,s.top,f,n.outerHeight-s.bottom-s.top):il(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var ol={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=gn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=zC(t.boxes),c=l.vertical,d=l.horizontal;Re(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);Z2(f,gn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=IC(c.concat(d),h);Po(l.fullSize,m,h,g),Po(c,m,h,g),Po(d,m,h,g)&&Po(c,m,h,g),YC(m),U2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,U2(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},Re(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class q2{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 jC extends q2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const al="$chartjs",ZC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},G2=t=>t===null||t==="";function UC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[al]={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",G2(s)){const i=S2(t,"width");i!==void 0&&(t.width=i)}if(G2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=S2(t,"height");i!==void 0&&(t.height=i)}return t}const K2=iC?{passive:!0}:!1;function qC(t,e,n){t&&t.addEventListener(e,n,K2)}function GC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,K2)}function KC(t,e){const n=ZC[t.type]||t.type,{x:r,y:s}=Ls(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function ll(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function XC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.addedNodes,r),a=a&&!ll(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function QC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.removedNodes,r),a=a&&!ll(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Lo=new Map;let X2=0;function Q2(){const t=window.devicePixelRatio;t!==X2&&(X2=t,Lo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function JC(t,e){Lo.size||window.addEventListener("resize",Q2),Lo.set(t,e)}function ex(t){Lo.delete(t),Lo.size||window.removeEventListener("resize",Q2)}function tx(t,e,n){const r=t.canvas,s=r&&Cu(r);if(!s)return;const i=c2((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),JC(t,i),a}function Du(t,e,n){n&&n.disconnect(),e==="resize"&&ex(t)}function nx(t,e,n){const r=t.canvas,s=c2(i=>{t.ctx!==null&&n(KC(i,t))},t);return qC(r,e,s),s}class rx extends q2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(UC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[al])return!1;const r=n[al].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[al],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:XC,detach:QC,resize:tx}[n]||nx;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Du,detach:Du,resize:Du}[n]||GC)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return sC(e,n,r,s)}isAttached(e){const n=Cu(e);return!!(n&&n.isConnected)}}function sx(t){return!ku()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?jC:rx}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 ix(t,e){const n=t.options.ticks,r=ox(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?lx(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return cx(e,d,i,a/s),d;const u=ax(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(cl(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)cl(e,d,u,i[h],i[h+1]);return cl(e,d,u,c,Ze(m)?e.length:c+m),d}return cl(e,d,u),d}function ox(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 ax(t,e,n){const r=dx(t),s=e.length/n;if(!r)return Math.max(s,1);const i=nk(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 lx(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function cx(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 cl(t,e,n,r,s){const i=Ae(r,0),a=Math.min(Ae(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 dx(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 ux=t=>t==="left"?"right":t==="right"?"left":t,J2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,em=(t,e)=>Math.min(e||t,t);function tm(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 hx(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 fx(t,e){Re(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 nm(t,e){if(!t.display)return 0;const n=rn(t.font,e),r=gn(t.padding);return(tt(t.text)?t.text.length:1)*n.lineHeight+r.height}function mx(t,e){return Jr(t,{scale:e,type:"scale"})}function px(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function gx(t,e,n){let r=hk(t);return(n&&e!=="right"||!n&&e==="right")&&(r=ux(r)),r}function _x(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=d2(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=J2(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=J2(t,n,e);g=d2(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=Bk(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?tm(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=ix(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=em(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=pn(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-nm(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=ou(Math.min(Math.asin(pn((u.highest.height+6)/l,-1,1)),Math.asin(pn(c/d,-1,1))-Math.asin(pn(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=nm(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=tm(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/em(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,b,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,b=S=0,!Ze(g)&&!tt(g))b=Xa(s,y.data,y.gc,b,g),S=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(b=Xa(s,y.data,y.gc,b,M),S+=C);a.push(b),l.push(S),d=Math.max(b,d),u=Math.max(S,u)}fx(i,n);const T=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(T),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 ok(this._alignToPixels?$s(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=px(this.getContext(),e,r))}return this.$context||(this.$context=mx(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 $s(r,x,p)};let C,b,S,M,T,v,D,E,I,j,$,F;if(a==="top")C=y(this.bottom),v=this.bottom-f,E=C-_,j=y(e.top)+_,F=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,F=y(e.bottom)-_,v=C+_,E=this.top+f;else if(a==="left")C=y(this.right),T=this.right-f,D=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=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,F=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))}T=C-_,D=T-f,I=e.left,$=e.right}const G=Ae(s.ticks.maxTicksLimit,h),O=Math.max(1,Math.ceil(h/G));for(b=0;b<h;b+=O){const x=this.getContext(b),N=i.setContext(x),Z=l.setContext(x),ee=N.lineWidth,U=N.color,P=Z.dash||[],V=Z.dashOffset,k=N.tickWidth,w=N.tickColor,B=N.tickBorderDash||[],z=N.tickBorderDashOffset;S=hx(this,b,c),S!==void 0&&(M=$s(r,S,ee),d?T=D=I=$=M:v=E=j=F=M,m.push({tx1:T,ty1:v,tx2:D,ty2:E,x1:I,y1:j,x2:$,y2:F,width:ee,color:U,borderDash:P,borderDashOffset:V,tickWidth:k,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,b,S,M,T,v,D,E,I,j,$,F="middle";if(s==="top")T=this.bottom-g,v=this._getXAxisLabelAlignment();else if(s==="bottom")T=this.top+g,v=this._getXAxisLabelAlignment();else if(s==="left"){const O=this._getYAxisLabelAlignment(f);v=O.textAlign,M=O.x}else if(s==="right"){const O=this._getYAxisLabelAlignment(f);v=O.textAlign,M=O.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(ve(s)){const O=Object.keys(s)[0],x=s[O];T=this.chart.scales[O].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 O=Object.keys(s)[0],x=s[O];M=this.chart.scales[O].getPixelForValue(x)}v=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?F="top":c==="end"&&(F="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){b=l[y],S=b.label;const O=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=O.color,Z=O.textStrokeColor,ee=O.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?$=-j*I+I/2:d==="center"?$=-G.highest.height/2-x*I+I:$=-G.highest.height+I/2:d==="near"||p!==0?$=I/2:d==="center"?$=G.highest.height/2-x*I:$=G.highest.height-j*I,h&&($*=-1),p!==0&&!O.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=D,$=(1-j)*I/2);let P;if(O.showLabelBackdrop){const V=gn(O.backdropPadding),k=G.heights[y],w=G.widths[y];let B=$-V.top,z=0-V.left;switch(F){case"middle":B-=k/2;break;case"bottom":B-=k;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}P={left:z,top:B,width:w+V.width,height:k+V.height,color:O.backdropColor}}_.push({label:S,font:E,textOffset:$,options:{rotation:p,color:N,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:F,translation:[M,T],backdrop:P}})}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=$s(e,this.left,a)-a/2,u=$s(e,this.right,l)+l/2,h=f=c):(h=$s(e,this.top,a)-a/2,f=$s(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&&pu(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;Qa(r,d,0,u,c,l)}s&&gu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=rn(r.font),a=gn(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}=_x(this,c,n,l);Qa(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:gx(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=Ae(e.grid&&e.grid.z,-1),s=Ae(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 dl{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;bx(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,yx(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 yx(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&wx(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function wx(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 bx(t){return"id"in t&&"defaults"in t}class kx{constructor(){this.controllers=new dl(Oo,"datasets",!0),this.elements=new dl(Bs,"elements"),this.plugins=new dl(Object,"plugins"),this.scales=new dl(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):Re(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=iu(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 kx;class Cx{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=Ae(r.options&&r.options.plugins,{}),i=xx(r);return s===!1&&!n?[]:vx(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 xx(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 Mx(t,e){return!e&&t===!1?null:t===!0?{}:t}function vx(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=Mx(r[c],s);d!==null&&i.push({plugin:l,options:Sx(t.config,{plugin:l,local:n[c]},d,a)})}return i}function Sx(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 Eu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Tx(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Ox(t,e){return t===e?"_index_":"_value_"}function rm(t){if(t==="x"||t==="y"||t==="r")return t}function Dx(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function $u(t,...e){if(rm(t))return t;for(const n of e){const r=n.axis||Dx(n.position)||t.length>1&&rm(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function sm(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function Ex(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 sm(t,"x",n[0])||sm(t,"y",n[0])}return{}}function $x(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Eu(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=$u(a,l,Ex(a,t),mt.scales[l.type]),d=Ox(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||Eu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=Tx(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 im(t){const e=t.options||(t.options={});e.plugins=Ae(e.plugins,{}),e.scales=$x(t,e)}function om(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Px(t){return t=t||{},t.data=om(t.data),im(t),t}const am=new Map,lm=new Set;function ul(t,e){let n=am.get(t);return n||(n=e(),am.set(t,n),lm.add(n)),n}const Vo=(t,e,n)=>{const r=Za(e,n);r!==void 0&&t.add(r)};class Lx{constructor(e){this._config=Px(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=om(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(),im(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ul(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ul(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ul(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ul(`${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,hu,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),lm.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,hu]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=cm(this._resolverCache,e,s);let c=a;if(Vx(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}=cm(this._resolverCache,e,r);return ve(n)?bi(i,n,void 0,s):i}}function cm(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:yu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const Nx=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function Vx(t,e){const{isScriptable:n,isIndexable:r}=y2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||Nx(l))||a&&tt(l))return!0}return!1}var Bx="4.4.2";const Ax=["top","bottom","left","right","chartArea"];function dm(t,e){return t==="top"||t==="bottom"||Ax.indexOf(t)===-1&&e==="x"}function um(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function hm(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function Rx(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function fm(t){return ku()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const hl={},mm=t=>{const e=fm(t);return Object.values(hl).filter(n=>n.canvas===e).pop()};function Fx(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 Ix(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function fl(t,e,n){return t.options.clip?t[n]:e[n]}function zx(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:fl(n,e,"left"),right:fl(n,e,"right"),top:fl(r,e,"top"),bottom:fl(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),pm()}static unregister(...e){Xn.remove(...e),pm()}constructor(e,n){const r=this.config=new Lx(n),s=fm(e),i=mm(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||sx(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=Ub(),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 Cx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=uk(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],hl[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",hm),gr.listen(this,"progress",Rx),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():v2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return g2(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,v2(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||{};Re(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=$u(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Re(i,a=>{const l=a.options,c=l.id,d=$u(c,l),u=Ae(l.type,a.dtype);(l.position===void 0||dm(l.position,d)!==dm(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)}),Re(s,(a,l)=>{a||delete r[l]}),Re(r,a=>{ol.configure(this,a,a.options),ol.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(um("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||Eu(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(){Re(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||Re(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(um("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Re(this.scales,e=>{ol.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!J0(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;Fx(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(!J0(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;ol.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Re(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(),hm({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=zx(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&pu(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&&gu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=AC.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);Ua(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(),g2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete hl[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)};Re(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(){Re(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Re(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}});!Wa(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=Jb(e),d=Ix(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=!Wa(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",hl),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",Bx),W(ls,"getChart",mm),ls);function pm(){return Re(Bo.instances,t=>t._plugins.invalidate())}function gm(t,e,n=e){t.lineCap=Ae(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Ae(n.borderDash,e.borderDash)),t.lineDashOffset=Ae(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Ae(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Ae(n.borderWidth,e.borderWidth),t.strokeStyle=Ae(n.borderColor,e.borderColor)}function Hx(t,e,n){t.lineTo(n.x,n.y)}function Yx(t){return t.stepped?Sk:t.tension||t.cubicInterpolationMode==="monotone"?Tk:Hx}function _m(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 Wx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=_m(s,n,r),u=Yx(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 jx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=_m(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,b=()=>{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,T=S|0;T===g?(M<p?p=M:M>_&&(_=M),u=(h*u+S)/++h):(b(),t.lineTo(S,M),g=T,h=0,p=_=M),y=M}b()}function Pu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?jx:Wx}function Zx(t){return t.stepped?oC:t.tension||t.cubicInterpolationMode==="monotone"?aC:Ns}function Ux(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),gm(t,e.options),t.stroke(s)}function qx(t,e,n,r){const{segments:s,options:i}=e,a=Pu(e);for(const l of s)gm(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const Gx=typeof Path2D=="function";function Kx(t,e,n,r){Gx&&!e.options.segment?Ux(t,e,n,r):qx(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;Qk(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=pC(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=E2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Zx(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 Pu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Pu(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(),Kx(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 ym(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 ym(this,n,"x",r)}inYRange(n,r){return ym(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,mu(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 Xx(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=Nu(c,d,s);const u=Lu(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=E2(e,u);for(const f of h){const m=Lu(n,i[f.start],i[f.end],f.loop),g=D2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:wm(u,m,"start",Math.max)},end:{[n]:wm(u,m,"end",Math.min)}})}}return a}function Lu(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 Qx(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Nu(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 Nu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function wm(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function bm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=Qx(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function km(t){return t&&t.fill!==!1}function Jx(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 eM(t,e,n){const r=sM(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?tM(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function tM(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function nM(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 rM(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 sM(t){const e=t.options,n=e.fill;let r=Ae(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function iM(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=oM(e,n);l.push(bm({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++)aM(s,a[u],l)}return new _r({points:s,options:{}})}function oM(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 aM(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=lM(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function lM(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(i2(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class Cm{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 cM(t){const{chart:e,fill:n,line:r}=t;if(it(n))return dM(e,n);if(n==="stack")return iM(t);if(n==="shape")return!0;const s=uM(t);return s instanceof Cm?s:bm(s,r)}function dM(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function uM(t){return(t.scale||{}).getPointPositionForValue?fM(t):hM(t)}function hM(t){const{scale:e={},fill:n}=t,r=nM(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function fM(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=rM(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new Cm({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 Vu(t,e,n){const r=cM(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&&(pu(t,n),mM(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),gu(t))}function mM(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&&(xm(t,r,a.top),Mm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),xm(t,r,a.bottom)),Mm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function xm(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[Nu(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 Mm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=Xx(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,pM(t,a,m&&Lu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():vm(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||vm(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function pM(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 vm(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var Sm={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:eM(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=Jx(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&&Vu(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;km(i)&&Vu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!km(r)||n.drawTime!=="beforeDatasetDraw"||Vu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ro={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=au(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 _M(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 Tm(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=gn(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 b=function(S){_=Math.max(_,n.measureText(S).width+C)};return n.save(),n.font=d.string,Re(t.title,b),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),b),C=e.displayColors?a+2+e.boxPadding:0,Re(r,S=>{Re(S.before,b),Re(S.lines,b),Re(S.after,b)}),C=0,n.font=u.string,Re(t.footer,b),n.restore(),_+=g.width,{width:_,height:p}}function yM(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function wM(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 bM(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"),wM(d,t,e,n)&&(d="center"),d}function Om(t,e,n){const r=n.yAlign||e.yAlign||yM(t,n);return{xAlign:n.xAlign||e.xAlign||bM(t,e,n,r),yAlign:r}}function kM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function CM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function Dm(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=kM(e,l);const p=CM(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:pn(g,0,r.width-e.width),y:pn(p,0,r.height-e.height)}}function ml(t,e,n){const r=gn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function Em(t){return Qn([],yr(t))}function xM(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function $m(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Pm={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 Ht(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?Pm[e].call(n,r):s}class Bu 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 N2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=xM(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=Ht(r,"beforeTitle",this,e),i=Ht(r,"title",this,e),a=Ht(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 Em(Ht(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=$m(r,i);Qn(a.before,yr(Ht(l,"beforeLabel",this,i))),Qn(a.lines,Ht(l,"label",this,i)),Qn(a.after,yr(Ht(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return Em(Ht(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=Ht(r,"beforeFooter",this,e),i=Ht(r,"footer",this,e),a=Ht(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(_M(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))),Re(l,u=>{const h=$m(e.callbacks,u);s.push(Ht(h,"labelColor",this,u)),i.push(Ht(h,"labelPointStyle",this,u)),a.push(Ht(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=Ro[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=Tm(this,r),d=Object.assign({},l,c),u=Om(this.chart,r,d),h=Dm(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,b,S,M;return i==="center"?(S=m+p/2,s==="left"?(_=f,y=_-a,b=S+a,M=S-a):(_=f+g,y=_+a,b=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"?(b=m,S=b-a,_=y-a,C=y+a):(b=m+p,S=b+a,_=y+a,C=y-a),M=b),{x1:_,x2:y,x3:C,y1:b,y2:S,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=xu(r.rtl,this.x,this.width);for(e.x=ml(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=ml(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,mu(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,mu(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,_u(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),_u(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=xu(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,b,S,M,T,v;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=ml(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,S=0,T=s.length;S<T;++S){for(y=s[S],C=this.labelTextColors[S],n.fillStyle=C,Re(y.before,p),b=y.lines,l&&b.length&&(this._drawColorBox(n,e,S,g,r),f=Math.max(h.lineHeight,c)),M=0,v=b.length;M<v;++M)p(b[M]),f=h.lineHeight;Re(y.after,p)}m=0,f=h.lineHeight,Re(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=xu(r.rtl,this.x,this.width);for(e.x=ml(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=Ro[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=Tm(this,e),c=Object.assign({},a,this._size),d=Om(n,e,c),u=Dm(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=gn(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),uC(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),hC(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=!Wa(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||!Wa(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=Ro[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Bu,"positioners",Ro);var MM={id:"tooltip",_element:Bu,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Bu({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:Pm},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 vM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function SM(t,e,n,r){const s=t.indexOf(e);if(s===-1)return vM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const TM=(t,e)=>t===null?null:pn(Math.round(t),0,e);function Lm(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class pl 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:SM(r,e,Ae(n,e),this._addedLabels),TM(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 Lm.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(pl,"id","category"),W(pl,"defaults",{ticks:{callback:Lm}});function OM(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),b=!Ze(d),S=(_-p)/(h+1);let M=t2((_-p)/g/m)*m,T,v,D,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=t2(E*M/g/m)*m),Ze(c)||(T=Math.pow(10,c),M=Math.ceil(M*T)/T),s==="ticks"?(v=Math.floor(p/M)*M,D=Math.ceil(_/M)*M):(v=p,D=_),y&&C&&i&&sk((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,v=a,D=l):b?(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(r2(M),r2(v));T=Math.pow(10,Ze(c)?I:c),v=Math.round(v*T)/T,D=Math.round(D*T)/T;let j=0;for(y&&(f&&v!==a?(n.push({value:a}),v<a&&j++,Co(Math.round((v+j*M)*T)/T,a,Nm(a,S,t))&&j++):v<a&&j++);j<E;++j){const $=Math.round((v+j*M)*T)/T;if(C&&$>l)break;n.push({value:$})}return C&&f&&D!==l?n.length&&Co(n[n.length-1].value,l,Nm(l,S,t))?n[n.length-1].value=l:n.push({value:l}):(!C||D===l)&&n.push({value:D}),n}function Nm(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 gl 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=OM(s,i);return e.bounds==="ticks"&&n2(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 uu(e,this.chart.options.locale,this.options.ticks.format)}}class _l extends gl{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(_l,"id","linear"),W(_l,"defaults",{ticks:{callback:Ka.formatters.numeric}});const Fo=t=>Math.floor(Xr(t)),Rs=(t,e)=>Math.pow(10,Fo(t)+e);function Vm(t){return t/Math.pow(10,Fo(t))===1}function Bm(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function DM(t,e){const n=e-t;let r=Fo(n);for(;Bm(t,e,r)>10;)r++;for(;Bm(t,e,r)<10;)r--;return Math.min(r,Fo(t))}function EM(t,{min:e,max:n}){e=Jt(t.min,e);const r=[],s=Fo(e);let i=DM(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:Vm(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:Vm(m),significand:h}),r}class Am 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=gl.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===Rs(this.min,0)?Rs(this.min,-1):Rs(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(Rs(r,-1)),a(Rs(s,1)))),r<=0&&i(Rs(s,-1)),s<=0&&a(Rs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=EM(n,this);return e.bounds==="ticks"&&n2(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":uu(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(Am,"id","logarithmic"),W(Am,"defaults",{ticks:{callback:Ka.formatters.logarithmic,major:{enabled:!0}}});function Au(t){const e=t.ticks;if(e.display&&t.display){const n=gn(e.backdropPadding);return Ae(e.font&&e.font.size,mt.font.size)+n.height}return 0}function $M(t,e,n){return n=tt(n)?n:[n],{w:vk(t,e.string,n),h:n.length*e.lineHeight}}function Rm(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 PM(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=$M(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(ou(m)),p=Rm(g,u.x,f.w,0,180),_=Rm(g,u.y,f.h,90,270);LM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=BM(t,r,s)}function LM(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 NM(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(ou(nn(c.angle+tn))),u=FM(c.y,l.h,d),h=AM(d),f=RM(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 VM(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 BM(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Au(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=NM(t,u,c);r.push(h),l==="auto"&&(h.visible=VM(h,d),h.visible&&(d=h))}return r}function AM(t){return t===0||t===180?"center":t<180?"left":"right"}function RM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function FM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function IM(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=gn(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(),_u(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function zM(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));IM(n,a,i);const l=rn(a.font),{x:c,y:d,textAlign:u}=i;Qa(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Fm(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 HM(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(),Fm(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function YM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class yl extends gl{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=gn(Au(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/Au(this.options))}generateTickLabels(e){gl.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?PM(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 YM(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(),Fm(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&&zM(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);HM(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=gn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Qa(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(yl,"id","radialLinear"),W(yl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ka.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(yl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(yl,"descriptors",{angleLines:{_fallback:"grid"}});const wl={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(wl);function Im(t,e){return t-e}function zm(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 Hm(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=wl[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 WM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(wl[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function jM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(wl[Yt[e]].common)return Yt[e]}function Ym(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=lu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function ZM(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 Wm(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:ZM(t,r,s,n)}class bl 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 LC._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:zm(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=ck(s,i,a);return this._unit=n.unit||(r.autoSkip?Hm(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):WM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:jM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Wm(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=pn(n,0,a),r=pn(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||Hm(i.minUnit,n,r,this._getLabelCapacity(n)),l=Ae(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++)Ym(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Ym(u,f,g),Object.keys(u).sort(Im).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,Wm(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(zm(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return uk(e.sort(Im))}}W(bl,"id","time"),W(bl,"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 kl(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 jm extends bl{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=kl(n,this.min),this._tableRange=kl(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(kl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return kl(this._table,r*this._tableRange+this._minPos,!0)}}W(jm,"id","timeseries"),W(jm,"defaults",bl.defaults);const Zm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},UM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Zm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},qM=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 GM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function KM(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Um(t,e){t.labels=e}function qm(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 XM(t,e){const n={labels:[],datasets:[]};return Um(n,t.labels),qm(n,t.datasets,e),n}const QM=o.defineComponent({props:UM,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=XM(u,m),p=GM(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&&(KM(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),b=Ci(f.datasets),S=Ci(g.datasets);y!==C&&(Um(p.config.data,y),_=!0),b&&b!==S&&(qm(p.config.data,b,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 JM(t,e){return Bo.register(e),o.defineComponent({props:Zm,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(QM,qM({ref:a},{type:t,...n}))}})}const Gm=JM("line",sl),ev={class:"chart-container"},Ru={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},ticksCallback:{type:Function,default:t=>t},borderColor:{type:String,default:"#007AFF"},gradient:{type:Object,default:{height:450,startColor:"rgba(0, 122, 255, 0.1)",endColor:"rgba(0, 122, 255, 0)"}}},setup(t){Bo.register(pl,_l,Ao,_r,MM,Sm);const e=t;let n=o.reactive({isEmpty:!0});const r=u=>{const h=new Set,f=[];let m=[];switch(e.dataType){case"balanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Tt(p.balance,2))):[0,0];break;case"performanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Tt(p.pnl_to_deposit,2))):[0,0];break}f.push({data:m});const g=Array.from(h);return g.length===1?(g.push(...g),f.forEach(p=>{p.data.push(...p.data)}),n.isEmpty=!1):g.length===0?(n.isEmpty=!0,g.push(0,0)):n.isEmpty=!1,{labels:g,datasets:f}},s=o.computed(()=>r(e.data)),i=u=>{const f=u.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return f.addColorStop(0,e.gradient.startColor),f.addColorStop(1,e.gradient.endColor),f},a=(u,h)=>{let f=document.querySelector(`#${u}-${e.dataType}`);return f||(f=document.createElement("div"),f.classList.add(u),f.setAttribute("id",`${u}-${e.dataType}`),h.canvas.parentNode.appendChild(f)),f},l=u=>{if(!n.isEmpty){const{chart:h,tooltip:f}=u,m=a("chart-tooltip",h);if(f.opacity===0){m.style.opacity="0";return}if(f.body){const S=f.title||[],M=f.body.map(v=>v.lines),T=document.createElement("div");for(T.classList.add("chart-tooltip-middle"),T.innerHTML=`<div class="chart-tooltip-content">
34
+ `):t}function gM(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 Tm(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=gn(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 b=function(S){_=Math.max(_,n.measureText(S).width+C)};return n.save(),n.font=d.string,Re(t.title,b),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),b),C=e.displayColors?a+2+e.boxPadding:0,Re(r,S=>{Re(S.before,b),Re(S.lines,b),Re(S.after,b)}),C=0,n.font=u.string,Re(t.footer,b),n.restore(),_+=g.width,{width:_,height:p}}function _M(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function yM(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 wM(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"),yM(d,t,e,n)&&(d="center"),d}function Om(t,e,n){const r=n.yAlign||e.yAlign||_M(t,n);return{xAlign:n.xAlign||e.xAlign||wM(t,e,n,r),yAlign:r}}function bM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function kM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function Dm(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=bM(e,l);const p=kM(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:pn(g,0,r.width-e.width),y:pn(p,0,r.height-e.height)}}function ml(t,e,n){const r=gn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function Em(t){return Qn([],yr(t))}function CM(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function $m(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Pm={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 Ht(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?Pm[e].call(n,r):s}class Bu 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 N2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=CM(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=Ht(r,"beforeTitle",this,e),i=Ht(r,"title",this,e),a=Ht(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 Em(Ht(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=$m(r,i);Qn(a.before,yr(Ht(l,"beforeLabel",this,i))),Qn(a.lines,Ht(l,"label",this,i)),Qn(a.after,yr(Ht(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return Em(Ht(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=Ht(r,"beforeFooter",this,e),i=Ht(r,"footer",this,e),a=Ht(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(gM(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))),Re(l,u=>{const h=$m(e.callbacks,u);s.push(Ht(h,"labelColor",this,u)),i.push(Ht(h,"labelPointStyle",this,u)),a.push(Ht(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=Ro[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=Tm(this,r),d=Object.assign({},l,c),u=Om(this.chart,r,d),h=Dm(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,b,S,M;return i==="center"?(S=m+p/2,s==="left"?(_=f,y=_-a,b=S+a,M=S-a):(_=f+g,y=_+a,b=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"?(b=m,S=b-a,_=y-a,C=y+a):(b=m+p,S=b+a,_=y+a,C=y-a),M=b),{x1:_,x2:y,x3:C,y1:b,y2:S,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=xu(r.rtl,this.x,this.width);for(e.x=ml(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=ml(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,mu(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,mu(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,_u(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),_u(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=xu(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,b,S,M,T,v;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=ml(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,S=0,T=s.length;S<T;++S){for(y=s[S],C=this.labelTextColors[S],n.fillStyle=C,Re(y.before,p),b=y.lines,l&&b.length&&(this._drawColorBox(n,e,S,g,r),f=Math.max(h.lineHeight,c)),M=0,v=b.length;M<v;++M)p(b[M]),f=h.lineHeight;Re(y.after,p)}m=0,f=h.lineHeight,Re(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=xu(r.rtl,this.x,this.width);for(e.x=ml(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=Ro[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=Tm(this,e),c=Object.assign({},a,this._size),d=Om(n,e,c),u=Dm(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=gn(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),dC(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),uC(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=!Wa(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||!Wa(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=Ro[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Bu,"positioners",Ro);var xM={id:"tooltip",_element:Bu,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Bu({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:Pm},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 MM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function vM(t,e,n,r){const s=t.indexOf(e);if(s===-1)return MM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const SM=(t,e)=>t===null?null:pn(Math.round(t),0,e);function Lm(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class pl 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:vM(r,e,Ae(n,e),this._addedLabels),SM(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 Lm.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(pl,"id","category"),W(pl,"defaults",{ticks:{callback:Lm}});function TM(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),b=!Ze(d),S=(_-p)/(h+1);let M=t2((_-p)/g/m)*m,T,v,D,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=t2(E*M/g/m)*m),Ze(c)||(T=Math.pow(10,c),M=Math.ceil(M*T)/T),s==="ticks"?(v=Math.floor(p/M)*M,D=Math.ceil(_/M)*M):(v=p,D=_),y&&C&&i&&rk((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,v=a,D=l):b?(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(r2(M),r2(v));T=Math.pow(10,Ze(c)?I:c),v=Math.round(v*T)/T,D=Math.round(D*T)/T;let j=0;for(y&&(f&&v!==a?(n.push({value:a}),v<a&&j++,Co(Math.round((v+j*M)*T)/T,a,Nm(a,S,t))&&j++):v<a&&j++);j<E;++j){const $=Math.round((v+j*M)*T)/T;if(C&&$>l)break;n.push({value:$})}return C&&f&&D!==l?n.length&&Co(n[n.length-1].value,l,Nm(l,S,t))?n[n.length-1].value=l:n.push({value:l}):(!C||D===l)&&n.push({value:D}),n}function Nm(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 gl 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=TM(s,i);return e.bounds==="ticks"&&n2(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 uu(e,this.chart.options.locale,this.options.ticks.format)}}class _l extends gl{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(_l,"id","linear"),W(_l,"defaults",{ticks:{callback:Ka.formatters.numeric}});const Fo=t=>Math.floor(Xr(t)),Rs=(t,e)=>Math.pow(10,Fo(t)+e);function Vm(t){return t/Math.pow(10,Fo(t))===1}function Bm(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function OM(t,e){const n=e-t;let r=Fo(n);for(;Bm(t,e,r)>10;)r++;for(;Bm(t,e,r)<10;)r--;return Math.min(r,Fo(t))}function DM(t,{min:e,max:n}){e=Jt(t.min,e);const r=[],s=Fo(e);let i=OM(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:Vm(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:Vm(m),significand:h}),r}class Am 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=gl.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===Rs(this.min,0)?Rs(this.min,-1):Rs(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(Rs(r,-1)),a(Rs(s,1)))),r<=0&&i(Rs(s,-1)),s<=0&&a(Rs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=DM(n,this);return e.bounds==="ticks"&&n2(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":uu(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(Am,"id","logarithmic"),W(Am,"defaults",{ticks:{callback:Ka.formatters.logarithmic,major:{enabled:!0}}});function Au(t){const e=t.ticks;if(e.display&&t.display){const n=gn(e.backdropPadding);return Ae(e.font&&e.font.size,mt.font.size)+n.height}return 0}function EM(t,e,n){return n=tt(n)?n:[n],{w:Mk(t,e.string,n),h:n.length*e.lineHeight}}function Rm(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 $M(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=EM(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(ou(m)),p=Rm(g,u.x,f.w,0,180),_=Rm(g,u.y,f.h,90,270);PM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=VM(t,r,s)}function PM(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 LM(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(ou(nn(c.angle+tn))),u=RM(c.y,l.h,d),h=BM(d),f=AM(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 NM(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 VM(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Au(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=LM(t,u,c);r.push(h),l==="auto"&&(h.visible=NM(h,d),h.visible&&(d=h))}return r}function BM(t){return t===0||t===180?"center":t<180?"left":"right"}function AM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function RM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function FM(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=gn(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(),_u(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function IM(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));FM(n,a,i);const l=rn(a.font),{x:c,y:d,textAlign:u}=i;Qa(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Fm(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 zM(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(),Fm(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function HM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class yl extends gl{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=gn(Au(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/Au(this.options))}generateTickLabels(e){gl.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?$M(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 HM(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(),Fm(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&&IM(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);zM(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=gn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Qa(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(yl,"id","radialLinear"),W(yl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ka.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(yl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(yl,"descriptors",{angleLines:{_fallback:"grid"}});const wl={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(wl);function Im(t,e){return t-e}function zm(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 Hm(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=wl[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 YM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(wl[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function WM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(wl[Yt[e]].common)return Yt[e]}function Ym(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=lu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function jM(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 Wm(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:jM(t,r,s,n)}class bl 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 PC._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:zm(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=lk(s,i,a);return this._unit=n.unit||(r.autoSkip?Hm(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):YM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:WM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Wm(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=pn(n,0,a),r=pn(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||Hm(i.minUnit,n,r,this._getLabelCapacity(n)),l=Ae(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++)Ym(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Ym(u,f,g),Object.keys(u).sort(Im).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,Wm(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(zm(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return dk(e.sort(Im))}}W(bl,"id","time"),W(bl,"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 kl(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 jm extends bl{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=kl(n,this.min),this._tableRange=kl(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(kl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return kl(this._table,r*this._tableRange+this._minPos,!0)}}W(jm,"id","timeseries"),W(jm,"defaults",bl.defaults);const Zm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},ZM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Zm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},UM=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 qM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function GM(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Um(t,e){t.labels=e}function qm(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 KM(t,e){const n={labels:[],datasets:[]};return Um(n,t.labels),qm(n,t.datasets,e),n}const XM=o.defineComponent({props:ZM,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=KM(u,m),p=qM(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&&(GM(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),b=Ci(f.datasets),S=Ci(g.datasets);y!==C&&(Um(p.config.data,y),_=!0),b&&b!==S&&(qm(p.config.data,b,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 QM(t,e){return Bo.register(e),o.defineComponent({props:Zm,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(XM,UM({ref:a},{type:t,...n}))}})}const Gm=QM("line",sl),JM={class:"chart-container"},Ru={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},ticksCallback:{type:Function,default:t=>t},borderColor:{type:String,default:"#007AFF"},gradient:{type:Object,default:{height:450,startColor:"rgba(0, 122, 255, 0.1)",endColor:"rgba(0, 122, 255, 0)"}}},setup(t){Bo.register(pl,_l,Ao,_r,xM,Sm);const e=t;let n=o.reactive({isEmpty:!0});const r=u=>{const h=new Set,f=[];let m=[];switch(e.dataType){case"balanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Tt(p.balance,2))):[0,0];break;case"performanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Tt(p.pnl_to_deposit,2))):[0,0];break}f.push({data:m});const g=Array.from(h);return g.length===1?(g.push(...g),f.forEach(p=>{p.data.push(...p.data)}),n.isEmpty=!1):g.length===0?(n.isEmpty=!0,g.push(0,0)):n.isEmpty=!1,{labels:g,datasets:f}},s=o.computed(()=>r(e.data)),i=u=>{const f=u.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return f.addColorStop(0,e.gradient.startColor),f.addColorStop(1,e.gradient.endColor),f},a=(u,h)=>{let f=document.querySelector(`#${u}-${e.dataType}`);return f||(f=document.createElement("div"),f.classList.add(u),f.setAttribute("id",`${u}-${e.dataType}`),h.canvas.parentNode.appendChild(f)),f},l=u=>{if(!n.isEmpty){const{chart:h,tooltip:f}=u,m=a("chart-tooltip",h);if(f.opacity===0){m.style.opacity="0";return}if(f.body){const S=f.title||[],M=f.body.map(v=>v.lines),T=document.createElement("div");for(T.classList.add("chart-tooltip-middle"),T.innerHTML=`<div class="chart-tooltip-content">
35
35
  ${e.dataType==="balanceChartData"?`$${lh(M[0])}`:`${lh(M[0])}%`}
36
- <span> | ${ch(S[0])}, ${hg(S[0])}</span></div>`;m.firstChild;)m.firstChild.remove();m.appendChild(T)}const{offsetLeft:g,offsetTop:p,clientWidth:_}=h.canvas;let y=g+f.caretX;const C=p+f.caretY,b=m.clientWidth;y+b>_&&(y-=b),m.style.opacity="1",m.style.left=y+"px",m.style.top=C+"px"}},c=u=>{const{chart:h}=u,f=a("chart-line",h),m=h.chartArea;h.canvas.addEventListener("mousemove",function(g){const p=h.canvas.getBoundingClientRect(),_=g.clientX-p.left,y=g.clientY-p.top;_>=m.left&&_<=m.right&&y>=m.top&&y<=m.bottom?(f.style.left=_+"px",f.style.top=m.top+"px",f.style.height=m.bottom-m.top+"px",f.style.display="flex"):f.style.display="none"}),h.canvas.addEventListener("mouseout",function(){f.style.display="none"})},d=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!n.isEmpty,callback:function(u){return ch(this.getLabelForValue(u)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"center"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{display:!n.isEmpty,callback:function(u){return e.ticksCallback(u)},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:l},legend:!1},elements:{line:{backgroundColor:u=>i(u),tension:.3,borderWidth:2,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:e.borderColor,pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:c}));return(u,h)=>(o.openBlock(),o.createElementBlock("div",ev,[o.createVNode(o.unref(Gm),{data:s.value,options:d.value},null,8,["data","options"])]))}},Fu={__name:"SimpleLineChart",props:{data:{type:Array,required:!0},borderColor:{type:String,default:"#56B683"},gradient:{type:Object,default:{height:200,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}}},setup(t){Bo.register(pl,_l,Ao,_r,Sm);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,e.gradient.height);return c.addColorStop(0,e.gradient.startColor),c.addColorStop(1,e.gradient.endColor),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:4,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(Gm),{data:r.value,options:i.value},null,8,["data","options"]))}},tv=t=>(o.pushScopeId("data-v-0fba0097"),t=t(),o.popScopeId(),t),nv={class:"account-balance-widget"},rv={class:"account-balance-widget__top"},sv={class:"account-balance-widget__title-wrapper"},iv=tv(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),ov=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?Tt(r/1e3,2)+"k":Tt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",nv,[o.createElementVNode("div",rv,[o.createElementVNode("div",sv,[iv,o.createVNode(o.unref(fn),{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(Ys),{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(Ru),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-0fba0097"]]),Iu=t=>(o.pushScopeId("data-v-2d3d4f44"),t=t(),o.popScopeId(),t),av={class:"balance-widget"},lv={class:"balance-part"},cv={class:"balance-part__top"},dv={class:"balance-part__title-wrapper"},uv=Iu(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),hv={class:"balance-part__content"},fv={class:"balance-part__content__wrapper"},mv={class:"balance-part__content__count"},pv={class:"balance-part__content__bitcoin"},gv={key:0,class:"devider"},_v={key:1,class:"personal-target-part"},yv={class:"personal-target-part__top"},wv={class:"personal-target-part__title-wrapper"},bv=Iu(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),kv=Iu(()=>o.createElementVNode("br",null,null,-1)),Cv={class:"personal-target-part__content"},xv={class:"personal-target-part__content__current"},Mv={class:"personal-target-part__content__from"},vv=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",av,[o.createElementVNode("div",lv,[o.createElementVNode("div",cv,[o.createElementVNode("div",dv,[uv,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in US Dollars 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(Pe),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(Pe),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",hv,[o.createElementVNode("div",fv,[o.createElementVNode("div",mv,o.toDisplayString(o.unref(ln)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(ql),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",pv,"= "+o.toDisplayString(i.value)+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(Fu),{key:0,class:"balance-part__chart balance-part__chart--share",data:t.balanceChartData,gradient:{height:500,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}},null,8,["data","gradient"])):(o.openBlock(),o.createBlock(o.unref(Fu),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",gv)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",_v,[o.createElementVNode("div",yv,[o.createElementVNode("div",wv,[bv,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" This widget allows you to set a personal profit goal expressed in $ for a certain period "),kv,o.createTextVNode(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:d[0]||(d[0]=u=>n("switchModal"))},[o.createVNode(o.unref(Pe),{icon:"settings"})])]),o.createElementVNode("div",Cv,[o.createElementVNode("div",xv,o.toDisplayString(o.unref(ln)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",Mv,"/ "+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(s3),{"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-2d3d4f44"]]),Io=t=>(o.pushScopeId("data-v-bd464497"),t=t(),o.popScopeId(),t),Sv={class:"calendar-widget"},Tv={class:"calendar-widget__calendar"},Ov={class:"calendar-widget__top"},Dv={class:"calendar-widget__title-wrapper"},Ev=Io(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),$v=Io(()=>o.createElementVNode("br",null,null,-1)),Pv={class:"stat-calendar"},Lv={class:"stat-calendar__week-days"},Nv={key:0,class:"stat-calendar__row-wrapper"},Vv={class:"stat-calendar__row"},Bv=["onClick"],Av=Io(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),Rv={key:0,class:"calendar-widget__day"},Fv={class:"calendar-widget__day__title"},Iv={class:"calendar-widget__day__content"},zv={class:"calendar-widget__point"},Hv={class:"calendar-widget__point__title"},Yv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Wv={class:"calendar-widget__day__trades"},jv={class:"calendar-widget__point"},Zv={class:"calendar-widget__point__title"},Uv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),qv=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",Sv,[o.createElementVNode("div",Tv,[o.createElementVNode("div",Ov,[o.createElementVNode("div",Dv,[Ev,o.createVNode(o.unref(fn),{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. "),$v,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(r3),{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",Pv,[o.createElementVNode("div",Lv,[(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",Nv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",Vv,[(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,Bv))),256))]))),256))])):o.createCommentVNode("",!0)])]),Av,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",Rv,[o.createElementVNode("div",Fv,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",Iv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",zv,[o.createElementVNode("div",Hv,o.toDisplayString(h.title),1),Yv,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(Y0),{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",Wv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",jv,[o.createElementVNode("div",Zv,o.toDisplayString(h.title),1),Uv,o.createVNode(o.unref(ql),{"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-bd464497"]]),Cl=t=>(o.pushScopeId("data-v-5fe5d142"),t=t(),o.popScopeId(),t),Gv={class:"commission-widget"},Kv={class:"commission-widget__content"},Xv={class:"commission-widget__top"},Qv={class:"commission-widget__title-wrapper"},Jv=Cl(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),eS=Cl(()=>o.createElementVNode("br",null,null,-1)),tS={class:"commission-widget__info"},nS={class:"commission-widget__total-wrapper"},rS=Cl(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),sS={class:"commission-widget__total-wrapper__total"},iS={class:"commission-widget__total-wrapper__value"},oS={class:"commission-widget__points"},aS={class:"commission-widget__point"},lS={class:"commission-widget__point__title"},cS=Cl(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),dS=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",Gv,[o.createElementVNode("div",Kv,[o.createElementVNode("div",Xv,[o.createElementVNode("div",Qv,[Jv,o.createVNode(o.unref(fn),{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."),eS,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createVNode(o.unref(Ys),{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",tS,[o.createElementVNode("div",nS,[rS,o.createElementVNode("div",sS,[o.createElementVNode("div",iS," $"+o.toDisplayString(o.unref(Tt)(t.commission)),1)])]),o.createElementVNode("div",oS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",aS,[o.createElementVNode("div",lS,o.toDisplayString(a.title),1),cS,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-5fe5d142"]]),Km=t=>(o.pushScopeId("data-v-71fad3e1"),t=t(),o.popScopeId(),t),uS={class:"performance-widget"},hS={class:"performance-widget__top"},fS={class:"performance-widget__title-wrapper"},mS=Km(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),pS=Km(()=>o.createElementVNode("br",null,null,-1)),gS=Oe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>Tt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",uS,[o.createElementVNode("div",hS,[o.createElementVNode("div",fS,[mS,o.createVNode(o.unref(fn),{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."),pS,o.createTextVNode(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ys),{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(Ru),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-71fad3e1"]]),xl=t=>(o.pushScopeId("data-v-7f41e546"),t=t(),o.popScopeId(),t),_S={class:"return-widget"},yS={class:"return-widget__content"},wS={class:"return-widget__top"},bS={class:"return-widget__title-wrapper"},kS=xl(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),CS=xl(()=>o.createElementVNode("br",null,null,-1)),xS={class:"return-widget__info"},MS={class:"return-widget__total-wrapper"},vS=xl(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),SS={class:"return-widget__total-wrapper__total"},TS={class:"return-widget__points"},OS={class:"return-widget__point"},DS={class:"return-widget__point__title"},ES=xl(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),$S=["innerHTML"],PS=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?"":c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value===0?"":d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0,class:"-win"},{title:"Return on losers",value:h.value||0,class:"-loss"}]),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(()=>a.value>0),g=o.computed(()=>a.value<0),p=o.computed(()=>i.value>1?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${Tt(i.value,2)}. <br /> You earn ${ln(i.value)} on every $1 loss.`:`Your profit factor is ${Tt(i.value,2)}. <br/> You loss ${ln(Math.abs(i.value))} on every $1 earn. `);return(y,C)=>(o.openBlock(),o.createElementBlock("div",_S,[o.createElementVNode("div",yS,[o.createElementVNode("div",wS,[o.createElementVNode("div",bS,[kS,o.createVNode(o.unref(fn),{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."),CS,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ys),{key:0,modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=b=>n.value=b),onOnChange:C[1]||(C[1]=b=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",xS,[o.createElementVNode("div",MS,[vS,o.createElementVNode("div",SS,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":m.value,"-negative":g.value}])},o.toDisplayString(o.unref(ln)(a.value,{isPlus:!0,isFixed:!0})),3),f.value?(o.openBlock(),o.createBlock(o.unref(ql),{key:0,percentage:"",delta:f.value},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",TS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,b=>(o.openBlock(),o.createElementBlock("div",OS,[o.createElementVNode("div",DS,o.toDisplayString(b.title),1),ES,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",b.class?b.class:""])},o.toDisplayString(o.unref(ln)(b.value,b.options)),3)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(Pe),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,$S)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-7f41e546"]]),zu=t=>(o.pushScopeId("data-v-69c2a2fa"),t=t(),o.popScopeId(),t),LS={class:"top-positions-widget"},NS={class:"top-positions-widget__top"},VS={class:"top-positions-widget__title-wrapper"},BS=zu(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),AS=zu(()=>o.createElementVNode("br",null,null,-1)),RS={key:0,class:"top-positions-widget__returns"},FS={class:"top-positions-widget__return"},IS={class:"top-positions-widget__return__left"},zS=zu(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),HS={class:"top-positions-widget__return__pair"},YS={class:"top-positions-widget__return__right"},WS={class:"top-positions-widget__return__pnl"},jS=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",LS,[o.createElementVNode("div",NS,[o.createElementVNode("div",VS,[BS,o.createVNode(o.unref(fn),{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. "),AS,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createVNode(o.unref(Ys),{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",RS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",FS,[o.createElementVNode("div",IS,[zS,o.createElementVNode("div",HS,o.toDisplayString(o.unref(fg)(a.pair)),1)]),o.createElementVNode("div",YS,[o.createElementVNode("div",WS,o.toDisplayString(o.unref(ln)(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(Pe),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(ln)(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-69c2a2fa"]]),Hu=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),ZS={class:"trade-widget"},US={class:"trade-widget__content"},qS={class:"trade-widget__top"},GS={class:"trade-widget__title-wrapper"},KS=Hu(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),XS={class:"trade-widget__info"},QS={class:"trade-widget__total-wrapper"},JS=Hu(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),eT={class:"trade-widget__total-wrapper__total"},tT={class:"trade-widget__total-wrapper__value"},nT={class:"trade-widget__points"},rT={class:"trade-widget__point"},sT={class:"trade-widget__point__title"},iT=Hu(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),oT=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",ZS,[o.createElementVNode("div",US,[o.createElementVNode("div",qS,[o.createElementVNode("div",GS,[KS,o.createVNode(o.unref(fn),{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(Ys),{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",XS,[o.createElementVNode("div",QS,[JS,o.createElementVNode("div",eT,[o.createElementVNode("div",tT,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",nT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",rT,[o.createElementVNode("div",sT,o.toDisplayString(a.title),1),iT,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),Ml=t=>(o.pushScopeId("data-v-7a9040de"),t=t(),o.popScopeId(),t),aT={class:"winrate-widget"},lT={class:"winrate-widget__winrate"},cT={class:"winrate-widget__title-wrapper"},dT=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),uT=Ml(()=>o.createElementVNode("br",null,null,-1)),hT={class:"winrate-widget__chart"},fT={class:"winrate-widget__data"},mT={class:"winrate-widget__data_value"},pT=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),gT={class:"winrate-widget__average-rr"},_T={class:"winrate-widget__title-wrapper"},yT=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),wT=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",aT,[o.createElementVNode("div",lT,[o.createElementVNode("div",cT,[dT,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. "),uT,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createElementVNode("div",hT,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",fT,[o.createElementVNode("div",mT,o.toDisplayString(o.unref(Tt)(t.winrate,2))+"%",1),pT])])]),o.createElementVNode("div",gT,[o.createElementVNode("div",_T,[yT,o.createVNode(o.unref(fn),{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(Xm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-7a9040de"]]),bT=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),kT={class:"average-rr-line-container"},CT={class:"average-rr-line"},xT={key:0,class:"average-rr-line__progress"},MT=[bT(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],vT={class:"coefficients"},ST={class:"coefficients__value -min"},TT={class:"coefficients__value -avg"},OT={class:"coefficients__value -max"},Xm=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",kT,[o.createElementVNode("div",CT,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",xT,MT)):o.createCommentVNode("",!0)]),o.createElementVNode("div",vT,[o.createElementVNode("div",ST,o.toDisplayString(t.min),1),o.createElementVNode("div",TT,o.toDisplayString(o.unref(Tt)(t.avg)),1),o.createElementVNode("div",OT,o.toDisplayString(o.unref(Tt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);function Qm(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function zo(t){return typeof t=="function"?t():o.unref(t)}const Jm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const DT=Object.prototype.toString,ET=t=>DT.call(t)==="[object Object]",Ho=()=>{},Yu=$T();function $T(){var t,e;return Jm&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const ep={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function PT(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Ho}))):o.ref(e)}function Yo(t){var e;const n=zo(t);return(e=n==null?void 0:n.$el)!=null?e:n}const tp=Jm?window:void 0;function vl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=tp):[e,n,r,s]=t,!e)return Ho;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},l=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=o.watch(()=>[Yo(e),zo(s)],([u,h])=>{if(a(),!u)return;const f=ET(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return Qm(d),d}let np=!1;function rp(t,e,n={}){const{window:r=tp,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Ho;Yu&&!np&&(np=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Ho)),r.document.documentElement.addEventListener("click",Ho));let l=!0;const c=f=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===f.target||f.composedPath().includes(g));{const g=Yo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[vl(r,"click",f=>{const m=Yo(t);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(l=!c(f)),!l){l=!0;return}e(f)}},{passive:!0,capture:i}),vl(r,"pointerdown",f=>{const m=Yo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&vl(r,"blur",f=>{setTimeout(()=>{var m;const g=Yo(t);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(g!=null&&g.contains(r.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const sp={[ep.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=rp(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=rp(t,r,Object.assign({capture:n},s))}},[ep.unmounted](t){t.__onClickOutside_stop()}};function Wu(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function ip(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:ip(n)}}function LT(t){const e=t||window.event,n=e.target;return ip(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Sl=new WeakMap;function NT(t,e=!1){const n=o.ref(e);let r=null;o.watch(PT(t),a=>{const l=Wu(zo(a));if(l){const c=l;Sl.get(c)||Sl.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=Wu(zo(t));!a||n.value||(Yu&&(r=vl(a,"touchmove",l=>{LT(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=Wu(zo(t));!l||!n.value||(Yu&&(r==null||r()),l.style.overflow=(a=Sl.get(l))!=null?a:"",Sl.delete(l),n.value=!1)};return Qm(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function VT(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=NT(n,r.value);o.watch(e,i=>s.value=i)}}VT();//! moment.js
36
+ <span> | ${ch(S[0])}, ${hg(S[0])}</span></div>`;m.firstChild;)m.firstChild.remove();m.appendChild(T)}const{offsetLeft:g,offsetTop:p,clientWidth:_}=h.canvas;let y=g+f.caretX;const C=p+f.caretY,b=m.clientWidth;y+b>_&&(y-=b),m.style.opacity="1",m.style.left=y+"px",m.style.top=C+"px"}},c=u=>{const{chart:h}=u,f=a("chart-line",h),m=h.chartArea;h.canvas.addEventListener("mousemove",function(g){const p=h.canvas.getBoundingClientRect(),_=g.clientX-p.left,y=g.clientY-p.top;_>=m.left&&_<=m.right&&y>=m.top&&y<=m.bottom?(f.style.left=_+"px",f.style.top=m.top+"px",f.style.height=m.bottom-m.top+"px",f.style.display="flex"):f.style.display="none"}),h.canvas.addEventListener("mouseout",function(){f.style.display="none"})},d=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!n.isEmpty,callback:function(u){return ch(this.getLabelForValue(u)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"center"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{display:!n.isEmpty,callback:function(u){return e.ticksCallback(u)},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:l},legend:!1},elements:{line:{backgroundColor:u=>i(u),tension:.3,borderWidth:2,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:e.borderColor,pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:c}));return(u,h)=>(o.openBlock(),o.createElementBlock("div",JM,[o.createVNode(o.unref(Gm),{data:s.value,options:d.value},null,8,["data","options"])]))}},Fu={__name:"SimpleLineChart",props:{data:{type:Array,required:!0},borderColor:{type:String,default:"#56B683"},gradient:{type:Object,default:{height:200,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}}},setup(t){Bo.register(pl,_l,Ao,_r,Sm);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,e.gradient.height);return c.addColorStop(0,e.gradient.startColor),c.addColorStop(1,e.gradient.endColor),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:4,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(Gm),{data:r.value,options:i.value},null,8,["data","options"]))}},ev=t=>(o.pushScopeId("data-v-0fba0097"),t=t(),o.popScopeId(),t),tv={class:"account-balance-widget"},nv={class:"account-balance-widget__top"},rv={class:"account-balance-widget__title-wrapper"},sv=ev(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),iv=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?Tt(r/1e3,2)+"k":Tt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",tv,[o.createElementVNode("div",nv,[o.createElementVNode("div",rv,[sv,o.createVNode(o.unref(fn),{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(Ys),{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(Ru),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-0fba0097"]]),Iu=t=>(o.pushScopeId("data-v-2d3d4f44"),t=t(),o.popScopeId(),t),ov={class:"balance-widget"},av={class:"balance-part"},lv={class:"balance-part__top"},cv={class:"balance-part__title-wrapper"},dv=Iu(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),uv={class:"balance-part__content"},hv={class:"balance-part__content__wrapper"},fv={class:"balance-part__content__count"},mv={class:"balance-part__content__bitcoin"},pv={key:0,class:"devider"},gv={key:1,class:"personal-target-part"},_v={class:"personal-target-part__top"},yv={class:"personal-target-part__title-wrapper"},wv=Iu(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),bv=Iu(()=>o.createElementVNode("br",null,null,-1)),kv={class:"personal-target-part__content"},Cv={class:"personal-target-part__content__current"},xv={class:"personal-target-part__content__from"},Mv=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",ov,[o.createElementVNode("div",av,[o.createElementVNode("div",lv,[o.createElementVNode("div",cv,[dv,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in US Dollars 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(Pe),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(Pe),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",uv,[o.createElementVNode("div",hv,[o.createElementVNode("div",fv,o.toDisplayString(o.unref(ln)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(ql),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",mv,"= "+o.toDisplayString(i.value)+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(Fu),{key:0,class:"balance-part__chart balance-part__chart--share",data:t.balanceChartData,gradient:{height:500,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}},null,8,["data","gradient"])):(o.openBlock(),o.createBlock(o.unref(Fu),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",pv)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",gv,[o.createElementVNode("div",_v,[o.createElementVNode("div",yv,[wv,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" This widget allows you to set a personal profit goal expressed in $ for a certain period "),bv,o.createTextVNode(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:d[0]||(d[0]=u=>n("switchModal"))},[o.createVNode(o.unref(Pe),{icon:"settings"})])]),o.createElementVNode("div",kv,[o.createElementVNode("div",Cv,o.toDisplayString(o.unref(ln)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",xv,"/ "+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(s3),{"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-2d3d4f44"]]),Io=t=>(o.pushScopeId("data-v-bd464497"),t=t(),o.popScopeId(),t),vv={class:"calendar-widget"},Sv={class:"calendar-widget__calendar"},Tv={class:"calendar-widget__top"},Ov={class:"calendar-widget__title-wrapper"},Dv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),Ev=Io(()=>o.createElementVNode("br",null,null,-1)),$v={class:"stat-calendar"},Pv={class:"stat-calendar__week-days"},Lv={key:0,class:"stat-calendar__row-wrapper"},Nv={class:"stat-calendar__row"},Vv=["onClick"],Bv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),Av={key:0,class:"calendar-widget__day"},Rv={class:"calendar-widget__day__title"},Fv={class:"calendar-widget__day__content"},Iv={class:"calendar-widget__point"},zv={class:"calendar-widget__point__title"},Hv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Yv={class:"calendar-widget__day__trades"},Wv={class:"calendar-widget__point"},jv={class:"calendar-widget__point__title"},Zv=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Uv=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",vv,[o.createElementVNode("div",Sv,[o.createElementVNode("div",Tv,[o.createElementVNode("div",Ov,[Dv,o.createVNode(o.unref(fn),{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. "),Ev,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(r3),{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",$v,[o.createElementVNode("div",Pv,[(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",Lv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",Nv,[(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,Vv))),256))]))),256))])):o.createCommentVNode("",!0)])]),Bv,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",Av,[o.createElementVNode("div",Rv,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",Fv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",Iv,[o.createElementVNode("div",zv,o.toDisplayString(h.title),1),Hv,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(Y0),{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",Yv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",Wv,[o.createElementVNode("div",jv,o.toDisplayString(h.title),1),Zv,o.createVNode(o.unref(ql),{"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-bd464497"]]),Cl=t=>(o.pushScopeId("data-v-5fe5d142"),t=t(),o.popScopeId(),t),qv={class:"commission-widget"},Gv={class:"commission-widget__content"},Kv={class:"commission-widget__top"},Xv={class:"commission-widget__title-wrapper"},Qv=Cl(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),Jv=Cl(()=>o.createElementVNode("br",null,null,-1)),eS={class:"commission-widget__info"},tS={class:"commission-widget__total-wrapper"},nS=Cl(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),rS={class:"commission-widget__total-wrapper__total"},sS={class:"commission-widget__total-wrapper__value"},iS={class:"commission-widget__points"},oS={class:"commission-widget__point"},aS={class:"commission-widget__point__title"},lS=Cl(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),cS=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",qv,[o.createElementVNode("div",Gv,[o.createElementVNode("div",Kv,[o.createElementVNode("div",Xv,[Qv,o.createVNode(o.unref(fn),{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."),Jv,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createVNode(o.unref(Ys),{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",eS,[o.createElementVNode("div",tS,[nS,o.createElementVNode("div",rS,[o.createElementVNode("div",sS," $"+o.toDisplayString(o.unref(Tt)(t.commission)),1)])]),o.createElementVNode("div",iS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",oS,[o.createElementVNode("div",aS,o.toDisplayString(a.title),1),lS,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-5fe5d142"]]),Km=t=>(o.pushScopeId("data-v-71fad3e1"),t=t(),o.popScopeId(),t),dS={class:"performance-widget"},uS={class:"performance-widget__top"},hS={class:"performance-widget__title-wrapper"},fS=Km(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),mS=Km(()=>o.createElementVNode("br",null,null,-1)),pS=Oe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>Tt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",dS,[o.createElementVNode("div",uS,[o.createElementVNode("div",hS,[fS,o.createVNode(o.unref(fn),{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."),mS,o.createTextVNode(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ys),{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(Ru),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-71fad3e1"]]),xl=t=>(o.pushScopeId("data-v-7f41e546"),t=t(),o.popScopeId(),t),gS={class:"return-widget"},_S={class:"return-widget__content"},yS={class:"return-widget__top"},wS={class:"return-widget__title-wrapper"},bS=xl(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),kS=xl(()=>o.createElementVNode("br",null,null,-1)),CS={class:"return-widget__info"},xS={class:"return-widget__total-wrapper"},MS=xl(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),vS={class:"return-widget__total-wrapper__total"},SS={class:"return-widget__points"},TS={class:"return-widget__point"},OS={class:"return-widget__point__title"},DS=xl(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),ES=["innerHTML"],$S=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?"":c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value===0?"":d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0,class:"-win"},{title:"Return on losers",value:h.value||0,class:"-loss"}]),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(()=>a.value>0),g=o.computed(()=>a.value<0),p=o.computed(()=>i.value>1?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${Tt(i.value,2)}. <br /> You earn ${ln(i.value)} on every $1 loss.`:`Your profit factor is ${Tt(i.value,2)}. <br/> You loss ${ln(Math.abs(i.value))} on every $1 earn. `);return(y,C)=>(o.openBlock(),o.createElementBlock("div",gS,[o.createElementVNode("div",_S,[o.createElementVNode("div",yS,[o.createElementVNode("div",wS,[bS,o.createVNode(o.unref(fn),{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."),kS,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ys),{key:0,modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=b=>n.value=b),onOnChange:C[1]||(C[1]=b=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",CS,[o.createElementVNode("div",xS,[MS,o.createElementVNode("div",vS,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":m.value,"-negative":g.value}])},o.toDisplayString(o.unref(ln)(a.value,{isPlus:!0,isFixed:!0})),3),f.value?(o.openBlock(),o.createBlock(o.unref(ql),{key:0,percentage:"",delta:f.value},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",SS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,b=>(o.openBlock(),o.createElementBlock("div",TS,[o.createElementVNode("div",OS,o.toDisplayString(b.title),1),DS,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",b.class?b.class:""])},o.toDisplayString(o.unref(ln)(b.value,b.options)),3)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(Pe),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,ES)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-7f41e546"]]),zu=t=>(o.pushScopeId("data-v-69c2a2fa"),t=t(),o.popScopeId(),t),PS={class:"top-positions-widget"},LS={class:"top-positions-widget__top"},NS={class:"top-positions-widget__title-wrapper"},VS=zu(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),BS=zu(()=>o.createElementVNode("br",null,null,-1)),AS={key:0,class:"top-positions-widget__returns"},RS={class:"top-positions-widget__return"},FS={class:"top-positions-widget__return__left"},IS=zu(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),zS={class:"top-positions-widget__return__pair"},HS={class:"top-positions-widget__return__right"},YS={class:"top-positions-widget__return__pnl"},WS=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",PS,[o.createElementVNode("div",LS,[o.createElementVNode("div",NS,[VS,o.createVNode(o.unref(fn),{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. "),BS,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createVNode(o.unref(Ys),{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",AS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",RS,[o.createElementVNode("div",FS,[IS,o.createElementVNode("div",zS,o.toDisplayString(o.unref(fg)(a.pair)),1)]),o.createElementVNode("div",HS,[o.createElementVNode("div",YS,o.toDisplayString(o.unref(ln)(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(Pe),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(ln)(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-69c2a2fa"]]),Hu=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),jS={class:"trade-widget"},ZS={class:"trade-widget__content"},US={class:"trade-widget__top"},qS={class:"trade-widget__title-wrapper"},GS=Hu(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),KS={class:"trade-widget__info"},XS={class:"trade-widget__total-wrapper"},QS=Hu(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),JS={class:"trade-widget__total-wrapper__total"},eT={class:"trade-widget__total-wrapper__value"},tT={class:"trade-widget__points"},nT={class:"trade-widget__point"},rT={class:"trade-widget__point__title"},sT=Hu(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),iT=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",jS,[o.createElementVNode("div",ZS,[o.createElementVNode("div",US,[o.createElementVNode("div",qS,[GS,o.createVNode(o.unref(fn),{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(Ys),{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",KS,[o.createElementVNode("div",XS,[QS,o.createElementVNode("div",JS,[o.createElementVNode("div",eT,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",tT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",nT,[o.createElementVNode("div",rT,o.toDisplayString(a.title),1),sT,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),Ml=t=>(o.pushScopeId("data-v-7a9040de"),t=t(),o.popScopeId(),t),oT={class:"winrate-widget"},aT={class:"winrate-widget__winrate"},lT={class:"winrate-widget__title-wrapper"},cT=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),dT=Ml(()=>o.createElementVNode("br",null,null,-1)),uT={class:"winrate-widget__chart"},hT={class:"winrate-widget__data"},fT={class:"winrate-widget__data_value"},mT=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),pT={class:"winrate-widget__average-rr"},gT={class:"winrate-widget__title-wrapper"},_T=Ml(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),yT=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",oT,[o.createElementVNode("div",aT,[o.createElementVNode("div",lT,[cT,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. "),dT,o.createTextVNode("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")]),_:1})]),o.createElementVNode("div",uT,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",hT,[o.createElementVNode("div",fT,o.toDisplayString(o.unref(Tt)(t.winrate,2))+"%",1),mT])])]),o.createElementVNode("div",pT,[o.createElementVNode("div",gT,[_T,o.createVNode(o.unref(fn),{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(Xm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-7a9040de"]]),wT=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),bT={class:"average-rr-line-container"},kT={class:"average-rr-line"},CT={key:0,class:"average-rr-line__progress"},xT=[wT(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],MT={class:"coefficients"},vT={class:"coefficients__value -min"},ST={class:"coefficients__value -avg"},TT={class:"coefficients__value -max"},Xm=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",bT,[o.createElementVNode("div",kT,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",CT,xT)):o.createCommentVNode("",!0)]),o.createElementVNode("div",MT,[o.createElementVNode("div",vT,o.toDisplayString(t.min),1),o.createElementVNode("div",ST,o.toDisplayString(o.unref(Tt)(t.avg)),1),o.createElementVNode("div",TT,o.toDisplayString(o.unref(Tt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);function Qm(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function zo(t){return typeof t=="function"?t():o.unref(t)}const Jm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const OT=Object.prototype.toString,DT=t=>OT.call(t)==="[object Object]",Ho=()=>{},Yu=ET();function ET(){var t,e;return Jm&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const ep={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $T(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Ho}))):o.ref(e)}function Yo(t){var e;const n=zo(t);return(e=n==null?void 0:n.$el)!=null?e:n}const tp=Jm?window:void 0;function vl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=tp):[e,n,r,s]=t,!e)return Ho;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},l=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=o.watch(()=>[Yo(e),zo(s)],([u,h])=>{if(a(),!u)return;const f=DT(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return Qm(d),d}let np=!1;function rp(t,e,n={}){const{window:r=tp,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Ho;Yu&&!np&&(np=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Ho)),r.document.documentElement.addEventListener("click",Ho));let l=!0;const c=f=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===f.target||f.composedPath().includes(g));{const g=Yo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[vl(r,"click",f=>{const m=Yo(t);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(l=!c(f)),!l){l=!0;return}e(f)}},{passive:!0,capture:i}),vl(r,"pointerdown",f=>{const m=Yo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&vl(r,"blur",f=>{setTimeout(()=>{var m;const g=Yo(t);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(g!=null&&g.contains(r.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const sp={[ep.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=rp(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=rp(t,r,Object.assign({capture:n},s))}},[ep.unmounted](t){t.__onClickOutside_stop()}};function Wu(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function ip(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:ip(n)}}function PT(t){const e=t||window.event,n=e.target;return ip(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Sl=new WeakMap;function LT(t,e=!1){const n=o.ref(e);let r=null;o.watch($T(t),a=>{const l=Wu(zo(a));if(l){const c=l;Sl.get(c)||Sl.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=Wu(zo(t));!a||n.value||(Yu&&(r=vl(a,"touchmove",l=>{PT(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=Wu(zo(t));!l||!n.value||(Yu&&(r==null||r()),l.style.overflow=(a=Sl.get(l))!=null?a:"",Sl.delete(l),n.value=!1)};return Qm(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function NT(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=LT(n,r.value);o.watch(e,i=>s.value=i)}}NT();//! 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 op;function re(){return op.apply(null,arguments)}function BT(t){op=t}function $n(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Fs(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Ee(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ju(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 Wt(t){return t===void 0}function wr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Wo(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function ap(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 Np(t,e,n,r,!0).utc()}function AT(){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=AT()),t._pf}var Zu;Array.prototype.some?Zu=Array.prototype.some:Zu=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 Uu(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=Zu.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 Tl(t){var e=Jn(NaN);return t!=null?es(_e(e),t):_e(e).userInvalidated=!0,e}var lp=re.momentProperties=[],qu=!1;function Gu(t,e){var n,r,s,i=lp.length;if(Wt(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Wt(e._i)||(t._i=e._i),Wt(e._f)||(t._f=e._f),Wt(e._l)||(t._l=e._l),Wt(e._strict)||(t._strict=e._strict),Wt(e._tzm)||(t._tzm=e._tzm),Wt(e._isUTC)||(t._isUTC=e._isUTC),Wt(e._offset)||(t._offset=e._offset),Wt(e._pf)||(t._pf=_e(e)),Wt(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=lp[n],s=e[r],Wt(s)||(t[r]=s);return t}function jo(t){Gu(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),qu===!1&&(qu=!0,re.updateOffset(this),qu=!1)}function Pn(t){return t instanceof jo||t!=null&&t._isAMomentObject!=null}function cp(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function _n(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+=`
41
+ var op;function re(){return op.apply(null,arguments)}function VT(t){op=t}function $n(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Fs(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Ee(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ju(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 Wt(t){return t===void 0}function wr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Wo(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function ap(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 Np(t,e,n,r,!0).utc()}function BT(){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=BT()),t._pf}var Zu;Array.prototype.some?Zu=Array.prototype.some:Zu=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 Uu(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=Zu.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 Tl(t){var e=Jn(NaN);return t!=null?es(_e(e),t):_e(e).userInvalidated=!0,e}var lp=re.momentProperties=[],qu=!1;function Gu(t,e){var n,r,s,i=lp.length;if(Wt(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Wt(e._i)||(t._i=e._i),Wt(e._f)||(t._f=e._f),Wt(e._l)||(t._l=e._l),Wt(e._strict)||(t._strict=e._strict),Wt(e._tzm)||(t._tzm=e._tzm),Wt(e._isUTC)||(t._isUTC=e._isUTC),Wt(e._offset)||(t._offset=e._offset),Wt(e._pf)||(t._pf=_e(e)),Wt(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=lp[n],s=e[r],Wt(s)||(t[r]=s);return t}function jo(t){Gu(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),qu===!1&&(qu=!0,re.updateOffset(this),qu=!1)}function Pn(t){return t instanceof jo||t!=null&&t._isAMomentObject!=null}function cp(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function _n(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
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)}cp(t+`
43
43
  Arguments: `+Array.prototype.slice.call(r).join("")+`
44
- `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var dp={};function up(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),dp[t]||(cp(e),dp[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 RT(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 Ku(t,e){var n=es({},t),r;for(r in e)Ee(e,r)&&(Fs(t[r])&&Fs(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)&&Fs(t[r])&&(n[r]=es({},n[r]));return n}function Xu(t){t!=null&&this.set(t)}var Qu;Object.keys?Qu=Object.keys:Qu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var FT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function IT(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 Ju=/(\[[^\[]*\])|(\\)?([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,Ol=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,e1={},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 zT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function HT(t){var e=t.match(Ju),n,r;for(n=0,r=e.length;n<r;n++)xi[e[n]]?e[n]=xi[e[n]]:e[n]=zT(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 Dl(t,e){return t.isValid()?(e=hp(e,t.localeData()),e1[e]=e1[e]||HT(e),e1[e](t)):t.localeData().invalidDate()}function hp(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(Ol.lastIndex=0;n>=0&&Ol.test(t);)t=t.replace(Ol,r),Ol.lastIndex=0,n-=1;return t}var YT={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 WT(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Ju).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var jT="Invalid date";function ZT(){return this._invalidDate}var UT="%d",qT=/\d{1,2}/;function GT(t){return this._ordinal.replace("%d",t)}var KT={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 XT(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function QT(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var fp={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 yn(t){return typeof t=="string"?fp[t]||fp[t.toLowerCase()]:void 0}function t1(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=yn(r),n&&(e[n]=t[r]));return e}var JT={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 eO(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:JT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var mp=/\d/,sn=/\d\d/,pp=/\d{3}/,n1=/\d{4}/,El=/[+-]?\d{6}/,Ue=/\d\d?/,gp=/\d\d\d\d?/,_p=/\d\d\d\d\d\d?/,$l=/\d{1,3}/,r1=/\d{1,4}/,Pl=/[+-]?\d{1,6}/,Mi=/\d+/,Ll=/[+-]?\d+/,tO=/Z|[+-]\d\d:?\d\d/gi,Nl=/Z|[+-]\d\d(?::?\d\d)?/gi,nO=/[+-]?\d+(\.\d{1,3})?/,Zo=/[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?/,s1=/^([1-9]\d|\d)/,Vl;Vl={};function se(t,e,n){Vl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function rO(t,e){return Ee(Vl,t)?Vl[t](e._strict,e._locale):new RegExp(sO(t))}function sO(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 wn(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=wn(e)),n}var i1={};function Ie(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++)i1[t[n]]=r}function Uo(t,e){Ie(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function iO(t,e,n){e!=null&&Ee(i1,t)&&i1[t](e,n._a,n,t)}function Bl(t){return t%4===0&&t%100!==0||t%400===0}var Pt=0,kr=1,nr=2,bt=3,Ln=4,Cr=5,Is=6,oO=7,aO=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",Ll),se("YY",Ue,sn),se("YYYY",r1,n1),se("YYYYY",Pl,El),se("YYYYYY",Pl,El),Ie(["YYYYY","YYYYYY"],Pt),Ie("YYYY",function(t,e){e[Pt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Ie("YY",function(t,e){e[Pt]=re.parseTwoDigitYear(t)}),Ie("Y",function(t,e){e[Pt]=parseInt(t,10)});function qo(t){return Bl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var yp=Si("FullYear",!0);function lO(){return Bl(this.year())}function Si(t,e){return function(n){return n!=null?(wp(this,t,n),re.updateOffset(this,e),this):Go(this,t)}}function Go(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 wp(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&&!Bl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function cO(t){return t=yn(t),er(this[t])?this[t]():this}function dO(t,e){if(typeof t=="object"){t=t1(t);var n=eO(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=yn(t),er(this[t]))return this[t](e);return this}function uO(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 o1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=uO(e,12);return t+=(e-n)/12,n===1?Bl(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)}),Ie(["M","MM"],function(t,e){e[kr]=ke(t)-1}),Ie(["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 hO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),bp="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kp=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,fO=Zo,mO=Zo;function pO(t,e){return t?$n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kp).test(e)?"format":"standalone"][t.month()]:$n(this._months)?this._months:this._months.standalone}function gO(t,e){return t?$n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kp.test(e)?"format":"standalone"][t.month()]:$n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _O(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 yO(t,e,n){var r,s,i;if(this._monthsParseExact)return _O.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 Cp(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,o1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function xp(t){return t!=null?(Cp(this,t),re.updateOffset(this,!0),this):Go(this,"Month")}function wO(){return o1(this.year(),this.month())}function bO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||Mp.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=fO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function kO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||Mp.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=mO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Mp(){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 CO(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 Ko(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 Al(t,e,n){var r=7+e-n,s=(7+Ko(t,0,r).getUTCDay()-e)%7;return-s+r-1}function vp(t,e,n,r,s){var i=(7+n-r)%7,a=Al(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=qo(c)+l):l>qo(t)?(c=t+1,d=l-qo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Xo(t,e,n){var r=Al(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=Al(t,e,n),s=Al(t+1,e,n);return(qo(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),Uo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function xO(t){return Xo(t,this._week.dow,this._week.doy).week}var MO={dow:0,doy:6};function vO(){return this._week.dow}function SO(){return this._week.doy}function TO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function OO(t){var e=Xo(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)}),Uo(["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}),Uo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function DO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function EO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function a1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var $O="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),PO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),LO=Zo,NO=Zo,VO=Zo;function BO(t,e){var n=$n(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?a1(n,this._week.dow):t?n[t.day()]:n}function AO(t){return t===!0?a1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function RO(t){return t===!0?a1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function FO(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 IO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return FO.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 zO(t){if(!this.isValid())return t!=null?this:NaN;var e=Go(this,"Day");return t!=null?(t=DO(t,this.localeData()),this.add(t-e,"d")):e}function HO(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 YO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=EO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function WO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=LO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function jO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=NO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ZO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=VO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function l1(){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 c1(){return this.hours()%12||12}function UO(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,c1),oe("k",["kk",2],0,UO),oe("hmm",0,0,function(){return""+c1.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+c1.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 Tp(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Tp("a",!0),Tp("A",!1);function Op(t,e){return e._meridiemParse}se("a",Op),se("A",Op),se("H",Ue,s1),se("h",Ue,vi),se("k",Ue,vi),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",gp),se("hmmss",_p),se("Hmm",gp),se("Hmmss",_p),Ie(["H","HH"],bt),Ie(["k","kk"],function(t,e,n){var r=ke(t);e[bt]=r===24?0:r}),Ie(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Ie(["h","hh"],function(t,e,n){e[bt]=ke(t),_e(n).bigHour=!0}),Ie("hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r)),_e(n).bigHour=!0}),Ie("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s)),_e(n).bigHour=!0}),Ie("Hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r))}),Ie("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s))});function qO(t){return(t+"").toLowerCase().charAt(0)==="p"}var GO=/[ap]\.?m?\.?/i,KO=Si("Hours",!0);function XO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Dp={calendar:FT,longDateFormat:YT,invalidDate:jT,ordinal:UT,dayOfMonthOrdinalParse:qT,relativeTime:KT,months:hO,monthsShort:bp,week:MO,weekdays:$O,weekdaysMin:PO,weekdaysShort:Sp,meridiemParse:GO},Ke={},Qo={},Jo;function QO(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 Ep(t){return t&&t.toLowerCase().replace("_","-")}function JO(t){for(var e=0,n,r,s,i;e<t.length;){for(i=Ep(t[e]).split("-"),n=i.length,r=Ep(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Rl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&QO(i,r)>=n-1)break;n--}e++}return Jo}function eD(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Rl(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&eD(t))try{e=Jo._abbr,n=require,n("./locale/"+t),ts(e)}catch{Ke[t]=null}return Ke[t]}function ts(t,e){var n;return t&&(Wt(e)?n=Mr(t):n=d1(t,e),n?Jo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Jo._abbr}function d1(t,e){if(e!==null){var n,r=Dp;if(e.abbr=t,Ke[t]!=null)up("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=Rl(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 Xu(Ku(r,e)),Qo[t]&&Qo[t].forEach(function(s){d1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function tD(t,e){if(e!=null){var n,r,s=Dp;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Ku(Ke[t]._config,e)):(r=Rl(t),r!=null&&(s=r._config),e=Ku(s,e),r==null&&(e.abbr=t),n=new Xu(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 Jo;if(!$n(t)){if(e=Rl(t),e)return e;t=[t]}return JO(t)}function nD(){return Qu(Ke)}function u1(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]>o1(n[Pt],n[kr])?nr:n[bt]<0||n[bt]>24||n[bt]===24&&(n[Ln]!==0||n[Cr]!==0||n[Is]!==0)?bt:n[Ln]<0||n[Ln]>59?Ln: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=oO),_e(t)._overflowWeekday&&e===-1&&(e=aO),_e(t).overflow=e),t}var rD=/^\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)?)?$/,sD=/^\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)?)?$/,iD=/Z|[+-]\d\d(?::?\d\d)?/,Fl=[["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]],h1=[["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/]],oD=/^\/?Date\((-?\d+)/i,aD=/^(?:(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}))$/,lD={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 $p(t){var e,n,r=t._i,s=rD.exec(r)||sD.exec(r),i,a,l,c,d=Fl.length,u=h1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Fl[e][1].exec(s[1])){a=Fl[e][0],i=Fl[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(h1[e][1].exec(s[3])){l=(s[2]||" ")+h1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(iD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),m1(t)}else t._isValid=!1}function cD(t,e,n,r,s,i){var a=[dD(t),bp.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function dD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function uD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hD(t,e,n){if(t){var r=Sp.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 fD(t,e,n){if(t)return lD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function Pp(t){var e=aD.exec(uD(t._i)),n;if(e){if(n=cD(e[4],e[3],e[2],e[5],e[6],e[7]),!hD(e[1],n,t))return;t._a=n,t._tzm=fD(e[8],e[9],e[10]),t._d=Ko.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function mD(t){var e=oD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if($p(t),t._isValid===!1)delete t._isValid;else return;if(Pp(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=_n("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 pD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function f1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=pD(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&gD(t),t._dayOfYear!=null&&(a=Ti(t._a[Pt],s[Pt]),(t._dayOfYear>qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Ko(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[Ln]===0&&t._a[Cr]===0&&t._a[Is]===0&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Ko:CO).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 gD(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],Xo(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=Xo(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=vp(n,r,s,i,a),t._a[Pt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function m1(t){if(t._f===re.ISO_8601){$p(t);return}if(t._f===re.RFC_2822){Pp(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=hp(t._f,t._locale).match(Ju)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(rO(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),iO(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]=_D(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Pt]=t._locale.erasConvertYear(d,t._a[Pt])),f1(t),u1(t)}function _D(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 yD(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=Gu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],m1(e),Uu(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 wD(t){if(!t._d){var e=t1(t._i),n=e.day===void 0?e.date:e.day;t._a=ap([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),f1(t)}}function bD(t){var e=new jo(u1(Lp(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Lp(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?Tl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Pn(e)?new jo(u1(e)):(Wo(e)?t._d=e:$n(n)?yD(t):n?m1(t):kD(t),Uu(t)||(t._d=null),t))}function kD(t){var e=t._i;Wt(e)?t._d=new Date(re.now()):Wo(e)?t._d=new Date(e.valueOf()):typeof e=="string"?mD(t):$n(e)?(t._a=ap(e.slice(0),function(n){return parseInt(n,10)}),f1(t)):Fs(e)?wD(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function Np(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),(Fs(t)&&ju(t)||$n(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,bD(i)}function qe(t,e,n,r){return Np(t,e,n,r,!1)}var CD=_n("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:Tl()}),xD=_n("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:Tl()});function Vp(t,e){var n,r;if(e.length===1&&$n(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 MD(){var t=[].slice.call(arguments,0);return Vp("isBefore",t)}function vD(){var t=[].slice.call(arguments,0);return Vp("isAfter",t)}var SD=function(){return Date.now?Date.now():+new Date},ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function TD(t){var e,n=!1,r,s=ea.length;for(e in t)if(Ee(t,e)&&!(pt.call(ea,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ea[r]]){if(n)return!1;parseFloat(t[ea[r]])!==ke(t[ea[r]])&&(n=!0)}return!0}function OD(){return this._isValid}function DD(){return Nn(NaN)}function Il(t){var e=t1(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=TD(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 zl(t){return t instanceof Il}function p1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function ED(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 Bp(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)})}Bp("Z",":"),Bp("ZZ",""),se("Z",Nl),se("ZZ",Nl),Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=g1(Nl,t)});var $D=/([\+\-]|\d\d)/gi;function g1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match($D)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function _1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Pn(t)||Wo(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function y1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function PD(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=g1(Nl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=y1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?Ip(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:y1(this)}function LD(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function ND(t){return this.utcOffset(0,t)}function VD(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(y1(this),"m")),this}function BD(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=g1(tO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function AD(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function RD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function FD(){if(!Wt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Gu(t,this),t=Lp(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&ED(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ID(){return this.isValid()?!this._isUTC:!1}function zD(){return this.isValid()?this._isUTC:!1}function Ap(){return this.isValid()?this._isUTC&&this._offset===0:!1}var HD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,YD=/^(-|\+)?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 zl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:wr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=HD.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[nr])*s,h:ke(r[bt])*s,m:ke(r[Ln])*s,s:ke(r[Cr])*s,ms:ke(p1(r[Is]*1e3))*s}):(r=YD.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=WD(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Il(n),zl(t)&&Ee(t,"_locale")&&(i._locale=t._locale),zl(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Il.prototype,Nn.invalid=DD;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Rp(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 WD(t,e){var n;return t.isValid()&&e.isValid()?(e=_1(e,t),t.isBefore(e)?n=Rp(t,e):(n=Rp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Fp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(up(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),Ip(this,s,t),this}}function Ip(t,e,n,r){var s=e._milliseconds,i=p1(e._days),a=p1(e._months);t.isValid()&&(r=r??!0,a&&Cp(t,Go(t,"Month")+a*n),i&&wp(t,"Date",Go(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var jD=Fp(1,"add"),ZD=Fp(-1,"subtract");function zp(t){return typeof t=="string"||t instanceof String}function UD(t){return Pn(t)||Wo(t)||zp(t)||wr(t)||GD(t)||qD(t)||t===null||t===void 0}function qD(t){var e=Fs(t)&&!ju(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 GD(t){var e=$n(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&zp(t)}).length===0),e&&n}function KD(t){var e=Fs(t)&&!ju(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 XD(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 QD(t,e){arguments.length===1&&(arguments[0]?UD(arguments[0])?(t=arguments[0],e=void 0):KD(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=_1(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 JD(){return new jo(this)}function eE(t,e){var n=Pn(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=yn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function tE(t,e){var n=Pn(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=yn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function nE(t,e,n,r){var s=Pn(t)?t:qe(t),i=Pn(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 rE(t,e){var n=Pn(t)?t:qe(t),r;return this.isValid()&&n.isValid()?(e=yn(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 sE(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function iE(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function oE(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=_1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=yn(e),e){case"year":i=Hl(this,r)/12;break;case"month":i=Hl(this,r);break;case"quarter":i=Hl(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:wn(i)}function Hl(t,e){if(t.date()<e.date())return-Hl(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 aE(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lE(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Dl(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",Dl(n,"Z")):Dl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function cE(){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 dE(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Dl(this,t);return this.localeData().postformat(e)}function uE(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function hE(t){return this.from(qe(),t)}function fE(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mE(t){return this.to(qe(),t)}function Hp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var Yp=_n("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 Wp(){return this._locale}var Yl=1e3,Oi=60*Yl,Wl=60*Oi,jp=(365*400+97)*24*Wl;function Di(t,e){return(t%e+e)%e}function Zp(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-jp:new Date(t,e,n).valueOf()}function Up(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-jp:Date.UTC(t,e,n)}function pE(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Up:Zp,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),Wl);break;case"minute":e=this._d.valueOf(),e-=Di(e,Oi);break;case"second":e=this._d.valueOf(),e-=Di(e,Yl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function gE(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Up:Zp,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+=Wl-Di(e+(this._isUTC?0:this.utcOffset()*Oi),Wl)-1;break;case"minute":e=this._d.valueOf(),e+=Oi-Di(e,Oi)-1;break;case"second":e=this._d.valueOf(),e+=Yl-Di(e,Yl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function _E(){return this._d.valueOf()-(this._offset||0)*6e4}function yE(){return Math.floor(this.valueOf()/1e3)}function wE(){return new Date(this.valueOf())}function bE(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kE(){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 CE(){return this.isValid()?this.toISOString():null}function xE(){return Uu(this)}function ME(){return es({},_e(this))}function vE(){return _e(this).overflow}function SE(){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",w1),se("NN",w1),se("NNN",w1),se("NNNN",AE),se("NNNNN",RE),Ie(["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",FE),Ie(["y","yy","yyy","yyyy"],Pt),Ie(["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 TE(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 OE(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 DE(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 EE(){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 $E(){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 PE(){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 LE(){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 NE(t){return Ee(this,"_erasNameRegex")||b1.call(this),t?this._erasNameRegex:this._erasRegex}function VE(t){return Ee(this,"_erasAbbrRegex")||b1.call(this),t?this._erasAbbrRegex:this._erasRegex}function BE(t){return Ee(this,"_erasNarrowRegex")||b1.call(this),t?this._erasNarrowRegex:this._erasRegex}function w1(t,e){return e.erasAbbrRegex(t)}function AE(t,e){return e.erasNameRegex(t)}function RE(t,e){return e.erasNarrowRegex(t)}function FE(t,e){return e._eraYearOrdinalRegex||Mi}function b1(){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 jl(t,e){oe(0,[t,t.length],0,e)}jl("gggg","weekYear"),jl("ggggg","weekYear"),jl("GGGG","isoWeekYear"),jl("GGGGG","isoWeekYear"),se("G",Ll),se("g",Ll),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",r1,n1),se("gggg",r1,n1),se("GGGGG",Pl,El),se("ggggg",Pl,El),Uo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Uo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function IE(t){return qp.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zE(t){return qp.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function HE(){return xr(this.year(),1,4)}function YE(){return xr(this.isoWeekYear(),1,4)}function WE(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function jE(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function qp(t,e,n,r,s){var i;return t==null?Xo(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),ZE.call(this,t,e,n,r,s))}function ZE(t,e,n,r,s){var i=vp(t,e,n,r,s),a=Ko(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",mp),Ie("Q",function(t,e){e[kr]=(ke(t)-1)*3});function UE(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}),Ie(["D","DD"],nr),Ie("Do",function(t,e){e[nr]=ke(t.match(Ue)[0])});var Gp=Si("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",$l),se("DDDD",pp),Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function qE(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,s1),se("mm",Ue,sn),Ie(["m","mm"],Ln);var GE=Si("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,s1),se("ss",Ue,sn),Ie(["s","ss"],Cr);var KE=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",$l,mp),se("SS",$l,sn),se("SSS",$l,pp);var ns,Kp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function XE(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Ie(ns,XE);Kp=Si("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function QE(){return this._isUTC?"UTC":""}function JE(){return this._isUTC?"Coordinated Universal Time":""}var Q=jo.prototype;Q.add=jD,Q.calendar=QD,Q.clone=JD,Q.diff=oE,Q.endOf=gE,Q.format=dE,Q.from=uE,Q.fromNow=hE,Q.to=fE,Q.toNow=mE,Q.get=cO,Q.invalidAt=vE,Q.isAfter=eE,Q.isBefore=tE,Q.isBetween=nE,Q.isSame=rE,Q.isSameOrAfter=sE,Q.isSameOrBefore=iE,Q.isValid=xE,Q.lang=Yp,Q.locale=Hp,Q.localeData=Wp,Q.max=xD,Q.min=CD,Q.parsingFlags=ME,Q.set=dO,Q.startOf=pE,Q.subtract=ZD,Q.toArray=bE,Q.toObject=kE,Q.toDate=wE,Q.toISOString=lE,Q.inspect=cE,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=CE,Q.toString=aE,Q.unix=yE,Q.valueOf=_E,Q.creationData=SE,Q.eraName=EE,Q.eraNarrow=$E,Q.eraAbbr=PE,Q.eraYear=LE,Q.year=yp,Q.isLeapYear=lO,Q.weekYear=IE,Q.isoWeekYear=zE,Q.quarter=Q.quarters=UE,Q.month=xp,Q.daysInMonth=wO,Q.week=Q.weeks=TO,Q.isoWeek=Q.isoWeeks=OO,Q.weeksInYear=WE,Q.weeksInWeekYear=jE,Q.isoWeeksInYear=HE,Q.isoWeeksInISOWeekYear=YE,Q.date=Gp,Q.day=Q.days=zO,Q.weekday=HO,Q.isoWeekday=YO,Q.dayOfYear=qE,Q.hour=Q.hours=KO,Q.minute=Q.minutes=GE,Q.second=Q.seconds=KE,Q.millisecond=Q.milliseconds=Kp,Q.utcOffset=PD,Q.utc=ND,Q.local=VD,Q.parseZone=BD,Q.hasAlignedHourOffset=AD,Q.isDST=RD,Q.isLocal=ID,Q.isUtcOffset=zD,Q.isUtc=Ap,Q.isUTC=Ap,Q.zoneAbbr=QE,Q.zoneName=JE,Q.dates=_n("dates accessor is deprecated. Use date instead.",Gp),Q.months=_n("months accessor is deprecated. Use month instead",xp),Q.years=_n("years accessor is deprecated. Use year instead",yp),Q.zone=_n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",LD),Q.isDSTShifted=_n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",FD);function e$(t){return qe(t*1e3)}function t$(){return qe.apply(null,arguments).parseZone()}function Xp(t){return t}var $e=Xu.prototype;$e.calendar=IT,$e.longDateFormat=WT,$e.invalidDate=ZT,$e.ordinal=GT,$e.preparse=Xp,$e.postformat=Xp,$e.relativeTime=XT,$e.pastFuture=QT,$e.set=RT,$e.eras=TE,$e.erasParse=OE,$e.erasConvertYear=DE,$e.erasAbbrRegex=VE,$e.erasNameRegex=NE,$e.erasNarrowRegex=BE,$e.months=pO,$e.monthsShort=gO,$e.monthsParse=yO,$e.monthsRegex=kO,$e.monthsShortRegex=bO,$e.week=xO,$e.firstDayOfYear=SO,$e.firstDayOfWeek=vO,$e.weekdays=BO,$e.weekdaysMin=RO,$e.weekdaysShort=AO,$e.weekdaysParse=IO,$e.weekdaysRegex=WO,$e.weekdaysShortRegex=jO,$e.weekdaysMinRegex=ZO,$e.isPM=qO,$e.meridiem=XO;function Zl(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Qp(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Zl(t,r,n,"month");return s}function k1(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 Zl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Zl(e,(a+i)%7,r,"day");return l}function n$(t,e){return Qp(t,e,"months")}function r$(t,e){return Qp(t,e,"monthsShort")}function s$(t,e,n){return k1(t,e,n,"weekdays")}function i$(t,e,n){return k1(t,e,n,"weekdaysShort")}function o$(t,e,n){return k1(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=_n("moment.lang is deprecated. Use moment.locale instead.",ts),re.langData=_n("moment.langData is deprecated. Use moment.localeData instead.",Mr);var vr=Math.abs;function a$(){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 Jp(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 l$(t,e){return Jp(this,t,e,1)}function c$(t,e){return Jp(this,t,e,-1)}function e3(t){return t<0?Math.floor(t):Math.ceil(t)}function d$(){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+=e3(C1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=wn(t/1e3),r.seconds=s%60,i=wn(s/60),r.minutes=i%60,a=wn(i/60),r.hours=a%24,e+=wn(a/24),c=wn(t3(e)),n+=c,e-=e3(C1(c)),l=wn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function t3(t){return t*4800/146097}function C1(t){return t*146097/4800}function u$(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=yn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+t3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(C1(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 n3=Sr("ms"),h$=Sr("s"),f$=Sr("m"),m$=Sr("h"),p$=Sr("d"),g$=Sr("w"),_$=Sr("M"),y$=Sr("Q"),w$=Sr("y"),b$=n3;function k$(){return Nn(this)}function C$(t){return t=yn(t),this.isValid()?this[t+"s"]():NaN}function Hs(t){return function(){return this.isValid()?this._data[t]:NaN}}var x$=Hs("milliseconds"),M$=Hs("seconds"),v$=Hs("minutes"),S$=Hs("hours"),T$=Hs("days"),O$=Hs("months"),D$=Hs("years");function E$(){return wn(this.days()/7)}var Tr=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $$(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function P$(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,$$.apply(null,f)}function L$(t){return t===void 0?Tr:typeof t=="function"?(Tr=t,!0):!1}function N$(t,e){return Ei[t]===void 0?!1:e===void 0?Ei[t]:(Ei[t]=e,t==="s"&&(Ei.ss=e-1),!0)}function V$(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=P$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var x1=Math.abs;function $i(t){return(t>0)-(t<0)||+t}function Ul(){if(!this.isValid())return this.localeData().invalidDate();var t=x1(this._milliseconds)/1e3,e=x1(this._days),n=x1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=wn(t/60),s=wn(r/60),t%=60,r%=60,i=wn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=$i(this._months)!==$i(l)?"-":"",u=$i(this._days)!==$i(l)?"-":"",h=$i(this._milliseconds)!==$i(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=Il.prototype;Se.isValid=OD,Se.abs=a$,Se.add=l$,Se.subtract=c$,Se.as=u$,Se.asMilliseconds=n3,Se.asSeconds=h$,Se.asMinutes=f$,Se.asHours=m$,Se.asDays=p$,Se.asWeeks=g$,Se.asMonths=_$,Se.asQuarters=y$,Se.asYears=w$,Se.valueOf=b$,Se._bubble=d$,Se.clone=k$,Se.get=C$,Se.milliseconds=x$,Se.seconds=M$,Se.minutes=v$,Se.hours=S$,Se.days=T$,Se.weeks=E$,Se.months=O$,Se.years=D$,Se.humanize=V$,Se.toISOString=Ul,Se.toString=Ul,Se.toJSON=Ul,Se.locale=Hp,Se.localeData=Wp,Se.toIsoString=_n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ul),Se.lang=Yp,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",Ll),se("X",nO),Ie("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),Ie("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
45
- re.version="2.30.1",BT(qe),re.fn=Q,re.min=MD,re.max=vD,re.now=SD,re.utc=Jn,re.unix=e$,re.months=n$,re.isDate=Wo,re.locale=ts,re.invalid=Tl,re.duration=Nn,re.isMoment=Pn,re.weekdays=s$,re.parseZone=t$,re.localeData=Mr,re.isDuration=zl,re.monthsShort=r$,re.weekdaysMin=o$,re.defineLocale=d1,re.updateLocale=tD,re.locales=nD,re.weekdaysShort=i$,re.normalizeUnits=yn,re.relativeTimeRounding=L$,re.relativeTimeThreshold=N$,re.calendarFormat=XD,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 B$={class:"calendar-dropdown"},A$={class:"calendar-dropdown__outer__left"},R$={class:"calendar-dropdown__outer__current"},F$={key:0,class:"calendar-dropdown__inner"},I$={class:"calendar-dropdown__year-switcher"},z$={class:"calendar-dropdown__year-switcher__year"},H$={class:"calendar-dropdown__months"},Y$={class:"calendar-dropdown__month-container"},W$=["onClick"],r3=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",B$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",A$,[o.createVNode(o.unref(Pe),{icon:"calendar"}),o.createElementVNode("span",R$,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Pe),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",F$,[o.createElementVNode("div",I$,[o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",z$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",H$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",Y$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,W$)]))),256))])])),[[o.unref(sp),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),j$={class:"period-dropdown"},Z$={class:"period-dropdown__outer__left"},U$={class:"period-dropdown__outer__current"},q$={key:0,class:"period-dropdown__inner"},G$=["onClick"],Ys=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",j$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",Z$,[o.createVNode(o.unref(Pe),{icon:"clock"}),o.createElementVNode("span",U$,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Pe),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",q$,[(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(Pe),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,G$)),64))])),[[o.unref(sp),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),K$={class:"progress-line-container"},X$={class:"progress-line"},Q$={class:"progress-line__part"},J$={class:"progress-digits"},eP={class:"progress-digits__value"},tP={class:"progress-digits__value"},nP={class:"progress-digits__value"},s3=Oe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Tt(e.currentProfit/e.profit*100):e.currentProfit<0?Tt(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%":"calc(100% - 88px)":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",K$,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",X$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",Q$,[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",J$,[o.createElementVNode("div",eP,"-"+o.toDisplayString(o.unref(ln)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",tP,o.toDisplayString(o.unref(ln)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",nP," +"+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-c6fbd53e"]]),rP={class:"widget-chips__text"},ql=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(Pe),{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 Gl(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=Gl({},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,"",Gl({},i,{expires:-1}))},withAttributes:function(s){return M1(this.converter,Gl({},this.attributes,s))},withConverter:function(s){return M1(Gl({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Pi=M1(sP,{path:"/"});class on{static setItem(e,n,r=Date.now()+31449600){Pi.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Pi.get(e)}static removeItem(e){Pi.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Pi.get());for(const n of e)Pi.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Pi.get()}}function i3(t,e){return function(){return t.apply(e,arguments)}}const{toString:iP}=Object.prototype,{getPrototypeOf:v1}=Object,Kl=(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=>Kl(e)===t),Xl=t=>e=>typeof e===t,{isArray:Li}=Array,ta=Xl("undefined");function oP(t){return t!==null&&!ta(t)&&t.constructor!==null&&!ta(t.constructor)&&bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const o3=rr("ArrayBuffer");function aP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&o3(t.buffer),e}const lP=Xl("string"),bn=Xl("function"),a3=Xl("number"),Ql=t=>t!==null&&typeof t=="object",cP=t=>t===!0||t===!1,Jl=t=>{if(Kl(t)!=="object")return!1;const e=v1(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=>Ql(t)&&bn(t.pipe),pP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||bn(t.append)&&((e=Kl(t))==="formdata"||e==="object"&&bn(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 na(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),Li(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 l3(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 c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d3=t=>!ta(t)&&t!==c3;function S1(){const{caseless:t}=d3(this)&&this||{},e={},n=(r,s)=>{const i=t&&l3(e,s)||s;Jl(e[i])&&Jl(r)?e[i]=S1(e[i],r):Jl(r)?e[i]=S1({},r):Li(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&na(arguments[r],n);return e}const yP=(t,e,n,{allOwnKeys:r}={})=>(na(e,(s,i)=>{n&&bn(s)?t[i]=i3(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&&v1(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(Li(t))return t;let e=t.length;if(!a3(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"&&v1(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}),u3=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),DP=rr("RegExp"),h3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};na(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},EP=t=>{h3(t,(e,n)=>{if(bn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(bn(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+"'")})}})},$P=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Li(t)?r(t):r(String(t).split(e)),n},PP=()=>{},LP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),T1="abcdefghijklmnopqrstuvwxyz",f3="0123456789",m3={DIGIT:f3,ALPHA:T1,ALPHA_DIGIT:T1+T1.toUpperCase()+f3},NP=(t=16,e=m3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function VP(t){return!!(t&&bn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const BP=t=>{const e=new Array(10),n=(r,s)=>{if(Ql(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Li(r)?[]:{};return na(r,(a,l)=>{const c=n(a,s+1);!ta(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},AP=rr("AsyncFunction"),Y={isArray:Li,isArrayBuffer:o3,isBuffer:oP,isFormData:pP,isArrayBufferView:aP,isString:lP,isNumber:a3,isBoolean:cP,isObject:Ql,isPlainObject:Jl,isUndefined:ta,isDate:dP,isFile:uP,isBlob:hP,isRegExp:DP,isFunction:bn,isStream:mP,isURLSearchParams:gP,isTypedArray:MP,isFileList:fP,forEach:na,merge:S1,extend:yP,trim:_P,stripBOM:wP,inherits:bP,toFlatObject:kP,kindOf:Kl,kindOfTest:rr,endsWith:CP,toArray:xP,forEachEntry:vP,matchAll:SP,isHTMLForm:TP,hasOwnProperty:u3,hasOwnProp:u3,reduceDescriptors:h3,freezeMethods:EP,toObjectSet:$P,toCamelCase:OP,noop:PP,toFiniteNumber:LP,findKey:l3,global:c3,isContextDefined:d3,ALPHABET:m3,generateString:NP,isSpecCompliantForm:VP,toJSONObject:BP,isAsyncFn:AP,isThenable:t=>t&&(Ql(t)||bn(t))&&bn(t.then)&&bn(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)}Y.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:Y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const p3=Te.prototype,g3={};["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=>{g3[t]={value:t}}),Object.defineProperties(Te,g3),Object.defineProperty(p3,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(p3);return Y.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 RP=null;function O1(t){return Y.isPlainObject(t)||Y.isArray(t)}function _3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function y3(t,e,n){return t?t.concat(e).map(function(s,i){return s=_3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function FP(t){return Y.isArray(t)&&!t.some(O1)}const IP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function ec(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!Y.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(Y.isDate(g))return g.toISOString();if(!c&&Y.isBlob(g))throw new Te("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(g)||Y.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(Y.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(Y.isArray(g)&&FP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=_3(p),y.forEach(function(b,S){!(Y.isUndefined(b)||b===null)&&e.append(a===!0?y3([p],S,i):a===null?p:p+"[]",d(b))}),!1}return O1(g)?!0:(e.append(y3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(IP,{defaultVisitor:u,convertValue:d,isVisitable:O1});function m(g,p){if(!Y.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),Y.forEach(g,function(y,C){(!(Y.isUndefined(y)||y===null)&&s.call(e,y,Y.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return m(t),e}function w3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function D1(t,e){this._pairs=[],t&&ec(t,this,e)}const b3=D1.prototype;b3.append=function(e,n){this._pairs.push([e,n])},b3.toString=function(e){const n=e?function(r){return e.call(this,r,w3)}:w3;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 k3(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=Y.isURLSearchParams(e)?e.toString():new D1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class C3{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){Y.forEach(this.handlers,function(r){r!==null&&e(r)})}}const x3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:D1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},M3=typeof window<"u"&&typeof document<"u",YP=(t=>M3&&["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:M3,hasStandardBrowserEnv:YP,hasStandardBrowserWebWorkerEnv:WP},Symbol.toStringTag,{value:"Module"})),...HP};function jP(t,e){return ec(t,new sr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return sr.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function ZP(t){return Y.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 v3(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&&Y.isArray(s)?s.length:a,c?(Y.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!Y.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&Y.isArray(s[a])&&(s[a]=UP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(ZP(r),s,n,0)}),n}return null}function qP(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const E1={transitional:x3,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=Y.isObject(e);if(i&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return s?JSON.stringify(v3(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.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=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ec(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||E1.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&Y.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}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{E1.headers[t]={}});const $1=E1,GP=Y.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},S3=Symbol("internals");function ra(t){return t&&String(t).trim().toLowerCase()}function tc(t){return t===!1||t==null?t:Y.isArray(t)?t.map(tc):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 P1(t,e,n,r,s){if(Y.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!Y.isString(e)){if(Y.isString(r))return e.indexOf(r)!==-1;if(Y.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=Y.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 nc{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=ra(c);if(!u)throw new Error("header name must be a non-empty string");const h=Y.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=tc(l))}const a=(l,c)=>Y.forEach(l,(d,u)=>i(d,u,c));return Y.isPlainObject(e)||e instanceof this.constructor?a(e,n):Y.isString(e)&&(e=e.trim())&&!QP(e)?a(KP(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=ra(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return XP(s);if(Y.isFunction(n))return n.call(this,s,r);if(Y.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ra(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||P1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=ra(a),a){const l=Y.findKey(r,a);l&&(!n||P1(r,r[l],l,n))&&(delete r[l],s=!0)}}return Y.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||P1(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return Y.forEach(this,(s,i)=>{const a=Y.findKey(r,i);if(a){n[a]=tc(s),delete n[i];return}const l=e?JP(i):String(i).trim();l!==i&&delete n[i],n[l]=tc(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Y.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&Y.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[S3]=this[S3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=ra(a);r[l]||(eL(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}nc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(nc.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(nc);const Or=nc;function L1(t,e){const n=this||$1,r=e||n,s=Or.from(r.headers);let i=r.data;return Y.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function T3(t){return!!(t&&t.__CANCEL__)}function sa(t,e,n){Te.call(this,t??"canceled",Te.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(sa,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)];Y.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&a.push("path="+r),Y.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 O3(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=Y.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 D3(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 N1={http:RP,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(Y.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=O3(t.baseURL,t.url);h.open(t.method.toUpperCase(),k3(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(b){n(b),d()},function(b){r(b),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||x3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new Te(_,y.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,t,h)),h=null},sr.hasStandardBrowserEnv&&(l&&Y.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&&Y.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),Y.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",D3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",D3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new sa(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)})}};Y.forEach(N1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const E3=t=>`- ${t}`,lL=t=>Y.isFunction(t)||t===null||t===!1,$3={getAdapter:t=>{t=Y.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=N1[(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 dp={};function up(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),dp[t]||(cp(e),dp[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 AT(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 Ku(t,e){var n=es({},t),r;for(r in e)Ee(e,r)&&(Fs(t[r])&&Fs(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)&&Fs(t[r])&&(n[r]=es({},n[r]));return n}function Xu(t){t!=null&&this.set(t)}var Qu;Object.keys?Qu=Object.keys:Qu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var RT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function FT(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 Ju=/(\[[^\[]*\])|(\\)?([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,Ol=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,e1={},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 IT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function zT(t){var e=t.match(Ju),n,r;for(n=0,r=e.length;n<r;n++)xi[e[n]]?e[n]=xi[e[n]]:e[n]=IT(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 Dl(t,e){return t.isValid()?(e=hp(e,t.localeData()),e1[e]=e1[e]||zT(e),e1[e](t)):t.localeData().invalidDate()}function hp(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(Ol.lastIndex=0;n>=0&&Ol.test(t);)t=t.replace(Ol,r),Ol.lastIndex=0,n-=1;return t}var HT={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 YT(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Ju).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var WT="Invalid date";function jT(){return this._invalidDate}var ZT="%d",UT=/\d{1,2}/;function qT(t){return this._ordinal.replace("%d",t)}var GT={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 KT(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function XT(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var fp={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 yn(t){return typeof t=="string"?fp[t]||fp[t.toLowerCase()]:void 0}function t1(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=yn(r),n&&(e[n]=t[r]));return e}var QT={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 JT(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:QT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var mp=/\d/,sn=/\d\d/,pp=/\d{3}/,n1=/\d{4}/,El=/[+-]?\d{6}/,Ue=/\d\d?/,gp=/\d\d\d\d?/,_p=/\d\d\d\d\d\d?/,$l=/\d{1,3}/,r1=/\d{1,4}/,Pl=/[+-]?\d{1,6}/,Mi=/\d+/,Ll=/[+-]?\d+/,eO=/Z|[+-]\d\d:?\d\d/gi,Nl=/Z|[+-]\d\d(?::?\d\d)?/gi,tO=/[+-]?\d+(\.\d{1,3})?/,Zo=/[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?/,s1=/^([1-9]\d|\d)/,Vl;Vl={};function se(t,e,n){Vl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function nO(t,e){return Ee(Vl,t)?Vl[t](e._strict,e._locale):new RegExp(rO(t))}function rO(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 wn(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=wn(e)),n}var i1={};function Ie(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++)i1[t[n]]=r}function Uo(t,e){Ie(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function sO(t,e,n){e!=null&&Ee(i1,t)&&i1[t](e,n._a,n,t)}function Bl(t){return t%4===0&&t%100!==0||t%400===0}var Pt=0,kr=1,nr=2,bt=3,Ln=4,Cr=5,Is=6,iO=7,oO=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",Ll),se("YY",Ue,sn),se("YYYY",r1,n1),se("YYYYY",Pl,El),se("YYYYYY",Pl,El),Ie(["YYYYY","YYYYYY"],Pt),Ie("YYYY",function(t,e){e[Pt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Ie("YY",function(t,e){e[Pt]=re.parseTwoDigitYear(t)}),Ie("Y",function(t,e){e[Pt]=parseInt(t,10)});function qo(t){return Bl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var yp=Si("FullYear",!0);function aO(){return Bl(this.year())}function Si(t,e){return function(n){return n!=null?(wp(this,t,n),re.updateOffset(this,e),this):Go(this,t)}}function Go(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 wp(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&&!Bl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function lO(t){return t=yn(t),er(this[t])?this[t]():this}function cO(t,e){if(typeof t=="object"){t=t1(t);var n=JT(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=yn(t),er(this[t]))return this[t](e);return this}function dO(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 o1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=dO(e,12);return t+=(e-n)/12,n===1?Bl(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)}),Ie(["M","MM"],function(t,e){e[kr]=ke(t)-1}),Ie(["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 uO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),bp="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kp=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,hO=Zo,fO=Zo;function mO(t,e){return t?$n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kp).test(e)?"format":"standalone"][t.month()]:$n(this._months)?this._months:this._months.standalone}function pO(t,e){return t?$n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kp.test(e)?"format":"standalone"][t.month()]:$n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gO(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 _O(t,e,n){var r,s,i;if(this._monthsParseExact)return gO.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 Cp(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,o1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function xp(t){return t!=null?(Cp(this,t),re.updateOffset(this,!0),this):Go(this,"Month")}function yO(){return o1(this.year(),this.month())}function wO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||Mp.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=hO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function bO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||Mp.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=fO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Mp(){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 kO(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 Ko(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 Al(t,e,n){var r=7+e-n,s=(7+Ko(t,0,r).getUTCDay()-e)%7;return-s+r-1}function vp(t,e,n,r,s){var i=(7+n-r)%7,a=Al(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=qo(c)+l):l>qo(t)?(c=t+1,d=l-qo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Xo(t,e,n){var r=Al(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=Al(t,e,n),s=Al(t+1,e,n);return(qo(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),Uo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function CO(t){return Xo(t,this._week.dow,this._week.doy).week}var xO={dow:0,doy:6};function MO(){return this._week.dow}function vO(){return this._week.doy}function SO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function TO(t){var e=Xo(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)}),Uo(["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}),Uo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function OO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function DO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function a1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var EO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$O="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),PO=Zo,LO=Zo,NO=Zo;function VO(t,e){var n=$n(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?a1(n,this._week.dow):t?n[t.day()]:n}function BO(t){return t===!0?a1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function AO(t){return t===!0?a1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function RO(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 FO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return RO.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 IO(t){if(!this.isValid())return t!=null?this:NaN;var e=Go(this,"Day");return t!=null?(t=OO(t,this.localeData()),this.add(t-e,"d")):e}function zO(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 HO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=DO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function YO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=PO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function WO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=LO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function jO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||l1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=NO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function l1(){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 c1(){return this.hours()%12||12}function ZO(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,c1),oe("k",["kk",2],0,ZO),oe("hmm",0,0,function(){return""+c1.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+c1.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 Tp(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Tp("a",!0),Tp("A",!1);function Op(t,e){return e._meridiemParse}se("a",Op),se("A",Op),se("H",Ue,s1),se("h",Ue,vi),se("k",Ue,vi),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",gp),se("hmmss",_p),se("Hmm",gp),se("Hmmss",_p),Ie(["H","HH"],bt),Ie(["k","kk"],function(t,e,n){var r=ke(t);e[bt]=r===24?0:r}),Ie(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Ie(["h","hh"],function(t,e,n){e[bt]=ke(t),_e(n).bigHour=!0}),Ie("hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r)),_e(n).bigHour=!0}),Ie("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s)),_e(n).bigHour=!0}),Ie("Hmm",function(t,e,n){var r=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r))}),Ie("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[bt]=ke(t.substr(0,r)),e[Ln]=ke(t.substr(r,2)),e[Cr]=ke(t.substr(s))});function UO(t){return(t+"").toLowerCase().charAt(0)==="p"}var qO=/[ap]\.?m?\.?/i,GO=Si("Hours",!0);function KO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Dp={calendar:RT,longDateFormat:HT,invalidDate:WT,ordinal:ZT,dayOfMonthOrdinalParse:UT,relativeTime:GT,months:uO,monthsShort:bp,week:xO,weekdays:EO,weekdaysMin:$O,weekdaysShort:Sp,meridiemParse:qO},Ke={},Qo={},Jo;function XO(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 Ep(t){return t&&t.toLowerCase().replace("_","-")}function QO(t){for(var e=0,n,r,s,i;e<t.length;){for(i=Ep(t[e]).split("-"),n=i.length,r=Ep(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Rl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&XO(i,r)>=n-1)break;n--}e++}return Jo}function JO(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Rl(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&JO(t))try{e=Jo._abbr,n=require,n("./locale/"+t),ts(e)}catch{Ke[t]=null}return Ke[t]}function ts(t,e){var n;return t&&(Wt(e)?n=Mr(t):n=d1(t,e),n?Jo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Jo._abbr}function d1(t,e){if(e!==null){var n,r=Dp;if(e.abbr=t,Ke[t]!=null)up("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=Rl(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 Xu(Ku(r,e)),Qo[t]&&Qo[t].forEach(function(s){d1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function eD(t,e){if(e!=null){var n,r,s=Dp;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Ku(Ke[t]._config,e)):(r=Rl(t),r!=null&&(s=r._config),e=Ku(s,e),r==null&&(e.abbr=t),n=new Xu(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 Jo;if(!$n(t)){if(e=Rl(t),e)return e;t=[t]}return QO(t)}function tD(){return Qu(Ke)}function u1(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]>o1(n[Pt],n[kr])?nr:n[bt]<0||n[bt]>24||n[bt]===24&&(n[Ln]!==0||n[Cr]!==0||n[Is]!==0)?bt:n[Ln]<0||n[Ln]>59?Ln: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=iO),_e(t)._overflowWeekday&&e===-1&&(e=oO),_e(t).overflow=e),t}var nD=/^\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)?)?$/,rD=/^\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)?)?$/,sD=/Z|[+-]\d\d(?::?\d\d)?/,Fl=[["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]],h1=[["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/]],iD=/^\/?Date\((-?\d+)/i,oD=/^(?:(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}))$/,aD={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 $p(t){var e,n,r=t._i,s=nD.exec(r)||rD.exec(r),i,a,l,c,d=Fl.length,u=h1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Fl[e][1].exec(s[1])){a=Fl[e][0],i=Fl[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(h1[e][1].exec(s[3])){l=(s[2]||" ")+h1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(sD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),m1(t)}else t._isValid=!1}function lD(t,e,n,r,s,i){var a=[cD(t),bp.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function cD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function dD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function uD(t,e,n){if(t){var r=Sp.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 hD(t,e,n){if(t)return aD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function Pp(t){var e=oD.exec(dD(t._i)),n;if(e){if(n=lD(e[4],e[3],e[2],e[5],e[6],e[7]),!uD(e[1],n,t))return;t._a=n,t._tzm=hD(e[8],e[9],e[10]),t._d=Ko.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function fD(t){var e=iD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if($p(t),t._isValid===!1)delete t._isValid;else return;if(Pp(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=_n("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 mD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function f1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=mD(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&pD(t),t._dayOfYear!=null&&(a=Ti(t._a[Pt],s[Pt]),(t._dayOfYear>qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Ko(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[Ln]===0&&t._a[Cr]===0&&t._a[Is]===0&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Ko:kO).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 pD(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],Xo(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=Xo(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=vp(n,r,s,i,a),t._a[Pt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function m1(t){if(t._f===re.ISO_8601){$p(t);return}if(t._f===re.RFC_2822){Pp(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=hp(t._f,t._locale).match(Ju)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(nO(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),sO(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]=gD(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Pt]=t._locale.erasConvertYear(d,t._a[Pt])),f1(t),u1(t)}function gD(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 _D(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=Gu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],m1(e),Uu(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 yD(t){if(!t._d){var e=t1(t._i),n=e.day===void 0?e.date:e.day;t._a=ap([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),f1(t)}}function wD(t){var e=new jo(u1(Lp(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Lp(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?Tl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Pn(e)?new jo(u1(e)):(Wo(e)?t._d=e:$n(n)?_D(t):n?m1(t):bD(t),Uu(t)||(t._d=null),t))}function bD(t){var e=t._i;Wt(e)?t._d=new Date(re.now()):Wo(e)?t._d=new Date(e.valueOf()):typeof e=="string"?fD(t):$n(e)?(t._a=ap(e.slice(0),function(n){return parseInt(n,10)}),f1(t)):Fs(e)?yD(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function Np(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),(Fs(t)&&ju(t)||$n(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,wD(i)}function qe(t,e,n,r){return Np(t,e,n,r,!1)}var kD=_n("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:Tl()}),CD=_n("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:Tl()});function Vp(t,e){var n,r;if(e.length===1&&$n(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 xD(){var t=[].slice.call(arguments,0);return Vp("isBefore",t)}function MD(){var t=[].slice.call(arguments,0);return Vp("isAfter",t)}var vD=function(){return Date.now?Date.now():+new Date},ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function SD(t){var e,n=!1,r,s=ea.length;for(e in t)if(Ee(t,e)&&!(pt.call(ea,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ea[r]]){if(n)return!1;parseFloat(t[ea[r]])!==ke(t[ea[r]])&&(n=!0)}return!0}function TD(){return this._isValid}function OD(){return Nn(NaN)}function Il(t){var e=t1(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=SD(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 zl(t){return t instanceof Il}function p1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function DD(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 Bp(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)})}Bp("Z",":"),Bp("ZZ",""),se("Z",Nl),se("ZZ",Nl),Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=g1(Nl,t)});var ED=/([\+\-]|\d\d)/gi;function g1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(ED)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function _1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Pn(t)||Wo(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function y1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function $D(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=g1(Nl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=y1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?Ip(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:y1(this)}function PD(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function LD(t){return this.utcOffset(0,t)}function ND(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(y1(this),"m")),this}function VD(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=g1(eO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function BD(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function AD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function RD(){if(!Wt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Gu(t,this),t=Lp(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&DD(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function FD(){return this.isValid()?!this._isUTC:!1}function ID(){return this.isValid()?this._isUTC:!1}function Ap(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,HD=/^(-|\+)?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 zl(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[Ln])*s,s:ke(r[Cr])*s,ms:ke(p1(r[Is]*1e3))*s}):(r=HD.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=YD(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Il(n),zl(t)&&Ee(t,"_locale")&&(i._locale=t._locale),zl(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Il.prototype,Nn.invalid=OD;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Rp(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 YD(t,e){var n;return t.isValid()&&e.isValid()?(e=_1(e,t),t.isBefore(e)?n=Rp(t,e):(n=Rp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Fp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(up(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),Ip(this,s,t),this}}function Ip(t,e,n,r){var s=e._milliseconds,i=p1(e._days),a=p1(e._months);t.isValid()&&(r=r??!0,a&&Cp(t,Go(t,"Month")+a*n),i&&wp(t,"Date",Go(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var WD=Fp(1,"add"),jD=Fp(-1,"subtract");function zp(t){return typeof t=="string"||t instanceof String}function ZD(t){return Pn(t)||Wo(t)||zp(t)||wr(t)||qD(t)||UD(t)||t===null||t===void 0}function UD(t){var e=Fs(t)&&!ju(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 qD(t){var e=$n(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&zp(t)}).length===0),e&&n}function GD(t){var e=Fs(t)&&!ju(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 KD(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 XD(t,e){arguments.length===1&&(arguments[0]?ZD(arguments[0])?(t=arguments[0],e=void 0):GD(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=_1(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 QD(){return new jo(this)}function JD(t,e){var n=Pn(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=yn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function eE(t,e){var n=Pn(t)?t:qe(t);return this.isValid()&&n.isValid()?(e=yn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function tE(t,e,n,r){var s=Pn(t)?t:qe(t),i=Pn(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 nE(t,e){var n=Pn(t)?t:qe(t),r;return this.isValid()&&n.isValid()?(e=yn(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 rE(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function sE(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function iE(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=_1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=yn(e),e){case"year":i=Hl(this,r)/12;break;case"month":i=Hl(this,r);break;case"quarter":i=Hl(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:wn(i)}function Hl(t,e){if(t.date()<e.date())return-Hl(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 oE(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function aE(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Dl(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",Dl(n,"Z")):Dl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function lE(){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 cE(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Dl(this,t);return this.localeData().postformat(e)}function dE(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function uE(t){return this.from(qe(),t)}function hE(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function fE(t){return this.to(qe(),t)}function Hp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var Yp=_n("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 Wp(){return this._locale}var Yl=1e3,Oi=60*Yl,Wl=60*Oi,jp=(365*400+97)*24*Wl;function Di(t,e){return(t%e+e)%e}function Zp(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-jp:new Date(t,e,n).valueOf()}function Up(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-jp:Date.UTC(t,e,n)}function mE(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Up:Zp,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),Wl);break;case"minute":e=this._d.valueOf(),e-=Di(e,Oi);break;case"second":e=this._d.valueOf(),e-=Di(e,Yl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function pE(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Up:Zp,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+=Wl-Di(e+(this._isUTC?0:this.utcOffset()*Oi),Wl)-1;break;case"minute":e=this._d.valueOf(),e+=Oi-Di(e,Oi)-1;break;case"second":e=this._d.valueOf(),e+=Yl-Di(e,Yl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function gE(){return this._d.valueOf()-(this._offset||0)*6e4}function _E(){return Math.floor(this.valueOf()/1e3)}function yE(){return new Date(this.valueOf())}function wE(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function bE(){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 kE(){return this.isValid()?this.toISOString():null}function CE(){return Uu(this)}function xE(){return es({},_e(this))}function ME(){return _e(this).overflow}function vE(){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",w1),se("NN",w1),se("NNN",w1),se("NNNN",BE),se("NNNNN",AE),Ie(["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",RE),Ie(["y","yy","yyy","yyyy"],Pt),Ie(["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 SE(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 TE(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 OE(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 DE(){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 EE(){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 $E(){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 PE(){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 LE(t){return Ee(this,"_erasNameRegex")||b1.call(this),t?this._erasNameRegex:this._erasRegex}function NE(t){return Ee(this,"_erasAbbrRegex")||b1.call(this),t?this._erasAbbrRegex:this._erasRegex}function VE(t){return Ee(this,"_erasNarrowRegex")||b1.call(this),t?this._erasNarrowRegex:this._erasRegex}function w1(t,e){return e.erasAbbrRegex(t)}function BE(t,e){return e.erasNameRegex(t)}function AE(t,e){return e.erasNarrowRegex(t)}function RE(t,e){return e._eraYearOrdinalRegex||Mi}function b1(){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 jl(t,e){oe(0,[t,t.length],0,e)}jl("gggg","weekYear"),jl("ggggg","weekYear"),jl("GGGG","isoWeekYear"),jl("GGGGG","isoWeekYear"),se("G",Ll),se("g",Ll),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",r1,n1),se("gggg",r1,n1),se("GGGGG",Pl,El),se("ggggg",Pl,El),Uo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Uo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function FE(t){return qp.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function IE(t){return qp.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function zE(){return xr(this.year(),1,4)}function HE(){return xr(this.isoWeekYear(),1,4)}function YE(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function WE(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function qp(t,e,n,r,s){var i;return t==null?Xo(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),jE.call(this,t,e,n,r,s))}function jE(t,e,n,r,s){var i=vp(t,e,n,r,s),a=Ko(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",mp),Ie("Q",function(t,e){e[kr]=(ke(t)-1)*3});function ZE(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}),Ie(["D","DD"],nr),Ie("Do",function(t,e){e[nr]=ke(t.match(Ue)[0])});var Gp=Si("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",$l),se("DDDD",pp),Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function UE(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,s1),se("mm",Ue,sn),Ie(["m","mm"],Ln);var qE=Si("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,s1),se("ss",Ue,sn),Ie(["s","ss"],Cr);var GE=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",$l,mp),se("SS",$l,sn),se("SSS",$l,pp);var ns,Kp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function KE(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Ie(ns,KE);Kp=Si("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function XE(){return this._isUTC?"UTC":""}function QE(){return this._isUTC?"Coordinated Universal Time":""}var Q=jo.prototype;Q.add=WD,Q.calendar=XD,Q.clone=QD,Q.diff=iE,Q.endOf=pE,Q.format=cE,Q.from=dE,Q.fromNow=uE,Q.to=hE,Q.toNow=fE,Q.get=lO,Q.invalidAt=ME,Q.isAfter=JD,Q.isBefore=eE,Q.isBetween=tE,Q.isSame=nE,Q.isSameOrAfter=rE,Q.isSameOrBefore=sE,Q.isValid=CE,Q.lang=Yp,Q.locale=Hp,Q.localeData=Wp,Q.max=CD,Q.min=kD,Q.parsingFlags=xE,Q.set=cO,Q.startOf=mE,Q.subtract=jD,Q.toArray=wE,Q.toObject=bE,Q.toDate=yE,Q.toISOString=aE,Q.inspect=lE,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=kE,Q.toString=oE,Q.unix=_E,Q.valueOf=gE,Q.creationData=vE,Q.eraName=DE,Q.eraNarrow=EE,Q.eraAbbr=$E,Q.eraYear=PE,Q.year=yp,Q.isLeapYear=aO,Q.weekYear=FE,Q.isoWeekYear=IE,Q.quarter=Q.quarters=ZE,Q.month=xp,Q.daysInMonth=yO,Q.week=Q.weeks=SO,Q.isoWeek=Q.isoWeeks=TO,Q.weeksInYear=YE,Q.weeksInWeekYear=WE,Q.isoWeeksInYear=zE,Q.isoWeeksInISOWeekYear=HE,Q.date=Gp,Q.day=Q.days=IO,Q.weekday=zO,Q.isoWeekday=HO,Q.dayOfYear=UE,Q.hour=Q.hours=GO,Q.minute=Q.minutes=qE,Q.second=Q.seconds=GE,Q.millisecond=Q.milliseconds=Kp,Q.utcOffset=$D,Q.utc=LD,Q.local=ND,Q.parseZone=VD,Q.hasAlignedHourOffset=BD,Q.isDST=AD,Q.isLocal=FD,Q.isUtcOffset=ID,Q.isUtc=Ap,Q.isUTC=Ap,Q.zoneAbbr=XE,Q.zoneName=QE,Q.dates=_n("dates accessor is deprecated. Use date instead.",Gp),Q.months=_n("months accessor is deprecated. Use month instead",xp),Q.years=_n("years accessor is deprecated. Use year instead",yp),Q.zone=_n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",PD),Q.isDSTShifted=_n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",RD);function JE(t){return qe(t*1e3)}function e$(){return qe.apply(null,arguments).parseZone()}function Xp(t){return t}var $e=Xu.prototype;$e.calendar=FT,$e.longDateFormat=YT,$e.invalidDate=jT,$e.ordinal=qT,$e.preparse=Xp,$e.postformat=Xp,$e.relativeTime=KT,$e.pastFuture=XT,$e.set=AT,$e.eras=SE,$e.erasParse=TE,$e.erasConvertYear=OE,$e.erasAbbrRegex=NE,$e.erasNameRegex=LE,$e.erasNarrowRegex=VE,$e.months=mO,$e.monthsShort=pO,$e.monthsParse=_O,$e.monthsRegex=bO,$e.monthsShortRegex=wO,$e.week=CO,$e.firstDayOfYear=vO,$e.firstDayOfWeek=MO,$e.weekdays=VO,$e.weekdaysMin=AO,$e.weekdaysShort=BO,$e.weekdaysParse=FO,$e.weekdaysRegex=YO,$e.weekdaysShortRegex=WO,$e.weekdaysMinRegex=jO,$e.isPM=UO,$e.meridiem=KO;function Zl(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Qp(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Zl(t,r,n,"month");return s}function k1(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 Zl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Zl(e,(a+i)%7,r,"day");return l}function t$(t,e){return Qp(t,e,"months")}function n$(t,e){return Qp(t,e,"monthsShort")}function r$(t,e,n){return k1(t,e,n,"weekdays")}function s$(t,e,n){return k1(t,e,n,"weekdaysShort")}function i$(t,e,n){return k1(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=_n("moment.lang is deprecated. Use moment.locale instead.",ts),re.langData=_n("moment.langData is deprecated. Use moment.localeData instead.",Mr);var vr=Math.abs;function o$(){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 Jp(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 a$(t,e){return Jp(this,t,e,1)}function l$(t,e){return Jp(this,t,e,-1)}function e3(t){return t<0?Math.floor(t):Math.ceil(t)}function c$(){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+=e3(C1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=wn(t/1e3),r.seconds=s%60,i=wn(s/60),r.minutes=i%60,a=wn(i/60),r.hours=a%24,e+=wn(a/24),c=wn(t3(e)),n+=c,e-=e3(C1(c)),l=wn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function t3(t){return t*4800/146097}function C1(t){return t*146097/4800}function d$(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=yn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+t3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(C1(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 n3=Sr("ms"),u$=Sr("s"),h$=Sr("m"),f$=Sr("h"),m$=Sr("d"),p$=Sr("w"),g$=Sr("M"),_$=Sr("Q"),y$=Sr("y"),w$=n3;function b$(){return Nn(this)}function k$(t){return t=yn(t),this.isValid()?this[t+"s"]():NaN}function Hs(t){return function(){return this.isValid()?this._data[t]:NaN}}var C$=Hs("milliseconds"),x$=Hs("seconds"),M$=Hs("minutes"),v$=Hs("hours"),S$=Hs("days"),T$=Hs("months"),O$=Hs("years");function D$(){return wn(this.days()/7)}var Tr=Math.round,Ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function E$(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function $$(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,E$.apply(null,f)}function P$(t){return t===void 0?Tr:typeof t=="function"?(Tr=t,!0):!1}function L$(t,e){return Ei[t]===void 0?!1:e===void 0?Ei[t]:(Ei[t]=e,t==="s"&&(Ei.ss=e-1),!0)}function N$(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=$$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var x1=Math.abs;function $i(t){return(t>0)-(t<0)||+t}function Ul(){if(!this.isValid())return this.localeData().invalidDate();var t=x1(this._milliseconds)/1e3,e=x1(this._days),n=x1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=wn(t/60),s=wn(r/60),t%=60,r%=60,i=wn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=$i(this._months)!==$i(l)?"-":"",u=$i(this._days)!==$i(l)?"-":"",h=$i(this._milliseconds)!==$i(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=Il.prototype;Se.isValid=TD,Se.abs=o$,Se.add=a$,Se.subtract=l$,Se.as=d$,Se.asMilliseconds=n3,Se.asSeconds=u$,Se.asMinutes=h$,Se.asHours=f$,Se.asDays=m$,Se.asWeeks=p$,Se.asMonths=g$,Se.asQuarters=_$,Se.asYears=y$,Se.valueOf=w$,Se._bubble=c$,Se.clone=b$,Se.get=k$,Se.milliseconds=C$,Se.seconds=x$,Se.minutes=M$,Se.hours=v$,Se.days=S$,Se.weeks=D$,Se.months=T$,Se.years=O$,Se.humanize=N$,Se.toISOString=Ul,Se.toString=Ul,Se.toJSON=Ul,Se.locale=Hp,Se.localeData=Wp,Se.toIsoString=_n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ul),Se.lang=Yp,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",Ll),se("X",tO),Ie("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),Ie("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
45
+ re.version="2.30.1",VT(qe),re.fn=Q,re.min=xD,re.max=MD,re.now=vD,re.utc=Jn,re.unix=JE,re.months=t$,re.isDate=Wo,re.locale=ts,re.invalid=Tl,re.duration=Nn,re.isMoment=Pn,re.weekdays=r$,re.parseZone=e$,re.localeData=Mr,re.isDuration=zl,re.monthsShort=n$,re.weekdaysMin=i$,re.defineLocale=d1,re.updateLocale=eD,re.locales=tD,re.weekdaysShort=s$,re.normalizeUnits=yn,re.relativeTimeRounding=P$,re.relativeTimeThreshold=L$,re.calendarFormat=KD,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 V$={class:"calendar-dropdown"},B$={class:"calendar-dropdown__outer__left"},A$={class:"calendar-dropdown__outer__current"},R$={key:0,class:"calendar-dropdown__inner"},F$={class:"calendar-dropdown__year-switcher"},I$={class:"calendar-dropdown__year-switcher__year"},z$={class:"calendar-dropdown__months"},H$={class:"calendar-dropdown__month-container"},Y$=["onClick"],r3=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",V$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",B$,[o.createVNode(o.unref(Pe),{icon:"calendar"}),o.createElementVNode("span",A$,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Pe),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",R$,[o.createElementVNode("div",F$,[o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",I$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",z$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",H$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,Y$)]))),256))])])),[[o.unref(sp),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),W$={class:"period-dropdown"},j$={class:"period-dropdown__outer__left"},Z$={class:"period-dropdown__outer__current"},U$={key:0,class:"period-dropdown__inner"},q$=["onClick"],Ys=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",W$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",j$,[o.createVNode(o.unref(Pe),{icon:"clock"}),o.createElementVNode("span",Z$,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Pe),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",U$,[(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(Pe),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,q$)),64))])),[[o.unref(sp),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),G$={class:"progress-line-container"},K$={class:"progress-line"},X$={class:"progress-line__part"},Q$={class:"progress-digits"},J$={class:"progress-digits__value"},eP={class:"progress-digits__value"},tP={class:"progress-digits__value"},s3=Oe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Tt(e.currentProfit/e.profit*100):e.currentProfit<0?Tt(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%":"calc(100% - 88px)":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",G$,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",K$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",X$,[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",Q$,[o.createElementVNode("div",J$,"-"+o.toDisplayString(o.unref(ln)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",eP,o.toDisplayString(o.unref(ln)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",tP," +"+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-c6fbd53e"]]),nP={class:"widget-chips__text"},ql=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(Pe),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",nP,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function Gl(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 rP={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=Gl({},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,"",Gl({},i,{expires:-1}))},withAttributes:function(s){return M1(this.converter,Gl({},this.attributes,s))},withConverter:function(s){return M1(Gl({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Pi=M1(rP,{path:"/"});class on{static setItem(e,n,r=Date.now()+31449600){Pi.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Pi.get(e)}static removeItem(e){Pi.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Pi.get());for(const n of e)Pi.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Pi.get()}}function i3(t,e){return function(){return t.apply(e,arguments)}}const{toString:sP}=Object.prototype,{getPrototypeOf:v1}=Object,Kl=(t=>e=>{const n=sP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rr=t=>(t=t.toLowerCase(),e=>Kl(e)===t),Xl=t=>e=>typeof e===t,{isArray:Li}=Array,ta=Xl("undefined");function iP(t){return t!==null&&!ta(t)&&t.constructor!==null&&!ta(t.constructor)&&bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const o3=rr("ArrayBuffer");function oP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&o3(t.buffer),e}const aP=Xl("string"),bn=Xl("function"),a3=Xl("number"),Ql=t=>t!==null&&typeof t=="object",lP=t=>t===!0||t===!1,Jl=t=>{if(Kl(t)!=="object")return!1;const e=v1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},cP=rr("Date"),dP=rr("File"),uP=rr("Blob"),hP=rr("FileList"),fP=t=>Ql(t)&&bn(t.pipe),mP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||bn(t.append)&&((e=Kl(t))==="formdata"||e==="object"&&bn(t.toString)&&t.toString()==="[object FormData]"))},pP=rr("URLSearchParams"),gP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function na(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),Li(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 l3(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 c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d3=t=>!ta(t)&&t!==c3;function S1(){const{caseless:t}=d3(this)&&this||{},e={},n=(r,s)=>{const i=t&&l3(e,s)||s;Jl(e[i])&&Jl(r)?e[i]=S1(e[i],r):Jl(r)?e[i]=S1({},r):Li(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&na(arguments[r],n);return e}const _P=(t,e,n,{allOwnKeys:r}={})=>(na(e,(s,i)=>{n&&bn(s)?t[i]=i3(s,n):t[i]=s},{allOwnKeys:r}),t),yP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),wP=(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)},bP=(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&&v1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kP=(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},CP=t=>{if(!t)return null;if(Li(t))return t;let e=t.length;if(!a3(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},xP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&v1(Uint8Array)),MP=(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])}},vP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},SP=rr("HTMLFormElement"),TP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),u3=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),OP=rr("RegExp"),h3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};na(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},DP=t=>{h3(t,(e,n)=>{if(bn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(bn(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+"'")})}})},EP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Li(t)?r(t):r(String(t).split(e)),n},$P=()=>{},PP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),T1="abcdefghijklmnopqrstuvwxyz",f3="0123456789",m3={DIGIT:f3,ALPHA:T1,ALPHA_DIGIT:T1+T1.toUpperCase()+f3},LP=(t=16,e=m3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function NP(t){return!!(t&&bn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const VP=t=>{const e=new Array(10),n=(r,s)=>{if(Ql(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Li(r)?[]:{};return na(r,(a,l)=>{const c=n(a,s+1);!ta(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},BP=rr("AsyncFunction"),Y={isArray:Li,isArrayBuffer:o3,isBuffer:iP,isFormData:mP,isArrayBufferView:oP,isString:aP,isNumber:a3,isBoolean:lP,isObject:Ql,isPlainObject:Jl,isUndefined:ta,isDate:cP,isFile:dP,isBlob:uP,isRegExp:OP,isFunction:bn,isStream:fP,isURLSearchParams:pP,isTypedArray:xP,isFileList:hP,forEach:na,merge:S1,extend:_P,trim:gP,stripBOM:yP,inherits:wP,toFlatObject:bP,kindOf:Kl,kindOfTest:rr,endsWith:kP,toArray:CP,forEachEntry:MP,matchAll:vP,isHTMLForm:SP,hasOwnProperty:u3,hasOwnProp:u3,reduceDescriptors:h3,freezeMethods:DP,toObjectSet:EP,toCamelCase:TP,noop:$P,toFiniteNumber:PP,findKey:l3,global:c3,isContextDefined:d3,ALPHABET:m3,generateString:LP,isSpecCompliantForm:NP,toJSONObject:VP,isAsyncFn:BP,isThenable:t=>t&&(Ql(t)||bn(t))&&bn(t.then)&&bn(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)}Y.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:Y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const p3=Te.prototype,g3={};["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=>{g3[t]={value:t}}),Object.defineProperties(Te,g3),Object.defineProperty(p3,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(p3);return Y.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 AP=null;function O1(t){return Y.isPlainObject(t)||Y.isArray(t)}function _3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function y3(t,e,n){return t?t.concat(e).map(function(s,i){return s=_3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function RP(t){return Y.isArray(t)&&!t.some(O1)}const FP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function ec(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!Y.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(Y.isDate(g))return g.toISOString();if(!c&&Y.isBlob(g))throw new Te("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(g)||Y.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(Y.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(Y.isArray(g)&&RP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=_3(p),y.forEach(function(b,S){!(Y.isUndefined(b)||b===null)&&e.append(a===!0?y3([p],S,i):a===null?p:p+"[]",d(b))}),!1}return O1(g)?!0:(e.append(y3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(FP,{defaultVisitor:u,convertValue:d,isVisitable:O1});function m(g,p){if(!Y.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),Y.forEach(g,function(y,C){(!(Y.isUndefined(y)||y===null)&&s.call(e,y,Y.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return m(t),e}function w3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function D1(t,e){this._pairs=[],t&&ec(t,this,e)}const b3=D1.prototype;b3.append=function(e,n){this._pairs.push([e,n])},b3.toString=function(e){const n=e?function(r){return e.call(this,r,w3)}:w3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function IP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function k3(t,e,n){if(!e)return t;const r=n&&n.encode||IP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new D1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class C3{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){Y.forEach(this.handlers,function(r){r!==null&&e(r)})}}const x3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:D1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},M3=typeof window<"u"&&typeof document<"u",HP=(t=>M3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),YP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sr={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:M3,hasStandardBrowserEnv:HP,hasStandardBrowserWebWorkerEnv:YP},Symbol.toStringTag,{value:"Module"})),...zP};function WP(t,e){return ec(t,new sr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return sr.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function jP(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ZP(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 v3(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&&Y.isArray(s)?s.length:a,c?(Y.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!Y.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&Y.isArray(s[a])&&(s[a]=ZP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(jP(r),s,n,0)}),n}return null}function UP(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const E1={transitional:x3,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=Y.isObject(e);if(i&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return s?JSON.stringify(v3(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.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 WP(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ec(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),UP(e)):e}],transformResponse:[function(e){const n=this.transitional||E1.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&Y.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}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{E1.headers[t]={}});const $1=E1,qP=Y.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"]),GP=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]&&qP[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},S3=Symbol("internals");function ra(t){return t&&String(t).trim().toLowerCase()}function tc(t){return t===!1||t==null?t:Y.isArray(t)?t.map(tc):String(t)}function KP(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 XP=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function P1(t,e,n,r,s){if(Y.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!Y.isString(e)){if(Y.isString(r))return e.indexOf(r)!==-1;if(Y.isRegExp(r))return r.test(e)}}function QP(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function JP(t,e){const n=Y.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 nc{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=ra(c);if(!u)throw new Error("header name must be a non-empty string");const h=Y.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=tc(l))}const a=(l,c)=>Y.forEach(l,(d,u)=>i(d,u,c));return Y.isPlainObject(e)||e instanceof this.constructor?a(e,n):Y.isString(e)&&(e=e.trim())&&!XP(e)?a(GP(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=ra(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return KP(s);if(Y.isFunction(n))return n.call(this,s,r);if(Y.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ra(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||P1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=ra(a),a){const l=Y.findKey(r,a);l&&(!n||P1(r,r[l],l,n))&&(delete r[l],s=!0)}}return Y.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||P1(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return Y.forEach(this,(s,i)=>{const a=Y.findKey(r,i);if(a){n[a]=tc(s),delete n[i];return}const l=e?QP(i):String(i).trim();l!==i&&delete n[i],n[l]=tc(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Y.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&Y.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[S3]=this[S3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=ra(a);r[l]||(JP(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}nc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(nc.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(nc);const Or=nc;function L1(t,e){const n=this||$1,r=e||n,s=Or.from(r.headers);let i=r.data;return Y.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function T3(t){return!!(t&&t.__CANCEL__)}function sa(t,e,n){Te.call(this,t??"canceled",Te.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(sa,Te,{__CANCEL__:!0});function eL(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 tL=sr.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];Y.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&a.push("path="+r),Y.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 nL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function rL(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function O3(t,e){return t&&!nL(e)?rL(t,e):e}const sL=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=Y.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function iL(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function oL(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 D3(t,e){let n=0;const r=oL(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 N1={http:AP,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(Y.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=O3(t.baseURL,t.url);h.open(t.method.toUpperCase(),k3(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};eL(function(b){n(b),d()},function(b){r(b),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||x3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new Te(_,y.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,t,h)),h=null},sr.hasStandardBrowserEnv&&(l&&Y.isFunction(l)&&(l=l(t)),l||l!==!1&&sL(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&tL.read(t.xsrfCookieName);p&&i.set(t.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in h&&Y.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),Y.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",D3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",D3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new sa(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=iL(f);if(g&&sr.protocols.indexOf(g)===-1){r(new Te("Unsupported protocol "+g+":",Te.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};Y.forEach(N1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const E3=t=>`- ${t}`,aL=t=>Y.isFunction(t)||t===null||t===!1,$3={getAdapter:t=>{t=Y.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,!aL(n)&&(r=N1[(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(E3).join(`
49
- `):" "+E3(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:N1};function V1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new sa(null,t)}function P3(t){return V1(t),t.headers=Or.from(t.headers),t.data=L1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),$3.getAdapter(t.adapter||$1.adapter)(t).then(function(r){return V1(t),r.data=L1.call(t,t.transformResponse,r),r.headers=Or.from(r.headers),r},function(r){return T3(r)||(V1(t),r&&r.response&&(r.response.data=L1.call(t,t.transformResponse,r.response),r.response.headers=Or.from(r.response.headers))),Promise.reject(r)})}const L3=t=>t instanceof Or?{...t}:t;function Ni(t,e){e=e||{};const n={};function r(d,u,h){return Y.isPlainObject(d)&&Y.isPlainObject(u)?Y.merge.call({caseless:h},d,u):Y.isPlainObject(u)?Y.merge({},u):Y.isArray(u)?u.slice():u}function s(d,u,h){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!Y.isUndefined(u))return r(void 0,u)}function a(d,u){if(Y.isUndefined(u)){if(!Y.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(L3(d),L3(u),!0)};return Y.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);Y.isUndefined(f)&&h!==l||(n[u]=f)}),n}const N3="1.6.8",B1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{B1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const V3={};B1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+N3+"] 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&&!V3[a]&&(V3[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 A1={assertOptions:cL,validators:B1},rs=A1.validators;class rc{constructor(e){this.defaults=e,this.interceptors={request:new C3,response:new C3}}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&&A1.assertOptions(r,{silentJSONParsing:rs.transitional(rs.boolean),forcedJSONParsing:rs.transitional(rs.boolean),clarifyTimeoutError:rs.transitional(rs.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:A1.assertOptions(s,{encode:rs.function,serialize:rs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Y.merge(i.common,i[n.method]);i&&Y.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=[P3.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=P3.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=O3(e.baseURL,e.url);return k3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){rc.prototype[e]=function(n,r){return this.request(Ni(r||{},{method:e,url:n,data:(r||{}).data}))}}),Y.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}))}}rc.prototype[e]=n(),rc.prototype[e+"Form"]=n(!0)});const sc=rc;class R1{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 sa(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 R1(function(s){e=s}),cancel:e}}}const dL=R1;function uL(t){return function(n){return t.apply(null,n)}}function hL(t){return Y.isObject(t)&&t.isAxiosError===!0}const F1={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(F1).forEach(([t,e])=>{F1[e]=t});const fL=F1;function B3(t){const e=new sc(t),n=i3(sc.prototype.request,e);return Y.extend(n,sc.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return B3(Ni(t,s))},n}const at=B3($1);at.Axios=sc,at.CanceledError=sa,at.CancelToken=dL,at.isCancel=T3,at.VERSION=N3,at.toFormData=ec,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=>v3(Y.isHTMLForm(t)?new FormData(t):t),at.getAdapter=$3.getAdapter,at.HttpStatusCode=fL,at.default=at;const ic=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;ic.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)}),ic.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,ic(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 A3 extends Ws{constructor(e){super(`Invalid unit ${e}`)}}class jt extends Ws{}class ss extends Ws{constructor(){super("Zone is an abstract class")}}const ne="numeric",Vn="short",an="long",oc={year:ne,month:ne,day:ne},R3={year:ne,month:Vn,day:ne},bL={year:ne,month:Vn,day:ne,weekday:Vn},F3={year:ne,month:an,day:ne},I3={year:ne,month:an,day:ne,weekday:an},z3={hour:ne,minute:ne},H3={hour:ne,minute:ne,second:ne},Y3={hour:ne,minute:ne,second:ne,timeZoneName:Vn},W3={hour:ne,minute:ne,second:ne,timeZoneName:an},j3={hour:ne,minute:ne,hourCycle:"h23"},Z3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},U3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Vn},q3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},G3={year:ne,month:ne,day:ne,hour:ne,minute:ne},K3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},X3={year:ne,month:Vn,day:ne,hour:ne,minute:ne},Q3={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},J3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Vn},e6={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Vn},t6={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},n6={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ia{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 I1=null;class ac extends ia{static get instance(){return I1===null&&(I1=new ac),I1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return S6(e,n,r)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let lc={};function CL(t){return lc[t]||(lc[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"})),lc[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 cc={};class Dr extends ia{static create(e){return cc[e]||(cc[e]=new Dr(e)),cc[e]}static resetCache(){cc={},lc={}}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 S6(e,n,r,this.name)}formatOffset(e,n){return ca(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=mc({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 r6={};function SL(t,e={}){const n=JSON.stringify([t,e]);let r=r6[n];return r||(r=new Intl.ListFormat(t,e),r6[n]=r),r}let z1={};function H1(t,e={}){const n=JSON.stringify([t,e]);let r=z1[n];return r||(r=new Intl.DateTimeFormat(t,e),z1[n]=r),r}let Y1={};function TL(t,e={}){const n=JSON.stringify([t,e]);let r=Y1[n];return r||(r=new Intl.NumberFormat(t,e),Y1[n]=r),r}let W1={};function OL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=W1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),W1[s]=i),i}let oa=null;function DL(){return oa||(oa=new Intl.DateTimeFormat().resolvedOptions().locale,oa)}let s6={};function EL(t){let e=s6[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,s6[t]=e}return e}function $L(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=H1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=H1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function PL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function LL(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 dc(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):X1(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=H1(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 RL{constructor(e,n,r){this.opts={style:"long",...r},!n&&C6()&&(this.rtf=OL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):sN(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const FL={firstDay:1,minimalDays:4,weekend:[6,7]};class ze{static fromOpts(e){return ze.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=G1(s)||gt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){oa=null,z1={},Y1={},W1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return ze.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=$L(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=PL(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:ze.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,G1(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 dc(this,e,D6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=LL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return dc(this,e,P6,()=>{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 dc(this,void 0,()=>L6,()=>{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 dc(this,e,N6,()=>{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 RL(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:x6()?EL(this.locale):FL}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 j1=null;class Vt extends ia{static get utcInstance(){return j1===null&&(j1=new Vt(0)),j1}static instance(e){return e===0?Vt.utcInstance:new Vt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Vt(pc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ca(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ca(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ca(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 ia{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 ia)return t;if(YL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ac.instance:n==="utc"||n==="gmt"?Vt.utcInstance:Vt.parseSpecifier(n)||Dr.create(t)}else return js(t)?Vt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new IL(t)}let i6=()=>Date.now(),o6="system",a6=null,l6=null,c6=null,d6=60,u6,h6=null;class gt{static get now(){return i6}static set now(e){i6=e}static set defaultZone(e){o6=e}static get defaultZone(){return is(o6,ac.instance)}static get defaultLocale(){return a6}static set defaultLocale(e){a6=e}static get defaultNumberingSystem(){return l6}static set defaultNumberingSystem(e){l6=e}static get defaultOutputCalendar(){return c6}static set defaultOutputCalendar(e){c6=e}static get defaultWeekSettings(){return h6}static set defaultWeekSettings(e){h6=G1(e)}static get twoDigitCutoffYear(){return d6}static set twoDigitCutoffYear(e){d6=e%100}static get throwOnInvalid(){return u6}static set throwOnInvalid(e){u6=e}static resetCaches(){ze.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 f6=[0,31,59,90,120,151,181,212,243,273,304,334],m6=[0,31,60,91,121,152,182,213,244,274,305,335];function kn(t,e){return new Bn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Z1(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 p6(t,e,n){return n+(aa(t)?m6:f6)[e-1]}function g6(t,e){const n=aa(t)?m6:f6,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function U1(t,e){return(t-e+7)%7+1}function uc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=p6(r,s,i),l=U1(Z1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=la(d,e,n)):c>la(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,..._c(t)}}function _6(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=U1(Z1(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}=g6(d,c);return{year:d,month:u,day:h,..._c(t)}}function q1(t){const{year:e,month:n,day:r}=t,s=p6(e,n,r);return{year:e,ordinal:s,..._c(t)}}function y6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=g6(e,n);return{year:e,month:r,day:s,..._c(t)}}function w6(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=hc(t.weekYear),s=Cn(t.weekNumber,1,la(t.weekYear,e,n)),i=Cn(t.weekday,1,7);return r?s?i?!1:kn("weekday",t.weekday):kn("week",t.weekNumber):kn("weekYear",t.weekYear)}function HL(t){const e=hc(t.year),n=Cn(t.ordinal,1,Ai(t.year));return e?n?!1:kn("ordinal",t.ordinal):kn("year",t.year)}function b6(t){const e=hc(t.year),n=Cn(t.month,1,12),r=Cn(t.day,1,fc(t.year,t.month));return e?n?r?!1:kn("day",t.day):kn("month",t.month):kn("year",t.year)}function k6(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=Cn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=Cn(n,0,59),l=Cn(r,0,59),c=Cn(s,0,999);return i?a?l?c?!1:kn("millisecond",s):kn("second",r):kn("minute",n):kn("hour",e)}function me(t){return typeof t>"u"}function js(t){return typeof t=="number"}function hc(t){return typeof t=="number"&&t%1===0}function YL(t){return typeof t=="string"}function WL(t){return Object.prototype.toString.call(t)==="[object Date]"}function C6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function x6(){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 M6(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 G1(t){if(t==null)return null;if(typeof t!="object")throw new jt("Week settings must be an object");if(!Cn(t.firstDay,1,7)||!Cn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Cn(e,1,7)))throw new jt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Cn(t,e,n){return hc(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 K1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function X1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function aa(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return aa(t)?366:365}function fc(t,e){const n=UL(e-1,12)+1,r=t+(e-n)/12;return n===2?aa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function mc(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 v6(t,e,n){return-U1(Z1(t,1,e),n)+e-1}function la(t,e=4,n=1){const r=v6(t,e,n),s=v6(t+1,e,n);return(Ai(t)-r+s)/7}function Q1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function S6(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 pc(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 T6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new jt(`Invalid unit value ${t}`);return e}function gc(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=T6(s)}return n}function ca(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 _c(t){return ZL(t,["hour","minute","second","millisecond"])}const qL=["January","February","March","April","May","June","July","August","September","October","November","December"],O6=["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 D6(t){switch(t){case"narrow":return[...GL];case"short":return[...O6];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 E6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],KL=["M","T","W","T","F","S","S"];function P6(t){switch(t){case"narrow":return[...KL];case"short":return[...$6];case"long":return[...E6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const L6=["AM","PM"],XL=["Before Christ","Anno Domini"],QL=["BC","AD"],JL=["B","A"];function N6(t){switch(t){case"narrow":return[...JL];case"short":return[...QL];case"long":return[...XL];default:return null}}function eN(t){return L6[t.hour<12?0:1]}function tN(t,e){return P6(e)[t.weekday-1]}function nN(t,e){return D6(e)[t.month-1]}function rN(t,e){return N6(e)[t.year<0?0:1]}function sN(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 V6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const iN={D:oc,DD:R3,DDD:F3,DDDD:I3,t:z3,tt:H3,ttt:Y3,tttt:W3,T:j3,TT:Z3,TTT:U3,TTTT:q3,f:G3,ff:X3,fff:J3,ffff:t6,F:K3,FF:Q3,FFF:e6,FFFF:n6};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 iN[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?eN(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?nN(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?tN(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?rN(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 V6(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 V6(i,s(l))}}const B6=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ri(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Fi(...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 A6(...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 R6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,oN=`(?:${R6.source}?(?:\\[(${B6.source})\\])?)?`,J1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,F6=RegExp(`${J1.source}${oN}`),eh=RegExp(`(?:T${F6.source})?`),aN=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,lN=/(\d{4})-?W(\d\d)(?:-?(\d))?/,cN=/(\d{4})-?(\d{3})/,dN=A6("weekYear","weekNumber","weekDay"),uN=A6("year","ordinal"),hN=/(\d{4})-(\d\d)-(\d\d)/,I6=RegExp(`${J1.source} ?(?:${R6.source}|(${B6.source}))?`),fN=RegExp(`(?: ${I6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function mN(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Hi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:K1(t[e+3])},null,e+4]}function da(t,e){const n=!t[e]&&!t[e+1],r=pc(t[e+1],t[e+2]),s=n?null:Vt.instance(r);return[{},s,e+3]}function ua(t,e){const n=t[e]?Dr.create(t[e]):null;return[{},n,e+1]}const pN=RegExp(`^T?${J1.source}$`),gN=/^-?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 _N(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(K1(d),h)}]}const yN={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 th(t,e,n,r,s,i,a){const l={year:e.length===2?Q1(os(e)):os(e),month:O6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?E6.indexOf(t)+1:$6.indexOf(t)+1),l}const wN=/^(?:(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 bN(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=th(e,s,r,n,i,a,l);let m;return c?m=yN[c]:d?m=0:m=pc(u,h),[f,new Vt(m)]}function kN(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const CN=/^(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$/,xN=/^(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$/,MN=/^(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 z6(t){const[,e,n,r,s,i,a,l]=t;return[th(e,s,r,n,i,a,l),Vt.utcInstance]}function vN(t){const[,e,n,r,s,i,a,l]=t;return[th(e,l,n,r,s,i,a),Vt.utcInstance]}const SN=Ri(aN,eh),TN=Ri(lN,eh),ON=Ri(cN,eh),DN=Ri(F6),H6=Fi(mN,Hi,da,ua),EN=Fi(dN,Hi,da,ua),$N=Fi(uN,Hi,da,ua),PN=Fi(Hi,da,ua);function LN(t){return Ii(t,[SN,H6],[TN,EN],[ON,$N],[DN,PN])}function NN(t){return Ii(kN(t),[wN,bN])}function VN(t){return Ii(t,[CN,z6],[xN,z6],[MN,vN])}function BN(t){return Ii(t,[gN,_N])}const AN=Fi(Hi);function RN(t){return Ii(t,[pN,AN])}const FN=Ri(hN,fN),IN=Ri(I6),zN=Fi(Hi,da,ua);function HN(t){return Ii(t,[FN,H6],[IN,zN])}const Y6="Invalid Duration",W6={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}},YN={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},...W6},xn=146097/400,Yi=146097/4800,WN={years:{quarters:4,months:12,weeks:xn/7,days:xn,hours:xn*24,minutes:xn*24*60,seconds:xn*24*60*60,milliseconds:xn*24*60*60*1e3},quarters:{months:3,weeks:xn/28,days:xn/4,hours:xn*24/4,minutes:xn*24*60/4,seconds:xn*24*60*60/4,milliseconds:xn*24*60*60*1e3/4},months:{weeks:Yi/7,days:Yi,hours:Yi*24,minutes:Yi*24*60,seconds:Yi*24*60*60,milliseconds:Yi*24*60*60*1e3},...W6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],jN=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 j6(t,e){let n=e.milliseconds??0;for(const r of jN.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Z6(t,e){const n=j6(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 ZN(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?WN:YN;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||ze.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 jt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new De({values:gc(e,De.normalizeUnit),loc:ze.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 jt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=BN(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]=RN(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 jt("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 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 A3(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):Y6}toHuman(e={}){if(!this.isValid)return Y6;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+=X1(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?j6(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]=T6(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,...gc(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 Z6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ZN(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 Z6(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 UN(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 jt("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=fa(e),s=fa(n),i=UN(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=De.fromDurationLike(n),s=fa(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=De.fromDurationLike(n),s=fa(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(fa).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=oc,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 yc{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||ze.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ze.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return ze.create(n,null,"gregory").eras(e)}static features(){return{relative:C6(),localeWeek:x6()}}}function U6(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 qN(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=U6(c,d);return(u-u%7)/7}],["days",U6]],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 GN(t,e,n,r){let[s,i,a,l]=qN(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 nh={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},q6={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]},KN=nh.hanidec.replace(/[\[|\]]/g,"").split("");function XN(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(nh.hanidec)!==-1)e+=KN.indexOf(t[n]);else for(const s in q6){const[i,a]=q6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${nh[t||"latn"]}${e}`)}const QN="missing Intl.DateTimeFormat.formatToParts support";function Ve(t,e=n=>n){return{regex:t,deser:([n])=>e(XN(n))}}const G6="[  ]",K6=new RegExp(G6,"g");function JN(t){return t.replace(/\./g,"\\.?").replace(K6,G6)}function X6(t){return t.replace(/\./g,"").replace(K6," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(JN).join("|")),deser:([n])=>t.findIndex(r=>X6(n)===X6(r))+e}}function Q6(t,e){return{regex:t,deser:([,n,r])=>pc(n,r),groups:e}}function wc(t){return{regex:t,deser:([e])=>e}}function eV(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function tV(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(eV(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Rn(e.eras("short"),0);case"GG":return Rn(e.eras("long"),0);case"y":return Ve(d);case"yy":return Ve(h,Q1);case"yyyy":return Ve(i);case"yyyyy":return Ve(f);case"yyyyyy":return Ve(a);case"M":return Ve(l);case"MM":return Ve(r);case"MMM":return Rn(e.months("short",!0),1);case"MMMM":return Rn(e.months("long",!0),1);case"L":return Ve(l);case"LL":return Ve(r);case"LLL":return Rn(e.months("short",!1),1);case"LLLL":return Rn(e.months("long",!1),1);case"d":return Ve(l);case"dd":return Ve(r);case"o":return Ve(c);case"ooo":return Ve(s);case"HH":return Ve(r);case"H":return Ve(l);case"hh":return Ve(r);case"h":return Ve(l);case"mm":return Ve(r);case"m":return Ve(l);case"q":return Ve(l);case"qq":return Ve(r);case"s":return Ve(l);case"ss":return Ve(r);case"S":return Ve(c);case"SSS":return Ve(s);case"u":return wc(u);case"uu":return wc(l);case"uuu":return Ve(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Ve(i);case"kk":return Ve(h,Q1);case"W":return Ve(l);case"WW":return Ve(r);case"E":case"c":return Ve(n);case"EEE":return Rn(e.weekdays("short",!1),1);case"EEEE":return Rn(e.weekdays("long",!1),1);case"ccc":return Rn(e.weekdays("short",!0),1);case"cccc":return Rn(e.weekdays("long",!0),1);case"Z":case"ZZ":return Q6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return Q6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return wc(/[a-z_+-/]{1,256}?/i);case" ":return wc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:QN};return p.token=t,p}const nV={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 rV(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=nV[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function sV(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function iV(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 oV(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 Vt(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=K1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let rh=null;function aV(){return rh||(rh=pe.fromMillis(1555555555555)),rh}function lV(t,e){if(t.literal)return t;const n=Lt.macroTokenToFormatOpts(t.val),r=tg(n,e);return r==null||r.includes(void 0)?t:r}function J6(t,e){return Array.prototype.concat(...t.map(n=>lV(n,e)))}function eg(t,e,n){const r=J6(Lt.parseFormat(n),t),s=r.map(a=>tV(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=sV(s),c=RegExp(a,"i"),[d,u]=iV(e,c,l),[h,f,m]=u?oV(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 cV(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=eg(t,e,n);return[r,s,i,a]}function tg(t,e){if(!t)return null;const r=Lt.create(e,t).dtFormatter(aV()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>rV(a,t,i))}const sh="Invalid DateTime",ng=864e13;function bc(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function ih(t){return t.weekData===null&&(t.weekData=uc(t.c)),t.weekData}function oh(t){return t.localWeekData===null&&(t.localWeekData=uc(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 rg(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 kc(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 Cc(t,e,n){return rg(mc(t),e,n)}function sg(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,fc(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=mc(i);let[c,d]=rg(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function ha(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 xc(t,e,n=!0){return t.isValid?Lt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ah(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 ig(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 og={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},dV={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},uV={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ag=["year","month","day","hour","minute","second","millisecond"],hV=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],fV=["year","ordinal","hour","minute","second","millisecond"];function mV(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 A3(t);return e}function lg(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return mV(t)}}function cg(t,e){const n=is(e.zone,gt.defaultZone),r=ze.fromObject(e),s=gt.now();let i,a;if(me(t.year))i=s;else{for(const d of ag)me(t[d])&&(t[d]=og[d]);const l=b6(t)||k6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=Cc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function dg(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=X1(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 ug(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:bc(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=kc(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||ze.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]=ug(arguments),[r,s,i,a,l,c,d]=n;return cg({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=ug(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Vt.utcInstance,cg({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:ze.fromObject(n)}):pe.invalid(bc(s))}static fromMillis(e,n={}){if(js(e))return e<-ng||e>ng?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:is(n.zone,gt.defaultZone),loc:ze.fromObject(n)});throw new jt(`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:ze.fromObject(n)});throw new jt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=is(n.zone,gt.defaultZone);if(!r.isValid)return pe.invalid(bc(r));const s=ze.fromObject(n),i=gc(e,lg),{minDaysInFirstWeek:a,startOfWeek:l}=w6(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=kc(c,d);p?(_=hV,y=dV,C=uc(C,a,l)):u?(_=fV,y=uV,C=q1(C)):(_=ag,y=og);let b=!1;for(const I of _){const j=i[I];me(j)?b?i[I]=y[I]:i[I]=C[I]:b=!0}const S=p?zL(i,a,l):u?HL(i):b6(i),M=S||k6(i);if(M)return pe.invalid(M);const T=p?_6(i,a,l):u?y6(i):i,[v,D]=Cc(T,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]=LN(e);return ha(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=NN(e);return ha(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=VN(e);return ha(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new jt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=cV(a,e,n);return u?pe.invalid(u):ha(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]=HN(e);return ha(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new jt("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=tg(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return J6(Lt.parseFormat(e),ze.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?ih(this).weekYear:NaN}get weekNumber(){return this.isValid?ih(this).weekNumber:NaN}get weekday(){return this.isValid?ih(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?oh(this).weekday:NaN}get localWeekNumber(){return this.isValid?oh(this).weekNumber:NaN}get localWeekYear(){return this.isValid?oh(this).weekYear:NaN}get ordinal(){return this.isValid?q1(this.c).ordinal:NaN}get monthShort(){return this.isValid?yc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?yc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?yc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?yc.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=mc(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=kc(c,a),h=kc(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 aa(this.year)}get daysInMonth(){return fc(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?la(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?la(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(Vt.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]=Cc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(bc(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=gc(e,lg),{minDaysInFirstWeek:r,startOfWeek:s}=w6(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=_6({...uc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(fc(h.year,h.month),h.day))):h=y6({...q1(this.c),...n});const[f,m]=Cc(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,sg(this,n))}minus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e).negate();return qs(this,sg(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):sh}toLocaleString(e=oc,n={}){return this.isValid?Lt.create(this.loc.clone(n),e).formatDateTime(this):sh}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=ah(this,a);return l+="T",l+=ig(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?ah(this,e==="extended"):null}toISOWeekDate(){return xc(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":"")+ig(this,a==="extended",n,e,r,i):null}toRFC2822(){return xc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return xc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ah(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")),xc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():sh}[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=jL(n).map(De.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=GN(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),dg(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?dg(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 jt("min requires all arguments be DateTimes");return M6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new jt("max requires all arguments be DateTimes");return M6(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return eg(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return oc}static get DATE_MED(){return R3}static get DATE_MED_WITH_WEEKDAY(){return bL}static get DATE_FULL(){return F3}static get DATE_HUGE(){return I3}static get TIME_SIMPLE(){return z3}static get TIME_WITH_SECONDS(){return H3}static get TIME_WITH_SHORT_OFFSET(){return Y3}static get TIME_WITH_LONG_OFFSET(){return W3}static get TIME_24_SIMPLE(){return j3}static get TIME_24_WITH_SECONDS(){return Z3}static get TIME_24_WITH_SHORT_OFFSET(){return U3}static get TIME_24_WITH_LONG_OFFSET(){return q3}static get DATETIME_SHORT(){return G3}static get DATETIME_SHORT_WITH_SECONDS(){return K3}static get DATETIME_MED(){return X3}static get DATETIME_MED_WITH_SECONDS(){return Q3}static get DATETIME_MED_WITH_WEEKDAY(){return kL}static get DATETIME_FULL(){return J3}static get DATETIME_FULL_WITH_SECONDS(){return e6}static get DATETIME_HUGE(){return t6}static get DATETIME_HUGE_WITH_SECONDS(){return n6}}function fa(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 jt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Tt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function lh(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function pV(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function gV(t){return new Date(t).getFullYear()}function _V(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function hg(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function yV(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function wV(t){return new Date(t).getDate()}function ch(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}const ln=(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=Tt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function bV(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 fg(t){const e=/^(.*?)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[2];return r===""||s===""?t:`${r}/${s}`}else return t}const kV=(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},CV={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Mc=t=>{if(!(t!=null&&t.message))return;const e={...CV,...t},n=kV(F0,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}},xV=(t,e)=>Mc({...e,message:t,type:"success"}),MV=(t,e)=>Mc({...e,message:t,type:"error"}),vV=(t,e)=>Mc({...e,message:t,type:"info"}),dh=()=>({open:Mc,success:xV,error:MV,info:vV}),SV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TV=[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:"currentColor","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:"currentColor","stroke-linejoin":"round"},null,-1)];function mg(t,e){return o.openBlock(),o.createElementBlock("svg",SV,[...TV])}const OV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),DV={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EV=[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 pg(t,e){return o.openBlock(),o.createElementBlock("svg",DV,[...EV])}const $V=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},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("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 gg(t,e){return o.openBlock(),o.createElementBlock("svg",PV,[...LV])}const NV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),VV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},BV=[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 _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"})),RV={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},FV=[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 yg(t,e){return o.openBlock(),o.createElementBlock("svg",RV,[...FV])}const IV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),zV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HV=[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 wg(t,e){return o.openBlock(),o.createElementBlock("svg",zV,[...HV])}const YV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),WV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jV=[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 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:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qV=[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 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:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XV=[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 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={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eB=[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 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={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rB=[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 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:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},oB=[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:"currentColor"},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={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},cB=[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:"currentColor"},null,-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={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hB=[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 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={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pB=[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 Og(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),_B={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yB=[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 Dg(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),bB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kB=[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 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:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB=[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 $g(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const vB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),SB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TB=[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",SB,[...TB])}const OB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),DB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EB=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",DB,[...EB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),PB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LB=[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 Ng(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const NB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),VB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-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"})),RB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FB=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",RB,[...FB])}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"},HB=[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 Ag(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...HB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),WB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Rg(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),UB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qB=[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 Fg(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),KB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XB=[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 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:"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 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:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Hg(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),iA={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oA=[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:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)];function Yg(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),lA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},cA=[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 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:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hA=[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 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={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},pA=[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 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:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yA=[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 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:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kA=[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 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={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MA=[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 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:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Kg(t,e){return o.openBlock(),o.createElementBlock("svg",SA,[...TA])}const OA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),DA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},EA=[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 Xg(t,e){return o.openBlock(),o.createElementBlock("svg",DA,[...EA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),PA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},LA=[o.createElementVNode("path",{d:"M9.00033 4.4999L11.1956 2.30464C11.4559 2.04429 11.878 2.04429 12.1384 2.30464L14.1956 4.36183C14.4559 4.62218 14.4559 5.04429 14.1956 5.30464L12.0003 7.4999M9.00033 4.4999L1.86225 11.638C1.73723 11.763 1.66699 11.9326 1.66699 12.1094V14.8332H4.39085C4.56766 14.8332 4.73723 14.763 4.86225 14.638L12.0003 7.4999M9.00033 4.4999L12.0003 7.4999",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Qg(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}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:"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 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"})),RA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FA=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",RA,[...FA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),zA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HA=[o.createElementVNode("g",{id:"file-bend, document"},[o.createElementVNode("path",{id:"vector",d:"M13.25 4.23895V10.2344H19.2501M5.25 3.73438H13.25L19.75 10.2344V22.2344H5.25V3.73438Z",stroke:"#007AFF","stroke-width":"1.5","stroke-linecap":"round"})],-1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",zA,[...HA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),WA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jA=[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 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={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qA=[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 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:"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 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:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eR=[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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",JA,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},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:"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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),iR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},oR=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),lR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cR=[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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),uR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},hR=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),mR={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pR=[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 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={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yR=[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 u_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),bR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kR=[o.createElementVNode("path",{d:"M2.29297 9.99984H17.7096M2.29297 4.7915H17.7096M2.29297 15.2082H17.7096",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),xR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},MR=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const vR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),SR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TR=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",SR,[...TR])}const OR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),DR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},ER=[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 p_(t,e){return o.openBlock(),o.createElementBlock("svg",DR,[...ER])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),PR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},LR=[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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const NR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),VR={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BR=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",VR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),RR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},FR=[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:"currentColor","stroke-linecap":"round"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",RR,[...FR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),zR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HR=[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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",zR,[...HR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),WR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jR=[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 b_(t,e){return o.openBlock(),o.createElementBlock("svg",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),UR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qR=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),KR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},XR=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),JR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},eF=[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:"currentColor","stroke-linecap":"square"},null,-1)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",JR,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),nF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rF=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),iF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),lF={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),uF={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hF=[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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),mF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pF=[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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),_F={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yF=[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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),bF={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kF=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),xF={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:"currentColor","stroke-linecap":"square"},null,-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const vF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),SF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TF=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function P_(t,e){return o.openBlock(),o.createElementBlock("svg",SF,[...TF])}const OF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),DF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EF=[o.createElementVNode("path",{d:"M7.91669 2.91406H5.58335C4.64993 2.91406 4.18322 2.91406 3.8267 3.09572C3.5131 3.25551 3.25813 3.51047 3.09834 3.82408C2.91669 4.1806 2.91669 4.64731 2.91669 5.58073V14.4141C2.91669 15.3475 2.91669 15.8142 3.09834 16.1707C3.25813 16.4843 3.5131 16.7393 3.8267 16.8991C4.18322 17.0807 4.64993 17.0807 5.58335 17.0807H14.4167C15.3501 17.0807 15.8168 17.0807 16.1733 16.8991C16.4869 16.7393 16.7419 16.4843 16.9017 16.1707C17.0834 15.8142 17.0834 15.3475 17.0834 14.4141V12.0807M12.0834 2.91406H17.0834M17.0834 2.91406V7.91406M17.0834 2.91406L9.58335 10.4141",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",DF,[...EF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),PF={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},LF=[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 N_(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const NF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),VF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",VF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),RF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FF=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",RF,[...FF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),zF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HF=[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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",zF,[...HF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),WF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jF=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),UF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qF=[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 F_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),KF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XF=[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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),JF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eI=[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 z_(t,e){return o.openBlock(),o.createElementBlock("svg",JF,[...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:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rI=[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 H_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),iI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},oI=[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:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cI=[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:"currentColor"},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:"currentColor"},null,-1)];function W_(t,e){return o.openBlock(),o.createElementBlock("svg",lI,[...cI])}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),uI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",uI,[...hI])}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},pI=[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:"currentColor","stroke-linecap":"round"},null,-1)];function Z_(t,e){return o.openBlock(),o.createElementBlock("svg",mI,[...pI])}const gI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),_I={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yI=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",_I,[...yI])}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),bI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kI=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function q_(t,e){return o.openBlock(),o.createElementBlock("svg",bI,[...kI])}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),xI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},MI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",xI,[...MI])}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),SI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TI=[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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",SI,[...TI])}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),DI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EI=[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 X_(t,e){return o.openBlock(),o.createElementBlock("svg",DI,[...EI])}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),PI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LI=[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:"currentColor","stroke-linecap":"square"},null,-1)];function Q_(t,e){return o.openBlock(),o.createElementBlock("svg",PI,[...LI])}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),VI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},BI=[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 J_(t,e){return o.openBlock(),o.createElementBlock("svg",VI,[...BI])}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),RI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FI=[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 e4(t,e){return o.openBlock(),o.createElementBlock("svg",RI,[...FI])}const II=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e4},render:e4},Symbol.toStringTag,{value:"Module"})),zI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},HI=[o.createElementVNode("path",{d:"M3.66634 4.16797V14.168C3.66634 14.5362 3.96482 14.8346 4.33301 14.8346H11.6663C12.0345 14.8346 12.333 14.5362 12.333 14.168V4.16797M3.66634 4.16797H12.333M3.66634 4.16797H2.33301M12.333 4.16797H13.6663M9.66634 7.66797V11.5013M6.33301 7.66797V11.5013M5.99967 4.16797C5.99967 3.0634 6.89511 2.16797 7.99967 2.16797C9.10424 2.16797 9.99967 3.0634 9.99967 4.16797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function t4(t,e){return o.openBlock(),o.createElementBlock("svg",zI,[...HI])}const YI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t4},render:t4},Symbol.toStringTag,{value:"Module"})),WI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},jI=[o.createElementVNode("path",{d:"M7.99967 3.5013C8.36786 3.5013 8.66634 3.20283 8.66634 2.83464C8.66634 2.46645 8.36786 2.16797 7.99967 2.16797C7.63148 2.16797 7.33301 2.46645 7.33301 2.83464C7.33301 3.20283 7.63148 3.5013 7.99967 3.5013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 9.16797C8.36786 9.16797 8.66634 8.86949 8.66634 8.5013C8.66634 8.13311 8.36786 7.83464 7.99967 7.83464C7.63148 7.83464 7.33301 8.13311 7.33301 8.5013C7.33301 8.86949 7.63148 9.16797 7.99967 9.16797Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 15.0013C8.36786 15.0013 8.66634 14.7028 8.66634 14.3346C8.66634 13.9664 8.36786 13.668 7.99967 13.668C7.63148 13.668 7.33301 13.9664 7.33301 14.3346C7.33301 14.7028 7.63148 15.0013 7.99967 15.0013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n4(t,e){return o.openBlock(),o.createElementBlock("svg",WI,[...jI])}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n4},render:n4},Symbol.toStringTag,{value:"Module"})),UI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qI=[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 r4(t,e){return o.openBlock(),o.createElementBlock("svg",UI,[...qI])}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r4},render:r4},Symbol.toStringTag,{value:"Module"})),KI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XI=[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 s4(t,e){return o.openBlock(),o.createElementBlock("svg",KI,[...XI])}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s4},render:s4},Symbol.toStringTag,{value:"Module"})),JI={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ez=[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 i4(t,e){return o.openBlock(),o.createElementBlock("svg",JI,[...ez])}const tz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i4},render:i4},Symbol.toStringTag,{value:"Module"})),nz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},rz=[o.createElementVNode("path",{d:"M3.33317 4.65234L3.64632 14.6732C3.65757 15.0331 3.95258 15.319 4.31266 15.319H11.687C12.0471 15.319 12.3421 15.0331 12.3534 14.6732L12.6665 4.65234M3.33317 4.65234H12.6665M3.33317 4.65234H1.6665M12.6665 4.65234H14.3332M6.33317 7.98568V11.9857M9.6665 7.98568V11.9857M10.5825 4.65234C10.2865 3.50219 9.24241 2.65234 7.99985 2.65234C6.75729 2.65234 5.71322 3.50219 5.4172 4.65234",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function o4(t,e){return o.openBlock(),o.createElementBlock("svg",nz,[...rz])}const sz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o4},render:o4},Symbol.toStringTag,{value:"Module"})),iz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oz=[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 a4(t,e){return o.openBlock(),o.createElementBlock("svg",iz,[...oz])}const az=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a4},render:a4},Symbol.toStringTag,{value:"Module"})),lz={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cz=[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 l4(t,e){return o.openBlock(),o.createElementBlock("svg",lz,[...cz])}const dz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l4},render:l4},Symbol.toStringTag,{value:"Module"})),uz={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hz=[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 c4(t,e){return o.openBlock(),o.createElementBlock("svg",uz,[...hz])}const fz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c4},render:c4},Symbol.toStringTag,{value:"Module"})),mz={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pz=[o.createElementVNode("path",{d:"M10 7.91666V11.6667M10 13.75H10.0084M9.28098 2.89434L2.19316 14.9955C1.86777 15.551 2.26841 16.25 2.91223 16.25H17.0879C17.7317 16.25 18.1323 15.551 17.8069 14.9955L10.7191 2.89434C10.3972 2.34479 9.60286 2.34479 9.28098 2.89434ZM10.2084 13.75C10.2084 13.8651 10.1151 13.9583 10 13.9583C9.88499 13.9583 9.79171 13.8651 9.79171 13.75C9.79171 13.6349 9.88499 13.5417 10 13.5417C10.1151 13.5417 10.2084 13.6349 10.2084 13.75Z",stroke:"#FFB500","stroke-linecap":"round"},null,-1)];function d4(t,e){return o.openBlock(),o.createElementBlock("svg",mz,[...pz])}const gz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d4},render:d4},Symbol.toStringTag,{value:"Module"})),_z={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yz=[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 u4(t,e){return o.openBlock(),o.createElementBlock("svg",_z,[...yz])}const wz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u4},render:u4},Symbol.toStringTag,{value:"Module"})),bz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kz=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h4(t,e){return o.openBlock(),o.createElementBlock("svg",bz,[...kz])}const Cz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h4},render:h4},Symbol.toStringTag,{value:"Module"})),xz={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},Mz=[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 f4(t,e){return o.openBlock(),o.createElementBlock("svg",xz,[...Mz])}const vz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f4},render:f4},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=ov,ie.AverageRRLine=Xm,ie.BalanceWidget=vv,ie.Button=ga,ie.Calendar=uy,ie.CalendarDropdown=r3,ie.CalendarWidget=qv,ie.CheckBox=Q4,ie.CommissionsFeesWidget=dS,ie.Confetti=Bw,ie.CookieManager=on,ie.Dropdown=L4,ie.Dropzone=Jw,ie.Icon=Pe,ie.Input=R4,ie.LineChart=Ru,ie.LongShort=Y0,ie.Menu=t5,ie.NavigationTab=by,ie.NoMore=Jd,ie.NumberInput=_y,ie.PerformanceWidget=gS,ie.PeriodDropdown=Ys,ie.ProgressLine=s3,ie.Radio=Y4,ie.ReturnWidget=PS,ie.Selector=fy,ie.SidebarPopup=mb,ie.SimpleLineChart=Fu,ie.Switcher=s5,ie.Textarea=zw,ie.Toast=F0,ie.Toggle=q4,ie.Tooltip=fn,ie.TopPositionsWidget=jS,ie.TradePerformanceWidget=oT,ie.WidgetChips=ql,ie.WinrateWidget=wT,ie.addSlashToPair=fg,ie.calculateTimeDifference=bV,ie.firebaseConfig=gL,ie.formatDate=hg,ie.getDate=wV,ie.getDay=ch,ie.getFullYear=gV,ie.getMonth=yV,ie.numFormat=lh,ie.scopeInstance=ic,ie.toBaseDate=_V,ie.toFix=Tt,ie.transformKeysToQuery=pV,ie.useToast=dh,ie.withSign=ln,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
49
+ `):" "+E3(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:N1};function V1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new sa(null,t)}function P3(t){return V1(t),t.headers=Or.from(t.headers),t.data=L1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),$3.getAdapter(t.adapter||$1.adapter)(t).then(function(r){return V1(t),r.data=L1.call(t,t.transformResponse,r),r.headers=Or.from(r.headers),r},function(r){return T3(r)||(V1(t),r&&r.response&&(r.response.data=L1.call(t,t.transformResponse,r.response),r.response.headers=Or.from(r.response.headers))),Promise.reject(r)})}const L3=t=>t instanceof Or?{...t}:t;function Ni(t,e){e=e||{};const n={};function r(d,u,h){return Y.isPlainObject(d)&&Y.isPlainObject(u)?Y.merge.call({caseless:h},d,u):Y.isPlainObject(u)?Y.merge({},u):Y.isArray(u)?u.slice():u}function s(d,u,h){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!Y.isUndefined(u))return r(void 0,u)}function a(d,u){if(Y.isUndefined(u)){if(!Y.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(L3(d),L3(u),!0)};return Y.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);Y.isUndefined(f)&&h!==l||(n[u]=f)}),n}const N3="1.6.8",B1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{B1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const V3={};B1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+N3+"] 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&&!V3[a]&&(V3[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 lL(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 A1={assertOptions:lL,validators:B1},rs=A1.validators;class rc{constructor(e){this.defaults=e,this.interceptors={request:new C3,response:new C3}}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&&A1.assertOptions(r,{silentJSONParsing:rs.transitional(rs.boolean),forcedJSONParsing:rs.transitional(rs.boolean),clarifyTimeoutError:rs.transitional(rs.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:A1.assertOptions(s,{encode:rs.function,serialize:rs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Y.merge(i.common,i[n.method]);i&&Y.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=[P3.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=P3.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=O3(e.baseURL,e.url);return k3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){rc.prototype[e]=function(n,r){return this.request(Ni(r||{},{method:e,url:n,data:(r||{}).data}))}}),Y.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}))}}rc.prototype[e]=n(),rc.prototype[e+"Form"]=n(!0)});const sc=rc;class R1{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 sa(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 R1(function(s){e=s}),cancel:e}}}const cL=R1;function dL(t){return function(n){return t.apply(null,n)}}function uL(t){return Y.isObject(t)&&t.isAxiosError===!0}const F1={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(F1).forEach(([t,e])=>{F1[e]=t});const hL=F1;function B3(t){const e=new sc(t),n=i3(sc.prototype.request,e);return Y.extend(n,sc.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return B3(Ni(t,s))},n}const at=B3($1);at.Axios=sc,at.CanceledError=sa,at.CancelToken=cL,at.isCancel=T3,at.VERSION=N3,at.toFormData=ec,at.AxiosError=Te,at.Cancel=at.CanceledError,at.all=function(e){return Promise.all(e)},at.spread=dL,at.isAxiosError=uL,at.mergeConfig=Ni,at.AxiosHeaders=Or,at.formToJSON=t=>v3(Y.isHTMLForm(t)?new FormData(t):t),at.getAdapter=$3.getAdapter,at.HttpStatusCode=hL,at.default=at;const ic=at.create({baseURL:"https://api.scope360.io/"}),fL=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}},mL=t=>on.getItem("isOAuth")?t:"Bearer "+t;ic.interceptors.request.use(async t=>{const e=on.getItem("access_token");return t.headers={Accept:"application/json"},on.getItem("access_token")&&(t.headers.Authorization=mL(e)),t},t=>{Promise.reject(t)}),ic.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 fL();return at.defaults.headers.common.Authorization="Bearer "+n,ic(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 pL={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 gL extends Ws{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class _L extends Ws{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class yL extends Ws{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Vi extends Ws{}class A3 extends Ws{constructor(e){super(`Invalid unit ${e}`)}}class jt extends Ws{}class ss extends Ws{constructor(){super("Zone is an abstract class")}}const ne="numeric",Vn="short",an="long",oc={year:ne,month:ne,day:ne},R3={year:ne,month:Vn,day:ne},wL={year:ne,month:Vn,day:ne,weekday:Vn},F3={year:ne,month:an,day:ne},I3={year:ne,month:an,day:ne,weekday:an},z3={hour:ne,minute:ne},H3={hour:ne,minute:ne,second:ne},Y3={hour:ne,minute:ne,second:ne,timeZoneName:Vn},W3={hour:ne,minute:ne,second:ne,timeZoneName:an},j3={hour:ne,minute:ne,hourCycle:"h23"},Z3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},U3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Vn},q3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},G3={year:ne,month:ne,day:ne,hour:ne,minute:ne},K3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},X3={year:ne,month:Vn,day:ne,hour:ne,minute:ne},Q3={year:ne,month:Vn,day:ne,hour:ne,minute:ne,second:ne},bL={year:ne,month:Vn,day:ne,weekday:Vn,hour:ne,minute:ne},J3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Vn},e6={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Vn},t6={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},n6={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ia{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 I1=null;class ac extends ia{static get instance(){return I1===null&&(I1=new ac),I1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return S6(e,n,r)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let lc={};function kL(t){return lc[t]||(lc[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"})),lc[t]}const CL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function xL(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 ML(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=CL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let cc={};class Dr extends ia{static create(e){return cc[e]||(cc[e]=new Dr(e)),cc[e]}static resetCache(){cc={},lc={}}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 S6(e,n,r,this.name)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=kL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?ML(r,n):xL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=mc({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 r6={};function vL(t,e={}){const n=JSON.stringify([t,e]);let r=r6[n];return r||(r=new Intl.ListFormat(t,e),r6[n]=r),r}let z1={};function H1(t,e={}){const n=JSON.stringify([t,e]);let r=z1[n];return r||(r=new Intl.DateTimeFormat(t,e),z1[n]=r),r}let Y1={};function SL(t,e={}){const n=JSON.stringify([t,e]);let r=Y1[n];return r||(r=new Intl.NumberFormat(t,e),Y1[n]=r),r}let W1={};function TL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=W1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),W1[s]=i),i}let oa=null;function OL(){return oa||(oa=new Intl.DateTimeFormat().resolvedOptions().locale,oa)}let s6={};function DL(t){let e=s6[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,s6[t]=e}return e}function EL(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=H1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=H1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function $L(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function PL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function LL(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 dc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function NL(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 VL{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=SL(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):X1(e,3);return yt(n,this.padTo)}}}class BL{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=H1(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 AL{constructor(e,n,r){this.opts={style:"long",...r},!n&&C6()&&(this.rtf=TL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):rN(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 ze{static fromOpts(e){return ze.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":OL()),c=n||gt.defaultNumberingSystem,d=r||gt.defaultOutputCalendar,u=G1(s)||gt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){oa=null,z1={},Y1={},W1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return ze.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=EL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=$L(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=NL(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:ze.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,G1(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 dc(this,e,D6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=PL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return dc(this,e,P6,()=>{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]=LL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return dc(this,void 0,()=>L6,()=>{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 dc(this,e,N6,()=>{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 VL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new BL(e,this.intl,n)}relFormatter(e={}){return new AL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return vL(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:x6()?DL(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 j1=null;class Vt extends ia{static get utcInstance(){return j1===null&&(j1=new Vt(0)),j1}static instance(e){return e===0?Vt.utcInstance:new Vt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Vt(pc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ca(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ca(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ca(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 FL extends ia{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 ia)return t;if(HL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ac.instance:n==="utc"||n==="gmt"?Vt.utcInstance:Vt.parseSpecifier(n)||Dr.create(t)}else return js(t)?Vt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new FL(t)}let i6=()=>Date.now(),o6="system",a6=null,l6=null,c6=null,d6=60,u6,h6=null;class gt{static get now(){return i6}static set now(e){i6=e}static set defaultZone(e){o6=e}static get defaultZone(){return is(o6,ac.instance)}static get defaultLocale(){return a6}static set defaultLocale(e){a6=e}static get defaultNumberingSystem(){return l6}static set defaultNumberingSystem(e){l6=e}static get defaultOutputCalendar(){return c6}static set defaultOutputCalendar(e){c6=e}static get defaultWeekSettings(){return h6}static set defaultWeekSettings(e){h6=G1(e)}static get twoDigitCutoffYear(){return d6}static set twoDigitCutoffYear(e){d6=e%100}static get throwOnInvalid(){return u6}static set throwOnInvalid(e){u6=e}static resetCaches(){ze.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 f6=[0,31,59,90,120,151,181,212,243,273,304,334],m6=[0,31,60,91,121,152,182,213,244,274,305,335];function kn(t,e){return new Bn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Z1(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 p6(t,e,n){return n+(aa(t)?m6:f6)[e-1]}function g6(t,e){const n=aa(t)?m6:f6,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function U1(t,e){return(t-e+7)%7+1}function uc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=p6(r,s,i),l=U1(Z1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=la(d,e,n)):c>la(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,..._c(t)}}function _6(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=U1(Z1(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}=g6(d,c);return{year:d,month:u,day:h,..._c(t)}}function q1(t){const{year:e,month:n,day:r}=t,s=p6(e,n,r);return{year:e,ordinal:s,..._c(t)}}function y6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=g6(e,n);return{year:e,month:r,day:s,..._c(t)}}function w6(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 IL(t,e=4,n=1){const r=hc(t.weekYear),s=Cn(t.weekNumber,1,la(t.weekYear,e,n)),i=Cn(t.weekday,1,7);return r?s?i?!1:kn("weekday",t.weekday):kn("week",t.weekNumber):kn("weekYear",t.weekYear)}function zL(t){const e=hc(t.year),n=Cn(t.ordinal,1,Ai(t.year));return e?n?!1:kn("ordinal",t.ordinal):kn("year",t.year)}function b6(t){const e=hc(t.year),n=Cn(t.month,1,12),r=Cn(t.day,1,fc(t.year,t.month));return e?n?r?!1:kn("day",t.day):kn("month",t.month):kn("year",t.year)}function k6(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=Cn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=Cn(n,0,59),l=Cn(r,0,59),c=Cn(s,0,999);return i?a?l?c?!1:kn("millisecond",s):kn("second",r):kn("minute",n):kn("hour",e)}function me(t){return typeof t>"u"}function js(t){return typeof t=="number"}function hc(t){return typeof t=="number"&&t%1===0}function HL(t){return typeof t=="string"}function YL(t){return Object.prototype.toString.call(t)==="[object Date]"}function C6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function x6(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function WL(t){return Array.isArray(t)?t:[t]}function M6(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 jL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Bi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function G1(t){if(t==null)return null;if(typeof t!="object")throw new jt("Week settings must be an object");if(!Cn(t.firstDay,1,7)||!Cn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Cn(e,1,7)))throw new jt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Cn(t,e,n){return hc(t)&&t>=e&&t<=n}function ZL(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 K1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function X1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function aa(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return aa(t)?366:365}function fc(t,e){const n=ZL(e-1,12)+1,r=t+(e-n)/12;return n===2?aa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function mc(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 v6(t,e,n){return-U1(Z1(t,1,e),n)+e-1}function la(t,e=4,n=1){const r=v6(t,e,n),s=v6(t+1,e,n);return(Ai(t)-r+s)/7}function Q1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function S6(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 pc(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 T6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new jt(`Invalid unit value ${t}`);return e}function gc(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=T6(s)}return n}function ca(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 _c(t){return jL(t,["hour","minute","second","millisecond"])}const UL=["January","February","March","April","May","June","July","August","September","October","November","December"],O6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],qL=["J","F","M","A","M","J","J","A","S","O","N","D"];function D6(t){switch(t){case"narrow":return[...qL];case"short":return[...O6];case"long":return[...UL];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 E6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],GL=["M","T","W","T","F","S","S"];function P6(t){switch(t){case"narrow":return[...GL];case"short":return[...$6];case"long":return[...E6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const L6=["AM","PM"],KL=["Before Christ","Anno Domini"],XL=["BC","AD"],QL=["B","A"];function N6(t){switch(t){case"narrow":return[...QL];case"short":return[...XL];case"long":return[...KL];default:return null}}function JL(t){return L6[t.hour<12?0:1]}function eN(t,e){return P6(e)[t.weekday-1]}function tN(t,e){return D6(e)[t.month-1]}function nN(t,e){return N6(e)[t.year<0?0:1]}function rN(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 V6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const sN={D:oc,DD:R3,DDD:F3,DDDD:I3,t:z3,tt:H3,ttt:Y3,tttt:W3,T:j3,TT:Z3,TTT:U3,TTTT:q3,f:G3,ff:X3,fff:J3,ffff:t6,F:K3,FF:Q3,FFF:e6,FFFF:n6};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 sN[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?JL(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?tN(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?eN(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?nN(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 V6(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 V6(i,s(l))}}const B6=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ri(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Fi(...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 A6(...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 R6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iN=`(?:${R6.source}?(?:\\[(${B6.source})\\])?)?`,J1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,F6=RegExp(`${J1.source}${iN}`),eh=RegExp(`(?:T${F6.source})?`),oN=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,aN=/(\d{4})-?W(\d\d)(?:-?(\d))?/,lN=/(\d{4})-?(\d{3})/,cN=A6("weekYear","weekNumber","weekDay"),dN=A6("year","ordinal"),uN=/(\d{4})-(\d\d)-(\d\d)/,I6=RegExp(`${J1.source} ?(?:${R6.source}|(${B6.source}))?`),hN=RegExp(`(?: ${I6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function fN(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Hi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:K1(t[e+3])},null,e+4]}function da(t,e){const n=!t[e]&&!t[e+1],r=pc(t[e+1],t[e+2]),s=n?null:Vt.instance(r);return[{},s,e+3]}function ua(t,e){const n=t[e]?Dr.create(t[e]):null;return[{},n,e+1]}const mN=RegExp(`^T?${J1.source}$`),pN=/^-?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 gN(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(K1(d),h)}]}const _N={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 th(t,e,n,r,s,i,a){const l={year:e.length===2?Q1(os(e)):os(e),month:O6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?E6.indexOf(t)+1:$6.indexOf(t)+1),l}const yN=/^(?:(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 wN(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=th(e,s,r,n,i,a,l);let m;return c?m=_N[c]:d?m=0:m=pc(u,h),[f,new Vt(m)]}function bN(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const kN=/^(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$/,CN=/^(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$/,xN=/^(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 z6(t){const[,e,n,r,s,i,a,l]=t;return[th(e,s,r,n,i,a,l),Vt.utcInstance]}function MN(t){const[,e,n,r,s,i,a,l]=t;return[th(e,l,n,r,s,i,a),Vt.utcInstance]}const vN=Ri(oN,eh),SN=Ri(aN,eh),TN=Ri(lN,eh),ON=Ri(F6),H6=Fi(fN,Hi,da,ua),DN=Fi(cN,Hi,da,ua),EN=Fi(dN,Hi,da,ua),$N=Fi(Hi,da,ua);function PN(t){return Ii(t,[vN,H6],[SN,DN],[TN,EN],[ON,$N])}function LN(t){return Ii(bN(t),[yN,wN])}function NN(t){return Ii(t,[kN,z6],[CN,z6],[xN,MN])}function VN(t){return Ii(t,[pN,gN])}const BN=Fi(Hi);function AN(t){return Ii(t,[mN,BN])}const RN=Ri(uN,hN),FN=Ri(I6),IN=Fi(Hi,da,ua);function zN(t){return Ii(t,[RN,H6],[FN,IN])}const Y6="Invalid Duration",W6={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}},HN={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},...W6},xn=146097/400,Yi=146097/4800,YN={years:{quarters:4,months:12,weeks:xn/7,days:xn,hours:xn*24,minutes:xn*24*60,seconds:xn*24*60*60,milliseconds:xn*24*60*60*1e3},quarters:{months:3,weeks:xn/28,days:xn/4,hours:xn*24/4,minutes:xn*24*60/4,seconds:xn*24*60*60/4,milliseconds:xn*24*60*60*1e3/4},months:{weeks:Yi/7,days:Yi,hours:Yi*24,minutes:Yi*24*60,seconds:Yi*24*60*60,milliseconds:Yi*24*60*60*1e3},...W6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],WN=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 j6(t,e){let n=e.milliseconds??0;for(const r of WN.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Z6(t,e){const n=j6(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 jN(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?YN:HN;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||ze.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 jt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new De({values:gc(e,De.normalizeUnit),loc:ze.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 jt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=VN(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]=AN(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 jt("need to specify a reason the Duration is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new yL(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 A3(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):Y6}toHuman(e={}){if(!this.isValid)return Y6;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+=X1(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?j6(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]=T6(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,...gc(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 Z6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=jN(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 Z6(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 ZN(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 jt("need to specify a reason the Interval is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new _L(r);return new lt({invalid:r})}static fromDateTimes(e,n){const r=fa(e),s=fa(n),i=ZN(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=De.fromDurationLike(n),s=fa(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=De.fromDurationLike(n),s=fa(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(fa).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=oc,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 yc{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||ze.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ze.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return ze.create(n,null,"gregory").eras(e)}static features(){return{relative:C6(),localeWeek:x6()}}}function U6(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 UN(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=U6(c,d);return(u-u%7)/7}],["days",U6]],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 qN(t,e,n,r){let[s,i,a,l]=UN(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 nh={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},q6={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]},GN=nh.hanidec.replace(/[\[|\]]/g,"").split("");function KN(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(nh.hanidec)!==-1)e+=GN.indexOf(t[n]);else for(const s in q6){const[i,a]=q6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${nh[t||"latn"]}${e}`)}const XN="missing Intl.DateTimeFormat.formatToParts support";function Ve(t,e=n=>n){return{regex:t,deser:([n])=>e(KN(n))}}const G6="[  ]",K6=new RegExp(G6,"g");function QN(t){return t.replace(/\./g,"\\.?").replace(K6,G6)}function X6(t){return t.replace(/\./g,"").replace(K6," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(QN).join("|")),deser:([n])=>t.findIndex(r=>X6(n)===X6(r))+e}}function Q6(t,e){return{regex:t,deser:([,n,r])=>pc(n,r),groups:e}}function wc(t){return{regex:t,deser:([e])=>e}}function JN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function eV(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(JN(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Rn(e.eras("short"),0);case"GG":return Rn(e.eras("long"),0);case"y":return Ve(d);case"yy":return Ve(h,Q1);case"yyyy":return Ve(i);case"yyyyy":return Ve(f);case"yyyyyy":return Ve(a);case"M":return Ve(l);case"MM":return Ve(r);case"MMM":return Rn(e.months("short",!0),1);case"MMMM":return Rn(e.months("long",!0),1);case"L":return Ve(l);case"LL":return Ve(r);case"LLL":return Rn(e.months("short",!1),1);case"LLLL":return Rn(e.months("long",!1),1);case"d":return Ve(l);case"dd":return Ve(r);case"o":return Ve(c);case"ooo":return Ve(s);case"HH":return Ve(r);case"H":return Ve(l);case"hh":return Ve(r);case"h":return Ve(l);case"mm":return Ve(r);case"m":return Ve(l);case"q":return Ve(l);case"qq":return Ve(r);case"s":return Ve(l);case"ss":return Ve(r);case"S":return Ve(c);case"SSS":return Ve(s);case"u":return wc(u);case"uu":return wc(l);case"uuu":return Ve(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Ve(i);case"kk":return Ve(h,Q1);case"W":return Ve(l);case"WW":return Ve(r);case"E":case"c":return Ve(n);case"EEE":return Rn(e.weekdays("short",!1),1);case"EEEE":return Rn(e.weekdays("long",!1),1);case"ccc":return Rn(e.weekdays("short",!0),1);case"cccc":return Rn(e.weekdays("long",!0),1);case"Z":case"ZZ":return Q6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return Q6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return wc(/[a-z_+-/]{1,256}?/i);case" ":return wc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:XN};return p.token=t,p}const tV={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 nV(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=tV[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function rV(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function sV(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 iV(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 Vt(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=K1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let rh=null;function oV(){return rh||(rh=pe.fromMillis(1555555555555)),rh}function aV(t,e){if(t.literal)return t;const n=Lt.macroTokenToFormatOpts(t.val),r=tg(n,e);return r==null||r.includes(void 0)?t:r}function J6(t,e){return Array.prototype.concat(...t.map(n=>aV(n,e)))}function eg(t,e,n){const r=J6(Lt.parseFormat(n),t),s=r.map(a=>eV(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=rV(s),c=RegExp(a,"i"),[d,u]=sV(e,c,l),[h,f,m]=u?iV(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 lV(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=eg(t,e,n);return[r,s,i,a]}function tg(t,e){if(!t)return null;const r=Lt.create(e,t).dtFormatter(oV()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>nV(a,t,i))}const sh="Invalid DateTime",ng=864e13;function bc(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function ih(t){return t.weekData===null&&(t.weekData=uc(t.c)),t.weekData}function oh(t){return t.localWeekData===null&&(t.localWeekData=uc(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 rg(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 kc(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 Cc(t,e,n){return rg(mc(t),e,n)}function sg(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,fc(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=mc(i);let[c,d]=rg(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function ha(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 xc(t,e,n=!0){return t.isValid?Lt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ah(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 ig(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 og={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},cV={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},dV={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ag=["year","month","day","hour","minute","second","millisecond"],uV=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],hV=["year","ordinal","hour","minute","second","millisecond"];function fV(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 A3(t);return e}function lg(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return fV(t)}}function cg(t,e){const n=is(e.zone,gt.defaultZone),r=ze.fromObject(e),s=gt.now();let i,a;if(me(t.year))i=s;else{for(const d of ag)me(t[d])&&(t[d]=og[d]);const l=b6(t)||k6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=Cc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function dg(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=X1(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 ug(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:bc(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=kc(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||ze.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]=ug(arguments),[r,s,i,a,l,c,d]=n;return cg({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=ug(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Vt.utcInstance,cg({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=YL(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:ze.fromObject(n)}):pe.invalid(bc(s))}static fromMillis(e,n={}){if(js(e))return e<-ng||e>ng?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:is(n.zone,gt.defaultZone),loc:ze.fromObject(n)});throw new jt(`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:ze.fromObject(n)});throw new jt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=is(n.zone,gt.defaultZone);if(!r.isValid)return pe.invalid(bc(r));const s=ze.fromObject(n),i=gc(e,lg),{minDaysInFirstWeek:a,startOfWeek:l}=w6(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=kc(c,d);p?(_=uV,y=cV,C=uc(C,a,l)):u?(_=hV,y=dV,C=q1(C)):(_=ag,y=og);let b=!1;for(const I of _){const j=i[I];me(j)?b?i[I]=y[I]:i[I]=C[I]:b=!0}const S=p?IL(i,a,l):u?zL(i):b6(i),M=S||k6(i);if(M)return pe.invalid(M);const T=p?_6(i,a,l):u?y6(i):i,[v,D]=Cc(T,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]=PN(e);return ha(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=LN(e);return ha(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=NN(e);return ha(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new jt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=lV(a,e,n);return u?pe.invalid(u):ha(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]=zN(e);return ha(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new jt("need to specify a reason the DateTime is invalid");const r=e instanceof Bn?e:new Bn(e,n);if(gt.throwOnInvalid)throw new gL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=tg(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return J6(Lt.parseFormat(e),ze.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?ih(this).weekYear:NaN}get weekNumber(){return this.isValid?ih(this).weekNumber:NaN}get weekday(){return this.isValid?ih(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?oh(this).weekday:NaN}get localWeekNumber(){return this.isValid?oh(this).weekNumber:NaN}get localWeekYear(){return this.isValid?oh(this).weekYear:NaN}get ordinal(){return this.isValid?q1(this.c).ordinal:NaN}get monthShort(){return this.isValid?yc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?yc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?yc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?yc.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=mc(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=kc(c,a),h=kc(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 aa(this.year)}get daysInMonth(){return fc(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?la(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?la(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(Vt.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]=Cc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(bc(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=gc(e,lg),{minDaysInFirstWeek:r,startOfWeek:s}=w6(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=_6({...uc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(fc(h.year,h.month),h.day))):h=y6({...q1(this.c),...n});const[f,m]=Cc(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,sg(this,n))}minus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e).negate();return qs(this,sg(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):sh}toLocaleString(e=oc,n={}){return this.isValid?Lt.create(this.loc.clone(n),e).formatDateTime(this):sh}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=ah(this,a);return l+="T",l+=ig(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?ah(this,e==="extended"):null}toISOWeekDate(){return xc(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":"")+ig(this,a==="extended",n,e,r,i):null}toRFC2822(){return xc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return xc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ah(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")),xc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():sh}[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=WL(n).map(De.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=qN(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),dg(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?dg(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 jt("min requires all arguments be DateTimes");return M6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new jt("max requires all arguments be DateTimes");return M6(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return eg(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return oc}static get DATE_MED(){return R3}static get DATE_MED_WITH_WEEKDAY(){return wL}static get DATE_FULL(){return F3}static get DATE_HUGE(){return I3}static get TIME_SIMPLE(){return z3}static get TIME_WITH_SECONDS(){return H3}static get TIME_WITH_SHORT_OFFSET(){return Y3}static get TIME_WITH_LONG_OFFSET(){return W3}static get TIME_24_SIMPLE(){return j3}static get TIME_24_WITH_SECONDS(){return Z3}static get TIME_24_WITH_SHORT_OFFSET(){return U3}static get TIME_24_WITH_LONG_OFFSET(){return q3}static get DATETIME_SHORT(){return G3}static get DATETIME_SHORT_WITH_SECONDS(){return K3}static get DATETIME_MED(){return X3}static get DATETIME_MED_WITH_SECONDS(){return Q3}static get DATETIME_MED_WITH_WEEKDAY(){return bL}static get DATETIME_FULL(){return J3}static get DATETIME_FULL_WITH_SECONDS(){return e6}static get DATETIME_HUGE(){return t6}static get DATETIME_HUGE_WITH_SECONDS(){return n6}}function fa(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 jt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Tt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function lh(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function mV(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function pV(t){return new Date(t).getFullYear()}function gV(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function hg(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function _V(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function yV(t){return new Date(t).getDate()}function ch(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}const ln=(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=Tt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function wV(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 fg(t){const e=/^(.*?)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[2];return r===""||s===""?t:`${r}/${s}`}else return t}const bV=(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},kV={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Mc=t=>{if(!(t!=null&&t.message))return;const e={...kV,...t},n=bV(F0,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}},CV=(t,e)=>Mc({...e,message:t,type:"success"}),xV=(t,e)=>Mc({...e,message:t,type:"error"}),MV=(t,e)=>Mc({...e,message:t,type:"info"}),dh=()=>({open:Mc,success:CV,error:xV,info:MV}),vV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SV=[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:"currentColor","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:"currentColor","stroke-linejoin":"round"},null,-1)];function mg(t,e){return o.openBlock(),o.createElementBlock("svg",vV,[...SV])}const TV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),OV={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DV=[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 pg(t,e){return o.openBlock(),o.createElementBlock("svg",OV,[...DV])}const EV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),$V={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PV=[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 gg(t,e){return o.openBlock(),o.createElementBlock("svg",$V,[...PV])}const LV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),NV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VV=[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 _g(t,e){return o.openBlock(),o.createElementBlock("svg",NV,[...VV])}const BV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_g},render:_g},Symbol.toStringTag,{value:"Module"})),AV={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},RV=[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 yg(t,e){return o.openBlock(),o.createElementBlock("svg",AV,[...RV])}const FV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),IV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zV=[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 wg(t,e){return o.openBlock(),o.createElementBlock("svg",IV,[...zV])}const HV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),YV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WV=[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 bg(t,e){return o.openBlock(),o.createElementBlock("svg",YV,[...WV])}const jV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},Symbol.toStringTag,{value:"Module"})),ZV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},UV=[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 kg(t,e){return o.openBlock(),o.createElementBlock("svg",ZV,[...UV])}const qV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),GV={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KV=[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 Cg(t,e){return o.openBlock(),o.createElementBlock("svg",GV,[...KV])}const XV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),QV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JV=[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 xg(t,e){return o.openBlock(),o.createElementBlock("svg",QV,[...JV])}const eB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),tB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nB=[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 Mg(t,e){return o.openBlock(),o.createElementBlock("svg",tB,[...nB])}const rB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),sB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},iB=[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:"currentColor"},null,-1)];function vg(t,e){return o.openBlock(),o.createElementBlock("svg",sB,[...iB])}const oB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),aB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},lB=[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:"currentColor"},null,-1)];function Sg(t,e){return o.openBlock(),o.createElementBlock("svg",aB,[...lB])}const cB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),dB={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uB=[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 Tg(t,e){return o.openBlock(),o.createElementBlock("svg",dB,[...uB])}const hB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},Symbol.toStringTag,{value:"Module"})),fB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},mB=[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 Og(t,e){return o.openBlock(),o.createElementBlock("svg",fB,[...mB])}const pB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),gB={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_B=[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 Dg(t,e){return o.openBlock(),o.createElementBlock("svg",gB,[..._B])}const yB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),wB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bB=[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 Eg(t,e){return o.openBlock(),o.createElementBlock("svg",wB,[...bB])}const kB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),CB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xB=[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 $g(t,e){return o.openBlock(),o.createElementBlock("svg",CB,[...xB])}const MB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),vB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SB=[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",vB,[...SB])}const TB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),OB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DB=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...DB])}const EB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),$B={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PB=[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 Ng(t,e){return o.openBlock(),o.createElementBlock("svg",$B,[...PB])}const LB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),NB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Vg(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...VB])}const BB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),AB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RB=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",AB,[...RB])}const FB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),IB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zB=[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 Ag(t,e){return o.openBlock(),o.createElementBlock("svg",IB,[...zB])}const HB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),YB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},WB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Rg(t,e){return o.openBlock(),o.createElementBlock("svg",YB,[...WB])}const jB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),ZB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UB=[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 Fg(t,e){return o.openBlock(),o.createElementBlock("svg",ZB,[...UB])}const qB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},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:"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 Ig(t,e){return o.openBlock(),o.createElementBlock("svg",GB,[...KB])}const XB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},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:"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 zg(t,e){return o.openBlock(),o.createElementBlock("svg",QB,[...JB])}const eA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zg},render:zg},Symbol.toStringTag,{value:"Module"})),tA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},nA=[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 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={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iA=[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:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)];function Yg(t,e){return o.openBlock(),o.createElementBlock("svg",sA,[...iA])}const oA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),aA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},lA=[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 Wg(t,e){return o.openBlock(),o.createElementBlock("svg",aA,[...lA])}const cA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},Symbol.toStringTag,{value:"Module"})),dA={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uA=[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 jg(t,e){return o.openBlock(),o.createElementBlock("svg",dA,[...uA])}const hA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),fA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},mA=[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 Zg(t,e){return o.openBlock(),o.createElementBlock("svg",fA,[...mA])}const pA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),gA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},_A=[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 Ug(t,e){return o.openBlock(),o.createElementBlock("svg",gA,[..._A])}const yA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),wA={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bA=[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 qg(t,e){return o.openBlock(),o.createElementBlock("svg",wA,[...bA])}const kA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},Symbol.toStringTag,{value:"Module"})),CA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xA=[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 Gg(t,e){return o.openBlock(),o.createElementBlock("svg",CA,[...xA])}const MA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),vA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},SA=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Kg(t,e){return o.openBlock(),o.createElementBlock("svg",vA,[...SA])}const TA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),OA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},DA=[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 Xg(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...DA])}const EA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),$A={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},PA=[o.createElementVNode("path",{d:"M9.00033 4.4999L11.1956 2.30464C11.4559 2.04429 11.878 2.04429 12.1384 2.30464L14.1956 4.36183C14.4559 4.62218 14.4559 5.04429 14.1956 5.30464L12.0003 7.4999M9.00033 4.4999L1.86225 11.638C1.73723 11.763 1.66699 11.9326 1.66699 12.1094V14.8332H4.39085C4.56766 14.8332 4.73723 14.763 4.86225 14.638L12.0003 7.4999M9.00033 4.4999L12.0003 7.4999",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Qg(t,e){return o.openBlock(),o.createElementBlock("svg",$A,[...PA])}const LA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),NA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VA=[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 Jg(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...VA])}const BA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),AA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RA=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",AA,[...RA])}const FA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),IA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zA=[o.createElementVNode("g",{id:"file-bend, document"},[o.createElementVNode("path",{id:"vector",d:"M13.25 4.23895V10.2344H19.2501M5.25 3.73438H13.25L19.75 10.2344V22.2344H5.25V3.73438Z",stroke:"#007AFF","stroke-width":"1.5","stroke-linecap":"round"})],-1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",IA,[...zA])}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),YA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},WA=[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 n_(t,e){return o.openBlock(),o.createElementBlock("svg",YA,[...WA])}const jA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),ZA={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UA=[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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",ZA,[...UA])}const qA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},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:"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 s_(t,e){return o.openBlock(),o.createElementBlock("svg",GA,[...KA])}const XA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),QA={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JA=[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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",QA,[...JA])}const eR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),tR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},nR=[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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",tR,[...nR])}const rR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),sR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},iR=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",sR,[...iR])}const oR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},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:"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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",aR,[...lR])}const cR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),dR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},uR=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",dR,[...uR])}const hR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),fR={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mR=[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 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:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_R=[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 u_(t,e){return o.openBlock(),o.createElementBlock("svg",gR,[..._R])}const yR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),wR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},bR=[o.createElementVNode("path",{d:"M2.29297 9.99984H17.7096M2.29297 4.7915H17.7096M2.29297 15.2082H17.7096",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",wR,[...bR])}const kR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},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:"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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",CR,[...xR])}const MR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),vR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SR=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",vR,[...SR])}const TR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),OR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},DR=[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 p_(t,e){return o.openBlock(),o.createElementBlock("svg",OR,[...DR])}const ER=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),$R={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},PR=[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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",$R,[...PR])}const LR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),NR={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VR=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...VR])}const BR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),AR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RR=[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:"currentColor","stroke-linecap":"round"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",AR,[...RR])}const FR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},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:"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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",IR,[...zR])}const HR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),YR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WR=[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 b_(t,e){return o.openBlock(),o.createElementBlock("svg",YR,[...WR])}const jR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),ZR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UR=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",ZR,[...UR])}const qR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),GR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},KR=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",GR,[...KR])}const XR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},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:"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:"currentColor","stroke-linecap":"square"},null,-1)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",QR,[...JR])}const eF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),tF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nF=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",tF,[...nF])}const rF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},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:"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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",sF,[...iF])}const oF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),aF={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lF=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",aF,[...lF])}const cF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),dF={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uF=[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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",dF,[...uF])}const hF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),fF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mF=[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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",fF,[...mF])}const pF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),gF={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_F=[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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",gF,[..._F])}const yF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),wF={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bF=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",wF,[...bF])}const kF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),CF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},xF=[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:"currentColor","stroke-linecap":"square"},null,-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",CF,[...xF])}const MF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),vF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SF=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},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={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DF=[o.createElementVNode("path",{d:"M7.91669 2.91406H5.58335C4.64993 2.91406 4.18322 2.91406 3.8267 3.09572C3.5131 3.25551 3.25813 3.51047 3.09834 3.82408C2.91669 4.1806 2.91669 4.64731 2.91669 5.58073V14.4141C2.91669 15.3475 2.91669 15.8142 3.09834 16.1707C3.25813 16.4843 3.5131 16.7393 3.8267 16.8991C4.18322 17.0807 4.64993 17.0807 5.58335 17.0807H14.4167C15.3501 17.0807 15.8168 17.0807 16.1733 16.8991C16.4869 16.7393 16.7419 16.4843 16.9017 16.1707C17.0834 15.8142 17.0834 15.3475 17.0834 14.4141V12.0807M12.0834 2.91406H17.0834M17.0834 2.91406V7.91406M17.0834 2.91406L9.58335 10.4141",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",OF,[...DF])}const EF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),$F={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},PF=[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 N_(t,e){return o.openBlock(),o.createElementBlock("svg",$F,[...PF])}const LF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),NF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...VF])}const BF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),AF={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:"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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",AF,[...RF])}const FF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),IF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zF=[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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",IF,[...zF])}const HF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),YF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WF=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",YF,[...WF])}const jF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),ZF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UF=[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 F_(t,e){return o.openBlock(),o.createElementBlock("svg",ZF,[...UF])}const qF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),GF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KF=[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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",GF,[...KF])}const XF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),QF={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 z_(t,e){return o.openBlock(),o.createElementBlock("svg",QF,[...JF])}const eI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),tI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},nI=[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 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"})),sI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},iI=[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:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",sI,[...iI])}const oI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),aI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},lI=[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:"currentColor"},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:"currentColor"},null,-1)];function W_(t,e){return o.openBlock(),o.createElementBlock("svg",aI,[...lI])}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),dI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",dI,[...uI])}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),fI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mI=[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:"currentColor","stroke-linecap":"round"},null,-1)];function Z_(t,e){return o.openBlock(),o.createElementBlock("svg",fI,[...mI])}const pI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),gI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_I=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",gI,[..._I])}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),wI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},bI=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function q_(t,e){return o.openBlock(),o.createElementBlock("svg",wI,[...bI])}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),CI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},xI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",CI,[...xI])}const MI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),vI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SI=[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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",vI,[...SI])}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),OI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DI=[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 X_(t,e){return o.openBlock(),o.createElementBlock("svg",OI,[...DI])}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),$I={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},PI=[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:"currentColor","stroke-linecap":"square"},null,-1)];function Q_(t,e){return o.openBlock(),o.createElementBlock("svg",$I,[...PI])}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),NI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},VI=[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 J_(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...VI])}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),AI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RI=[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 e4(t,e){return o.openBlock(),o.createElementBlock("svg",AI,[...RI])}const FI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e4},render:e4},Symbol.toStringTag,{value:"Module"})),II={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},zI=[o.createElementVNode("path",{d:"M3.66634 4.16797V14.168C3.66634 14.5362 3.96482 14.8346 4.33301 14.8346H11.6663C12.0345 14.8346 12.333 14.5362 12.333 14.168V4.16797M3.66634 4.16797H12.333M3.66634 4.16797H2.33301M12.333 4.16797H13.6663M9.66634 7.66797V11.5013M6.33301 7.66797V11.5013M5.99967 4.16797C5.99967 3.0634 6.89511 2.16797 7.99967 2.16797C9.10424 2.16797 9.99967 3.0634 9.99967 4.16797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function t4(t,e){return o.openBlock(),o.createElementBlock("svg",II,[...zI])}const HI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t4},render:t4},Symbol.toStringTag,{value:"Module"})),YI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},WI=[o.createElementVNode("path",{d:"M7.99967 3.5013C8.36786 3.5013 8.66634 3.20283 8.66634 2.83464C8.66634 2.46645 8.36786 2.16797 7.99967 2.16797C7.63148 2.16797 7.33301 2.46645 7.33301 2.83464C7.33301 3.20283 7.63148 3.5013 7.99967 3.5013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 9.16797C8.36786 9.16797 8.66634 8.86949 8.66634 8.5013C8.66634 8.13311 8.36786 7.83464 7.99967 7.83464C7.63148 7.83464 7.33301 8.13311 7.33301 8.5013C7.33301 8.86949 7.63148 9.16797 7.99967 9.16797Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 15.0013C8.36786 15.0013 8.66634 14.7028 8.66634 14.3346C8.66634 13.9664 8.36786 13.668 7.99967 13.668C7.63148 13.668 7.33301 13.9664 7.33301 14.3346C7.33301 14.7028 7.63148 15.0013 7.99967 15.0013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n4(t,e){return o.openBlock(),o.createElementBlock("svg",YI,[...WI])}const jI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n4},render:n4},Symbol.toStringTag,{value:"Module"})),ZI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UI=[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 r4(t,e){return o.openBlock(),o.createElementBlock("svg",ZI,[...UI])}const qI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r4},render:r4},Symbol.toStringTag,{value:"Module"})),GI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},KI=[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 s4(t,e){return o.openBlock(),o.createElementBlock("svg",GI,[...KI])}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s4},render:s4},Symbol.toStringTag,{value:"Module"})),QI={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JI=[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 i4(t,e){return o.openBlock(),o.createElementBlock("svg",QI,[...JI])}const ez=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i4},render:i4},Symbol.toStringTag,{value:"Module"})),tz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},nz=[o.createElementVNode("path",{d:"M3.33317 4.65234L3.64632 14.6732C3.65757 15.0331 3.95258 15.319 4.31266 15.319H11.687C12.0471 15.319 12.3421 15.0331 12.3534 14.6732L12.6665 4.65234M3.33317 4.65234H12.6665M3.33317 4.65234H1.6665M12.6665 4.65234H14.3332M6.33317 7.98568V11.9857M9.6665 7.98568V11.9857M10.5825 4.65234C10.2865 3.50219 9.24241 2.65234 7.99985 2.65234C6.75729 2.65234 5.71322 3.50219 5.4172 4.65234",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function o4(t,e){return o.openBlock(),o.createElementBlock("svg",tz,[...nz])}const rz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o4},render:o4},Symbol.toStringTag,{value:"Module"})),sz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iz=[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 a4(t,e){return o.openBlock(),o.createElementBlock("svg",sz,[...iz])}const oz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a4},render:a4},Symbol.toStringTag,{value:"Module"})),az={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lz=[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 l4(t,e){return o.openBlock(),o.createElementBlock("svg",az,[...lz])}const cz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l4},render:l4},Symbol.toStringTag,{value:"Module"})),dz={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uz=[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 c4(t,e){return o.openBlock(),o.createElementBlock("svg",dz,[...uz])}const hz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c4},render:c4},Symbol.toStringTag,{value:"Module"})),fz={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},mz=[o.createElementVNode("path",{d:"M10 7.91666V11.6667M10 13.75H10.0084M9.28098 2.89434L2.19316 14.9955C1.86777 15.551 2.26841 16.25 2.91223 16.25H17.0879C17.7317 16.25 18.1323 15.551 17.8069 14.9955L10.7191 2.89434C10.3972 2.34479 9.60286 2.34479 9.28098 2.89434ZM10.2084 13.75C10.2084 13.8651 10.1151 13.9583 10 13.9583C9.88499 13.9583 9.79171 13.8651 9.79171 13.75C9.79171 13.6349 9.88499 13.5417 10 13.5417C10.1151 13.5417 10.2084 13.6349 10.2084 13.75Z",stroke:"#FFB500","stroke-linecap":"round"},null,-1)];function d4(t,e){return o.openBlock(),o.createElementBlock("svg",fz,[...mz])}const pz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d4},render:d4},Symbol.toStringTag,{value:"Module"})),gz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_z=[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 u4(t,e){return o.openBlock(),o.createElementBlock("svg",gz,[..._z])}const yz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u4},render:u4},Symbol.toStringTag,{value:"Module"})),wz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},bz=[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:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h4(t,e){return o.openBlock(),o.createElementBlock("svg",wz,[...bz])}const kz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h4},render:h4},Symbol.toStringTag,{value:"Module"})),Cz={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},xz=[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 f4(t,e){return o.openBlock(),o.createElementBlock("svg",Cz,[...xz])}const Mz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f4},render:f4},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=iv,ie.AverageRRLine=Xm,ie.BalanceWidget=Mv,ie.Button=ga,ie.Calendar=uy,ie.CalendarDropdown=r3,ie.CalendarWidget=Uv,ie.CheckBox=Q4,ie.CommissionsFeesWidget=cS,ie.Confetti=Vw,ie.CookieManager=on,ie.Dropdown=L4,ie.Dropzone=Qw,ie.Icon=Pe,ie.Input=R4,ie.LineChart=Ru,ie.LongShort=Y0,ie.Menu=t5,ie.NavigationTab=wy,ie.NoMore=Jd,ie.NumberInput=gy,ie.PerformanceWidget=pS,ie.PeriodDropdown=Ys,ie.ProgressLine=s3,ie.Radio=Y4,ie.ReturnWidget=$S,ie.Selector=fy,ie.SidebarPopup=fb,ie.SimpleLineChart=Fu,ie.Switcher=s5,ie.Textarea=Iw,ie.Toast=F0,ie.Toggle=q4,ie.Tooltip=fn,ie.TopPositionsWidget=WS,ie.TradePerformanceWidget=iT,ie.WidgetChips=ql,ie.WinrateWidget=yT,ie.addSlashToPair=fg,ie.calculateTimeDifference=wV,ie.firebaseConfig=pL,ie.formatDate=hg,ie.getDate=yV,ie.getDay=ch,ie.getFullYear=pV,ie.getMonth=_V,ie.numFormat=lh,ie.scopeInstance=ic,ie.toBaseDate=gV,ie.toFix=Tt,ie.transformKeysToQuery=mV,ie.useToast=dh,ie.withSign=ln,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
51
51
  //# sourceMappingURL=scope360-core.umd.cjs.map