scope360-core 0.0.126 → 0.0.127
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.
- package/dist/scope360-core.js +4881 -4859
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +18 -18
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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 jI=Object.defineProperty;var ZI=(ie,o,ds)=>o in ie?jI(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(ZI(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)))})},Ne={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>ds(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>GV),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>QV),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>tN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>sN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>aN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>dN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>fN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>gN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>wN),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>CN),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>vN),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>DN),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>$N),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>VN),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>AN),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>IN),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>ZN),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>GN),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>QN),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>vB),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>DB),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>VB),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>vA),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>DA),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>VA),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>vR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>DR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>VR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>vF),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>DF),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>VF),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>aI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>dI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>fI),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>gI),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>wI),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>CI),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>vI),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>DI),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>$I),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>VI),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>AI),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>II),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>YI)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},De=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},X_=["disabled"],Q_={key:1},ha=De({__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(Ne,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",Q_,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,X_))}},[["__scopeId","data-v-ffc148b3"]]);function yc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function J_(t){return(...e)=>!t(...e)}function e4(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function ah(t,e,n,r){return e?t.filter(s=>e4(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function t4(t){return t.filter(e=>!e.$isLabel)}function wc(t,e){return n=>n.reduce((r,s)=>s[t]&&s[t].length?(r.push({$groupLabel:s[e],$isLabel:!0}),r.concat(s[t])):r,[])}function n4(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=ah(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const lh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var r4={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(t,e){return yc(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,e,this.label):ah(n,e,this.label,this.customLabel):n=this.groupValues?wc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(J_(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 lh(n4(e,n,this.groupValues,this.groupLabel,this.customLabel),wc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return lh(wc(this.groupValues,this.groupLabel),t4)(t)},updateSearch(t){this.search=t},isExistingOption(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled(t){return!!t.$isDisabled},getOptionLabel(t){if(yc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return yc(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect){this.selectGroup(t);return}if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||t.$isDisabled||t.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(e==="Tab"&&!this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t)){e!=="Tab"&&this.removeElement(t);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(n=>n[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const n=this.internalValue.filter(r=>e[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=e[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(e=>this.isSelected(e)||this.isOptionDisabled(e))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof t=="object"?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},s4={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}}},ch={name:"vue-multiselect",mixins:[r4,s4],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 i4={ref:"tags",class:"multiselect__tags"},o4={class:"multiselect__tags-wrap"},a4={class:"multiselect__spinner"},l4={key:0},c4={class:"multiselect__option"},d4={class:"multiselect__option"},u4=o.createTextVNode("No elements found. Consider changing the search query."),h4={class:"multiselect__option"},f4=o.createTextVNode("List is empty.");function m4(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",i4,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",o4,[(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",a4,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",l4,[o.createVNode("span",c4,[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",d4,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[u4])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",h4,[o.renderSlot(t.$slots,"noOptions",{},()=>[f4])])],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"])}ch.render=m4;const p4={key:0,class:"scope-multiselect-label"},g4=De({__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(ch),{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(Ne,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Ne,{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"]]),_4={key:0,class:"scope-input__label"},y4={key:0,class:"scope-input__sign"},w4=["disabled","placeholder","veeBind","maxlength","pattern","type"],b4={key:1,class:"scope-input__error"},k4=De({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=eh(),r=e,s=o.useModel(t,"modelValue"),i=t,a=o.computed(()=>i.width?{width:i.width}:null),l=o.ref(!1),c=d=>{navigator.clipboard.writeText(d).then(()=>{l.value=!0;const u=setTimeout(()=>{l.value=!1,clearTimeout(u)},3e3)}).catch(u=>{n(u)})};return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",_4,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",y4,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":u[0]||(u[0]=h=>s.value=h),style:o.normalizeStyle(a.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:u[1]||(u[1]=h=>r("input")),onKeyup:u[2]||(u[2]=o.withKeys(h=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,w4),[[o.vModelDynamic,s.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Ne),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Ne),{key:1,class:"scope-input__clear",icon:"cross",onClick:u[3]||(u[3]=h=>s.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(Ne),{key:2,class:"scope-input__clear",icon:"copy",onClick:u[4]||(u[4]=h=>c(s.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(Ne),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",b4,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-7b4a02a7"]]),C4={class:"scope-radio-label"},x4=["value","checked"],M4={class:"scope-text"},v4={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.ref(null),s=()=>{e.value=n.value},i=o.computed(()=>e.value);return o.onMounted(()=>{s()}),(a,l)=>(o.openBlock(),o.createElementBlock("label",C4,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:i.value,onClick:s},null,8,x4),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":i.value}])},null,2),o.createElementVNode("span",M4,o.toDisplayString(t.label),1)]))}},S4=De(v4,[["__scopeId","data-v-a6d4ba91"]]),T4=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),D4={class:"scope-toggle-wrapper"},O4=["checked","name"],E4=T4(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),$4=De({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,s)=>(o.openBlock(),o.createElementBlock("div",D4,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,O4),E4]))}},[["__scopeId","data-v-7e155a89"]]),P4={class:"scope-checkbox-container"},L4=["id"],V4=["for"],N4=De({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels("change",["update:modelValue"]),setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",P4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),class:"scope-checkbox",id:t.name,type:"checkbox",onClick:r[1]||(r[1]=s=>n.emit("change"))},null,8,L4),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,V4)])]))}},[["__scopeId","data-v-0ab85dae"]]),B4={class:"scope-menu-tabs"},A4=["onClick"],R4=De({__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",B4,[(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,A4))),128))]))}},[["__scopeId","data-v-30014e05"]]),F4={class:"scope-switcher"},I4={class:"scope-switcher__current-item"},z4=De({__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",F4,[o.createVNode(Ne,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",I4,o.toDisplayString(n.value.name),1),o.createVNode(Ne,{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 Pe(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function vn(t,e){const n=le(t);return isNaN(e)?Pe(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Sn(t,e){const n=le(t);if(isNaN(e))return Pe(t,NaN);if(!e)return n;const r=n.getDate(),s=Pe(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 dh(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 Pe(t,h.getTime()+g)}function H4(t,e){const n=+le(t);return Pe(t,n+e)}const uh=6048e5,Y4=864e5,W4=6e4,hh=36e5,j4=1e3;function Z4(t,e){return H4(t,e*hh)}let U4={};function us(){return U4}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 fh(t){const e=le(t),n=e.getFullYear(),r=Pe(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Xs(r),i=Pe(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 fa(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 ph(t,e){const n=mh(t),r=mh(e),s=+n-fa(n),i=+r-fa(r);return Math.round((s-i)/Y4)}function q4(t){const e=fh(t),n=Pe(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function G4(t,e){const n=e*3;return Sn(t,n)}function bc(t,e){return Sn(t,e*12)}function gh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!gh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function _h(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function yh(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 K4(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=G4(a,l);return s?c.reverse():c}function X4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function wh(t){const e=le(t),n=Pe(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Q4(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 bh(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 J4={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"}},e5=(t,e,n)=>{let r;const s=J4[t];return typeof s=="string"?r=s:e===1?r=s.one:r=s.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function kc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const t5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},n5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},r5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s5={date:kc({formats:t5,defaultWidth:"full"}),time:kc({formats:n5,defaultWidth:"full"}),dateTime:kc({formats:r5,defaultWidth:"full"})},i5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o5=(t,e,n,r)=>i5[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 a5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},l5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},c5={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"]},d5={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"]},u5={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"}},h5={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"}},f5={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:a5,defaultWidth:"wide"}),quarter:Zi({values:l5,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:c5,defaultWidth:"wide"}),day:Zi({values:d5,defaultWidth:"wide"}),dayPeriod:Zi({values:u5,defaultWidth:"wide",formattingValues:h5,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)):m5(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 m5(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 g5(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 _5=/^(\d+)(th|st|nd|rd)?/i,y5=/\d+/i,w5={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},b5={any:[/^b/i,/^(a|c)/i]},k5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},C5={any:[/1/i,/2/i,/3/i,/4/i]},x5={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},M5={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]},v5={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},S5={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]},T5={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},D5={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}},O5={ordinalNumber:g5({matchPattern:_5,parsePattern:y5,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:w5,defaultMatchWidth:"wide",parsePatterns:b5,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:k5,defaultMatchWidth:"wide",parsePatterns:C5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:x5,defaultMatchWidth:"wide",parsePatterns:M5,defaultParseWidth:"any"}),day:Ui({matchPatterns:v5,defaultMatchWidth:"wide",parsePatterns:S5,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:T5,defaultMatchWidth:"any",parsePatterns:D5,defaultParseWidth:"any"})},kh={code:"en-US",formatDistance:e5,formatLong:s5,formatRelative:o5,localize:f5,match:O5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function E5(t){const e=le(t);return ph(e,wh(e))+1}function Cc(t){const e=le(t),n=+Xs(e)-+q4(e);return Math.round(n/uh)+1}function xc(t,e){var u,h,f,m;const n=le(t),r=n.getFullYear(),s=us(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=Pe(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=Fn(a,e),c=Pe(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 $5(t,e){var l,c,d,u;const n=us(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,s=xc(t,e),i=Pe(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Fn(i,e)}function Mc(t,e){const n=le(t),r=+Fn(n,e)-+$5(n,e);return Math.round(r/uh)+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"},Ch={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=xc(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=fh(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=Mc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Be(s,e.length)},I:function(t,e,n){const r=Cc(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=E5(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 Mh(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 Mh(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"+xh(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"+xh(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 xh(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 Mh(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"})}},Sh=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},vc={p:Sh,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}}",Sh(s,e))}},P5=/^D+$/,L5=/^Y+$/,V5=["D","DD","YY","YYYY"];function Th(t){return P5.test(t)}function Dh(t){return L5.test(t)}function Sc(t,e,n){const r=N5(t,e,n);if(console.warn(r),V5.includes(t))throw new RangeError(r)}function N5(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 B5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,R5=/^'([^]*?)'?$/,F5=/''/g,I5=/[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??kh,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(A5).map(C=>{const k=C[0];if(k==="p"||k==="P"){const S=vc[k];return S(C,s.formatLong)}return C}).join("").match(B5).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:z5(C)};if(Ch[k])return{isToken:!0,value:C};if(k.match(I5))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Dh(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Th(k))&&Sc(k,e,String(t));const S=Ch[k[0]];return S(l,k,s.localize,d)}).join("")}function z5(t){const e=t.match(R5);return e?e[1].replace(F5,"'"):t}function H5(t){return le(t).getDay()}function Y5(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Pe(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function W5(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function j5(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 Z5(t,e){const n=e instanceof Date?Pe(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 U5=10;class Oh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class q5 extends Oh{constructor(e,n,r,s,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=s,i&&(this.subPriority=i)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class G5 extends Oh{constructor(){super(...arguments);W(this,"priority",U5);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Pe(n,Z5(n,Date))}}class Le{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new q5(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class K5 extends Le{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*hh+i*W4+a*j4),rest:e.slice(n[0].length)}}function Eh(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 ma(t,e){switch(t){case 1:return Xe(ct.singleDigitSigned,e);case 2:return Xe(ct.twoDigitsSigned,e);case 3:return Xe(ct.threeDigitsSigned,e);case 4:return Xe(ct.fourDigitsSigned,e);default:return Xe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Tc(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function $h(t,e){const n=e>0,r=n?e:1-e;let s;if(r<=50)s=t||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=t>=i%100;s=t+a-(l?100:0)}return n?s:1-s}function Ph(t){return t%400===0||t%4===0&&t%100!==0}class X5 extends Le{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=$h(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 Q5 extends Le{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return dt(nt(4,n),i);case"Yo":return dt(s.ordinalNumber(n,{unit:"year"}),i);default:return dt(nt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=xc(n,i);if(s.isTwoDigitYear){const c=$h(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 J5 extends Le{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 ma(r==="R"?4:r.length,n)}set(n,r,s){const i=Pe(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Xs(i)}}class e9 extends Le{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 ma(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class t9 extends Le{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 n9 extends Le{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 r9 extends Le{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 s9 extends Le{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 i9(t,e,n){const r=le(t),s=Mc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class o9 extends Le{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(i9(n,s,i),i)}}function a9(t,e){const n=le(t),r=Cc(n)-e;return n.setDate(n.getDate()-r*7),n}class l9 extends Le{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(a9(n,s))}}const c9=[31,28,31,30,31,30,31,31,30,31,30,31],d9=[31,29,31,30,31,30,31,31,30,31,30,31];class u9 extends Le{constructor(){super(...arguments);W(this,"priority",90);W(this,"subPriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"d":return Xe(ct.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Ph(s),a=n.getMonth();return i?r>=1&&r<=d9[a]:r>=1&&r<=c9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class h9 extends Le{constructor(){super(...arguments);W(this,"priority",90);W(this,"subpriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,s){switch(r){case"D":case"DD":return Xe(ct.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return nt(r.length,n)}}validate(n,r){const s=n.getFullYear();return Ph(s)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,s){return n.setMonth(0,s),n.setHours(0,0,0,0),n}}function Dc(t,e,n){var h,f,m,g;const r=us(),s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,i=le(t),a=i.getDay(),c=(e%7+7)%7,d=7-s,u=e<0||e>6?e-(a+d)%7:(c+d)%7-(a+d)%7;return vn(i,u)}class f9 extends Le{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"E":case"EE":case"EEE":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}class m9 extends Le{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return dt(nt(r.length,n),a);case"eo":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"eee":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeeee":return s.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}class p9 extends Le{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return dt(nt(r.length,n),a);case"co":return dt(s.ordinalNumber(n,{unit:"day"}),a);case"ccc":return s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"ccccc":return s.day(n,{width:"narrow",context:"standalone"});case"cccccc":return s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(n,{width:"wide",context:"standalone"})||s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Dc(n,s,i),n.setHours(0,0,0,0),n}}function g9(t,e){const n=le(t),r=j5(n),s=e-r;return vn(n,s)}class _9 extends Le{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=g9(n,s),n.setHours(0,0,0,0),n}}class y9 extends Le{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,s){switch(r){case"a":case"aa":case"aaa":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class w9 extends Le{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,s){switch(r){case"b":case"bb":case"bbb":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class b9 extends Le{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,s){switch(r){case"B":case"BB":case"BBB":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Tc(s),0,0,0),n}}class k9 extends Le{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 C9 extends Le{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 x9 extends Le{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 M9 extends Le{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 v9 extends Le{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 S9 extends Le{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 T9 extends Le{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 D9 extends Le{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:Pe(n,n.getTime()-fa(n)-s)}}class O9 extends Le{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:Pe(n,n.getTime()-fa(n)-s)}}class E9 extends Le{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Eh(n)}set(n,r,s){return[Pe(n,s*1e3),{timestampIsSet:!0}]}}class $9 extends Le{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Eh(n)}set(n,r,s){return[Pe(n,s),{timestampIsSet:!0}]}}const P9={G:new K5,y:new X5,Y:new Q5,R:new J5,u:new e9,Q:new t9,q:new n9,M:new r9,L:new s9,w:new o9,I:new l9,d:new u9,D:new h9,E:new f9,e:new m9,c:new p9,i:new _9,a:new y9,b:new w9,B:new b9,h:new k9,H:new C9,K:new x9,k:new M9,m:new v9,s:new S9,S:new T9,X:new D9,x:new O9,t:new E9,T:new $9},L9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,V9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N9=/^'([^]*?)'?$/,B9=/''/g,A9=/\S/,R9=/[a-zA-Z]/;function Oc(t,e,n,r){var p,_,y,C,k,S,M,D;const s=W5(),i=(r==null?void 0:r.locale)??s.locale??kh,a=(r==null?void 0:r.firstWeekContainsDate)??((_=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((C=(y=s.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((S=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:S.weekStartsOn)??s.weekStartsOn??((D=(M=s.locale)==null?void 0:M.options)==null?void 0:D.weekStartsOn)??0;if(e==="")return t===""?le(n):Pe(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new G5],u=e.match(V9).map(v=>{const O=v[0];if(O in vc){const E=vc[O];return E(v,i.formatLong)}return v}).join("").match(L9),h=[];for(let v of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Dh(v)&&Sc(v,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Th(v)&&Sc(v,e,t);const O=v[0],E=P9[O];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(F=>I.includes(F.token)||F.token===O);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:O,fullToken:v});const j=E.run(t,v,i.match,c);if(!j)return Pe(n,NaN);d.push(j.setter),t=j.rest}else{if(O.match(R9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");if(v==="''"?v="'":O==="'"&&(v=F9(v)),t.indexOf(v)===0)t=t.slice(v.length);else return Pe(n,NaN)}}if(t.length>0&&A9.test(t))return Pe(n,NaN);const f=d.map(v=>v.priority).sort((v,O)=>O-v).filter((v,O,E)=>E.indexOf(v)===O).map(v=>d.filter(O=>O.priority===v).sort((O,E)=>E.subPriority-O.subPriority)).map(v=>v[0]);let m=le(n);if(isNaN(m.getTime()))return Pe(n,NaN);const g={};for(const v of f){if(!v.validate(m,c))return Pe(n,NaN);const O=v.set(m,g,c);Array.isArray(O)?(m=O[0],Object.assign(g,O[1])):m=O}return Pe(n,m)}function F9(t){return t.match(N9)[1].replace(B9,"'")}function Lh(t,e){const n=hs(t),r=hs(e);return+n==+r}function I9(t,e){return vn(t,-e)}function Vh(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Pe(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=Y5(i);return n.setMonth(e,Math.min(s,a)),n}function Ye(t,e){let n=le(t);return isNaN(+n)?Pe(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Vh(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Nh(t,e){const n=le(t);return n.setHours(e),n}function Ec(t,e){const n=le(t);return n.setMilliseconds(e),n}function Bh(t,e){const n=le(t);return n.setMinutes(e),n}function $c(t,e){const n=le(t);return n.setSeconds(e),n}function Wn(t,e){const n=le(t);return isNaN(+n)?Pe(t,NaN):(n.setFullYear(e),n)}function ti(t,e){return Sn(t,-e)}function z9(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=I9(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Pe(t,u.getTime()-m)}function Ah(t,e){return bc(t,-e)}function ni(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),o.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ni.compatConfig={MODE:3};function Rh(){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"})])}Rh.compatConfig={MODE:3};function Pc(){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"})])}Pc.compatConfig={MODE:3};function Lc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"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"})])}Lc.compatConfig={MODE:3};function Vc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"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"})])}Vc.compatConfig={MODE:3};function Nc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"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"})])}Nc.compatConfig={MODE:3};function Bc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Bc.compatConfig={MODE:3};function Fh(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function H9(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const Y9=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(H9(t))}catch{s=r.map(Fh(e))}else s=r.map(Fh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Ac=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:jh(s,e)});return n?r.reverse():r},Ih=(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}})},W9=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},j9=t=>({type:"dot",...t??{}}),zh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Rc={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,Hh=t=>t===0?t:!t||isNaN(+t)?null:+t,Yh=t=>t===null,Wh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},Z9=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)=>Z9(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())},U9=()=>["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 q9(t,e){let n=[...document.querySelectorAll(U9())];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 G9=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),jh=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Fc=t=>In(t,"dd-MM-yyyy"),Ic=t=>Array.isArray(t),pa=(t,e)=>e.get(Fc(t)),K9=(t,e)=>t?e?e instanceof Map?!!pa(t,e):e(q(t)):!1:!0,Zh=(t,e,n,r,s,i)=>{const a=Oc(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&gh(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},X9=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return Zh(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=Zh(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,Q9=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),c=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${i}T${a}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},Zt=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Nh(e,0),e=Bh(e,0),e=$c(e,0),e=Ec(e,0),e},Vr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Nh(s,+e)),(n||n===0)&&(s=Bh(s,+n)),(r||r===0)&&(s=$c(s,+r)),Ec(s,0)},rt=(t,e)=>!t||!e?!1:Gi(Zt(t),Zt(e)),Me=(t,e)=>!t||!e?!1:ei(Zt(t),Zt(e)),ut=(t,e)=>!t||!e?!1:qi(Zt(t),Zt(e)),ga=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ut(n,t[0])&&rt(n,t[1]):t!=null&&t[0]&&e?ut(n,t[0])&&rt(n,e)||rt(n,t[0])&&ut(n,e):!1,Dn=t=>{const e=Ye(new Date(t),{date:1});return Zt(e)},zc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ms=t=>({hours:Tn(t),minutes:zn(t),seconds:Js(t)}),Uh=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},qh=(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))},Gh=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return yh({start:n,end:r})},J9=t=>{const e=Sn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Fn(t,{weekStartsOn:+e}),r=Q4(t,{weekStartsOn:+e});return[n,r]},Kh=(t,e)=>{const n={hours:Tn(q()),minutes:zn(q()),seconds:e?Js(q()):0};return Object.assign(n,t)},Nr=(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=Vh(r,e)),n&&(r=Wn(r,n)),r},Xh=(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?!t7(...a,e):!e7(...a,n)},e7=(t,e,n)=>rt(...Nr(n,t,e))||Me(...Nr(n,t,e)),t7=(t,e,n)=>ut(...Nr(n,t,e))||Me(...Nr(n,t,e)),Qh=(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(Rc.prop("partial-range"))},_a=(t,e)=>{if(e)return t();throw new Error(Rc.prop("range"))},Hc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,n7=(t,e)=>Ye(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Yc=(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()},Wc=(t,e,n)=>t?n7(t,e):q(n??e),Jh=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Wc(t,r[0],e),l=Wc(t,r[1],e);return Yc(r[0],a,n,!!e)&&Yc(r[1],l,n,!!e)&&s}const i=Wc(t,r,e);return Yc(r,i,n,!!e)&&s},jc=t=>Ye(q(),ms(t)),r7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],ef=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Zc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),tf=()=>{const t=n=>{Xi.menuFocused=n},e=n=>{Xi.shiftKeyInMenu!==n&&(Xi.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Xi.shiftKeyInMenu,menuFocused:Xi.menuFocused})),setMenuFocused:t,setShiftKey:e}},je=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Uc=o.ref(null),ya=o.ref(!1),qc=o.ref(!1),Gc=o.ref(!1),Kc=o.ref(!1),Tt=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>ya.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):qc.value?[...je.timePicker[0],...je.timePicker[1],Kc.value?[]:[Uc.value],je.actionRow].filter(h=>h.length):Gc.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Tt.value=h?Tt.value+1:Tt.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Tt.value=h?0:t.value[ht.value].length-1):f||(Tt.value=h?Tt.value-1:Tt.value+1)},n=h=>{ht.value===0&&!h||ht.value===t.value.length&&h||(ht.value=h?ht.value+1:ht.value-1,t.value[ht.value]?t.value[ht.value]&&!t.value[ht.value][Tt.value]&&Tt.value!==0&&(Tt.value=t.value[ht.value].length-1):ht.value=h?ht.value-1:ht.value+1)},r=h=>{let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),f?f.focus({preventScroll:!ya.value}):Tt.value=h?Tt.value-1:Tt.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{je[f]=h},d=(h,f)=>{je[f]=h},u=()=>{Tt.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Uc.value=h},setSelectionGrid:h=>{ya.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{qc.value=h,Kc.value=f,u(),h||(je.timePicker[0]=[],je.timePicker[1]=[])},setTimePickerElements:(h,f=0)=>{je.timePicker[f]=h},arrowRight:s,arrowLeft:i,arrowUp:a,arrowDown:l,clearArrowNav:()=>{je.monthYear=[],je.calendar=[],je.time=[],je.actionRow=[],je.selectionGrid=[],je.timePicker[0]=[],je.timePicker[1]=[],ya.value=!1,qc.value=!1,Kc.value=!1,Gc.value=!1,u(),Uc.value=null},setMonthPicker:h=>{Gc.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),nf=(t,e)=>Xc(t,e)||q(),s7=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),Xc=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?s7(t,e):lr(n,e.timezone)},i7=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},rf=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??{}}),o7=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??{}}),sf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,a7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:sf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=sf(s);return Object.assign(n,r,{count:i})},l7=(t,e,n)=>t||(typeof n=="string"?n:e),c7=t=>typeof t=="boolean"?t?rf({}):!1:rf(t),d7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},u7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),h7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),f7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},m7=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??{}}},g7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},_7=(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},y7=(t,e)=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:e,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:e??t.emitTimezone,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:e},Qc=(t,e)=>new Map(t.map(n=>{const r=nf(n,e);return[Fc(r),r]})),w7=(t,e)=>t.length?new Map(t.map(n=>{const r=nf(n.date,e);return[Fc(r),n]})):null,b7=(t,e,n,r,s,i,a)=>({minDate:Xc(t,a),maxDate:Xc(e,a),disabledDates:Ic(n)?Qc(n,a):n,allowedDates:Ic(r)?Qc(r,a):null,highlight:typeof s=="object"&&Ic(s==null?void 0:s.dates)?Qc(s.dates,a):s,markers:w7(i,a)}),k7=(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=>Kh(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(()=>a7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>o7(t.ariaLabels)),c=o.computed(()=>u7(t.filters)),d=o.computed(()=>c7(t.transitions)),u=o.computed(()=>h7(t.actionRow)),h=o.computed(()=>l7(t.previewFormat,t.format,n())),f=o.computed(()=>d7(t.textInput)),m=o.computed(()=>f7(t.inline)),g=o.computed(()=>m7(t.config)),p=o.computed(()=>p7(t.highlight)),_=o.computed(()=>g7(t.weekNumbers)),y=o.computed(()=>y7(t.timezone,t.emitTimezone)),C=o.computed(()=>k7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>b7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),S=o.computed(()=>_7(t.range,{minMaxRawRange:!1,maxRange:t.maxRange,minRange:t.minRange,noDisabledRange:t.noDisabledRange,showLastInRange:t.showLastInRange,partialRange:t.partialRange,disableTimeRangeValidation:t.disableTimeRangeValidation,autoRange:t.autoRange,fixedStart:t.fixedStart,fixedEnd:t.fixedEnd}));return{defaultedTransitions:d,defaultedMultiCalendars:i,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:h,defaultedTextInput:f,defaultedInline:m,defaultedConfig:g,defaultedHighlight:p,defaultedWeekNumbers:_,defaultedRange:S,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},C7=(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,()=>{V()});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=i7(a.value.timezone);return Z4(w,B)}return w},m=(w,B,z=!1)=>Qh(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))):_a(()=>[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],Vr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Vr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Vr(null,w.hours,w.minutes,w.seconds)),k=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))):_a(()=>[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(Rc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],z=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(z)?z[0]:null)]}return q(w[0])},D=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?_a(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):ii(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),v=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ii(i.value.partialRange))},O=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):ii(i.value.partialRange)]},E=()=>r.value[1]?O():ee(Ct(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(v(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?_a(()=>O(),i.value.enabled):ee(Ct(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?k(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?S(Ct(w)):e.weekPicker?M(Ct(w)):D(Ct(w)),F=w=>{const B=$(w);Hc(Ct(B))?(r.value=Ct(B),V()):(r.value=null,d.value="")},G=()=>{const w=B=>In(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},T=()=>n.value&&r.value?Array.isArray(r.value)?G():In(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?T():m(r.value):"",V=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Oc(w,c(),new Date)):h(Oc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?Q9(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)),N=()=>{if(Array.isArray(r.value)){const w=or(r.value[0],e.weekStart),B=r.value[1]?or(r.value[1],e.weekStart):[];return[w.map(z=>q(z)),B.map(z=>q(z))]}return or(r.value,e.weekStart).map(w=>q(w))},b=w=>U(Ct(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:V,emitModelValue:()=>(V(),e.monthPicker?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",N()):U(j(),!0))}},x7=(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?bc(u,1):Ah(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=>Xh(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||{}),On=(t=>(t.month="month",t.year="year",t))(On||{}),ps=(t=>(t.top="top",t.bottom="bottom",t))(ps||{}),gs=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(gs||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const M7=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:s,emit:i,props:a,slots:l})=>{const c=o.ref({}),d=o.ref(!1),u=o.ref({top:"0",left:"0"}),h=o.ref(!1),f=o.toRef(a,"teleportCenter");o.watch(f,()=>{u.value=JSON.parse(JSON.stringify({})),S()});const m=T=>{if(a.teleport){const x=T.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(T,x)=>{u.value.left=`${T+x-c.value.width}px`},p=T=>{u.value.left=`${T}px`},_=(T,x)=>{a.position===oi.left&&p(T),a.position===oi.right&&g(T,x),a.position===oi.center&&(u.value.left=`${T+x/2-c.value.width/2}px`)},y=T=>{const{width:x,height:V}=T.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(T):m(T);return{top:+Z,left:+ee,width:x,height:V}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const T=wt(n),{top:x,left:V,transform:Z}=a.altPosition(T);u.value={top:`${x}px`,left:`${V}px`,transform:Z??""}},S=(T=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(T){const V=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;V&&(c.value=V.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:T,left:x,width:V})=>{window.screen.width>768&&!d.value&&_(x,V),O(T)},D=T=>{const{top:x,left:V,height:Z,width:ee}=y(T);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${V+ee/2-c.value.width/2}px`),M({inputEl:T,left:V,width:ee})},v=T=>{const{top:x,left:V,width:Z}=y(T);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:T,left:V,width:Z})},O=T=>{if(a.autoPosition){const{left:x,width:V}=y(T),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,V)}return _(x,V)}}},E=()=>{const T=wt(n);if(T){const{height:x}=c.value,{top:V,height:Z}=T.getBoundingClientRect(),ee=window.innerHeight-V-Z,U=V;return x<=ee?ps.bottom:x>ee&&x<=U?ps.top:ee>=U?ps.bottom:ps.top}return ps.bottom},I=T=>E()===ps.bottom?D(T):v(T),j=()=>{const T=wt(n);if(T)return a.autoPosition?I(T):D(T)},$=function(T){if(T){const x=T.scrollHeight>T.clientHeight,V=window.getComputedStyle(T).overflowY.indexOf("hidden")!==-1;return x&&!V}return!0},F=function(T){return!T||T===document.body||T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(T)?T:F(T.parentNode)},G=T=>{if(T)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${T.width}px`,transform:"translateX(-100%)"};default:return{left:`${T.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:S,getScrollableParent:F,shadowRender:(T,x)=>{var V,Z,ee;const U=document.createElement("div"),P=(V=wt(n))==null?void 0:V.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const N=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;N.append(U);const b=G(P),w=o.h(T,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),N.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"]}],v7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],S7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>v7,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 S7[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}},T7=(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=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?B():null;return Me(q(b.value),z)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!rt(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Me(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Me(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,b.value)):Me(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=vn(d.value,+l.value.autoRange),B=or(q(d.value),e.weekStart);return e.weekPicker?Me(B[1],q(b.value)):Me(w,q(b.value))}return!1}return!1},S=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(b.value,B[0])&&rt(b.value,B[1]):ut(b.value,d.value)&&rt(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],b.value):Me(d.value,b.value)}return!1}return!1},D=b=>ga(t.value,d.value,b.value),v=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,O=()=>e.modelAuto?zh(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?v()&&C(b):!1:C(b),j=b=>s.value?K9(b.value,a.value.highlight):!1,$=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},F=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&O()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?D(b):!1,T=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!$(b)&&(j(b)||F(b))&&!I(b)&&!z&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(b)&&(j(b)||F(b))&&I(b),dp__today:!e.noToday&&Me(b.value,u.value)&&b.current,"dp--past":rt(b.value,u.value),"dp--future":ut(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),V=b=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...P(b),dp__range_start:Me(w[0],b.value),dp__range_end:Me(w[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])}}return{...P(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=or(t.value[0],e.weekStart),B=t.value[1]?or(t.value[1],e.weekStart):[];return{...P(b),dp__range_start:Me(w[0],b.value)||Me(B[0],b.value),dp__range_end:Me(w[1],b.value)||Me(B[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])||ut(b.value,B[0])&&rt(b.value,B[1]),dp__range_between:ut(b.value,w[1])&&rt(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&O():_(b)&&O(),B=n.value.count>0?b.current&&_(b,!1)&&O():_(b,!1)&&O();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},P=b=>({...U(b),dp__cell_auto_range:S(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),N=b=>l.value.enabled?l.value.autoRange?P(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?V(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...T(b),...N(b),[e.dayClass?e.dayClass(b.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($)):!!pa($,r.value.disabledDates):!1,a=$=>{const F=r.value.maxDate?ut($,r.value.maxDate):!1,G=r.value.minDate?rt($,r.value.minDate):!1,T=i($),x=e.value.months.map(P=>+P).includes(Ce($)),V=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===H5($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(F||G||T||x||U||V||Z)},l=($,F)=>rt(...Nr(r.value.minDate,$,F))||Me(...Nr(r.value.minDate,$,F)),c=($,F)=>ut(...Nr(r.value.maxDate,$,F))||Me(...Nr(r.value.maxDate,$,F)),d=($,F,G)=>{let T=!1;return r.value.maxDate&&G&&c($,F)&&(T=!0),r.value.minDate&&!G&&l($,F)&&(T=!0),T},u=($,F,G,T)=>{let x=!1;return T?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?!pa($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!yh({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 T=ph($,F[G]),x=Gh(F[G],$),V=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(T)-(n.value.minMaxRawRange?0:V);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($),k=($,F,G)=>$.find(T=>+T.hours===Tn(F)&&T.minutes==="*"?!0:+T.minutes===zn(F)&&+T.hours===Tn(F))&&G,S=($,F,G)=>{const[T,x]=$,[V,Z]=F;return!k(T,V,G)&&!k(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(T=>k(t.disabledTimes,T,$)):$},D=($,F)=>{const G=Array.isArray(F)?[ms(F[0]),F[1]?ms(F[1]):void 0]:ms(F),T=!t.disabledTimes(G);return $&&T},v=($,F)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(F,$):D(F,$):F,O=$=>{let F=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(F=Jh(t.maxTime,r.value.maxDate,"max",Ct(G),F)),(t.minTime||r.value.minDate)&&(F=Jh(t.minTime,r.value.minDate,"min",Ct(G),F)),v($,F)},E=$=>{if(!t.monthPicker)return!0;let F=!0;const G=q(Dn($));if(r.value.minDate&&r.value.maxDate){const T=q(Dn(r.value.minDate)),x=q(Dn(r.value.maxDate));return ut(G,T)&&rt(G,x)||Me(G,T)||Me(G,x)}if(r.value.minDate){const T=q(Dn(r.value.minDate));F=ut(G,T)||Me(G,T)}if(r.value.maxDate){const T=q(Dn(r.value.maxDate));F=rt(G,T)||Me(G,T)}return F},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:O($)),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:O,isTimeValid:I,isMonthValid:j}},wa=()=>{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}},D7=(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}},ba={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={...ba,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}},O7={key:1,class:"dp__input_wrap"},E7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],$7={key:2,class:"dp__clear_icon"},P7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...ba},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})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},S=x=>{const V=f();return X9(x,i.value.format??h(),V??Kh({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:V}=i.value,[Z,ee]=x.split(`${V}`);if(Z){const U=S(Z.trim()),P=ee?S(ee.trim()):null,N=U&&P?[U,P]:[U];m(P,N,0)&&(g.value=U?N:null)}},D=()=>{y.value=!0},v=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const V=x.split(";");g.value=V.map(Z=>S(Z.trim())).filter(Z=>Z)}else g.value=S(x)},O=x=>{var V;const Z=typeof x=="string"?x:(V=x.target)==null?void 0:V.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),v(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(v(x.target.value),i.value.enterSubmit&&Hc(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&&Hc(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")},T=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,V)=>{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",O7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:O,onEnter:E,onTab:I,onClear:G,onBlur:F,onKeypress:T,onPaste:D,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:O,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),T],onBlur:F,onFocus:j,onKeypress:T,onPaste:D},null,42,E7)),o.createElementVNode("div",{onClick:V[2]||(V[2]=ee=>r("toggle"))},[x.$slots["input-icon"]&&!x.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:V[0]||(V[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:V[1]||(V[1]=ee=>r("toggle"))})):o.createCommentVNode("",!0)]),x.$slots["clear-icon"]&&t.inputValue&&x.clearable&&!x.disabled&&!x.readonly?(o.openBlock(),o.createElementBlock("span",$7,[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(Rh),{key:3,class:"dp__clear_icon dp__input_icons",onClick:V[3]||(V[3]=o.withModifiers(ee=>G(ee),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),L7=["title"],V7=["disabled"],N7=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({}),k=o.ref(null),S=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([wt(p),wt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var T,x;const V=(T=k.value)==null?void 0:T.getBoundingClientRect(),Z=(x=S.value)==null?void 0:x.getBoundingClientRect();V&&Z&&(C.value.maxWidth=`${Z.width-V.width-20}px`),y.value=!0},0)},D=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),v=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!D.value),O=()=>{const T=i.value;return r.timePicker||r.monthPicker,T(Ct(r.internalModelValue))},E=()=>{const T=r.internalModelValue;return a.value.count>0?`${I(T[0])} - ${I(T[1])}`:[I(T[0]),I(T[1])]},I=T=>Qh(T,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(T=>`${I(T)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):O()),$=()=>u.value.enabled?"; ":" - ",F=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&D.value?n("select-date"):n("invalid-select")};return(T,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:S,class:"dp__action_row"},[T.$slots["action-row"]?o.renderSlot(T.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:T.internalModelValue,disabled:v.value,selectDate:()=>T.$emit("select-date"),closePicker:()=>T.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:F.value,style:o.normalizeStyle(C.value)},[T.$slots["action-preview"]&&y.value?o.renderSlot(T.$slots,"action-preview",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),!T.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(F.value),1)],64)):o.createCommentVNode("",!0)],12,L7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[T.$slots["action-buttons"]?o.renderSlot(T.$slots,"action-buttons",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),T.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=V=>T.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(V=>T.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(V=>T.$emit("close-picker"),["space"]))]},o.toDisplayString(T.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=V=>T.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(V=>T.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(V=>T.$emit("select-now"),["space"]))]},o.toDisplayString(T.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:v.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(T.selectText),41,V7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),B7=["onKeydown"],A7={class:"dp__selection_grid_header"},R7=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],F7=["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}=wa(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),S(!0)}),o.onUnmounted(()=>S(!1));const S=U=>{var 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)},D=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),v=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),O=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,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),N=wt(g),b=wt(y),w=wt(k),B=b?b.getBoundingClientRect().height:0;N&&(N.getBoundingClientRect().height?C.value=N.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()},T=(U,P,N,b)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[N])?p.value[N][b]=U:p.value[N]=[U],x()))},x=()=>{var U,P;const N=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(Ct(N),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},V=U=>{l.arrowNavigation||Lr(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(F(),!l.isLast){const U=G9(l.menuWrapRef??null,"action-row");if(U){const P=Wh(U);P==null||P.focus()}}};return e({focusGrid:M}),(U,P)=>{var N;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(D.value),style:o.normalizeStyle(v.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",A7,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>T(be,B,w,z),role:"gridcell",class:o.normalizeClass(O.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>$(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,R7))),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":(N=o.unref(c))==null?void 0:N.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,F7)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,B7)}}}),ka=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))}}),I7=["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,I7))}}),z7={class:"dp--year-mode-picker"},H7=["aria-label"],of=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}=wa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Qe(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",z7,[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(Pc),{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,H7),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=S=>g(!0))},{default:o.withCtx(()=>[p.$slots["arrow-right"]?o.renderSlot(p.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Lc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(u)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(eo,{key:0,items:t.items,"text-input":p.textInput,"esc-close":p.escClose,config:p.config,"is-last":p.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":p.hideNavigation,"aria-labels":p.ariaLabels,type:"year",onToggle:f,onSelected:_[4]||(_[4]=S=>m(S))},o.createSlots({"button-icon":o.withCtx(()=>[p.$slots["calendar-icon"]?o.renderSlot(p.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),p.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))]),_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:S})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:S.text,value:S.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):o.createCommentVNode("",!0)]),_:3},8,["name","css"])])}}}),Jc=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Me(t,r))){const r=e.value.filter(s=>!Me(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},ed=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?rt(e,r[0])?(r.unshift(e),n("range-start",r[0]),n("range-start",r[1])):(r[1]=e,n("range-end",e)):(r=[e],n("range-start",e)),r},Ca=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},af=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))},lf=(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):[],cf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Ac(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(D,v)=>{const O=Ye(Dn(new Date),{month:c.value(D),year:l.value(D)});return Xh(O,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,v)}),m=()=>{for(let D=0;D<t.value.count;D++)if(D===0)r.value[D]=r.value[0];else{const v=Ye(q(),r.value[D-1]);r.value[D]={month:Ce(v),year:ye(bc(v,1))}}},g=D=>{if(!D)return m();const v=Ye(q(),r.value[D]);return r.value[0].year=ye(Ah(v,t.value.count-1)),m()},p=D=>i.focusStartDate?D[0]:D[1]?D[1]:D[0],_=()=>{if(s.value){const D=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(D),year:ye(D)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(D,v)=>{r.value[v].year=D,t.value.count&&!t.value.solo&&g(v)},C=o.computed(()=>D=>ri(u.value,v=>{var O;const E=l.value(D)===v.value,I=Ki(v.value,si(n.value.minDate),si(n.value.maxDate))||((O=a.value.years)==null?void 0:O.includes(l.value(D))),j=Zc(e.value,v.value);return{active:E,disabled:I,highlighted:j}})),k=(D,v)=>{y(D,v),M(v)},S=(D,v=!1)=>{if(!f.value(D,v)){const O=v?l.value(D)+1:l.value(D)-1;y(O,D)}},M=(D,v=!1,O)=>{v||d("reset-flow"),O!==void 0?h.value[D]=O:h.value[D]=!h.value[D],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:S}},Y7=(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(()=>Ih(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:k,groupedYears:S,showYearPicker:M,toggleYearPicker:D,handleYearSelect:v,handleYear:O,isDisabled:E}=cf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),$=(b,w)=>{const B=p.value[b],z=j();return Array.isArray(z)?z.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===z.year&&w===z.month},F=(b,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&b===((be=Fe[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=F(b,w,0)||F(b,w,1),be=ar(Dn(q()),b,m.value(w));return ga(f.value,y.value,be)&&!z}return!1}return!1},T=o.computed(()=>b=>ri(_.value,w=>{var B;const z=$(b,w.value),be=Ki(w.value,Uh(m.value(b),c.value.minDate),qh(m.value(b),c.value.maxDate))||r7(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,b),A=ef(l.value,w.value,m.value(b));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(b,w)=>ar(Dn(q()),b,m.value(w)),V=(b,w)=>{const B=f.value?f.value:Dn(new Date);f.value=ar(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=lf(B,f,e,a):f.value?C(B,f.value)&&(f.value=ed(f,x(b,w),e)):f.value=[x(b,w)],Ca(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{Jc(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,N(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):V(b,w)),P=(b,w)=>{k(b,w),N(w,b,null)},N=(b,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:z})};return{groupedMonths:T,groupedYears:S,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{af({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:P,toggleYearPicker:D,handleYearSelect:v,handleYear:O,getModelMonthYear:j}},W7=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...En},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Ut(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:S,handleYear:M,getModelMonthYear:D}=Y7(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:D,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:v=>k(0,v)}),(v,O)=>(o.openBlock(),o.createBlock(ka,{"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(of,o.mergeProps(v.$props,{items:o.unref(c)(E),instance:E,"show-year-picker":o.unref(m)[E],year:o.unref(d)(E),"is-disabled":I=>o.unref(u)(E,I),onHandleYear:I=>o.unref(M)(E,I),onYearSelect:I=>o.unref(S)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx($=>[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"]))}}),j7=(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)?ga(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(Ac(t.yearRange,t.locale,t.reverseYears),g=>{const p=u(g.value),_=Ki(g.value,si(c.value.minDate),si(c.value.maxDate))||a.value.years.includes(g.value),y=h(g.value)&&!p,C=Zc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>Wn(Dn(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=Wn(Dn(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(Wn(Zt(q()),g))):n.value=[Wn(Zt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=ed(n,m(g),e),Ca(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},Z7=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}=j7(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"]))]))}}),U7={key:0,class:"dp__time_input"},q7=["aria-label","onKeydown","onClick"],G7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),K7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),X7=["aria-label","disabled","onKeydown","onClick"],Q7=["aria-label","onKeydown","onClick"],J7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),e8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),t8={key:0},n8=["aria-label","onKeydown"],r8=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}),k=o.computed(()=>A=>T(A,s[A])||M(A,s[A])),S=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,H)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,H):!1,D=(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)||D(A,!0)),O=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||D(A,!1)),E=(A,H)=>dh(Ye(q(),A),H),I=(A,H)=>z9(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]}}),T=(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)||T(A,ge.value)||M(A,ge.value)}))},V=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,H)=>{const ue=s.minTime?C(zc(s.minTime)):null,L=s.maxTime?C(zc(s.maxTime)):null,K=C(zc(S.value,H,H==="minutes"||H==="seconds"?V(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"))},N=A=>A==="hours"?Tn:A==="minutes"?zn:Js,b=(A,H=!0)=>{const ue=H?E:I,L=H?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+L,A)&&r(`update:${A}`,N(A)(ue({[A]:+s[A]},{[A]:+s[`${A}Increment`]})))},w=A=>s.is24?A:(A>=12?p.value="PM":p.value="AM",W9(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",U7,[(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=>b(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["space"])],onClick:te=>b(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[G7,K7],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(Nc),{key:1}))],64))],42,q7),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":k.value(L.type),"dp--time-overlay-btn":!k.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,X7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:O.value(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["space"])],onClick:te=>b(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[J7,e8],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-down"]?o.renderSlot(A.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Bc),{key:1}))],64))],42,Q7)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",t8,[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,n8))])),(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(Vc)),{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))]))}}}),s8={class:"dp--tp-wrap"},i8=["aria-label","tabindex"],o8=["tabindex"],a8=["aria-label"],df=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}=wa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([wt(_.value)],"time"):a(!0,s.timePicker)});const S=o.computed(()=>f.value.enabled&&s.modelAuto?zh(s.internalModelValue):!0),M=o.ref(!1),D=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),v=o.computed(()=>{const x=[];if(f.value.enabled)for(let V=0;V<2;V++)x.push(D(V));else x.push(D(0));return x}),O=(x,V=!1,Z="")=>{V||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,V,Z)=>f.value.enabled?V===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)},T=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Wh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:O}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",s8,[!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:[V[0]||(V[0]=o.withKeys(ee=>O(!0),["enter"])),V[1]||(V[1]=o.withKeys(ee=>O(!0),["space"]))],onClick:V[2]||(V[2]=ee=>O(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Vc),{key:1}))],42,i8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:$,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(r8,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":(N,b)=>t.validateTime(N,j(b,P,N)),"onUpdate:hours":N=>$(j(N,P,"hours")),"onUpdate:minutes":N=>F(j(N,P,"minutes")),"onUpdate:seconds":N=>G(j(N,P,"seconds")),onMounted:T,onOverlayClosed:T,onAmPmChange:V[3]||(V[3]=N=>x.$emit("am-pm-change",N))}),o.createSlots({_:2},[o.renderList(o.unref(I),(N,b)=>({name:N,fn:o.withCtx(w=>[o.renderSlot(x.$slots,N,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:[V[4]||(V[4]=o.withKeys(U=>O(!1),["enter"])),V[5]||(V[5]=o.withKeys(U=>O(!1),["space"]))],onClick:V[6]||(V[6]=U=>O(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))],42,a8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,o8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),uf=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(k,S)=>Array.isArray(e[k])?e[k][S]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,S)=>k?S!==void 0?Vr(k,i("hours",S),i("minutes",S),a(S)):Vr(k,e.hours,e.minutes,a()):$c(q(),a(S)),c=(k,S)=>{e[k]=S},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,S)=>{const M=Object.fromEntries(Object.keys(e).map(D=>D===k?[D,S]:[D,e[D]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const D=O=>n.value?Vr(n.value[O],M.hours[O],M.minutes[O],M.seconds[O]):null,v=O=>Ec(n.value[O],0);return!(Me(D(0),D(1))&&(qi(D(0),v(1))||Gi(D(1),v(0))))}return!0},h=(k,S)=>{u(k,S)&&(c(k,S),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,S,M,D)=>{S&&f(k),!S&&!M&&m(k),M&&g(k),n.value&&D(n.value)},_=k=>{if(k){const S=Array.isArray(k),M=S?[+k[0].hours,+k[1].hours]:+k.hours,D=S?[+k[0].minutes,+k[1].minutes]:+k.minutes,v=S?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",D),t.enableSeconds&&c("seconds",v)}},y=(k,S)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(S||S===0)&&(M.hours=S),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,S)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:D,hours:v}=y(k,S),O=D.filter(E=>+E.hours===v);return((M=O[0])==null?void 0:M.minutes)==="*"?{hours:[v],minutes:void 0,seconds:void 0}:{hours:[],minutes:(O==null?void 0:O.map(E=>+E.minutes))??[],seconds:(O==null?void 0:O.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},l8=(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}=uf(t,r,n),f=k=>{const{hours:S,minutes:M,seconds:D}=k;return{hours:+S,minutes:+M,seconds:D?+D:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const S=f(t.startTime[0]),M=f(t.startTime[1]);return[Ye(q(),S),Ye(q(),M)]}const k=f(t.startTime);return Ye(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,S]=m();n.value=[l(k,0),l(S,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ms(q(k[0])),ms(q(k[1]))]:[ms(k??q())],_=(k,S,M)=>{c("hours",k),c("minutes",S),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,S]=p(n.value);return i.value.enabled?_([k.hours,S.hours],[k.minutes,S.minutes],[k.seconds,S.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,S)=>k&&l(k,S)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,S=!0,M=!1)=>{a(k,S,M,C)},validateTime:h}},c8=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}=l8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(ka,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(df,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}))}}),d8={class:"dp__month_year_row"},u8=["aria-label","onClick","onKeydown"],h8=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}=x7(s,r),{showLeftIcon:C,showRightIcon:k}=wa(),S=o.ref(!1),M=o.ref(!1),D=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const v=P=>({get:()=>s[P],set:N=>{const b=P===On.month?On.year:On.month;r("update-month-year",{[P]:N,[b]:s[b]}),P===On.month?T(!0):x(!0)}}),O=o.computed(v(On.month)),E=o.computed(v(On.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===On.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===On.month?T:x})),j=o.computed(()=>s.months.find(N=>N.value===s.month)||{text:"",value:0}),$=o.computed(()=>ri(s.months,P=>{const N=s.month===P.value,b=Ki(P.value,Uh(s.year,h.value.minDate),qh(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=ef(u.value,P.value,s.year);return{active:N,disabled:b,highlighted:w}})),F=o.computed(()=>ri(s.years,P=>{const N=s.year===P.value,b=Ki(P.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(P.value),w=Zc(u.value,P.value);return{active:N,disabled:b,highlighted:w}})),G=(P,N)=>{N!==void 0?P.value=N:P.value=!P.value,P.value||r("overlay-closed")},T=(P=!1,N)=>{V(P),G(S,N)},x=(P=!1,N)=>{V(P),G(M,N)},V=P=>{P||r("reset-flow")},Z=(P,N)=>{s.arrowNavigation&&(D.value[N]=wt(P),g(D.value,"monthYear"))},ee=o.computed(()=>{var P,N;return[{type:On.month,index:1,toggle:T,modelValue:O.value,updateModelValue:b=>O.value=b,text:j.value.text,showSelectionGrid:S.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:On.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:jh(s.year,s.locale),showSelectionGrid:M.value,items:F.value,ariaLabel:(N=a.value)==null?void 0:N.openYearsOverlay}]}),U=o.computed(()=>s.disableYearSelect?[ee.value[0]]:s.yearFirst?[...ee.value].reverse():ee.value);return e({toggleMonthPicker:T,toggleYearPicker:x,handleMonthYearChange:p}),(P,N)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",d8,[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":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:N[0]||(N[0]=z=>o.unref(p)(!1,!0)),onSetRef:N[1]||(N[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(Pc),{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,u8),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:N[2]||(N[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(Nc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:N[3]||(N[3]=z=>o.unref(p)(!0,!0)),onSetRef:N[4]||(N[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(Bc):o.unref(Lc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),f8=["aria-label"],m8={class:"dp__calendar_header",role:"row"},p8={key:0,class:"dp__calendar_header_item",role:"gridcell"},g8=["aria-label"],_8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),y8=["aria-label"],w8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},b8={class:"dp__cell_inner"},k8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],C8=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...En},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Br(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=Qe(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),S=o.ref({left:"50%"}),M=o.ref(!1),D=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),v=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):Y9(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 O=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[O(!0)]:a.value[O(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>H=>{const ue=j9(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),T=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(),k.value[0]){const{left:Bt,width:St}=k.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)}},V=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,N()},P=H=>{s.vertical&&!s.inline&&H.preventDefault()},N=()=>{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")},b=(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"?Mc(H.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Cc(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",m8,[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,g8)}),128))]),_8,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(D.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",w8,[o.createElementVNode("div",b8,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:T(ae.value),ref_for:!0,ref:kt=>b(kt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(St=(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=>V(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:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[(Er=ae.marker)!=null&&Er.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Fe},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(kt,Gs)=>(o.openBlock(),o.createElementBlock("div",{key:Gs,class:"dp__tooltip_text"},[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,k8)}),128))]))),128))],40,y8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,f8)],2)}}}),hf=t=>Array.isArray(t),x8=(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:k,getSetDateTime:S,setTime:M,assignStartTime:D,validateTime:v,disabledTimesConfig:O}=uf(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=Yh(J)?(we=l.value[R])==null?void 0:we.month:J,l.value[R].year=Yh(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)&&T()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&D(u.value)),T(!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")},T=(R=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,N(R)):Z(a.value,R);if(d.value.count&&R&&!t.startDate)return V(q(),R)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,V=(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=dh(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(R,J)=>{V(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?V(R[ee(R)],J):V(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)}},N=R=>{const J=a.value;P(J,R),d.value.count&&d.value.solo&&B()},b=(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)),V(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,b(t.monthChangeOnScroll!=="inverse"?-R.deltaY:R.deltaY,J))}},Fe=(R,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(R,J)},A=(R,J)=>{b(R==="right"?-1:1,J)},H=R=>{if(m.value.markers)return pa(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],oh=K(vn(cs.value,-7),Ce(J));R.unshift({days:oh})}else{const cs=R[R.length-1],oh=cs.days[cs.days.length-1],WI=K(vn(oh.value,1),Ce(J));R.push({days:WI})}}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=Vr(q(R.value),c.hours,c.minutes,Gs());e("date-update",J),g.value.enabled?Jc(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=R=>h.value.noDisabledRange?Gh(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=J9(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=lf(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,da=R=>{s.value[R]=Vr(s.value[R],c.hours[R],c.minutes[R],Gs(R!==1))},ua=()=>{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]?da(0):(da(0),da(1),r()),ua(),a.value=s.value.slice(),Ca(s.value,e,t.autoApply,t.modelAuto))},th=(R,J=!1)=>{if(_(R.value)||!R.current&&t.hideOffsetDates)return e("invalid-date",R.value);if(!h.value.enabled)return ge(R);hf(c.hours)&&hf(c.minutes)&&!g.value.enabled&&(kt(R,J),Mn())},nh=(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()},_c=(R,J)=>{af({value:R,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>T(!0))},rh=()=>{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(),$()},sh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const R=ih();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")},ih=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:O,validateTime:v,getCalendarDays:de,getMarker:H,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:th,updateMonthYear:nh,presetDate:_c,selectCurrentDate:rh,updateTime:(R,J=!0,ce=!1)=>{k(R,J,ce,sh)}}},M8={key:0},v8=o.defineComponent({__name:"DatePicker",props:{...En},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:S,updateTime:M}=x8(s,r,ee,U),D=o.useSlots(),{setHoverDate:v,getDayClassData:O,clearHoverDate:E}=T7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),$=o.ref([]),F=o.ref(null),G=Ut(D,"calendar"),T=Ut(D,"monthYear"),x=Ut(D,"timePicker"),V=N=>{s.shadow||r("mount",N)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>N=>f(a.value(N),l.value(N)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=O(w),w))})));function ee(N){var b;N||N===0?(b=$.value[N])==null||b.triggerTransition(a.value(N),l.value(N)):$.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const P=(N,b=!1)=>{y(N,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:S,toggleMonthPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(N,b)},toggleYearPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(N,b)},toggleTimePicker:(N,b,w)=>{var B;(B=F.value)==null||B.toggleTimePicker(N,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(N,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(ka,{"multi-calendars":o.unref(I).count,collapse:N.collapse},{default:o.withCtx(({instance:w,index:B})=>[N.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(h8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Ih)(N.formatLocale,N.locale,N.monthNameFormat),years:o.unref(Ac)(N.yearRange,N.locale,N.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onMount:b[0]||(b[0]=z=>V(o.unref(gs).header)),onResetFlow:b[1]||(b[1]=z=>N.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:b[2]||(b[2]=z=>N.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(T),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(N.$slots,z,o.normalizeProps(o.guardReactiveProps(Fe)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(C8,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},N.$props,{onSelectDate:z=>o.unref(y)(z,w!==1),onHandleSpace:z=>P(z,w!==1),onSetHoverDate:b[3]||(b[3]=z=>o.unref(v)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:b[4]||(b[4]=z=>V(o.unref(gs).calendar)),onResetFlow:b[5]||(b[5]=z=>N.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>N.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>N.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(N.$slots,z,o.normalizeProps(o.guardReactiveProps({...Fe})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),N.enableTimePicker?(o.openBlock(),o.createElementBlock("div",M8,[N.$slots["time-picker"]?o.renderSlot(N.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(d),updateTime:o.unref(M)}))):(o.openBlock(),o.createBlock(df,o.mergeProps({key:1,ref_key:"timePickerRef",ref:F},N.$props,{hours:o.unref(d).hours,minutes:o.unref(d).minutes,seconds:o.unref(d).seconds,"internal-model-value":N.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),onMount:b[8]||(b[8]=w=>V(o.unref(gs).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>N.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>N.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>N.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>N.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(z=>[o.renderSlot(N.$slots,w,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),S8=(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:k,handleYearSelect:S,handleYear:M}=cf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),D=(T,x)=>[T,x].map(V=>In(V,"MMMM",{locale:t.formatLocale})).join("-"),v=o.computed(()=>T=>u.value?Array.isArray(u.value)?u.value.some(x=>Lh(T,x)):Lh(u.value,T):!1),O=T=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(T,u.value[0])||Me(T,u.value[1]);return ga(u.value,n.value,T)&&!x}return!1}return!1},E=(T,x)=>T.quarter===_h(x)&&T.year===ye(x),I=T=>typeof i.value=="function"?i.value({quarter:_h(T),year:ye(T)}):!!i.value.quarters.find(x=>E(x,T)),j=o.computed(()=>T=>{const x=Ye(new Date,{year:h.value(T)});return K4({start:wh(x),end:X4(x)}).map(V=>{const Z=hs(V),ee=bh(V),U=g(V),P=O(Z),N=I(Z);return{text:D(Z,ee),value:Z,active:v.value(Z),highlighted:N,disabled:U,isBetween:P}})}),$=T=>{Jc(T,u,d.value.limit),e("auto-apply",!0)},F=T=>{u.value=ed(u,T,e),Ca(u.value,e,t.autoApply,t.modelAuto)},G=T=>{u.value=T,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:T=>{n.value=T},selectYear:p,selectQuarter:(T,x,V)=>{if(!V)return m.value[x].month=Ce(bh(T)),d.value.enabled?$(T):a.value.enabled?F(T):G(T)},toggleYearPicker:k,handleYearSelect:S,handleYear:M}},T8={class:"dp--quarter-items"},D8=["disabled","onClick","onMouseover"],O8=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...En},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=S8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(S,M)=>(o.openBlock(),o.createBlock(ka,{"multi-calendars":o.unref(l).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:D})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(of,o.mergeProps(S.$props,{items:o.unref(d)(D),instance:D,"show-year-picker":o.unref(g)[D],year:o.unref(u)(D),"is-disabled":v=>o.unref(h)(D,v),onHandleYear:v=>o.unref(k)(D,v),onYearSelect:v=>o.unref(C)(v,D),onToggleYearPicker:v=>o.unref(y)(D,v==null?void 0:v.flow,v==null?void 0:v.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(v,O)=>({name:v,fn:o.withCtx(E=>[o.renderSlot(S.$slots,v,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",T8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(D),(v,O)=>(o.openBlock(),o.createElementBlock("div",{key:O},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":v.active,"dp--qr-btn-between":v.isBetween,"dp--qr-btn-disabled":v.disabled,"dp--highlighted":v.highlighted}]),disabled:v.disabled,onClick:E=>o.unref(_)(v.value,D,v.disabled),onMouseover:E=>o.unref(p)(v.value)},[S.$slots.quarter?o.renderSlot(S.$slots,"quarter",{key:0,value:v.value,text:v.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(v.text),1)],64))],42,D8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),E8=["id","aria-label"],$8={key:0,class:"dp--menu-load-container"},P8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),L8=[P8],V8={key:0,class:"dp__sidebar_left"},N8=["onClick","onKeydown"],B8={key:2,class:"dp__sidebar_right"},A8={key:3,class:"dp__action_extra"},ff=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...ba,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:O.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=tf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Qe(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const 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",k)});const k=()=>{const L=wt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:S,arrowLeft:M,arrowDown:D,arrowUp:v}=Br(),{flowStep:O,updateFlowStep:E,childMount:I,resetFlow:j}=D7(s,r,C),$=o.computed(()=>s.monthPicker?W7:s.yearPicker?Z7:s.timePicker?c8:s.quarterPicker?O8:v8),F=()=>{const L=wt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),T=()=>{s.openOnTop&&r("recalculate-position")},x=Ut(u,"action"),V=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)},N=()=>{s.escClose&&r("close-picker")},b=L=>{if(s.arrowNavigation){if(L==="up")return v();if(L==="down")return D();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(N,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[(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",$8,L8)):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",V8,[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,N8))],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(O),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:T,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(V.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",B8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",A8,[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(N7,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,E8)}}}),R8=typeof window<"u"?window:void 0,td=()=>{},F8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,I8=(t,e,n,r)=>{if(!t)return td;let s=td;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=td})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return F8(a),a},z8=(t,e,n,r={})=>{const{window:s=R8,event:i="pointerdown"}=r;return s?I8(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},H8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...ba},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}=tf(),{clearArrowNav:k}=Br(),{validateDate:S,isValidTime:M}=Rr(s),{defaultedTransitions:D,defaultedTextInput:v,defaultedInline:O,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:$,showTransition:F}=Qi(D);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),O.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Ut(i,"all",s.presetDates),T=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:V,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=M7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:O,emit:r,props:s,slots:i}),{inputValue:N,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=C7(r,s,f),Fe=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:O.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:O.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),H=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||O.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>O.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Mn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!O.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Mn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(P(ff,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||ua(),w(s.modelValue))},Bt=()=>{var X;N.value="",ua(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Mn()},St=()=>{const X=b.value;return!X||!Array.isArray(X)&&S(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&S(X[0])&&S(X[1])?!0:I.value.partialRange&&!s.timePicker?S(X[0]):!1:!1},Er=()=>{be()&&St()?(B(),Mn()):r("invalid-select",b.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&v.value.enabled&&h.value.setParsedDate(b.value)},da=(X=!1)=>{s.autoApply&&M(b.value)&&St()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&kt(X):kt(X))},ua=()=>{v.value.enabled||(b.value=null)},Mn=()=>{O.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),N.value&&w(l.value)),ua(),r("blur"))},th=(X,he,fe=!1)=>{if(!X){b.value=null;return}const $r=Array.isArray(X)?!X.some(Ks=>!S(Ks)):S(X),ir=M(X);$r&&ir&&(b.value=X,he&&(g.value=fe,Er(),r("text-submit")))},nh=()=>{s.autoApply&&M(b.value)&&B(),Gs()},_c=()=>a.value?Mn():te(),rh=X=>{b.value=X},sh=()=>{v.value.enabled&&(f.value=!0,z()),r("focus")},ih=()=>{if(v.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=q9(m.value,p.value);X==null||X.focus()}r("blur")},R=X=>{u.value&&u.value.updateMonthYear(0,{month:Hh(X.month),year:Hh(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 z8(d,h,()=>we(St)),e({closeMenu:Mn,selectDate:Er,clearValue:Bt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:rh,setMonthYear:R,parseModel:J,switchView:ce,toggleMenu:_c}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(P7,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(N),"onUpdate:inputValue":he[0]||(he[0]=fe=>o.isRef(N)?N.value=fe:null),"is-menu-open":a.value},X.$props,{onClear:Bt,onOpen:te,onSetInputDate:th,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:_c,onClose:Mn,onFocus:sh,onBlur:ih,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(T),(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(O).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(O).enabled},style:o.unref(O).enabled?void 0:o.unref(V)}),[o.createVNode(ff,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:da,onTimeUpdate:nh,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,$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))}}),nd=(()=>{const t=H8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:nd},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(nd[t]=e)});const Y8={class:"scope-datepicker__wrapper"},W8={key:0,class:"scope-datepicker__label"},j8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",Y8,[t.label?(o.openBlock(),o.createElementBlock("div",W8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(nd),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},Z8=De(j8,[["__scopeId","data-v-0081bf59"]]),U8=["onClick"],q8=De({__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,U8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),G8={class:"scope-number-input__fieldset","data-number-code-form":""},K8=["disabled","onInput","onKeydown"],X8={key:0,class:"scope-number-input__error-message"},Q8=De({__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",G8,[(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,K8))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",X8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),J8={class:"scope-navigation-tab__icon-wrapper"},ey={key:0},ty=De({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",J8,[o.createVNode(Ne,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",ey,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function 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 nz=Object.defineProperty;var rz=(ie,o,ds)=>o in ie?nz(ie,o,{enumerable:!0,configurable:!0,writable:!0,value:ds}):ie[o]=ds;var W=(ie,o,ds)=>(rz(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)))})},Ve={__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(()=>cV),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>hV),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>pV),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>yV),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>kV),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>MV),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>TV),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>EV),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>LV),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>BV),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>FV),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>HV),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>jV),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>qV),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>XV),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>eB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>rB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>oB),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>cB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>hB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>pB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>yB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>kB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>MB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>TB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>EB),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>LB),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>BB),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>FB),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>HB),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>jB),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>qB),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>XB),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>eA),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>rA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>oA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>cA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>hA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>pA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>yA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>kA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>MA),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>TA),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>EA),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>LA),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>BA),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>FA),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>HA),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>jA),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>qA),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>XA),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>eR),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>rR),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>oR),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>cR),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>hR),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>pR),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>yR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>kR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>MR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>TR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>ER),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>LR),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>BR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>FR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>HR),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>jR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>qR),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>XR),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>eF),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>rF),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>oF),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>cF),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>hF),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>pF),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>yF),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>kF),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>MF),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>TF),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>EF),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>LF),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>BF),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>FF),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>HF),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>jF),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>qF),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>XF),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>eI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>rI),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>oI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>cI),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>hI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>pI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>yI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>kI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>MI),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>TI),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>EI),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>LI),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>BI),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>FI),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>HI),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>jI),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>qI),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>XI),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>ez)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},De=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},J_=["disabled"],e4={key:1},ma=De({__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(Ve,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",e4,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,J_))}},[["__scopeId","data-v-ffc148b3"]]);function xc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function t4(t){return(...e)=>!t(...e)}function n4(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function ch(t,e,n,r){return e?t.filter(s=>n4(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function r4(t){return t.filter(e=>!e.$isLabel)}function Mc(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 s4(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=ch(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const dh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var i4={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 xc(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):ch(n,e,this.label,this.customLabel):n=this.groupValues?Mc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(t4(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 dh(s4(e,n,this.groupValues,this.groupLabel,this.customLabel),Mc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return dh(Mc(this.groupValues,this.groupLabel),r4)(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(xc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return xc(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))}}},o4={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}}},uh={name:"vue-multiselect",mixins:[i4,o4],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 a4={ref:"tags",class:"multiselect__tags"},l4={class:"multiselect__tags-wrap"},c4={class:"multiselect__spinner"},d4={key:0},u4={class:"multiselect__option"},h4={class:"multiselect__option"},f4=o.createTextVNode("No elements found. Consider changing the search query."),m4={class:"multiselect__option"},p4=o.createTextVNode("List is empty.");function g4(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",a4,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",l4,[(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",c4,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",d4,[o.createVNode("span",u4,[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",h4,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[f4])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",m4,[o.renderSlot(t.$slots,"noOptions",{},()=>[p4])])],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"])}uh.render=g4;const _4={key:0,class:"scope-multiselect-label"},y4=De({__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",_4,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(uh),{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(Ve,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Ve,{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"]]),w4={key:0,class:"scope-input__label"},b4={key:0,class:"scope-input__sign"},k4=["disabled","placeholder","veeBind","maxlength","pattern","type"],C4={key:1,class:"scope-input__error"},x4=De({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=nh(),r=e,s=o.useModel(t,"modelValue"),i=t,a=o.computed(()=>i.width?{width:i.width}:null),l=o.ref(!1),c=d=>{navigator.clipboard.writeText(d).then(()=>{l.value=!0;const u=setTimeout(()=>{l.value=!1,clearTimeout(u)},3e3)}).catch(u=>{n(u)})};return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",w4,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",b4,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":u[0]||(u[0]=h=>s.value=h),style:o.normalizeStyle(a.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:u[1]||(u[1]=h=>r("input")),onKeyup:u[2]||(u[2]=o.withKeys(h=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,k4),[[o.vModelDynamic,s.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Ve),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Ve),{key:1,class:"scope-input__clear",icon:"cross",onClick:u[3]||(u[3]=h=>s.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(Ve),{key:2,class:"scope-input__clear",icon:"copy",onClick:u[4]||(u[4]=h=>c(s.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(Ve),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",C4,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-7b4a02a7"]]),M4={class:"scope-radio-label"},S4=["value","checked"],v4={class:"scope-text"},T4={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.ref(null),s=()=>{e.value=n.value},i=o.computed(()=>e.value);return o.onMounted(()=>{s()}),(a,l)=>(o.openBlock(),o.createElementBlock("label",M4,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:i.value,onClick:s},null,8,S4),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":i.value}])},null,2),o.createElementVNode("span",v4,o.toDisplayString(t.label),1)]))}},D4=De(T4,[["__scopeId","data-v-a6d4ba91"]]),O4=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),E4={class:"scope-toggle-wrapper"},$4=["checked","name"],P4=O4(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),L4=De({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,s)=>(o.openBlock(),o.createElementBlock("div",E4,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,$4),P4]))}},[["__scopeId","data-v-7e155a89"]]),N4={class:"scope-checkbox-container"},V4=["id"],B4=["for"],A4=De({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels("change",["update:modelValue"]),setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",N4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),class:"scope-checkbox",id:t.name,type:"checkbox",onClick:r[1]||(r[1]=s=>n.emit("change"))},null,8,V4),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,B4)])]))}},[["__scopeId","data-v-0ab85dae"]]),R4={class:"scope-menu-tabs"},F4=["onClick"],I4=De({__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",R4,[(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,F4))),128))]))}},[["__scopeId","data-v-30014e05"]]),z4={class:"scope-switcher"},H4={class:"scope-switcher__current-item"},Y4=De({__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",z4,[o.createVNode(Ve,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",H4,o.toDisplayString(n.value.name),1),o.createVNode(Ve,{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 Pe(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function Sn(t,e){const n=le(t);return isNaN(e)?Pe(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function vn(t,e){const n=le(t);if(isNaN(e))return Pe(t,NaN);if(!e)return n;const r=n.getDate(),s=Pe(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 hh(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?vn(d,r+n*12):d,h=i||s?Sn(u,i+s*7):u,f=l+a*60,g=(c+f*60)*1e3;return Pe(t,h.getTime()+g)}function W4(t,e){const n=+le(t);return Pe(t,n+e)}const fh=6048e5,j4=864e5,Z4=6e4,mh=36e5,U4=1e3;function q4(t,e){return W4(t,e*mh)}let G4={};function us(){return G4}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 ph(t){const e=le(t),n=e.getFullYear(),r=Pe(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Xs(r),i=Pe(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 gh(t){const e=le(t);return e.setHours(0,0,0,0),e}function pa(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 _h(t,e){const n=gh(t),r=gh(e),s=+n-pa(n),i=+r-pa(r);return Math.round((s-i)/j4)}function K4(t){const e=ph(t),n=Pe(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Xs(n)}function X4(t,e){const n=e*3;return vn(t,n)}function Sc(t,e){return vn(t,e*12)}function yh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ji(t){if(!yh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function wh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function bh(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 Q4(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=X4(a,l);return s?c.reverse():c}function J4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function kh(t){const e=le(t),n=Pe(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function e5(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 Ch(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 t5={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"}},n5=(t,e,n)=>{let r;const s=t5[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 vc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const r5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},s5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},i5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},o5={date:vc({formats:r5,defaultWidth:"full"}),time:vc({formats:s5,defaultWidth:"full"}),dateTime:vc({formats:i5,defaultWidth:"full"})},a5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},l5=(t,e,n,r)=>a5[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 c5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},d5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},u5={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"]},h5={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"]},f5={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"}},m5={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"}},p5={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:c5,defaultWidth:"wide"}),quarter:Zi({values:d5,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Zi({values:u5,defaultWidth:"wide"}),day:Zi({values:h5,defaultWidth:"wide"}),dayPeriod:Zi({values:f5,defaultWidth:"wide",formattingValues:m5,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)?_5(l,h=>h.test(a)):g5(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 g5(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function _5(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function y5(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 w5=/^(\d+)(th|st|nd|rd)?/i,b5=/\d+/i,k5={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},C5={any:[/^b/i,/^(a|c)/i]},x5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},M5={any:[/1/i,/2/i,/3/i,/4/i]},S5={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},v5={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]},T5={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},D5={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]},O5={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},E5={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}},$5={ordinalNumber:y5({matchPattern:w5,parsePattern:b5,valueCallback:t=>parseInt(t,10)}),era:Ui({matchPatterns:k5,defaultMatchWidth:"wide",parsePatterns:C5,defaultParseWidth:"any"}),quarter:Ui({matchPatterns:x5,defaultMatchWidth:"wide",parsePatterns:M5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ui({matchPatterns:S5,defaultMatchWidth:"wide",parsePatterns:v5,defaultParseWidth:"any"}),day:Ui({matchPatterns:T5,defaultMatchWidth:"wide",parsePatterns:D5,defaultParseWidth:"any"}),dayPeriod:Ui({matchPatterns:O5,defaultMatchWidth:"any",parsePatterns:E5,defaultParseWidth:"any"})},xh={code:"en-US",formatDistance:n5,formatLong:o5,formatRelative:l5,localize:p5,match:$5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function P5(t){const e=le(t);return _h(e,kh(e))+1}function Tc(t){const e=le(t),n=+Xs(e)-+K4(e);return Math.round(n/fh)+1}function Dc(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=Pe(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=Fn(a,e),c=Pe(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 L5(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=Dc(t,e),i=Pe(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Fn(i,e)}function Oc(t,e){const n=le(t),r=+Fn(n,e)-+L5(n,e);return Math.round(r/fh)+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"},Mh={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=Dc(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=ph(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=Oc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Be(s,e.length)},I:function(t,e,n){const r=Tc(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=P5(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 vh(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 vh(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"+Sh(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"+Sh(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 Sh(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 vh(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 Th=(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"})}},Dh=(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"})}},Ec={p:Dh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Th(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}}",Th(r,e)).replace("{{time}}",Dh(s,e))}},N5=/^D+$/,V5=/^Y+$/,B5=["D","DD","YY","YYYY"];function Oh(t){return N5.test(t)}function Eh(t){return V5.test(t)}function $c(t,e,n){const r=A5(t,e,n);if(console.warn(r),B5.includes(t))throw new RangeError(r)}function A5(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 R5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,F5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,I5=/^'([^]*?)'?$/,z5=/''/g,H5=/[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??xh,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(F5).map(C=>{const k=C[0];if(k==="p"||k==="P"){const v=Ec[k];return v(C,s.formatLong)}return C}).join("").match(R5).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:Y5(C)};if(Mh[k])return{isToken:!0,value:C};if(k.match(H5))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Eh(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Oh(k))&&$c(k,e,String(t));const v=Mh[k[0]];return v(l,k,s.localize,d)}).join("")}function Y5(t){const e=t.match(I5);return e?e[1].replace(z5,"'"):t}function W5(t){return le(t).getDay()}function j5(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Pe(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function Z5(){return Object.assign({},us())}function Tn(t){return le(t).getHours()}function U5(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 q5(t,e){const n=e instanceof Date?Pe(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 G5=10;class $h{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class K5 extends $h{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 X5 extends $h{constructor(){super(...arguments);W(this,"priority",G5);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Pe(n,q5(n,Date))}}class Le{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new K5(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class Q5 extends Le{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*mh+i*Z4+a*U4),rest:e.slice(n[0].length)}}function Ph(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 ga(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 Pc(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 Lh(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 Nh(t){return t%400===0||t%4===0&&t%100!==0}class J5 extends Le{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=Lh(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 e9 extends Le{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=Dc(n,i);if(s.isTwoDigitYear){const c=Lh(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 t9 extends Le{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 ga(r==="R"?4:r.length,n)}set(n,r,s){const i=Pe(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Xs(i)}}class n9 extends Le{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 ga(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class r9 extends Le{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 s9 extends Le{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 i9 extends Le{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 o9 extends Le{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 a9(t,e,n){const r=le(t),s=Oc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class l9 extends Le{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(a9(n,s,i),i)}}function c9(t,e){const n=le(t),r=Tc(n)-e;return n.setDate(n.getDate()-r*7),n}class d9 extends Le{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(c9(n,s))}}const u9=[31,28,31,30,31,30,31,31,30,31,30,31],h9=[31,29,31,30,31,30,31,31,30,31,30,31];class f9 extends Le{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=Nh(s),a=n.getMonth();return i?r>=1&&r<=h9[a]:r>=1&&r<=u9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class m9 extends Le{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 Nh(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 Lc(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 Sn(i,u)}class p9 extends Le{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=Lc(n,s,i),n.setHours(0,0,0,0),n}}class g9 extends Le{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=Lc(n,s,i),n.setHours(0,0,0,0),n}}class _9 extends Le{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=Lc(n,s,i),n.setHours(0,0,0,0),n}}function y9(t,e){const n=le(t),r=U5(n),s=e-r;return Sn(n,s)}class w9 extends Le{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=y9(n,s),n.setHours(0,0,0,0),n}}class b9 extends Le{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(Pc(s),0,0,0),n}}class k9 extends Le{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(Pc(s),0,0,0),n}}class C9 extends Le{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(Pc(s),0,0,0),n}}class x9 extends Le{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 M9 extends Le{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 S9 extends Le{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 v9 extends Le{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 T9 extends Le{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 D9 extends Le{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 O9 extends Le{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 E9 extends Le{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:Pe(n,n.getTime()-pa(n)-s)}}class $9 extends Le{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:Pe(n,n.getTime()-pa(n)-s)}}class P9 extends Le{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Ph(n)}set(n,r,s){return[Pe(n,s*1e3),{timestampIsSet:!0}]}}class L9 extends Le{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Ph(n)}set(n,r,s){return[Pe(n,s),{timestampIsSet:!0}]}}const N9={G:new Q5,y:new J5,Y:new e9,R:new t9,u:new n9,Q:new r9,q:new s9,M:new i9,L:new o9,w:new l9,I:new d9,d:new f9,D:new m9,E:new p9,e:new g9,c:new _9,i:new w9,a:new b9,b:new k9,B:new C9,h:new x9,H:new M9,K:new S9,k:new v9,m:new T9,s:new D9,S:new O9,X:new E9,x:new $9,t:new P9,T:new L9},V9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,B9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A9=/^'([^]*?)'?$/,R9=/''/g,F9=/\S/,I9=/[a-zA-Z]/;function Nc(t,e,n,r){var p,_,y,C,k,v,M,D;const s=Z5(),i=(r==null?void 0:r.locale)??s.locale??xh,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)??((v=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:v.weekStartsOn)??s.weekStartsOn??((D=(M=s.locale)==null?void 0:M.options)==null?void 0:D.weekStartsOn)??0;if(e==="")return t===""?le(n):Pe(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new X5],u=e.match(B9).map(S=>{const O=S[0];if(O in Ec){const E=Ec[O];return E(S,i.formatLong)}return S}).join("").match(V9),h=[];for(let S of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Eh(S)&&$c(S,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Oh(S)&&$c(S,e,t);const O=S[0],E=N9[O];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(F=>I.includes(F.token)||F.token===O);if($)throw new RangeError(`The format string mustn't contain \`${$.fullToken}\` and \`${S}\` at the same time`)}else if(E.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);h.push({token:O,fullToken:S});const j=E.run(t,S,i.match,c);if(!j)return Pe(n,NaN);d.push(j.setter),t=j.rest}else{if(O.match(I9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");if(S==="''"?S="'":O==="'"&&(S=z9(S)),t.indexOf(S)===0)t=t.slice(S.length);else return Pe(n,NaN)}}if(t.length>0&&F9.test(t))return Pe(n,NaN);const f=d.map(S=>S.priority).sort((S,O)=>O-S).filter((S,O,E)=>E.indexOf(S)===O).map(S=>d.filter(O=>O.priority===S).sort((O,E)=>E.subPriority-O.subPriority)).map(S=>S[0]);let m=le(n);if(isNaN(m.getTime()))return Pe(n,NaN);const g={};for(const S of f){if(!S.validate(m,c))return Pe(n,NaN);const O=S.set(m,g,c);Array.isArray(O)?(m=O[0],Object.assign(g,O[1])):m=O}return Pe(n,m)}function z9(t){return t.match(A9)[1].replace(R9,"'")}function Vh(t,e){const n=hs(t),r=hs(e);return+n==+r}function H9(t,e){return Sn(t,-e)}function Bh(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Pe(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=j5(i);return n.setMonth(e,Math.min(s,a)),n}function Ye(t,e){let n=le(t);return isNaN(+n)?Pe(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Bh(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 Ah(t,e){const n=le(t);return n.setHours(e),n}function Vc(t,e){const n=le(t);return n.setMilliseconds(e),n}function Rh(t,e){const n=le(t);return n.setMinutes(e),n}function Bc(t,e){const n=le(t);return n.setSeconds(e),n}function Wn(t,e){const n=le(t);return isNaN(+n)?Pe(t,NaN):(n.setFullYear(e),n)}function ti(t,e){return vn(t,-e)}function Y9(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=H9(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Pe(t,u.getTime()-m)}function Fh(t,e){return Sc(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 Ih(){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"})])}Ih.compatConfig={MODE:3};function Ac(){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"})])}Ac.compatConfig={MODE:3};function Rc(){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"})])}Rc.compatConfig={MODE:3};function Fc(){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"})])}Fc.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:"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"})])}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:"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"})])}zc.compatConfig={MODE:3};function zh(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 W9(t){return e=>In(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const j9=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(W9(t))}catch{s=r.map(zh(e))}else s=r.map(zh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Hc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:Uh(s,e)});return n?r.reverse():r},Hh=(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}})},Z9=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},U9=t=>({type:"dot",...t??{}}),Yh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Yc={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,Wh=t=>t===0?t:!t||isNaN(+t)?null:+t,jh=t=>t===null,Zh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},q9=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)=>q9(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())},G9=()=>["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 K9(t,e){let n=[...document.querySelectorAll(G9())];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 X9=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),Uh=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),Wc=t=>In(t,"dd-MM-yyyy"),jc=t=>Array.isArray(t),_a=(t,e)=>e.get(Wc(t)),Q9=(t,e)=>t?e?e instanceof Map?!!_a(t,e):e(q(t)):!1:!0,qh=(t,e,n,r,s,i)=>{const a=Nc(t,e.slice(0,t.length),new Date,{locale:i});return ji(a)&&yh(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},J9=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return qh(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=qh(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,e7=(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=Ah(e,0),e=Rh(e,0),e=Bc(e,0),e=Vc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Ah(s,+e)),(n||n===0)&&(s=Rh(s,+n)),(r||r===0)&&(s=Bc(s,+r)),Vc(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)),ya=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ut(n,t[0])&&rt(n,t[1]):t!=null&&t[0]&&e?ut(n,t[0])&&rt(n,e)||rt(n,t[0])&&ut(n,e):!1,Dn=t=>{const e=Ye(new Date(t),{date:1});return Zt(e)},Zc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ms=t=>({hours:Tn(t),minutes:zn(t),seconds:Js(t)}),Gh=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},Kh=(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))},Xh=(t,e)=>{const n=ut(t,e)?e:t,r=ut(e,t)?e:t;return bh({start:n,end:r})},t7=t=>{const e=vn(t,1);return{month:Ce(e),year:ye(e)}},or=(t,e)=>{const n=Fn(t,{weekStartsOn:+e}),r=e5(t,{weekStartsOn:+e});return[n,r]},Qh=(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=Bh(r,e)),n&&(r=Wn(r,n)),r},Jh=(t,e,n,r,s)=>{if(!r||s&&!e||!s&&!n)return!1;const i=s?vn(t,1):ti(t,1),a=[Ce(i),ye(i)];return s?!r7(...a,e):!n7(...a,n)},n7=(t,e,n)=>rt(...Vr(n,t,e))||Me(...Vr(n,t,e)),r7=(t,e,n)=>ut(...Vr(n,t,e))||Me(...Vr(n,t,e)),ef=(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(Yc.prop("partial-range"))},wa=(t,e)=>{if(e)return t();throw new Error(Yc.prop("range"))},Uc=t=>Array.isArray(t)?ji(t[0])&&(t[1]?ji(t[1]):!0):t?ji(t):!1,s7=(t,e)=>Ye(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),qc=(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()},Gc=(t,e,n)=>t?s7(t,e):q(n??e),tf=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Gc(t,r[0],e),l=Gc(t,r[1],e);return qc(r[0],a,n,!!e)&&qc(r[1],l,n,!!e)&&s}const i=Gc(t,r,e);return qc(r,i,n,!!e)&&s},Kc=t=>Ye(q(),ms(t)),i7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],nf=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Xc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Xi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),rf=()=>{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:[]}),Qc=o.ref(null),ba=o.ref(!1),Jc=o.ref(!1),ed=o.ref(!1),td=o.ref(!1),Tt=o.ref(0),ht=o.ref(0),Br=()=>{const t=o.computed(()=>ba.value?[...je.selectionGrid,je.actionRow].filter(h=>h.length):Jc.value?[...je.timePicker[0],...je.timePicker[1],td.value?[]:[Qc.value],je.actionRow].filter(h=>h.length):ed.value?[...je.monthPicker,je.actionRow]:[je.monthYear,...je.calendar,je.time,je.actionRow].filter(h=>h.length)),e=h=>{Tt.value=h?Tt.value+1:Tt.value-1;let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),!f&&t.value[ht.value+(h?1:-1)]?(ht.value=ht.value+(h?1:-1),Tt.value=h?0:t.value[ht.value].length-1):f||(Tt.value=h?Tt.value-1:Tt.value+1)},n=h=>{ht.value===0&&!h||ht.value===t.value.length&&h||(ht.value=h?ht.value+1:ht.value-1,t.value[ht.value]?t.value[ht.value]&&!t.value[ht.value][Tt.value]&&Tt.value!==0&&(Tt.value=t.value[ht.value].length-1):ht.value=h?ht.value-1:ht.value+1)},r=h=>{let f=null;t.value[ht.value]&&(f=t.value[ht.value][Tt.value]),f?f.focus({preventScroll:!ba.value}):Tt.value=h?Tt.value-1:Tt.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{je[f]=h},d=(h,f)=>{je[f]=h},u=()=>{Tt.value=0,ht.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Qc.value=h},setSelectionGrid:h=>{ba.value=h,u(),h||(je.selectionGrid=[])},setTimePicker:(h,f=!1)=>{Jc.value=h,td.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]=[],ba.value=!1,Jc.value=!1,td.value=!1,ed.value=!1,u(),Qc.value=null},setMonthPicker:h=>{ed.value=h,u()},refSets:je}},lr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),sf=(t,e)=>nd(t,e)||q(),o7=(t,e)=>e.dateInTz?lr(new Date(t),e.dateInTz):q(t),nd=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?o7(t,e):lr(n,e.timezone)},a7=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},of=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??{}}),l7=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??{}}),af=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,c7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:af(!1)};const r=e?t:{},s=e?r.count??!0:t,i=af(s);return Object.assign(n,r,{count:i})},d7=(t,e,n)=>t||(typeof n=="string"?n:e),u7=t=>typeof t=="boolean"?t?of({}):!1:of(t),h7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},f7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),m7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),p7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},g7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),_7=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??{}}},y7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},w7=(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},b7=(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},rd=(t,e)=>new Map(t.map(n=>{const r=sf(n,e);return[Wc(r),r]})),k7=(t,e)=>t.length?new Map(t.map(n=>{const r=sf(n.date,e);return[Wc(r),n]})):null,C7=(t,e,n,r,s,i,a)=>({minDate:nd(t,a),maxDate:nd(e,a),disabledDates:jc(n)?rd(n,a):n,allowedDates:jc(r)?rd(r,a):null,highlight:typeof s=="object"&&jc(s==null?void 0:s.dates)?rd(s.dates,a):s,markers:k7(i,a)}),x7=(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=>Qh(M,t.enableSeconds),s=()=>v.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(()=>c7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>l7(t.ariaLabels)),c=o.computed(()=>f7(t.filters)),d=o.computed(()=>u7(t.transitions)),u=o.computed(()=>m7(t.actionRow)),h=o.computed(()=>d7(t.previewFormat,t.format,n())),f=o.computed(()=>h7(t.textInput)),m=o.computed(()=>p7(t.inline)),g=o.computed(()=>g7(t.config)),p=o.computed(()=>_7(t.highlight)),_=o.computed(()=>y7(t.weekNumbers)),y=o.computed(()=>b7(t.timezone,t.emitTimezone)),C=o.computed(()=>x7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>C7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),v=o.computed(()=>w7(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:v,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},M7=(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=a7(a.value.timezone);return q4(w,B)}return w},m=(w,B,z=!1)=>ef(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))):wa(()=>[Wn(q(),w[0]),w[1]?Wn(q(),w[1]):ii(i.value.partialRange)],i.value.enabled):Wn(q(),+w),y=(w,B)=>(typeof w=="string"||typeof w=="number")&&e.modelType?Z(w):B,C=w=>Array.isArray(w)?[y(w[0],Nr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Nr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Nr(null,w.hours,w.minutes,w.seconds)),k=w=>{const B=Ye(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(z=>y(z,ar(B,+z.month,+z.year))):wa(()=>[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))},v=w=>{if(Array.isArray(w))return w.map(B=>Z(B));throw new Error(Yc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],z=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(z)?z[0]:null)]}return q(w[0])},D=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?wa(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):ii(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),S=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ii(i.value.partialRange))},O=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):ii(i.value.partialRange)]},E=()=>r.value[1]?O():ee(Ct(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(S(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?wa(()=>O(),i.value.enabled):ee(Ct(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(Ct(w)):e.monthPicker?k(Ct(w)):e.yearPicker?_(Ct(w)):l.value.enabled?v(Ct(w)):e.weekPicker?M(Ct(w)):D(Ct(w)),F=w=>{const B=$(w);Uc(Ct(B))?(r.value=Ct(B),N()):(r.value=null,d.value="")},G=()=>{const w=B=>In(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},T=()=>n.value&&r.value?Array.isArray(r.value)?G():In(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?T():m(r.value):"",N=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Nc(w,c(),new Date)):h(Nc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?e7(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))},b=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?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",V()):U(j(),!0))}},S7=(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?vn(u,1):ti(u,1),i(f,h)):f},a=(u,h)=>{let f=u;return n.value.years.includes(ye(f))?(f=h?Sc(u,1):Fh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=Ye(q(),{month:t.month,year:t.year});let m=u?vn(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=>Jh(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||{}),On=(t=>(t.month="month",t.year="year",t))(On||{}),ps=(t=>(t.top="top",t.bottom="bottom",t))(ps||{}),gs=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(gs||{}),jn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(jn||{});const v7=({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({})),v()});const m=T=>{if(a.teleport){const x=T.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(T,x)=>{u.value.left=`${T+x-c.value.width}px`},p=T=>{u.value.left=`${T}px`},_=(T,x)=>{a.position===oi.left&&p(T),a.position===oi.right&&g(T,x),a.position===oi.center&&(u.value.left=`${T+x/2-c.value.width/2}px`)},y=T=>{const{width:x,height:N}=T.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(T):m(T);return{top:+Z,left:+ee,width:x,height:N}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const T=wt(n),{top:x,left:N,transform:Z}=a.altPosition(T);u.value={top:`${x}px`,left:`${N}px`,transform:Z??""}},v=(T=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(T){const N=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;N&&(c.value=N.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:T,left:x,width:N})=>{window.screen.width>768&&!d.value&&_(x,N),O(T)},D=T=>{const{top:x,left:N,height:Z,width:ee}=y(T);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${N+ee/2-c.value.width/2}px`),M({inputEl:T,left:N,width:ee})},S=T=>{const{top:x,left:N,width:Z}=y(T);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:T,left:N,width:Z})},O=T=>{if(a.autoPosition){const{left:x,width:N}=y(T),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,N)}return _(x,N)}}},E=()=>{const T=wt(n);if(T){const{height:x}=c.value,{top:N,height:Z}=T.getBoundingClientRect(),ee=window.innerHeight-N-Z,U=N;return x<=ee?ps.bottom:x>ee&&x<=U?ps.top:ee>=U?ps.bottom:ps.top}return ps.bottom},I=T=>E()===ps.bottom?D(T):S(T),j=()=>{const T=wt(n);if(T)return a.autoPosition?I(T):D(T)},$=function(T){if(T){const x=T.scrollHeight>T.clientHeight,N=window.getComputedStyle(T).overflowY.indexOf("hidden")!==-1;return x&&!N}return!0},F=function(T){return!T||T===document.body||T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(T)?T:F(T.parentNode)},G=T=>{if(T)switch(a.position){case oi.left:return{left:0,transform:"translateX(0)"};case oi.right:return{left:`${T.width}px`,transform:"translateX(-100%)"};default:return{left:`${T.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:v,getScrollableParent:F,shadowRender:(T,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 b=G(P),w=o.h(T,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),V.removeChild(U)}}},Ar=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]}],T7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],D7={all:()=>Ar,monthYear:()=>Ar.filter(t=>t.use.includes("month-year")),input:()=>T7,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 D7[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}},O7=(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=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ut(d.value,t.value[0]):rt(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?B():null;return Me(q(b.value),z)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!rt(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Me(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Me(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ut(t.value[0],w.value):rt(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,b.value)):Me(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=Sn(d.value,+l.value.autoRange),B=or(q(d.value),e.weekStart);return e.weekPicker?Me(B[1],q(b.value)):Me(w,q(b.value))}return!1}return!1},v=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=Sn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=or(q(d.value),e.weekStart);return e.weekPicker?ut(b.value,B[0])&&rt(b.value,B[1]):ut(b.value,d.value)&&rt(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=or(q(d.value),e.weekStart);return e.weekPicker?Me(w[0],b.value):Me(d.value,b.value)}return!1}return!1},D=b=>ya(t.value,d.value,b.value),S=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,O=()=>e.modelAuto?Yh(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?S()&&C(b):!1:C(b),j=b=>s.value?Q9(b.value,a.value.highlight):!1,$=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},F=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&O()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?D(b):!1,T=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),z=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!$(b)&&(j(b)||F(b))&&!I(b)&&!z&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(b)&&(j(b)||F(b))&&I(b),dp__today:!e.noToday&&Me(b.value,u.value)&&b.current,"dp--past":rt(b.value,u.value),"dp--future":ut(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),N=b=>{if(t.value&&!Array.isArray(t.value)){const w=or(t.value,e.weekStart);return{...P(b),dp__range_start:Me(w[0],b.value),dp__range_end:Me(w[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])}}return{...P(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=or(t.value[0],e.weekStart),B=t.value[1]?or(t.value[1],e.weekStart):[];return{...P(b),dp__range_start:Me(w[0],b.value)||Me(B[0],b.value),dp__range_end:Me(w[1],b.value)||Me(B[1],b.value),dp__range_between_week:ut(b.value,w[0])&&rt(b.value,w[1])||ut(b.value,B[0])&&rt(b.value,B[1]),dp__range_between:ut(b.value,w[1])&&rt(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&O():_(b)&&O(),B=n.value.count>0?b.current&&_(b,!1)&&O():_(b,!1)&&O();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},P=b=>({...U(b),dp__cell_auto_range:v(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),V=b=>l.value.enabled?l.value.autoRange?P(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?N(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...T(b),...V(b),[e.dayClass?e.dayClass(b.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},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($)):!!_a($,r.value.disabledDates):!1,a=$=>{const F=r.value.maxDate?ut($,r.value.maxDate):!1,G=r.value.minDate?rt($,r.value.minDate):!1,T=i($),x=e.value.months.map(P=>+P).includes(Ce($)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===W5($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(F||G||T||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 T=!1;return r.value.maxDate&&G&&c($,F)&&(T=!0),r.value.minDate&&!G&&l($,F)&&(T=!0),T},u=($,F,G,T)=>{let x=!1;return T?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?!_a($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!bh({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 T=_h($,F[G]),x=Xh(F[G],$),N=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(T)-(n.value.minMaxRawRange?0:N);if(n.value.minRange&&n.value.maxRange)return Z>=+n.value.minRange&&Z<=+n.value.maxRange;if(n.value.minRange)return Z>=+n.value.minRange;if(n.value.maxRange)return Z<=+n.value.maxRange}return!0},y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=$=>Array.isArray($)?[$[0]?Kc($[0]):null,$[1]?Kc($[1]):null]:Kc($),k=($,F,G)=>$.find(T=>+T.hours===Tn(F)&&T.minutes==="*"?!0:+T.minutes===zn(F)&&+T.hours===Tn(F))&&G,v=($,F,G)=>{const[T,x]=$,[N,Z]=F;return!k(T,N,G)&&!k(x,Z,G)&&G},M=($,F)=>{const G=Array.isArray(F)?F:[F];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?v(t.disabledTimes,G,$):!G.some(T=>k(t.disabledTimes,T,$)):$},D=($,F)=>{const G=Array.isArray(F)?[ms(F[0]),F[1]?ms(F[1]):void 0]:ms(F),T=!t.disabledTimes(G);return $&&T},S=($,F)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(F,$):D(F,$):F,O=$=>{let F=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(F=tf(t.maxTime,r.value.maxDate,"max",Ct(G),F)),(t.minTime||r.value.minDate)&&(F=tf(t.minTime,r.value.minDate,"min",Ct(G),F)),S($,F)},E=$=>{if(!t.monthPicker)return!0;let F=!0;const G=q(Dn($));if(r.value.minDate&&r.value.maxDate){const T=q(Dn(r.value.minDate)),x=q(Dn(r.value.maxDate));return ut(G,T)&&rt(G,x)||Me(G,T)||Me(G,x)}if(r.value.minDate){const T=q(Dn(r.value.minDate));F=ut(G,T)||Me(G,T)}if(r.value.maxDate){const T=q(Dn(r.value.maxDate));F=rt(G,T)||Me(G,T)}return F},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:O($)),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:O,isTimeValid:I,isMonthValid:j}},ka=()=>{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}},E7=(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}},Ca={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={...Ca,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}},$7={key:1,class:"dp__input_wrap"},P7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],L7={key:2,class:"dp__clear_icon"},N7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ca},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})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},v=x=>{const N=f();return J9(x,i.value.format??h(),N??Qh({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:N}=i.value,[Z,ee]=x.split(`${N}`);if(Z){const U=v(Z.trim()),P=ee?v(ee.trim()):null,V=U&&P?[U,P]:[U];m(P,V,0)&&(g.value=U?V:null)}},D=()=>{y.value=!0},S=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const N=x.split(";");g.value=N.map(Z=>v(Z.trim())).filter(Z=>Z)}else g.value=v(x)},O=x=>{var N;const Z=typeof x=="string"?x:(N=x.target)==null?void 0:N.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),S(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(S(x.target.value),i.value.enterSubmit&&Uc(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&&S(x.target.value),i.value.tabSubmit&&Uc(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")},T=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:$},[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",$7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:O,onEnter:E,onTab:I,onClear:G,onBlur:F,onKeypress:T,onPaste:D,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:O,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),T],onBlur:F,onFocus:j,onKeypress:T,onPaste:D},null,42,P7)),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",L7,[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(Ih),{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)])}}}),V7=["title"],B7=["disabled"],A7=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({}),k=o.ref(null),v=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([wt(p),wt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var T,x;const N=(T=k.value)==null?void 0:T.getBoundingClientRect(),Z=(x=v.value)==null?void 0:x.getBoundingClientRect();N&&Z&&(C.value.maxWidth=`${Z.width-N.width-20}px`),y.value=!0},0)},D=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),S=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!D.value),O=()=>{const T=i.value;return r.timePicker||r.monthPicker,T(Ct(r.internalModelValue))},E=()=>{const T=r.internalModelValue;return a.value.count>0?`${I(T[0])} - ${I(T[1])}`:[I(T[0]),I(T[1])]},I=T=>ef(T,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(T=>`${I(T)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):O()),$=()=>u.value.enabled?"; ":" - ",F=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&D.value?n("select-date"):n("invalid-select")};return(T,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:v,class:"dp__action_row"},[T.$slots["action-row"]?o.renderSlot(T.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:T.internalModelValue,disabled:S.value,selectDate:()=>T.$emit("select-date"),closePicker:()=>T.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:F.value,style:o.normalizeStyle(C.value)},[T.$slots["action-preview"]&&y.value?o.renderSlot(T.$slots,"action-preview",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),!T.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(F.value),1)],64)):o.createCommentVNode("",!0)],12,V7)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[T.$slots["action-buttons"]?o.renderSlot(T.$slots,"action-buttons",{key:0,value:T.internalModelValue}):o.createCommentVNode("",!0),T.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=N=>T.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(N=>T.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(N=>T.$emit("close-picker"),["space"]))]},o.toDisplayString(T.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=N=>T.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(N=>T.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(N=>T.$emit("select-now"),["space"]))]},o.toDisplayString(T.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(T.selectText),41,B7)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),R7=["onKeydown"],F7={class:"dp__selection_grid_header"},I7=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],z7=["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}=ka(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),v(!0)}),o.onUnmounted(()=>v(!1));const v=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)},D=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),S=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),O=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,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),b=wt(y),w=wt(k),B=b?b.getBoundingClientRect().height:0;V&&(V.getBoundingClientRect().height?C.value=V.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),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()},T=(U,P,V,b)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[V])?p.value[V][b]=U:p.value[V]=[U],x()))},x=()=>{var U,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=X9(l.menuWrapRef??null,"action-row");if(U){const P=Zh(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(D.value),style:o.normalizeStyle(S.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(b=>N(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",F7,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>T(be,B,w,z),role:"gridcell",class:o.normalizeClass(O.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>$(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,I7))),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,z7)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,R7)}}}),xa=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))}}),H7=["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,H7))}}),Y7={class:"dp--year-mode-picker"},W7=["aria-label"],lf=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}=ka(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Qe(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",Y7,[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]=v=>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(Ac),{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,W7),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=v=>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(Rc),{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]=v=>m(v))},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:v})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:v.text,value:v.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"])])}}}),sd=(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]},id=(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},Ma=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},cf=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))},df=(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):[],uf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Hc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(D,S)=>{const O=Ye(Dn(new Date),{month:c.value(D),year:l.value(D)});return Jh(O,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,S)}),m=()=>{for(let D=0;D<t.value.count;D++)if(D===0)r.value[D]=r.value[0];else{const S=Ye(q(),r.value[D-1]);r.value[D]={month:Ce(S),year:ye(Sc(S,1))}}},g=D=>{if(!D)return m();const S=Ye(q(),r.value[D]);return r.value[0].year=ye(Fh(S,t.value.count-1)),m()},p=D=>i.focusStartDate?D[0]:D[1]?D[1]:D[0],_=()=>{if(s.value){const D=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(D),year:ye(D)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(D,S)=>{r.value[S].year=D,t.value.count&&!t.value.solo&&g(S)},C=o.computed(()=>D=>ri(u.value,S=>{var O;const E=l.value(D)===S.value,I=Ki(S.value,si(n.value.minDate),si(n.value.maxDate))||((O=a.value.years)==null?void 0:O.includes(l.value(D))),j=Xc(e.value,S.value);return{active:E,disabled:I,highlighted:j}})),k=(D,S)=>{y(D,S),M(S)},v=(D,S=!1)=>{if(!f.value(D,S)){const O=S?l.value(D)+1:l.value(D)-1;y(O,D)}},M=(D,S=!1,O)=>{S||d("reset-flow"),O!==void 0?h.value[D]=O:h.value[D]=!h.value[D],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:v}},j7=(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(()=>Hh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:k,groupedYears:v,showYearPicker:M,toggleYearPicker:D,handleYearSelect:S,handleYear:O,isDisabled:E}=uf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),$=(b,w)=>{const B=p.value[b],z=j();return Array.isArray(z)?z.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===z.year&&w===z.month},F=(b,w,B)=>{var z,be;const Fe=j();return Array.isArray(Fe)?m.value(w)===((z=Fe[B])==null?void 0:z.year)&&b===((be=Fe[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const z=F(b,w,0)||F(b,w,1),be=ar(Dn(q()),b,m.value(w));return ya(f.value,y.value,be)&&!z}return!1}return!1},T=o.computed(()=>b=>ri(_.value,w=>{var B;const z=$(b,w.value),be=Ki(w.value,Gh(m.value(b),c.value.minDate),Kh(m.value(b),c.value.maxDate))||i7(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Fe=G(w.value,b),A=nf(l.value,w.value,m.value(b));return{active:z,disabled:be,isBetween:Fe,highlighted:A}})),x=(b,w)=>ar(Dn(q()),b,m.value(w)),N=(b,w)=>{const B=f.value?f.value:Dn(new Date);f.value=ar(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=df(B,f,e,a):f.value?C(B,f.value)&&(f.value=id(f,x(b,w),e)):f.value=[x(b,w)],Ma(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{sd(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,V(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):N(b,w)),P=(b,w)=>{k(b,w),V(w,b,null)},V=(b,w,B)=>{let z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:z})};return{groupedMonths:T,groupedYears:v,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{cf({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:P,toggleYearPicker:D,handleYearSelect:S,handleYear:O,getModelMonthYear:j}},Z7=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...En},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Ut(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:v,handleYear:M,getModelMonthYear:D}=j7(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:D,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:S=>k(0,S)}),(S,O)=>(o.openBlock(),o.createBlock(xa,{"multi-calendars":o.unref(h).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:E})=>[S.$slots["month-year"]?o.renderSlot(S.$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":S.arrowNavigation,"is-last":S.autoApply&&!o.unref(f).keepActionRow,"esc-close":S.escClose,height:o.unref(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(y)(I,E),onHoverValue:I=>o.unref(_)(I,E)},{header:o.withCtx(()=>[o.createVNode(lf,o.mergeProps(S.$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(v)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx($=>[o.renderSlot(S.$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"]))}}),U7=(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)?ya(n.value,r.value,m(g)):!1,f=o.computed(()=>ri(Hc(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=Xc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>Wn(Dn(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=Wn(Dn(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(Wn(Zt(q()),g))):n.value=[Wn(Zt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=id(n,m(g),e),Ma(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},q7=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}=U7(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"]))]))}}),G7={key:0,class:"dp__time_input"},K7=["aria-label","onKeydown","onClick"],X7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Q7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),J7=["aria-label","disabled","onKeydown","onClick"],e8=["aria-label","onKeydown","onClick"],t8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),n8=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),r8={key:0},s8=["aria-label","onKeydown"],i8=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}),k=o.computed(()=>A=>T(A,s[A])||M(A,s[A])),v=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,D=(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},S=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||D(A,!0)),O=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||D(A,!1)),E=(A,H)=>hh(Ye(q(),A),H),I=(A,H)=>Y9(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]}}),T=(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)||T(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(Zc(s.minTime)):null,L=s.maxTime?C(Zc(s.maxTime)):null,K=C(Zc(v.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,b=(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",Z9(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",G7,[(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:S.value(L.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["space"])],onClick:te=>b(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[X7,Q7],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(Ic),{key:1}))],64))],42,K7),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":k.value(L.type),"dp--time-overlay-btn":!k.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,J7),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:O.value(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["space"])],onClick:te=>b(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t8,n8],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(zc),{key:1}))],64))],42,e8)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",r8,[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,s8))])),(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(Fc)),{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))]))}}}),o8={class:"dp--tp-wrap"},a8=["aria-label","tabindex"],l8=["tabindex"],c8=["aria-label"],hf=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}=ka(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([wt(_.value)],"time"):a(!0,s.timePicker)});const v=o.computed(()=>f.value.enabled&&s.modelAuto?Yh(s.internalModelValue):!0),M=o.ref(!1),D=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),S=o.computed(()=>{const x=[];if(f.value.enabled)for(let N=0;N<2;N++)x.push(D(N));else x.push(D(0));return x}),O=(x,N=!1,Z="")=>{N||r("reset-flow"),M.value=x,r(x?"overlay-opened":"overlay-closed"),s.arrowNavigation&&a(x),o.nextTick(()=>{Z!==""&&C.value[0]&&C.value[0].openChildCmp(Z)})},E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!h.value.keepActionRow})),I=Ut(l,"timePicker"),j=(x,N,Z)=>f.value.enabled?N===0?[x,S.value[1][Z]]:[S.value[0][Z],x]:x,$=x=>{r("update:hours",x)},F=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},T=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Zh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:O}),(x,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",o8,[!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:_,type:"button",class:o.normalizeClass(E.value),"aria-label":(Z=o.unref(d))==null?void 0:Z.openTimePicker,tabindex:x.noOverlayFocus?void 0:0,onKeydown:[N[0]||(N[0]=o.withKeys(ee=>O(!0),["enter"])),N[1]||(N[1]=o.withKeys(ee=>O(!0),["space"]))],onClick:N[2]||(N[2]=ee=>O(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Fc),{key:1}))],42,a8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:$,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(S.value,(U,P)=>o.withDirectives((o.openBlock(),o.createBlock(i8,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,b)=>t.validateTime(V,j(b,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:T,onOverlayClosed:T,onAmPmChange:N[3]||(N[3]=V=>x.$emit("am-pm-change",V))}),o.createSlots({_:2},[o.renderList(o.unref(I),(V,b)=>({name:V,fn:o.withCtx(w=>[o.renderSlot(x.$slots,V,o.normalizeProps(o.guardReactiveProps(w)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,P===0?!0:v.value]])),128))],2)),!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:o.normalizeClass(E.value),"aria-label":(ee=o.unref(d))==null?void 0:ee.closeTimePicker,tabindex:"0",onKeydown:[N[4]||(N[4]=o.withKeys(U=>O(!1),["enter"])),N[5]||(N[5]=o.withKeys(U=>O(!1),["space"]))],onClick:N[6]||(N[6]=U=>O(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ni),{key:1}))],42,c8)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,l8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),ff=(t,e,n,r)=>{const{defaultedRange:s}=Qe(t),i=(k,v)=>Array.isArray(e[k])?e[k][v]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,v)=>k?v!==void 0?Nr(k,i("hours",v),i("minutes",v),a(v)):Nr(k,e.hours,e.minutes,a()):Bc(q(),a(v)),c=(k,v)=>{e[k]=v},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,v)=>{const M=Object.fromEntries(Object.keys(e).map(D=>D===k?[D,v]:[D,e[D]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const D=O=>n.value?Nr(n.value[O],M.hours[O],M.minutes[O],M.seconds[O]):null,S=O=>Vc(n.value[O],0);return!(Me(D(0),D(1))&&(qi(D(0),S(1))||Gi(D(1),S(0))))}return!0},h=(k,v)=>{u(k,v)&&(c(k,v),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,v,M,D)=>{v&&f(k),!v&&!M&&m(k),M&&g(k),n.value&&D(n.value)},_=k=>{if(k){const v=Array.isArray(k),M=v?[+k[0].hours,+k[1].hours]:+k.hours,D=v?[+k[0].minutes,+k[1].minutes]:+k.minutes,S=v?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",D),t.enableSeconds&&c("seconds",S)}},y=(k,v)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(v||v===0)&&(M.hours=v),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,v)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:D,hours:S}=y(k,v),O=D.filter(E=>+E.hours===S);return((M=O[0])==null?void 0:M.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:(O==null?void 0:O.map(E=>+E.minutes))??[],seconds:(O==null?void 0:O.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},d8=(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}=ff(t,r,n),f=k=>{const{hours:v,minutes:M,seconds:D}=k;return{hours:+v,minutes:+M,seconds:D?+D:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const v=f(t.startTime[0]),M=f(t.startTime[1]);return[Ye(q(),v),Ye(q(),M)]}const k=f(t.startTime);return Ye(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,v]=m();n.value=[l(k,0),l(v,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ms(q(k[0])),ms(q(k[1]))]:[ms(k??q())],_=(k,v,M)=>{c("hours",k),c("minutes",v),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,v]=p(n.value);return i.value.enabled?_([k.hours,v.hours],[k.minutes,v.minutes],[k.seconds,v.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,v)=>k&&l(k,v)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,v=!0,M=!1)=>{a(k,v,M,C)},validateTime:h}},u8=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}=d8(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(xa,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(hf,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}))}}),h8={class:"dp__month_year_row"},f8=["aria-label","onClick","onKeydown"],m8=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}=S7(s,r),{showLeftIcon:C,showRightIcon:k}=ka(),v=o.ref(!1),M=o.ref(!1),D=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const S=P=>({get:()=>s[P],set:V=>{const b=P===On.month?On.year:On.month;r("update-month-year",{[P]:V,[b]:s[b]}),P===On.month?T(!0):x(!0)}}),O=o.computed(S(On.month)),E=o.computed(S(On.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===On.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===On.month?T: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,b=Ki(P.value,Gh(s.year,h.value.minDate),Kh(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=nf(u.value,P.value,s.year);return{active:V,disabled:b,highlighted:w}})),F=o.computed(()=>ri(s.years,P=>{const V=s.year===P.value,b=Ki(P.value,si(h.value.minDate),si(h.value.maxDate))||c.value.years.includes(P.value),w=Xc(u.value,P.value);return{active:V,disabled:b,highlighted:w}})),G=(P,V)=>{V!==void 0?P.value=V:P.value=!P.value,P.value||r("overlay-closed")},T=(P=!1,V)=>{N(P),G(v,V)},x=(P=!1,V)=>{N(P),G(M,V)},N=P=>{P||r("reset-flow")},Z=(P,V)=>{s.arrowNavigation&&(D.value[V]=wt(P),g(D.value,"monthYear"))},ee=o.computed(()=>{var P,V;return[{type:On.month,index:1,toggle:T,modelValue:O.value,updateModelValue:b=>O.value=b,text:j.value.text,showSelectionGrid:v.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:On.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:Uh(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:T,toggleYearPicker:x,handleMonthYearChange:p}),(P,V)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",h8,[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":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:V[0]||(V[0]=z=>o.unref(p)(!1,!0)),onSetRef:V[1]||(V[1]=z=>Z(z,0))},{default:o.withCtx(()=>[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(Ac),{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,f8),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(Ic),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(to,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:V[3]||(V[3]=z=>o.unref(p)(!0,!0)),onSetRef:V[4]||(V[4]=z=>Z(z,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(zc):o.unref(Rc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),p8=["aria-label"],g8={class:"dp__calendar_header",role:"row"},_8={key:0,class:"dp__calendar_header_item",role:"gridcell"},y8=["aria-label"],w8=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),b8=["aria-label"],k8={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},C8={class:"dp__cell_inner"},x8=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],M8=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...En},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Br(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=Qe(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),v=o.ref({left:"50%"}),M=o.ref(!1),D=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),S=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):j9(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 O=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[O(!0)]:a.value[O(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>H=>{const ue=U9(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),T=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(),k.value[0]){const{left:Bt,width:vt}=k.value[0].getBoundingClientRect();Bt<0&&(ae={left:"0"},te=0,v.value.left=`${de/2}px`),window.innerWidth<Bt+vt&&(ae={right:"0"},te=0,v.value.left=`${vt-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")},b=(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"?Oc(H.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Tc(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",g8,[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",_8,o.toDisplayString(H.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.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,y8)}),128))]),w8,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(D.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",k8,[o.createElementVNode("div",C8,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,vt,Er;return o.openBlock(),o.createElementBlock("div",{id:T(ae.value),ref_for:!0,ref:kt=>b(kt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(vt=(Bt=o.unref(c))==null?void 0:Bt.day)==null?void 0:vt.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:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[(Er=ae.marker)!=null&&Er.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Fe},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(kt,Gs)=>(o.openBlock(),o.createElementBlock("div",{key:Gs,class:"dp__tooltip_text"},[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(v.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,x8)}),128))]))),128))],40,b8)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,p8)],2)}}}),mf=t=>Array.isArray(t),S8=(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:k,getSetDateTime:v,setTime:M,assignStartTime:D,validateTime:S,disabledTimesConfig:O}=ff(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)&&T()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&D(u.value)),T(!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")},T=(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=hh(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()},b=(R,J)=>{const ce=Ye(q(),{month:E.value(J),year:I.value(J)}),we=R<0?vn(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=vn(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]:vn(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,b(t.monthChangeOnScroll!=="inverse"?-R.deltaY:R.deltaY,J))}},Fe=(R,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(R,J)},A=(R,J)=>{b(R==="right"?-1:1,J)},H=R=>{if(m.value.markers)return _a(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],lh=K(Sn(cs.value,-7),Ce(J));R.unshift({days:lh})}else{const cs=R[R.length-1],lh=cs.days[cs.days.length-1],tz=K(Sn(lh.value,1),Ce(J));R.push({days:tz})}}return R},K=(R,J)=>{const ce=q(R),we=[];for(let X=0;X<7;X++){const he=Sn(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=Sn(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?sd(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=R=>h.value.noDisabledRange?Xh(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),Sn(q(R.value),+h.value.autoRange)];y(ce)?(J&&vt(R.value),s.value=ce):e("invalid-date",R.value)},vt=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=t7(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=df(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,ha=R=>{s.value[R]=Nr(s.value[R],c.hours[R],c.minutes[R],Gs(R!==1))},fa=()=>{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]?ha(0):(ha(0),ha(1),r()),fa(),a.value=s.value.slice(),Ma(s.value,e,t.autoApply,t.modelAuto))},rh=(R,J=!1)=>{if(_(R.value)||!R.current&&t.hideOffsetDates)return e("invalid-date",R.value);if(!h.value.enabled)return ge(R);mf(c.hours)&&mf(c.minutes)&&!g.value.enabled&&(kt(R,J),Mn())},sh=(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()},Cc=(R,J)=>{cf({value:R,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>T(!0))},ih=()=>{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(),$()},oh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const R=ah();a.value[a.value.length-1]=v(R)}else a.value=a.value.map((R,J)=>R&&v(R,J));else a.value=v(a.value);e("time-update")},ah=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:O,validateTime:S,getCalendarDays:de,getMarker:H,handleScroll:be,handleSwipe:A,handleArrow:Fe,selectDate:rh,updateMonthYear:sh,presetDate:Cc,selectCurrentDate:ih,updateTime:(R,J=!0,ce=!1)=>{k(R,J,ce,oh)}}},v8={key:0},T8=o.defineComponent({__name:"DatePicker",props:{...En},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:v,updateTime:M}=S8(s,r,ee,U),D=o.useSlots(),{setHoverDate:S,getDayClassData:O,clearHoverDate:E}=O7(c,s),{defaultedMultiCalendars:I}=Qe(s),j=o.ref([]),$=o.ref([]),F=o.ref(null),G=Ut(D,"calendar"),T=Ut(D,"monthYear"),x=Ut(D,"timePicker"),N=V=>{s.shadow||r("mount",V)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>V=>f(a.value(V),l.value(V)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=O(w),w))})));function ee(V){var b;V||V===0?(b=$.value[V])==null||b.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,b=!1)=>{y(V,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:v,toggleMonthPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(V,b)},toggleYearPicker:(V,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(V,b)},toggleTimePicker:(V,b,w)=>{var B;(B=F.value)==null||B.toggleTimePicker(V,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(V,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(xa,{"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(m8,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Hh)(V.formatLocale,V.locale,V.monthNameFormat),years:o.unref(Hc)(V.yearRange,V.locale,V.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},V.$props,{onMount:b[0]||(b[0]=z=>N(o.unref(gs).header)),onResetFlow:b[1]||(b[1]=z=>V.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:b[2]||(b[2]=z=>V.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(T),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps(Fe)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(M8,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:b[3]||(b[3]=z=>o.unref(S)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:b[4]||(b[4]=z=>N(o.unref(gs).calendar)),onResetFlow:b[5]||(b[5]=z=>V.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>V.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>V.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,be)=>({name:z,fn:o.withCtx(Fe=>[o.renderSlot(V.$slots,z,o.normalizeProps(o.guardReactiveProps({...Fe})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),V.enableTimePicker?(o.openBlock(),o.createElementBlock("div",v8,[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(hf,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:b[8]||(b[8]=w=>N(o.unref(gs).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>V.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>V.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>V.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>V.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(z=>[o.renderSlot(V.$slots,w,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),D8=(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:k,handleYearSelect:v,handleYear:M}=uf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),D=(T,x)=>[T,x].map(N=>In(N,"MMMM",{locale:t.formatLocale})).join("-"),S=o.computed(()=>T=>u.value?Array.isArray(u.value)?u.value.some(x=>Vh(T,x)):Vh(u.value,T):!1),O=T=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(T,u.value[0])||Me(T,u.value[1]);return ya(u.value,n.value,T)&&!x}return!1}return!1},E=(T,x)=>T.quarter===wh(x)&&T.year===ye(x),I=T=>typeof i.value=="function"?i.value({quarter:wh(T),year:ye(T)}):!!i.value.quarters.find(x=>E(x,T)),j=o.computed(()=>T=>{const x=Ye(new Date,{year:h.value(T)});return Q4({start:kh(x),end:J4(x)}).map(N=>{const Z=hs(N),ee=Ch(N),U=g(N),P=O(Z),V=I(Z);return{text:D(Z,ee),value:Z,active:S.value(Z),highlighted:V,disabled:U,isBetween:P}})}),$=T=>{sd(T,u,d.value.limit),e("auto-apply",!0)},F=T=>{u.value=id(u,T,e),Ma(u.value,e,t.autoApply,t.modelAuto)},G=T=>{u.value=T,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:T=>{n.value=T},selectYear:p,selectQuarter:(T,x,N)=>{if(!N)return m.value[x].month=Ce(Ch(T)),d.value.enabled?$(T):a.value.enabled?F(T):G(T)},toggleYearPicker:k,handleYearSelect:v,handleYear:M}},O8={class:"dp--quarter-items"},E8=["disabled","onClick","onMouseover"],$8=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...En},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Ut(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=D8(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(v,M)=>(o.openBlock(),o.createBlock(xa,{"multi-calendars":o.unref(l).count,collapse:v.collapse,stretch:""},{default:o.withCtx(({instance:D})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(lf,o.mergeProps(v.$props,{items:o.unref(d)(D),instance:D,"show-year-picker":o.unref(g)[D],year:o.unref(u)(D),"is-disabled":S=>o.unref(h)(D,S),onHandleYear:S=>o.unref(k)(D,S),onYearSelect:S=>o.unref(C)(S,D),onToggleYearPicker:S=>o.unref(y)(D,S==null?void 0:S.flow,S==null?void 0:S.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(S,O)=>({name:S,fn:o.withCtx(E=>[o.renderSlot(v.$slots,S,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",O8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(D),(S,O)=>(o.openBlock(),o.createElementBlock("div",{key:O},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),disabled:S.disabled,onClick:E=>o.unref(_)(S.value,D,S.disabled),onMouseover:E=>o.unref(p)(S.value)},[v.$slots.quarter?o.renderSlot(v.$slots,"quarter",{key:0,value:S.value,text:S.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(S.text),1)],64))],42,E8)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),P8=["id","aria-label"],L8={key:0,class:"dp--menu-load-container"},N8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),V8=[N8],B8={key:0,class:"dp__sidebar_left"},A8=["onClick","onKeydown"],R8={key:2,class:"dp__sidebar_right"},F8={key:3,class:"dp__action_extra"},pf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ca,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:O.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=rf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Qe(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const 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",k)});const k=()=>{const L=wt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:v,arrowLeft:M,arrowDown:D,arrowUp:S}=Br(),{flowStep:O,updateFlowStep:E,childMount:I,resetFlow:j}=E7(s,r,C),$=o.computed(()=>s.monthPicker?Z7:s.yearPicker?q7:s.timePicker?u8:s.quarterPicker?$8:T8),F=()=>{const L=wt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),T=()=>{s.openOnTop&&r("recalculate-position")},x=Ut(u,"action"),N=o.computed(()=>s.monthPicker||s.yearPicker?Ut(u,"monthYear"):s.timePicker?Ut(u,"timePicker"):Ut(u,"shared")),Z=o.computed(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ee=o.computed(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,[s.menuClassName]:!!s.menuClassName})),P=L=>{Lr(L,m.value,!0)},V=()=>{s.escClose&&r("close-picker")},b=L=>{if(s.arrowNavigation){if(L==="up")return S();if(L==="down")return D();if(L==="left")return M();if(L==="right")return v()}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=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[(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",L8,V8)):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",B8,[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(vt=>H(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(vt=>H(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(vt=>H(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,A8))],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(O),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:T,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(vt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...vt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",R8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",F8,[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(A7,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(vt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...vt})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,P8)}}}),I8=typeof window<"u"?window:void 0,od=()=>{},z8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,H8=(t,e,n,r)=>{if(!t)return od;let s=od;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=od})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return z8(a),a},Y8=(t,e,n,r={})=>{const{window:s=I8,event:i="pointerdown"}=r;return s?H8(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},W8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ca},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}=rf(),{clearArrowNav:k}=Br(),{validateDate:v,isValidTime:M}=Rr(s),{defaultedTransitions:D,defaultedTextInput:S,defaultedInline:O,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Qe(s),{menuTransition:$,showTransition:F}=Qi(D);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),O.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Ut(i,"all",s.presetDates),T=Ut(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:N,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=v7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:O,emit:r,props:s,slots:i}),{inputValue:V,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=M7(r,s,f),Fe=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:O.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:O.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),H=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||O.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>O.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Mn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!O.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Mn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(P(pf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||fa(),w(s.modelValue))},Bt=()=>{var X;V.value="",fa(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Mn()},vt=()=>{const X=b.value;return!X||!Array.isArray(X)&&v(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&v(X[0])&&v(X[1])?!0:I.value.partialRange&&!s.timePicker?v(X[0]):!1:!1},Er=()=>{be()&&vt()?(B(),Mn()):r("invalid-select",b.value)},kt=X=>{Gs(),B(),E.value.closeOnAutoApply&&!X&&Mn()},Gs=()=>{h.value&&S.value.enabled&&h.value.setParsedDate(b.value)},ha=(X=!1)=>{s.autoApply&&M(b.value)&&vt()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&kt(X):kt(X))},fa=()=>{S.value.enabled||(b.value=null)},Mn=()=>{O.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),V.value&&w(l.value)),fa(),r("blur"))},rh=(X,he,fe=!1)=>{if(!X){b.value=null;return}const $r=Array.isArray(X)?!X.some(Ks=>!v(Ks)):v(X),ir=M(X);$r&&ir&&(b.value=X,he&&(g.value=fe,Er(),r("text-submit")))},sh=()=>{s.autoApply&&M(b.value)&&B(),Gs()},Cc=()=>a.value?Mn():te(),ih=X=>{b.value=X},oh=()=>{S.value.enabled&&(f.value=!0,z()),r("focus")},ah=()=>{if(S.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=K9(m.value,p.value);X==null||X.focus()}r("blur")},R=X=>{u.value&&u.value.updateMonthYear(0,{month:Wh(X.month),year:Wh(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 Y8(d,h,()=>we(vt)),e({closeMenu:Mn,selectDate:Er,clearValue:Bt,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:ih,setMonthYear:R,parseModel:J,switchView:ce,toggleMenu:Cc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Fe.value),"data-datepicker-instance":""},[o.createVNode(N7,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:rh,onSetEmptyDate:o.unref(B),onSelectDate:Er,onToggle:Cc,onClose:Mn,onFocus:oh,onBlur:ah,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(T),(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(O).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(O).enabled},style:o.unref(O).enabled?void 0:o.unref(N)}),[o.createVNode(pf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Mn,onSelectDate:Er,onAutoApply:ha,onTimeUpdate:sh,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,$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))}}),ad=(()=>{const t=W8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:ad},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(ad[t]=e)});const j8={class:"scope-datepicker__wrapper"},Z8={key:0,class:"scope-datepicker__label"},U8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",j8,[t.label?(o.openBlock(),o.createElementBlock("div",Z8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(ad),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=s=>e.value=s),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},q8=De(U8,[["__scopeId","data-v-0081bf59"]]),G8=["onClick"],K8=De({__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,G8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),X8={class:"scope-number-input__fieldset","data-number-code-form":""},Q8=["disabled","onInput","onKeydown"],J8={key:0,class:"scope-number-input__error-message"},ey=De({__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",X8,[(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,Q8))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",J8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),ty={class:"scope-navigation-tab__icon-wrapper"},ny={key:0},ry=De({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",ty,[o.createVNode(Ve,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
2
2
|
* GSAP 3.12.5
|
|
3
3
|
* https://gsap.com
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
7
7
|
* Club GSAP members, the agreement issued with that membership.
|
|
8
8
|
* @author: Jack Doyle, jack@greensock.com
|
|
9
|
-
*/var qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ai={duration:.5,overwrite:!1,delay:0},rd,Dt,Ge,cn=1e8,We=1/cn,sd=Math.PI*2,ny=sd/4,ry=0,pf=Math.sqrt,sy=Math.cos,iy=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},id=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},At=function(e){return e!==!1},od=function(){return typeof window<"u"},xa=function(e){return st(e)||xt(e)},gf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ot=Array.isArray,ad=/(?:-?\.?\d|\.)+/gi,_f=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ld=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,yf=/[+-]=-?[.\d]+/,wf=/[^,'"\[\]\s]+/gi,oy=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,cd,dd,Gt={},Ma={},bf,kf=function(e){return(Ma=ys(e,Gt))&&It},ud=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},no=function(e,n){return!n&&console.warn(e)},Cf=function(e,n){return e&&(Gt[e]=n)&&Ma&&(Ma[e]=n)||Gt},ro=function(){return 0},ay={suppressEvents:!0,isStart:!0,kill:!1},va={suppressEvents:!0,kill:!1},ly={suppressEvents:!0},hd={},Fr=[],fd={},xf,Kt={},md={},Mf=30,Sa=[],pd="",gd=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Sa.length;s--&&!Sa[s].targetTest(n););r=Sa[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new Jf(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||gd(hn(e))[0]._gsap},vf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():id(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},cy=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},Ta=function(){var e=Fr.length,n=Fr.slice(0),r,s;for(fd={},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)},Sf=function(e,n,r,s){Fr.length&&!Dt&&Ta(),e.render(n,r,s||Dt&&n<0&&(e._initted||e._startAt)),Fr.length&&!Dt&&Ta()},Tf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(wf).length<2?n:xt(e)?e.trim():e},Df=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},Of=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Zn(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Da=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(Ot(e.keyframes)):dn;if(At(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},uy=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Ef=function(e,n,r,s,i){r===void 0&&(r="_first"),s===void 0&&(s="_last");var a=e[s],l;if(i)for(l=n[i];a&&a[i]>l;)a=a._prev;return a?(n._next=a._next,a._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=a,n.parent=n._dp=e,n},Oa=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=n._prev,a=n._next;i?i._next=a:e[r]===n&&(e[r]=a),a?a._prev=i:e[s]===n&&(e[s]=i),n._next=n._prev=n.parent=null},Ir=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ws=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},hy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},_d=function(e,n,r,s){return e._startAt&&(Dt?e._startAt.revert(va):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},fy=function t(e){return!e||e._ts&&t(e.parent)},$f=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},Ea=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},$a=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Pa=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Mt(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),$a(e),r._dirty||ws(r,e)),e},Pf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ea(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)),Ef(e,n,"_first","_last",e._sort?"_start":0),yd(n)||(e._recent=n),s||Pf(e,n),e._ts<0&&Pa(e,e._tTime),e},Lf=function(e,n){return(Gt.ScrollTrigger||ud("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},Vf=function(e,n,r,s,i){if(Td(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xf!==Qt.frame)return Fr.push(e),e._lazy=[i,s],1},my=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},yd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},py=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&my(e)&&!(!e._initted&&yd(e))||(e._ts<0||e._dp._ts<0)&&!yd(e))?0:1,l=e._rDelay,c=0,d,u,h;if(l&&e._repeat&&(c=oo(0,e._tDur,n),u=di(c,l),e._yoyo&&u&1&&(a=1-a),u!==di(e._tTime,l)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Dt||s||e._zTime===We||!n&&e._zTime){if(!e._initted&&Vf(e,n,s,r,c))return;for(h=e._zTime,e._zTime=n||(r?We:0),r||(r=n&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,d=e._pt;d;)d.r(a,d.d),d=d._next;n<0&&_d(e,n,r,!0),e._onUpdate&&!r&&Xt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Xt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Ir(e,1),!r&&!Dt&&(Xt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},gy=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},ui=function(e,n,r,s){var i=e._repeat,a=Mt(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Mt(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Pa(e,e._tTime=e._tDur*l),e.parent&&$a(e),r||ws(e.parent,e),e},Nf=function(e){return e instanceof Lt?ws(e):ui(e,e._dur)},_y={_start:0,endTime:ro,totalDuration:ro},un=function t(e,n,r){var s=e.labels,i=e._recent||_y,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*(Ot(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},io=function(e,n,r){var s=dr(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=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},Et=function(e,n){return!xt(e)||!(n=oy.exec(e))?"":n[1]},yy=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},wd=[].slice,Bf=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},wy=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Bf(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&&(cd||!fi())?wd.call((n||dd).querySelectorAll(e),0):Ot(e)?wy(e,r):Bf(e)?wd.call(e,0):e?[e]:[]},bd=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")||dd.createElement("div"):e)}},Af=function(e){return e.sort(function(){return .5-Math.random()})},Rf=function(e){if(st(e))return e;var n=Zn(e)?e:{each:e},r=bs(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return xt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,S,M,D,v,O,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,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,O=cn,D=0;D<p;D++)k=D%E-y,S=C-(D/E|0),_[D]=M=d?Math.abs(d==="y"?S:k):pf(k*k+S*S),M>v&&(v=M),M<O&&(O=M);s==="random"&&Af(_),_.max=v-O,_.min=O,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Et(n.amount||n.each)||0,r=r&&p<0?Kf(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},kd=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Mt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(dr(r)?0:Et(r))}},Ff=function(e,n){var r=Ot(e),s,i;return!r&&Zn(e)&&(s=r=e.radius||cn,e.values?(e=hn(e.values),(i=!dr(e[0]))&&(s*=s)):e=kd(e.increment)),zr(n,r?st(e)?function(a){return i=e(a),Math.abs(i-a)<=s?i:a}:function(a){for(var l=parseFloat(i?a.x:a),c=parseFloat(i?a.y:0),d=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+Et(a)}:kd(e))},If=function(e,n,r,s){return zr(Ot(e)?!n:r===!0?!!(r=0):!s,function(){return Ot(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},by=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)}},ky=function(e,n){return function(r){return e(parseFloat(r))+(n||Et(r))}},Cy=function(e,n,r){return Hf(e,n,0,1,r)},zf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},xy=function t(e,n,r){var s=n-e;return Ot(e)?zf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},My=function t(e,n,r){var s=n-e,i=s*2;return Ot(e)?zf(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?wf:ad),r+=e.substr(n,s-n)+If(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Hf=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)})},vy=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=xt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Ot(e)&&!Ot(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ys(Ot(e)?[]:{},e));if(!u){for(c in n)vd.call(l,e,c,"get",n[c]);i=function(g){return Ed(g,l)||(a?e.p:e)}}}return zr(r,i)},Yf=function(e,n,r){var s=e.labels,i=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&&Ta(),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,Wf=[],jf=function(e){if(e)if(e=!e.name&&e.default||e,od()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Ed,add:vd,kill:zy,modifier:Iy,rawVars:0},a={targetTest:0,get:0,getSetter:Od,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;dn(s,dn(Da(e,i),a)),ys(s.prototype,ys(i,Da(e,a))),Kt[s.prop=n]=s,e.targetTest&&(Sa.push(s),hd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Cf(n,s),e.register&&e.register(It,s,Ft)}else Wf.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]},Cd=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*He+.5|0},Zf=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(ad),!n)c=+s[0]%360/360,d=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(d+1):u+d-u*d,i=u*2-a,s.length>3&&(s[3]*=1),s[0]=Cd(c+1/3,i,a),s[1]=Cd(c,i,a),s[2]=Cd(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(_f),r&&s.length<4&&(s[3]=1),s}else s=e.match(ad)||co.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/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},Uf=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},qf=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=Zf(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=Uf(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")}(),Sy=/hsl[a]?\(/,Gf=function(e){var n=e.join(" "),r;if(Hr.lastIndex=0,Hr.test(n))return r=Sy.test(n),e[1]=qf(e[1],r),e[0]=qf(e[0],r,Uf(e[1])),!0},uo,Qt=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,S,M,D;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(D=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),S=1),C||(c=d(p)),S)for(m=0;m<l.length;m++)l[m](M,f,D,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){bf&&(!cd&&od()&&(Un=cd=window,dd=Un.document||{},Gt.gsap=It,(Un.gsapVersions||(Un.gsapVersions=[])).push(It.version),kf(Ma||Un.GreenSockGlobals||!Un.gsap&&Un||{}),Wf.forEach(jf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},uo=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),uo=0,d=ro},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(S,M,D,v){_(S,M,D,v),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),fi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},Ty=/^[\d.\-M][\d.\-,\s]/,Dy=/["']/g,Oy=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(Dy,"").trim():+d,s=c.substr(l+1).trim();return n},Ey=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)},$y=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Oy(n[1])]:Ey(e).split(",").map(Tf)):xe._CE&&Ty.test(e)?xe._CE("",e):r},Kf=function(e){return function(n){return 1-e(1-n)}},Xf=function t(e,n){for(var r=e._first,s;r;)r instanceof Lt?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]||$y(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},Qf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},xd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/sd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*iy((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:Qf(l);return i=sd/i,c.config=function(d,u){return t(e,d,u)},c},Md=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Qf(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",xd("in"),xd("out"),xd()),function(t,e){var n=1/e,r=2*n,s=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<s?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ks("Bounce",function(a){return 1-i(1-a)},i)}(7.5625,2.75),ks("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ks("Circ",function(t){return-(pf(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-sy(t*ny)+1}),ks("Back",Md("in"),Md("out"),Md()),xe.SteppedEase=xe.steps=Gt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),i=n?1:0,a=1-We;return function(l){return((s*oo(0,a,l)|0)+i)*r}}},ai.ease=xe["quad.out"],Rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return pd+=t+","+t+"Params,"});var Jf=function(e,n){this.id=ry++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:vf,this.set=n?n.getSetter:Od},ho=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,ui(this,+n.duration,1,1),this.data=n.data,Ge&&(this._ctx=Ge,Ge.data.push(this)),uo||Qt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ui(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(fi(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Pa(this,r),!i._dp||i.parent||Pf(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&qn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===We||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Sf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+$f(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)+$f(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?Ea(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),$a(this),hy(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?Ea(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ly);var s=Dt;return Dt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Dt=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Nf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Nf(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(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:Df,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 Lt=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&&Lf(cr(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(s,i,a){return io(0,arguments,this),this},n.from=function(s,i,a){return io(1,arguments,this),this},n.fromTo=function(s,i,a,l){return io(2,arguments,this),this},n.set=function(s,i,a){return i.duration=0,i.parent=this,so(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new _t(s,i,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,k,S,M,D,v;if(this!==Je&&u>c&&s>=0&&(u=c),u!==this._tTime||a||h){if(l!==this._time&&d&&(u+=this._time-l,s+=this._time-l),f=u,S=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(D=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Mt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=di(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),D&&p&1&&(f=d-f,v=1),p!==M&&!this._lock){var O=D&&M&1,E=O===(D&&p&1);if(p<M&&(O=!O),l=O?0:u%d?d:u,this._lock=1,this.render(l||(v?0:Mt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Xt(this,"onRepeat"),this.vars.repeatRefresh&&!v&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=O?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!v&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Xf(this,v)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=gy(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(Xt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-We);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Dt&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-We:We);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-We)._zTime=f>=l?1:-1,this._ts))return this._start=S,$a(this),this.render(s,i,a);this._onUpdate&&!i&&Xt(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(S===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Ir(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(Xt(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(dr(i)||(i=un(this,i,s)),!(s instanceof ho)){if(Ot(s))return s.forEach(function(l){return a.add(l,i)}),this;if(xt(s))return this.addLabel(s,i);if(st(s))s=_t.delayedCall(0,s);else return this}return this!==s?qn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-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):(Oa(this,s),s===this._recent&&(this._recent=this._last),ws(this))},n.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Mt(Qt.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},n.addLabel=function(s,i){return this.labels[s]=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?cy(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),Yf(this,un(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Yf(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&&(Sf(Je,Ea(s,Je)),xf=Qt.frame),Qt.frame>=Mf){Mf+=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(Lt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Py=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,i0,null,i),d=0,u=0,h,f,m,g,p,_,y,C;for(c.b=r,c.e=s,r+="",s+="",(y=~s.indexOf("random("))&&(s=ao(s)),a&&(C=[r,s],a(C,e,n),r=C[0],s=C[1]),f=r.match(ld)||[];h=ld.exec(s);)g=h[0],p=s.substring(d,h.index),m?m=(m+1)%5:p.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(_=parseFloat(f[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:_,c:g.charAt(1)==="="?ci(_,g)-_:parseFloat(g)-_,m:m&&m<4?Math.round:0},d=ld.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(yf.test(s)||y)&&(c.e=0),this._pt=c,c},vd=function(e,n,r,s,i,a,l,c,d,u){st(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:st(h)?d?e[n.indexOf("set")||!st(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=st(h)?d?Ay:r0:Dd,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+(Et(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Sd)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?Fy:s0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&ud(n,s),Py.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Ly=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Ot(e)||gf(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},e0=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]:Ly(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,Sd,Td=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!rd,S=e.timeline,M,D,v,O,E,I,j,$,F,G,T,x,V;if(S&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?Kf(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=Da(s,hd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?va:ay),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(va),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(va):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,D=0;D<_.length;D++){if(E=_[D],j=E._gsap||gd(_)[D]._gsap,e._ptLookup[D]=G={},fd[j.id]&&Fr.length&&Ta(),T=C===_?D:C.indexOf(E),$&&(F=new $).init(E,x||M,e,T,C)!==!1&&(e._pt=O=new Ft(e._pt,E,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Z){G[Z]=O}),F.priority&&(I=1)),!$||x)for(v in M)Kt[v]&&(F=e0(v,M,e,T,E,C))?F.priority&&(I=1):G[v]=O=vd.call(e,E,v,"get",M[v],T,C,0,s.stringFilter);e._op&&e._op[D]&&e.kill(E,e._op[D]),k&&e._pt&&(Yr=e,Je.killTweensOf(E,G,e.globalTime(n)),V=!e.parent,Yr=0),e._pt&&c&&(fd[j.id]=1)}I&&o0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!V,f&&n<=0&&S.render(cn,!0,!0)},Vy=function(e,n,r,s,i,a,l,c){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,h,f,m;if(!d)for(d=e._ptCache[n]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Sd=1,e.vars[n]="+=0",Td(e,l),Sd=0,c?no(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=ft(r)+Et(h.e)),h.b&&(h.b=u.s+Et(h.b))},Ny=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},By=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Ot(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},fo=function(e,n,r,s,i){return st(e)?e.call(n,r,s,i):xt(e)&&~e.indexOf("random(")?ao(e):e},t0=pd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",n0={};Rt(t0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return n0[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,k=(Ot(r)||gf(r)?dr(r[0]):"length"in s)?[r]:hn(r),S,M,D,v,O,E,I,j;if(l._targets=k.length?gd(k):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||xa(d)||xa(u)){if(s=l.vars,S=l.timeline=new Lt({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),S.kill(),S.parent=S._dp=cr(l),S._start=0,f||xa(d)||xa(u)){if(v=k.length,I=f&&Rf(f),Zn(f))for(O in f)~t0.indexOf(O)&&(j||(j={}),j[O]=f[O]);for(M=0;M<v;M++)D=Da(s,n0),D.stagger=0,y&&(D.yoyoEase=y),j&&ys(D,j),E=k[M],D.duration=+fo(d,cr(l),M,E,k),D.delay=(+fo(u,cr(l),M,E,k)||0)-l._delay,!f&&v===1&&D.delay&&(l._delay=u=D.delay,l._start+=u,D.delay=0),S.to(E,D,I?I(M,E,k):0),S._ease=xe.none;S.duration()?d=u=0:l.timeline=0}else if(g){so(dn(S.vars.defaults,{ease:"none"})),S._ease=bs(g.ease||s.ease||"none");var $=0,F,G,T;if(Ot(g))g.forEach(function(x){return S.to(k,x,">")}),S.duration();else{D={};for(O in g)O==="ease"||O==="easeEach"||By(O,g[O],D,g.easeEach);for(O in D)for(F=D[O].sort(function(x,V){return x.t-V.t}),$=0,M=0;M<F.length;M++)G=F[M],T={ease:G.e,duration:(G.t-(M?F[M-1].t:0))/100*d},T[O]=G.v,S.to(k,T,$),$+=T.duration;S.duration()<d&&S.to({},{duration:d-S.duration()})}}d||l.duration(d=S.duration())}else l.timeline=0;return m===!0&&!rd&&(Yr=cr(l),Je.killTweensOf(k),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)&&fy(cr(l))&&C.data!=="nested")&&(l._tTime=-We,l.render(Math.max(0,-u)||0)),_&&Lf(cr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-We&&!u?c:s<We?0:s,f,m,g,p,_,y,C,k,S;if(!d)py(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Mt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Mt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(S=this._yEase,f=d-f),_=di(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&Xf(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Mt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Vf(this,u?s:f,a,i,h))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&g!==_))return this;if(d!==this._dur)return this.render(s,i,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(S||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(Xt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&_d(this,s,i,a),Xt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&Xt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&_d(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Ir(this,1),!i&&!(u&&!l)&&(h||l||y)&&(Xt(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},n.resetTo=function(s,i,a,l,c){uo||Qt.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Td(this,d),u=this._ease(d/this._dur),Vy(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Pa(this,0),this.parent||Ef(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")&&uy(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=Ny(l,i)),y=l.length;y--;)if(~c.indexOf(l[y])){f=d[y],i==="all"?(h[y]=i,g=f,m={}):(m=h[y]=h[y]||{},g=i);for(p in g)_=f&&f[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Oa(this,_,"_pt"),delete f[p]),m!=="all"&&(m[p]=1)}return this._initted&&!this._pt&&u&&lo(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return io(1,arguments)},e.delayedCall=function(s,i,a,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(s,i,a){return io(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,a){return Je.killTweensOf(s,i,a)},e}(ho);dn(_t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Rt("staggerTo,staggerFrom,staggerFromTo",function(t){_t[t]=function(){var e=new Lt,n=wd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Dd=function(e,n,r){return e[n]=r},r0=function(e,n,r){return e[n](r)},Ay=function(e,n,r,s){return e[n](s.fp,r)},Ry=function(e,n,r){return e.setAttribute(n,r)},Od=function(e,n){return st(e[n])?r0:id(e[n])&&e.setAttribute?Ry:Dd},s0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Fy=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},i0=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Ed=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Iy=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},zy=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?Oa(this,n,"_pt"):n.dep||(r=1),n=s;return!r},Hy=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},o0=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||s0,this.d=c||this,this.set=d||Dd,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=Hy,this.m=r,this.mt=i,this.tween=s},t}();Rt(pd+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return hd[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=Lt,Je=new Lt({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=Gf;var Cs=[],La={},Yy=[],a0=0,Wy=0,$d=function(e){return(La[e]||Yy).map(function(n){return n()})},Pd=function(){var e=Date.now(),n=[];e-a0>2&&($d("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))}),$d("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),a0=e,$d("matchMedia"))},l0=function(){function t(n,r){this.selector=r&&bd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Wy++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){st(r)&&(i=s,s=r,r=st);var a=this,l=function(){var d=Ge,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=bd(i)),Ge=a,h=s.apply(a,arguments),st(h)&&a._r.push(h),Ge=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===st?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Ge;Ge=null,r(this),Ge=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof _t&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,d;c--;)d=i.data[c],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)d=i.data[c],d instanceof Lt?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}(),jy=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 l0(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(Pd):c.addEventListener("change",Pd)));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}(),Va={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 jf(s)})},timeline:function(e){return new Lt(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?Df:Tf;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&&Ed(1,hi)}:l.set(e,c);return a?d:function(u){return d(e,c,r?u+r:u,l,1)}},quickTo:function(e,n,r){var s,i=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)),Of(ai,e||{})},config:function(e){return Of(qt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,i=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!Kt[l]&&!Gt[l]&&no(n+" effect requires "+l+" plugin.")}),md[n]=function(l,c,d){return r(hn(l),dn(c||{},i),d)},a&&(Lt.prototype[n]=function(l,c,d){return this.add(md[n](l,Zn(c)?c:(d=c)&&{},this),d)})},registerEase:function(e,n){xe[e]=bs(n)},parseEase:function(e,n){return arguments.length?bs(e,n):xe},getById:function(e){return Je.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Lt(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 l0(e,n):Ge},matchMedia:function(e){return new jy(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()})||Pd()},addEventListener:function(e,n){var r=La[e]||(La[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=La[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:xy,wrapYoyo:My,distribute:Rf,random:If,snap:Ff,normalize:Cy,getUnit:Et,clamp:yy,splitColor:Zf,toArray:hn,selector:bd,mapRange:Hf,pipe:by,unitize:ky,interpolate:vy,shuffle:Af},install:kf,effects:md,ticker:Qt,updateRoot:Lt.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:Cf,Tween:_t,Timeline:Lt,Animation:ho,getCache:_s,_removeLinkedListItem:Oa,reverting:function(){return Dt},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return rd=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Va[t]=_t[t]}),Qt.add(Lt.updateRoot),hi=Va.to({},{duration:0});var Zy=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Uy=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=Zy(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},Ld=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}Uy(l,i)}}}},It=Va.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)}},Ld("roundProps",kd),Ld("modifiers"),Ld("snap",Ff))||Va;_t.version=Lt.version=It.version="3.12.5",bf=1,od()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var qy=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Vd=xe.Sine;xe.Expo,xe.Circ;/*!
|
|
9
|
+
*/var qt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ai={duration:.5,overwrite:!1,delay:0},ld,Dt,Ge,cn=1e8,We=1/cn,cd=Math.PI*2,sy=cd/4,iy=0,_f=Math.sqrt,oy=Math.cos,ay=Math.sin,xt=function(e){return typeof e=="string"},st=function(e){return typeof e=="function"},dr=function(e){return typeof e=="number"},dd=function(e){return typeof e>"u"},Zn=function(e){return typeof e=="object"},At=function(e){return e!==!1},ud=function(){return typeof window<"u"},Sa=function(e){return st(e)||xt(e)},yf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ot=Array.isArray,hd=/(?:-?\.?\d|\.)+/gi,wf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,li=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fd=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,bf=/[+-]=-?[.\d]+/,kf=/[^,'"\[\]\s]+/gi,ly=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Je,Un,md,pd,Gt={},va={},Cf,xf=function(e){return(va=ys(e,Gt))&&It},gd=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)},Mf=function(e,n){return e&&(Gt[e]=n)&&va&&(va[e]=n)||Gt},ro=function(){return 0},cy={suppressEvents:!0,isStart:!0,kill:!1},Ta={suppressEvents:!0,kill:!1},dy={suppressEvents:!0},_d={},Fr=[],yd={},Sf,Kt={},wd={},vf=30,Da=[],bd="",kd=function(e){var n=e[0],r,s;if(Zn(n)||st(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Da.length;s--&&!Da[s].targetTest(n););r=Da[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new t0(e[s],r)))||e.splice(s,1);return e},_s=function(e){return e._gsap||kd(hn(e))[0]._gsap},Tf=function(e,n,r){return(r=e[n])&&st(r)?e[n]():dd(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},uy=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},Oa=function(){var e=Fr.length,n=Fr.slice(0),r,s;for(yd={},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)},Df=function(e,n,r,s){Fr.length&&!Dt&&Oa(),e.render(n,r,s||Dt&&n<0&&(e._initted||e._startAt)),Fr.length&&!Dt&&Oa()},Of=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(kf).length<2?n:xt(e)?e.trim():e},Ef=function(e){return e},dn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},hy=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},$f=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},Ea=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?hy(Ot(e.keyframes)):dn;if(At(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},fy=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Pf=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},$a=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},my=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Cd=function(e,n,r,s){return e._startAt&&(Dt?e._startAt.revert(Ta):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},py=function t(e){return!e||e._ts&&t(e.parent)},Lf=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},Pa=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},La=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||We)||0))},Na=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)),La(e),r._dirty||ws(r,e)),e},Nf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Pa(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)),Pf(e,n,"_first","_last",e._sort?"_start":0),xd(n)||(e._recent=n),s||Nf(e,n),e._ts<0&&Na(e,e._tTime),e},Vf=function(e,n){return(Gt.ScrollTrigger||gd("scrollTrigger",n))&&Gt.ScrollTrigger.create(n,e)},Bf=function(e,n,r,s,i){if(Pd(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Sf!==Qt.frame)return Fr.push(e),e._lazy=[i,s],1},gy=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},xd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},_y=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&gy(e)&&!(!e._initted&&xd(e))||(e._ts<0||e._dp._ts<0)&&!xd(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&&Bf(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&&Cd(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)},yy=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&&Na(e,e._tTime=e._tDur*l),e.parent&&La(e),r||ws(e.parent,e),e},Af=function(e){return e instanceof Lt?ws(e):ui(e,e._dur)},wy={_start:0,endTime:ro,totalDuration:ro},un=function t(e,n,r){var s=e.labels,i=e._recent||wy,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*(Ot(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},io=function(e,n,r){var s=dr(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=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},Et=function(e,n){return!xt(e)||!(n=ly.exec(e))?"":n[1]},by=function(e,n,r){return zr(r,function(s){return oo(e,n,s)})},Md=[].slice,Rf=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},ky=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return xt(s)&&!n||Rf(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&&(md||!fi())?Md.call((n||pd).querySelectorAll(e),0):Ot(e)?ky(e,r):Rf(e)?Md.call(e,0):e?[e]:[]},Sd=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")||pd.createElement("div"):e)}},Ff=function(e){return e.sort(function(){return .5-Math.random()})},If=function(e){if(st(e))return e;var n=Zn(e)?e:{each:e},r=bs(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return xt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,v,M,D,S,O,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,cn])[1],!E){for(S=-cn;S<(S=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,S=0,O=cn,D=0;D<p;D++)k=D%E-y,v=C-(D/E|0),_[D]=M=d?Math.abs(d==="y"?v:k):_f(k*k+v*v),M>S&&(S=M),M<O&&(O=M);s==="random"&&Ff(_),_.max=S-O,_.min=O,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Et(n.amount||n.each)||0,r=r&&p<0?Qf(r):r}return p=(_[f]-_.min)/_.max||0,Mt(_.b+(r?r(p):p)*_.v)+_.u}},vd=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Mt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(dr(r)?0:Et(r))}},zf=function(e,n){var r=Ot(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=vd(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+Et(a)}:vd(e))},Hf=function(e,n,r,s){return zr(Ot(e)?!n:r===!0?!!(r=0):!s,function(){return Ot(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},Cy=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)}},xy=function(e,n){return function(r){return e(parseFloat(r))+(n||Et(r))}},My=function(e,n,r){return Wf(e,n,0,1,r)},Yf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},Sy=function t(e,n,r){var s=n-e;return Ot(e)?Yf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},vy=function t(e,n,r){var s=n-e,i=s*2;return Ot(e)?Yf(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?kf:hd),r+=e.substr(n,s-n)+Hf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Wf=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)})},Ty=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=xt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Ot(e)&&!Ot(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ys(Ot(e)?[]:{},e));if(!u){for(c in n)Ed.call(l,e,c,"get",n[c]);i=function(g){return Vd(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&&Oa(),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,Zf=[],Uf=function(e){if(e)if(e=!e.name&&e.default||e,ud()||e.headless){var n=e.name,r=st(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:ro,render:Vd,add:Ed,kill:Yy,modifier:Hy,rawVars:0},a={targetTest:0,get:0,getSetter:Nd,aliases:{},register:0};if(fi(),e!==s){if(Kt[n])return;dn(s,dn(Ea(e,i),a)),ys(s.prototype,ys(i,Ea(e,a))),Kt[s.prop=n]=s,e.targetTest&&(Da.push(s),_d[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Mf(n,s),e.register&&e.register(It,s,Ft)}else Zf.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]},Td=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},qf=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(hd),!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]=Td(c+1/3,i,a),s[1]=Td(c,i,a),s[2]=Td(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(wf),r&&s.length<4&&(s[3]=1),s}else s=e.match(hd)||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},Gf=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},Kf=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=qf(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=Gf(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")}(),Dy=/hsl[a]?\(/,Xf=function(e){var n=e.join(" "),r;if(Hr.lastIndex=0,Hr.test(n))return r=Dy.test(n),e[1]=Kf(e[1],r),e[0]=Kf(e[0],r,Gf(e[1])),!0},uo,Qt=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,v,M,D;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(D=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),v=1),C||(c=d(p)),v)for(m=0;m<l.length;m++)l[m](M,f,D,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){Cf&&(!md&&ud()&&(Un=md=window,pd=Un.document||{},Gt.gsap=It,(Un.gsapVersions||(Un.gsapVersions=[])).push(It.version),xf(va||Un.GreenSockGlobals||!Un.gsap&&Un||{}),Zf.forEach(Uf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},uo=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),uo=0,d=ro},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(v,M,D,S){_(v,M,D,S),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),fi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),fi=function(){return!uo&&Qt.wake()},xe={},Oy=/^[\d.\-M][\d.\-,\s]/,Ey=/["']/g,$y=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(Ey,"").trim():+d,s=c.substr(l+1).trim();return n},Py=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)},Ly=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[$y(n[1])]:Py(e).split(",").map(Of)):xe._CE&&Oy.test(e)?xe._CE("",e):r},Qf=function(e){return function(n){return 1-e(1-n)}},Jf=function t(e,n){for(var r=e._first,s;r;)r instanceof Lt?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]||Ly(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},e0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Dd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/cd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*ay((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:e0(l);return i=cd/i,c.config=function(d,u){return t(e,d,u)},c},Od=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)}:e0(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",Dd("in"),Dd("out"),Dd()),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-(_f(1-t*t)-1)}),ks("Sine",function(t){return t===1?1:-oy(t*sy)+1}),ks("Back",Od("in"),Od("out"),Od()),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 bd+=t+","+t+"Params,"});var t0=function(e,n){this.id=iy++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Tf,this.set=n?n.getSetter:Nd},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(Na(this,r),!i._dp||i.parent||Nf(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),Df(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Lf(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)+Lf(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?Pa(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),La(this),my(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?Pa(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=dy);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,Af(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Af(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:Ef,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 Lt=function(t){gf(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&&Vf(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,k,v,M,D,S;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,v=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(D=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Mt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=di(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),D&&p&1&&(f=d-f,S=1),p!==M&&!this._lock){var O=D&&M&1,E=O===(D&&p&1);if(p<M&&(O=!O),l=O?0:u%d?d:u,this._lock=1,this.render(l||(S?0:Mt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Xt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=O?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Jf(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=yy(this,Mt(l),Mt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(Xt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-We);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Dt&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-We:We);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-We)._zTime=f>=l?1:-1,this._ts))return this._start=v,La(this),this.render(s,i,a);this._onUpdate&&!i&&Xt(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(v===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Ir(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(Xt(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(dr(i)||(i=un(this,i,s)),!(s instanceof ho)){if(Ot(s))return s.forEach(function(l){return a.add(l,i)}),this;if(xt(s))return this.addLabel(s,i);if(st(s))s=_t.delayedCall(0,s);else return this}return this!==s?qn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-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):($a(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?uy(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&&(Df(Je,Pa(s,Je)),Sf=Qt.frame),Qt.frame>=vf){vf+=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(Lt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ny=function(e,n,r,s,i,a,l){var c=new Ft(this._pt,e,n,0,1,a0,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(fd)||[];h=fd.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=fd.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(bf.test(s)||y)&&(c.e=0),this._pt=c,c},Ed=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?Fy:i0:Ld,g;if(xt(s)&&(~s.indexOf("random(")&&(s=ao(s)),s.charAt(1)==="="&&(g=ci(f,s)+(Et(f)||0),(g||g===0)&&(s=g))),!u||f!==s||$d)return!isNaN(f*s)&&s!==""?(g=new Ft(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?zy:o0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&gd(n,s),Ny.call(this,e,n,f,s,m,c||qt.stringFilter,d))},Vy=function(e,n,r,s,i){if(st(e)&&(e=fo(e,i,n,r,s)),!Zn(e)||e.style&&e.nodeType||Ot(e)||yf(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},n0=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]:Vy(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,$d,Pd=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!ld,v=e.timeline,M,D,S,O,E,I,j,$,F,G,T,x,N;if(v&&(!f||!i)&&(i="none"),e._ease=bs(i,ai.ease),e._yEase=h?Qf(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=!v&&!!s.runBackwards,!v||f&&!s.stagger){if($=_[0]?_s(_[0]).harness:0,x=$&&s[$.prop],M=Ea(s,_d),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Ta:cy),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(Ta),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),S=dn({overwrite:!1,data:"isFromStart",lazy:l&&!p&&At(c),immediateRender:l,stagger:0,parent:y},M),x&&(S[$.prop]=x),Ir(e._startAt=_t.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Dt?e._startAt.revert(Ta):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,D=0;D<_.length;D++){if(E=_[D],j=E._gsap||kd(_)[D]._gsap,e._ptLookup[D]=G={},yd[j.id]&&Fr.length&&Oa(),T=C===_?D:C.indexOf(E),$&&(F=new $).init(E,x||M,e,T,C)!==!1&&(e._pt=O=new Ft(e._pt,E,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Z){G[Z]=O}),F.priority&&(I=1)),!$||x)for(S in M)Kt[S]&&(F=n0(S,M,e,T,E,C))?F.priority&&(I=1):G[S]=O=Ed.call(e,E,S,"get",M[S],T,C,0,s.stringFilter);e._op&&e._op[D]&&e.kill(E,e._op[D]),k&&e._pt&&(Yr=e,Je.killTweensOf(E,G,e.globalTime(n)),N=!e.parent,Yr=0),e._pt&&c&&(yd[j.id]=1)}I&&l0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!N,f&&n<=0&&v.render(cn,!0,!0)},By=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 $d=1,e.vars[n]="+=0",Pd(e,l),$d=0,c?no(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=ft(r)+Et(h.e)),h.b&&(h.b=u.s+Et(h.b))},Ay=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},Ry=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Ot(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},fo=function(e,n,r,s,i){return st(e)?e.call(n,r,s,i):xt(e)&&~e.indexOf("random(")?ao(e):e},r0=bd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",s0={};Rt(r0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return s0[t]=1});var _t=function(t){gf(e,t);function e(r,s,i,a){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,a?s:so(s))||this;var c=l.vars,d=c.duration,u=c.delay,h=c.immediateRender,f=c.stagger,m=c.overwrite,g=c.keyframes,p=c.defaults,_=c.scrollTrigger,y=c.yoyoEase,C=s.parent||Je,k=(Ot(r)||yf(r)?dr(r[0]):"length"in s)?[r]:hn(r),v,M,D,S,O,E,I,j;if(l._targets=k.length?kd(k):no("GSAP target "+r+" not found. https://gsap.com",!qt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Sa(d)||Sa(u)){if(s=l.vars,v=l.timeline=new Lt({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),v.kill(),v.parent=v._dp=cr(l),v._start=0,f||Sa(d)||Sa(u)){if(S=k.length,I=f&&If(f),Zn(f))for(O in f)~r0.indexOf(O)&&(j||(j={}),j[O]=f[O]);for(M=0;M<S;M++)D=Ea(s,s0),D.stagger=0,y&&(D.yoyoEase=y),j&&ys(D,j),E=k[M],D.duration=+fo(d,cr(l),M,E,k),D.delay=(+fo(u,cr(l),M,E,k)||0)-l._delay,!f&&S===1&&D.delay&&(l._delay=u=D.delay,l._start+=u,D.delay=0),v.to(E,D,I?I(M,E,k):0),v._ease=xe.none;v.duration()?d=u=0:l.timeline=0}else if(g){so(dn(v.vars.defaults,{ease:"none"})),v._ease=bs(g.ease||s.ease||"none");var $=0,F,G,T;if(Ot(g))g.forEach(function(x){return v.to(k,x,">")}),v.duration();else{D={};for(O in g)O==="ease"||O==="easeEach"||Ry(O,g[O],D,g.easeEach);for(O in D)for(F=D[O].sort(function(x,N){return x.t-N.t}),$=0,M=0;M<F.length;M++)G=F[M],T={ease:G.e,duration:(G.t-(M?F[M-1].t:0))/100*d},T[O]=G.v,v.to(k,T,$),$+=T.duration;v.duration()<d&&v.to({},{duration:d-v.duration()})}}d||l.duration(d=v.duration())}else l.timeline=0;return m===!0&&!ld&&(Yr=cr(l),Je.killTweensOf(k),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)),_&&Vf(cr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-We&&!u?c:s<We?0:s,f,m,g,p,_,y,C,k,v;if(!d)_y(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Mt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Mt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(v=this._yEase,f=d-f),_=di(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&Jf(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Mt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Bf(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=(v||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(Xt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&Cd(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&&Cd(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||Pd(this,d),u=this._ease(d/this._dur),By(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Na(this,0),this.parent||Pf(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")&&fy(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=Ay(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)&&$a(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 Lt,n=Md.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ld=function(e,n,r){return e[n]=r},i0=function(e,n,r){return e[n](r)},Fy=function(e,n,r,s){return e[n](s.fp,r)},Iy=function(e,n,r){return e.setAttribute(n,r)},Nd=function(e,n){return st(e[n])?i0:dd(e[n])&&e.setAttribute?Iy:Ld},o0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},zy=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},a0=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)},Vd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Hy=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},Yy=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?$a(this,n,"_pt"):n.dep||(r=1),n=s;return!r},Wy=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},l0=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||o0,this.d=c||this,this.set=d||Ld,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=Wy,this.m=r,this.mt=i,this.tween=s},t}();Rt(bd+"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 _d[t]=1}),Gt.TweenMax=Gt.TweenLite=_t,Gt.TimelineLite=Gt.TimelineMax=Lt,Je=new Lt({sortChildren:!1,defaults:ai,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),qt.stringFilter=Xf;var Cs=[],Va={},jy=[],c0=0,Zy=0,Bd=function(e){return(Va[e]||jy).map(function(n){return n()})},Ad=function(){var e=Date.now(),n=[];e-c0>2&&(Bd("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))}),Bd("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),c0=e,Bd("matchMedia"))},d0=function(){function t(n,r){this.selector=r&&Sd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Zy++,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=Sd(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 Lt?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}(),Uy=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 d0(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(Ad):c.addEventListener("change",Ad)));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}(),Ba={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 Uf(s)})},timeline:function(e){return new Lt(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?Ef:Of;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&&Vd(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)),$f(ai,e||{})},config:function(e){return $f(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.")}),wd[n]=function(l,c,d){return r(hn(l),dn(c||{},i),d)},a&&(Lt.prototype[n]=function(l,c,d){return this.add(wd[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 Lt(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 d0(e,n):Ge},matchMedia:function(e){return new Uy(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()})||Ad()},addEventListener:function(e,n){var r=Va[e]||(Va[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Va[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:Sy,wrapYoyo:vy,distribute:If,random:Hf,snap:zf,normalize:My,getUnit:Et,clamp:by,splitColor:qf,toArray:hn,selector:Sd,mapRange:Wf,pipe:Cy,unitize:xy,interpolate:Ty,shuffle:Ff},install:xf,effects:wd,ticker:Qt,updateRoot:Lt.updateRoot,plugins:Kt,globalTimeline:Je,core:{PropTween:Ft,globals:Mf,Tween:_t,Timeline:Lt,Animation:ho,getCache:_s,_removeLinkedListItem:$a,reverting:function(){return Dt},context:function(e){return e&&Ge&&(Ge.data.push(e),e._ctx=Ge),Ge},suppressOverwrites:function(e){return ld=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ba[t]=_t[t]}),Qt.add(Lt.updateRoot),hi=Ba.to({},{duration:0});var qy=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Gy=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=qy(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},Rd=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}Gy(l,i)}}}},It=Ba.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)}},Rd("roundProps",vd),Rd("modifiers"),Rd("snap",zf))||Ba;_t.version=Lt.version=It.version="3.12.5",Cf=1,ud()&&fi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var Ky=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Fd=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 c0,Wr,mi,Nd,xs,d0,Bd,Gy=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,u0=1e8,Ad=/([A-Z])/g,Ky=/(left|right|width|margin|padding|x)/i,Xy=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Rd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Qy=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)},Jy=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)},ew=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},h0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},f0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},tw=function(e,n,r){return e.style[n]=r},nw=function(e,n,r){return e.style.setProperty(n,r)},rw=function(e,n,r){return e._gsap[n]=r},sw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},iw=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},ow=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",zt=et+"Origin",aw=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"))},lw=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?n[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ad,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=Bd(),(!i||!i.isStart)&&!r[et]&&(m0(r),s.zOrigin&&r[zt]&&(r[zt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},p0=function(e,n){var r={target:e,props:[],revert:lw,save:aw};return e._gsap||It.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},g0,Fd=function(e,n){var r=Wr.createElementNS?Wr.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Wr.createElement(e);return r&&r.style?r:Wr.createElement(e)},Kn=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Ad,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},_0="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--&&!(_0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?_0[a]:"")+e},Id=function(){Gy()&&window.document&&(c0=window,Wr=c0.document,mi=Wr.documentElement,xs=Fd("div")||{style:{}},Fd("div"),et=_i(et),zt=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",g0=!!_i("perspective"),Bd=It.core.reverting,Nd=1)},zd=function t(e){var n=Fd("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},y0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},w0=function(e){var n;try{n=e.getBBox()}catch{n=zd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===zd||(n=zd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+y0(e,["x","cx","x1"])||0,y:+y0(e,["y","cy","y1"])||0,width:0,height:0}:n},b0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&w0(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(Ad,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?f0:h0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},k0={deg:1,rad:1,turn:1},cw={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=Ky.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||k0[s]||k0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&b0(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==="%")&&!cw[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 Nd||Id(),n in Gn&&n!=="transform"&&(n=Gn[n],~n.indexOf(",")&&(n=n.split(",")[0])),ur[n]&&n!=="transform"?(i=po(e,s),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:Ba(Kn(e,zt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Na[n]&&Na[n](e,n,r)||Kn(e,n)||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,i0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,S,M;if(l.b=r,l.e=s,r+="",s+="",s==="auto"&&(p=e.style[n],e.style[n]=s,s=Kn(e,n)||s,p?e.style[n]=p:vs(e,n)),u=[r,s],Gf(u),r=u[0],s=u[1],f=r.match(li)||[],M=s.match(li)||[],M.length){for(;h=li.exec(s);)_=h[0],C=s.substring(c,h.index),g?g=(g+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(g=1),_!==(p=f[d++]||"")&&(m=parseFloat(p)||0,S=p.substr((m+"").length),_.charAt(1)==="="&&(_=ci(m,_)+S),y=parseFloat(_),k=_.substr((y+"").length),c=li.lastIndex-k.length,k||(k=k||qt.units[n]||S,c===s.length&&(s+=k,l.e+=k)),S!==k&&(m=Zr(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?f0:h0;return yf.test(s)&&(l.e=0),this._pt=l,l},C0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},uw=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]=C0[r]||r,n[1]=C0[s]||s,n.join(" ")},hw=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)))}},Na={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,hw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],x0={},M0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},v0=function(e){var n=Kn(e,et);return M0(n)?mo:n.substr(7).match(_f).map(ft)},Hd=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)},Yd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Hd(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),S=parseFloat(k[0])||0,M=parseFloat(k[1])||0,D,v,O,E;r?c!==mo&&(v=m*_-g*p)&&(O=S*(_/v)+M*(-p/v)+(p*C-_*y)/v,E=S*(-g/v)+M*(m/v)-(m*C-g*y)/v,S=O,M=E):(D=w0(e),S=D.x+(~k[0].indexOf("%")?S/100*D.width:S),M=D.y+(~(k[1]||k[0]).indexOf("%")?M/100*D.height:M)),s||s!==!1&&l.smooth?(y=S-d,C=M-u,l.xOffset=h+(y*m+C*p)-y,l.yOffset=f+(y*g+C*_)-C):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[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 Jf(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,k,S,M,D,v,O,E,I,j,$,F,G,T,x,V,Z,ee,U,P,N,b,w,B;return u=h=f=p=_=y=C=k=S=0,m=g=1,r.svg=!!(e.getCTM&&b0(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=Hd(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),d=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",V=""):V=!n&&e.getAttribute("data-svg-origin"),Yd(e,V||d,!!V||r.originIsAbsolute,r.smooth!==!1,v)),M=r.xOrigin||0,D=r.yOrigin||0,v!==mo&&(j=v[0],$=v[1],F=v[2],G=v[3],u=T=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+D*F),h-=D-(M*$+D*G))):(B=v[6],b=v[7],U=v[8],P=v[9],N=v[10],w=v[11],u=v[12],h=v[13],f=v[14],O=gi(B,N),_=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),V=T*E+U*I,Z=x*E+P*I,ee=B*E+N*I,U=T*-I+U*E,P=x*-I+P*E,N=B*-I+N*E,w=b*-I+w*E,T=V,x=Z,B=ee),O=gi(-F,N),y=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),V=j*E-U*I,Z=$*E-P*I,ee=F*E-N*I,w=G*I+w*E,j=V,$=Z,F=ee),O=gi($,j),p=O*Ms,O&&(E=Math.cos(O),I=Math.sin(O),V=j*E+$*I,Z=T*E+x*I,$=$*E-j*I,x=x*E-T*I,j=V,T=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)),O=gi(T,x),C=Math.abs(O)>2e-4?O*Ms:0,S=w?1/(w<0?-w:w):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!M0(Kn(e,et)),V&&e.setAttribute("transform",V))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=ft(m),r.scaleY=ft(g),r.rotation=ft(p)+l,r.rotationX=ft(_)+l,r.rotationY=ft(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=S+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[zt]=Ba(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?mw:g0?S0:fw,r.uncache=0,r},Ba=function(e){return(e=e.split(" "))[0]+" "+e[1]},Wd=function(e,n,r){var s=Et(n);return ft(parseFloat(n)+parseFloat(Zr(e,"x",r+"px",s)))+s},fw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,S0(e,n)},Ss="0deg",go="0px",Ts=") ",S0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,S="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==Ss||u!==Ss)){var D=parseFloat(u)*pi,v=Math.sin(D),O=Math.cos(D),E;D=parseFloat(h)*pi,E=Math.cos(D),a=Wd(C,a,v*E*-k),l=Wd(C,l,-Math.sin(D)*-k),c=Wd(C,c,O*E*-k+k)}_!==go&&(S+="perspective("+_+Ts),(s||i)&&(S+="translate("+s+"%, "+i+"%) "),(M||a!==go||l!==go||c!==go)&&(S+=c!==go||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ts),d!==Ss&&(S+="rotate("+d+Ts),u!==Ss&&(S+="rotateY("+u+Ts),h!==Ss&&(S+="rotateX("+h+Ts),(f!==Ss||m!==Ss)&&(S+="skew("+f+", "+m+Ts),(g!==1||p!==1)&&(S+="scale("+g+", "+p+Ts),C.style[et]=S||"translate(0, 0)"},mw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),S=parseFloat(l),M,D,v,O,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=pi,d*=pi,M=Math.cos(c)*h,D=Math.sin(c)*h,v=Math.sin(c-d)*-f,O=Math.cos(c-d)*f,d&&(u*=pi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),v*=E,O*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,D*=E)),M=ft(M),D=ft(D),v=ft(v),O=ft(O)):(M=h,O=f,D=v=0),(k&&!~(a+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(k=Zr(m,"x",a,"px"),S=Zr(m,"y",l,"px")),(g||p||_||y)&&(k=ft(k+g-(g*M+p*v)+_),S=ft(S+p-(g*D+p*O)+y)),(s||i)&&(E=m.getBBox(),k=ft(k+s/100*E.width),S=ft(S+i/100*E.height)),E="matrix("+M+","+D+","+v+","+O+","+k+","+S+")",m.setAttribute("transform",E),C&&(m.style[et]=E)},pw=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*u0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*u0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,Qy),f.e=u,f.u="deg",e._props.push(r),f},T0=function(e,n){for(var r in n)e[r]=n[r];return e},gw=function(e,n,r){var s=T0({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,d,u,h,f,m,g;s.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),a[et]=n,l=po(r,1),vs(r,et),r.setAttribute("transform",d)):(d=getComputedStyle(r)[et],a[et]=n,l=po(r,1),a[et]=d);for(c in ur)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Et(d),g=Et(u),h=m!==g?Zr(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new Ft(e._pt,l,c,h,f-h,Rd),e._pt.u=g||0,e._props.push(c));T0(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});Na[e>1?"border"+t:t]=function(l,c,d,u,h){var f,m;if(arguments.length<4)return f=a.map(function(g){return hr(l,g,d)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},a.forEach(function(g,p){return m[g]=f[p]=f[p]||f[(p-1)/2|0]}),l.init(c,m,h)}});var D0={name:"css",register:Id,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,S,M,D,v,O;Nd||Id(),this.styles=this.styles||p0(e),O=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&e0(p,n,r,s,e,i)))){if(m=typeof u,g=Na[p],m==="function"&&(u=u.call(r,s,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=ao(u)),g)g(this,e,p,u,r)&&(v=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Hr.lastIndex=0,Hr.test(d)||(_=Et(d),y=Et(u)),y?_!==y&&(d=Zr(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),O.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],xt(d)&&~d.indexOf("random(")&&(d=ao(d)),Et(d+"")||d==="auto"||(d+=qt.units[p]||Et(hr(e,p))||""),(d+"").charAt(1)==="="&&(d=hr(e,p))):d=hr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Gn&&(p==="autoAlpha"&&(f===1&&hr(e,"visibility")==="hidden"&&h&&(f=0),O.push("visibility",0,l.visibility),jr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Gn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in ur,k){if(this.styles.save(p),S||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),D=n.smoothOrigin!==!1&&M.smooth,S=this._pt=new Ft(this._pt,l,et,0,1,M.renderTransform,M,0,-1),S.dep=1),p==="scale")this._pt=new Ft(this._pt,M,"scaleY",M.scaleY,(C?ci(M.scaleY,C+h):h)-M.scaleY||0,Rd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){O.push(zt,0,l[zt]),u=uw(u),M.svg?Yd(e,u,0,D,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Ba(d),Ba(u)));continue}else if(p==="svgOrigin"){Yd(e,u,1,D,0,this);continue}else if(p in x0){pw(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"){gw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(k||(h||h===0)&&(f||f===0)&&!Xy.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Et(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,k?M:l,p,f,(C?ci(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?ew:Rd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=Jy);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"){ud(p,u);continue}k||(p in l?O.push(p,0,l[p]):O.push(p,1,d||e[p])),a.push(p)}}v&&o0(this)},render:function(e,n){if(n.tween._time||!Bd())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:hr,aliases:Gn,getSetter:function(e,n,r){var s=Gn[n];return s&&s.indexOf(",")<0&&(n=s),n in ur&&n!==zt&&(e._gsap.x||hr(e,"x"))?r&&d0===r?n==="scale"?sw:rw:(d0=r||{})&&(n==="scale"?iw:ow):e.style&&!id(e.style[n])?tw:~n.indexOf("-")?nw:Od(e,n)},core:{_removeProperty:vs,_getMatrix:Hd}};It.utils.checkPrefix=_i,It.core.getStyleSaver=p0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){ur[i]=1});Rt(e,function(i){qt.units[i]="deg",x0[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(D0);var Ur=It.registerPlugin(D0)||It;Ur.core.Tween;const _w={__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:qy.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Vd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Vd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Vd.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))}},yw={class:"toast__content"},O0=De(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",yw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Ne,{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"]]),ww={key:0,class:"scope-textarea__label"},bw=["disabled","placeholder","veeBind","maxlength"],kw={key:1,class:"scope-textarea__error"},Cw=De({__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",ww,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,bw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",kw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-18bb6f92"]]),E0=t=>(o.pushScopeId("data-v-824188d9"),t=t(),o.popScopeId(),t),xw={class:"scope-dropzone__container"},Mw={key:0,class:"scope-dropzone__label"},vw={class:"scope-dropzone__content"},Sw=E0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drop file here or click to upload",-1)),Tw=E0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Dw={key:1,class:"scope-dropzone__files"},Ow={class:"scope-dropzone__file"},Ew={class:"scope-dropzone__file__img-wrapper"},$w=["src"],Pw={class:"scope-dropzone__file__options"},Lw={class:"scope-dropzone__file__name"},Vw=De({__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}=eh(),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",xw,[t.label?(o.openBlock(),o.createElementBlock("div",Mw,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",vw,[o.createVNode(o.unref(Ne),{icon:"file-bend"}),Sw,Tw,o.createVNode(o.unref(ha),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue"})]),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",Dw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",Ow,[o.createElementVNode("div",Ew,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,$w),o.createElementVNode("div",Pw,[o.createVNode(o.unref(Ne),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Ne),{icon:"trash",class:"scope-dropzone__file__remove",onClick:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",Lw,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-824188d9"]]),$0=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),Nw={class:"sidebar-popup-container"},Bw={class:"sidebar-popup__profile-info"},Aw=["src"],Rw={key:1,class:"sidebar-popup__profile-info__letter"},Fw={class:"sidebar-popup__profile-info__wrapper"},Iw={class:"sidebar-popup__profile-info__name"},zw={class:"sidebar-popup__profile-info__e-mail"},Hw=$0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Yw={class:"sidebar-popup__tabs"},Ww=["onClick"],jw={class:"sidebar-popup__tab__icon-wrapper"},Zw={class:"sidebar-popup__tab__name"},Uw=$0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),qw={class:"sidebar-popup__actions-buttons"},Gw=De({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",Nw,[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(Ne,{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",Bw,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,Aw)):(o.openBlock(),o.createElementBlock("div",Rw,o.toDisplayString(l.value),1)),o.createElementVNode("div",Fw,[o.createElementVNode("div",Iw,o.toDisplayString(t.user.name),1),o.createElementVNode("div",zw,o.toDisplayString(t.user.email),1)])]),Hw,o.createElementVNode("div",Yw,[(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",jw,[o.createVNode(Ne,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Zw,o.toDisplayString(g.name),1)],10,Ww))),256))]),Uw,o.createElementVNode("div",qw,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]),Kw={class:"scope-tooltip"},fn=De({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Kw,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Ne),{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"]]),Xw={class:"no-more"},Qw={class:"no-more__icon-wrapper"},Jw={class:"no-more__text-wrapper"},eb={class:"no-more__title"},tb={class:"no-more__subtitle"},jd=De({__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",Xw,[o.createElementVNode("div",Qw,[o.createVNode(o.unref(Ne),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",Jw,[o.createElementVNode("div",eb,o.toDisplayString(t.title),1),o.createElementVNode("div",tb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),P0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),nb={class:"long-short"},rb=P0(()=>o.createElementVNode("span",null,"L",-1)),sb={class:"long-short__item__text"},ib=P0(()=>o.createElementVNode("span",null,"S",-1)),ob={class:"long-short__item__text"},L0=De({__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",nb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[rb,o.createElementVNode("div",sb,o.toDisplayString(o.unref(Nt)(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}%`)},[ib,o.createElementVNode("div",ob,o.toDisplayString(o.unref(Nt)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);/*!
|
|
17
|
+
*/var u0,Wr,mi,Id,xs,h0,zd,Xy=function(){return typeof window<"u"},ur={},Ms=180/Math.PI,pi=Math.PI/180,gi=Math.atan2,f0=1e8,Hd=/([A-Z])/g,Qy=/(left|right|width|margin|padding|x)/i,Jy=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},ew=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)},tw=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)},nw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},m0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},p0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},rw=function(e,n,r){return e.style[n]=r},sw=function(e,n,r){return e.style.setProperty(n,r)},iw=function(e,n,r){return e._gsap[n]=r},ow=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},aw=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},lw=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},et="transform",zt=et+"Origin",cw=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])},g0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},dw=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(Hd,"-$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=zd(),(!i||!i.isStart)&&!r[et]&&(g0(r),s.zOrigin&&r[zt]&&(r[zt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},_0=function(e,n){var r={target:e,props:[],revert:dw,save:cw};return e._gsap||It.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},y0,Wd=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(Hd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,_i(n)||n,1)||""},w0="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--&&!(w0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?w0[a]:"")+e},jd=function(){Xy()&&window.document&&(u0=window,Wr=u0.document,mi=Wr.documentElement,xs=Wd("div")||{style:{}},Wd("div"),et=_i(et),zt=et+"Origin",xs.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",y0=!!_i("perspective"),zd=It.core.reverting,Id=1)},Zd=function t(e){var n=Wd("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},b0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},k0=function(e){var n;try{n=e.getBBox()}catch{n=Zd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Zd||(n=Zd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+b0(e,["x","cx","x1"])||0,y:+b0(e,["y","cy","y1"])||0,width:0,height:0}:n},C0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&k0(e))},Ss=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(Hd,"-$1").toLowerCase())):r.removeAttribute(n)}},jr=function(e,n,r,s,i,a){var l=new Ft(e._pt,n,r,0,1,a?p0:m0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},x0={deg:1,rad:1,turn:1},uw={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=Qy.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||x0[s]||x0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&C0(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:Ss(e,n)}else(m||a==="%")&&!uw[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 Id||jd(),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:Ra(Kn(e,zt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Aa[n]&&Aa[n](e,n,r)||Kn(e,n)||Tf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Zr(e,n,i,r)+r:i},hw=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,a0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,v,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:Ss(e,n)),u=[r,s],Xf(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,v=p.substr((m+"").length),_.charAt(1)==="="&&(_=ci(m,_)+v),y=parseFloat(_),k=_.substr((y+"").length),c=li.lastIndex-k.length,k||(k=k||qt.units[n]||v,c===s.length&&(s+=k,l.e+=k)),v!==k&&(m=Zr(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?p0:m0;return bf.test(s)&&(l.e=0),this._pt=l,l},M0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},fw=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]=M0[r]||r,n[1]=M0[s]||s,n.join(" ")},mw=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),Ss(r,l);c&&(Ss(r,et),a&&(a.svg&&r.removeAttribute("transform"),po(r,1),a.uncache=1,g0(s)))}},Aa={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new Ft(e._pt,n,r,0,0,mw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},mo=[1,0,0,1,0,0],S0={},v0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},T0=function(e){var n=Kn(e,et);return v0(n)?mo:n.substr(7).match(wf).map(ft)},Ud=function(e,n){var r=e._gsap||_s(e),s=e.style,i=T0(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=T0(e),c?s.display=c:Ss(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)},qd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Ud(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),v=parseFloat(k[0])||0,M=parseFloat(k[1])||0,D,S,O,E;r?c!==mo&&(S=m*_-g*p)&&(O=v*(_/S)+M*(-p/S)+(p*C-_*y)/S,E=v*(-g/S)+M*(m/S)-(m*C-g*y)/S,v=O,M=E):(D=k0(e),v=D.x+(~k[0].indexOf("%")?v/100*D.width:v),M=D.y+(~(k[1]||k[0]).indexOf("%")?M/100*D.height:M)),s||s!==!1&&l.smooth?(y=v-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=v,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[zt]="0px 0px",a&&(jr(a,l,"xOrigin",d,v),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",v+" "+M)},po=function(e,n){var r=e._gsap||new t0(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,k,v,M,D,S,O,E,I,j,$,F,G,T,x,N,Z,ee,U,P,V,b,w,B;return u=h=f=p=_=y=C=k=v=0,m=g=1,r.svg=!!(e.getCTM&&C0(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"),S=Ud(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"),qd(e,N||d,!!N||r.originIsAbsolute,r.smooth!==!1,S)),M=r.xOrigin||0,D=r.yOrigin||0,S!==mo&&(j=S[0],$=S[1],F=S[2],G=S[3],u=T=S[4],h=x=S[5],S.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+D*F),h-=D-(M*$+D*G))):(B=S[6],b=S[7],U=S[8],P=S[9],V=S[10],w=S[11],u=S[12],h=S[13],f=S[14],O=gi(B,V),_=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),N=T*E+U*I,Z=x*E+P*I,ee=B*E+V*I,U=T*-I+U*E,P=x*-I+P*E,V=B*-I+V*E,w=b*-I+w*E,T=N,x=Z,B=ee),O=gi(-F,V),y=O*Ms,O&&(E=Math.cos(-O),I=Math.sin(-O),N=j*E-U*I,Z=$*E-P*I,ee=F*E-V*I,w=G*I+w*E,j=N,$=Z,F=ee),O=gi($,j),p=O*Ms,O&&(E=Math.cos(O),I=Math.sin(O),N=j*E+$*I,Z=T*E+x*I,$=$*E-j*I,x=x*E-T*I,j=N,T=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=ft(Math.sqrt(j*j+$*$+F*F)),g=ft(Math.sqrt(x*x+B*B)),O=gi(T,x),C=Math.abs(O)>2e-4?O*Ms:0,v=w?1/(w<0?-w:w):0),r.svg&&(N=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!v0(Kn(e,et)),N&&e.setAttribute("transform",N))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=ft(m),r.scaleY=ft(g),r.rotation=ft(p)+l,r.rotationX=ft(_)+l,r.rotationY=ft(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=v+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[zt]=Ra(d)),r.xOffset=r.yOffset=0,r.force3D=qt.force3D,r.renderTransform=r.svg?gw:y0?D0:pw,r.uncache=0,r},Ra=function(e){return(e=e.split(" "))[0]+" "+e[1]},Gd=function(e,n,r){var s=Et(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,D0(e,n)},vs="0deg",go="0px",Ts=") ",D0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,v="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==vs||u!==vs)){var D=parseFloat(u)*pi,S=Math.sin(D),O=Math.cos(D),E;D=parseFloat(h)*pi,E=Math.cos(D),a=Gd(C,a,S*E*-k),l=Gd(C,l,-Math.sin(D)*-k),c=Gd(C,c,O*E*-k+k)}_!==go&&(v+="perspective("+_+Ts),(s||i)&&(v+="translate("+s+"%, "+i+"%) "),(M||a!==go||l!==go||c!==go)&&(v+=c!==go||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ts),d!==vs&&(v+="rotate("+d+Ts),u!==vs&&(v+="rotateY("+u+Ts),h!==vs&&(v+="rotateX("+h+Ts),(f!==vs||m!==vs)&&(v+="skew("+f+", "+m+Ts),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Ts),C.style[et]=v||"translate(0, 0)"},gw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),v=parseFloat(l),M,D,S,O,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=pi,d*=pi,M=Math.cos(c)*h,D=Math.sin(c)*h,S=Math.sin(c-d)*-f,O=Math.cos(c-d)*f,d&&(u*=pi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),S*=E,O*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,D*=E)),M=ft(M),D=ft(D),S=ft(S),O=ft(O)):(M=h,O=f,D=S=0),(k&&!~(a+"").indexOf("px")||v&&!~(l+"").indexOf("px"))&&(k=Zr(m,"x",a,"px"),v=Zr(m,"y",l,"px")),(g||p||_||y)&&(k=ft(k+g-(g*M+p*S)+_),v=ft(v+p-(g*D+p*O)+y)),(s||i)&&(E=m.getBBox(),k=ft(k+s/100*E.width),v=ft(v+i/100*E.height)),E="matrix("+M+","+D+","+S+","+O+","+k+","+v+")",m.setAttribute("transform",E),C&&(m.style[et]=E)},_w=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*f0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*f0)%a-~~(d/a)*a)),e._pt=f=new Ft(e._pt,n,r,s,d,ew),f.e=u,f.u="deg",e._props.push(r),f},O0=function(e,n){for(var r in n)e[r]=n[r];return e},yw=function(e,n,r){var s=O0({},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),Ss(r,et),r.setAttribute("transform",d)):(d=getComputedStyle(r)[et],a[et]=n,l=po(r,1),a[et]=d);for(c in ur)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Et(d),g=Et(u),h=m!==g?Zr(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new Ft(e._pt,l,c,h,f-h,Yd),e._pt.u=g||0,e._props.push(c));O0(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});Aa[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 E0={name:"css",register:jd,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,v,M,D,S,O;Id||jd(),this.styles=this.styles||_0(e),O=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Kt[p]&&n0(p,n,r,s,e,i)))){if(m=typeof u,g=Aa[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)&&(S=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Hr.lastIndex=0,Hr.test(d)||(_=Et(d),y=Et(u)),y?_!==y&&(d=Zr(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),O.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],xt(d)&&~d.indexOf("random(")&&(d=ao(d)),Et(d+"")||d==="auto"||(d+=qt.units[p]||Et(hr(e,p))||""),(d+"").charAt(1)==="="&&(d=hr(e,p))):d=hr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Gn&&(p==="autoAlpha"&&(f===1&&hr(e,"visibility")==="hidden"&&h&&(f=0),O.push("visibility",0,l.visibility),jr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Gn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in ur,k){if(this.styles.save(p),v||(M=e._gsap,M.renderTransform&&!n.parseTransform||po(e,n.parseTransform),D=n.smoothOrigin!==!1&&M.smooth,v=this._pt=new Ft(this._pt,l,et,0,1,M.renderTransform,M,0,-1),v.dep=1),p==="scale")this._pt=new Ft(this._pt,M,"scaleY",M.scaleY,(C?ci(M.scaleY,C+h):h)-M.scaleY||0,Yd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){O.push(zt,0,l[zt]),u=fw(u),M.svg?qd(e,u,0,D,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&jr(this,M,"zOrigin",M.zOrigin,y),jr(this,l,p,Ra(d),Ra(u)));continue}else if(p==="svgOrigin"){qd(e,u,1,D,0,this);continue}else if(p in S0){_w(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"){yw(this,u,e);continue}}else p in l||(p=_i(p)||p);if(k||(h||h===0)&&(f||f===0)&&!Jy.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Et(u)||(p in qt.units?qt.units[p]:_),_!==y&&(f=Zr(e,p,d,y)),this._pt=new Ft(this._pt,k?M:l,p,f,(C?ci(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?nw:Yd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=tw);else if(p in l)hw.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"){gd(p,u);continue}k||(p in l?O.push(p,0,l[p]):O.push(p,1,d||e[p])),a.push(p)}}S&&l0(this)},render:function(e,n){if(n.tween._time||!zd())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&&h0===r?n==="scale"?ow:iw:(h0=r||{})&&(n==="scale"?aw:lw):e.style&&!dd(e.style[n])?rw:~n.indexOf("-")?sw:Nd(e,n)},core:{_removeProperty:Ss,_getMatrix:Ud}};It.utils.checkPrefix=_i,It.core.getStyleSaver=_0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){ur[i]=1});Rt(e,function(i){qt.units[i]="deg",S0[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(E0);var Ur=It.registerPlugin(E0)||It;Ur.core.Tween;const ww={__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:Ky.easeNone,repeat:-1,delay:-5}),Ur.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Fd.easeInOut}),Ur.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Fd.easeInOut}),Ur.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Fd.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"},$0=De(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(Ve,{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"]]),kw={key:0,class:"scope-textarea__label"},Cw=["disabled","placeholder","veeBind","maxlength"],xw={key:1,class:"scope-textarea__error"},Mw=De({__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",kw,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,Cw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",xw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-18bb6f92"]]),P0=t=>(o.pushScopeId("data-v-824188d9"),t=t(),o.popScopeId(),t),Sw={class:"scope-dropzone__container"},vw={key:0,class:"scope-dropzone__label"},Tw={class:"scope-dropzone__content"},Dw=P0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drop file here or click to upload",-1)),Ow=P0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Ew={key:1,class:"scope-dropzone__files"},$w={class:"scope-dropzone__file"},Pw={class:"scope-dropzone__file__img-wrapper"},Lw=["src"],Nw={class:"scope-dropzone__file__options"},Vw={class:"scope-dropzone__file__name"},Bw=De({__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}=nh(),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",Sw,[t.label?(o.openBlock(),o.createElementBlock("div",vw,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",Tw,[o.createVNode(o.unref(Ve),{icon:"file-bend"}),Dw,Ow,o.createVNode(o.unref(ma),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue"})]),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",Ew,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",$w,[o.createElementVNode("div",Pw,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,Lw),o.createElementVNode("div",Nw,[o.createVNode(o.unref(Ve),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Ve),{icon:"trash",class:"scope-dropzone__file__remove",onClick:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",Vw,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-824188d9"]]),L0=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),Aw={class:"sidebar-popup-container"},Rw={class:"sidebar-popup__profile-info"},Fw=["src"],Iw={key:1,class:"sidebar-popup__profile-info__letter"},zw={class:"sidebar-popup__profile-info__wrapper"},Hw={class:"sidebar-popup__profile-info__name"},Yw={class:"sidebar-popup__profile-info__e-mail"},Ww=L0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),jw={class:"sidebar-popup__tabs"},Zw=["onClick"],Uw={class:"sidebar-popup__tab__icon-wrapper"},qw={class:"sidebar-popup__tab__name"},Gw=L0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Kw={class:"sidebar-popup__actions-buttons"},Xw=De({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",Aw,[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(Ve,{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",Rw,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,Fw)):(o.openBlock(),o.createElementBlock("div",Iw,o.toDisplayString(l.value),1)),o.createElementVNode("div",zw,[o.createElementVNode("div",Hw,o.toDisplayString(t.user.name),1),o.createElementVNode("div",Yw,o.toDisplayString(t.user.email),1)])]),Ww,o.createElementVNode("div",jw,[(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",Uw,[o.createVNode(Ve,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",qw,o.toDisplayString(g.name),1)],10,Zw))),256))]),Gw,o.createElementVNode("div",Kw,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]),Qw={class:"scope-tooltip"},fn=De({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Qw,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Ve),{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"]]),Jw={class:"no-more"},eb={class:"no-more__icon-wrapper"},tb={class:"no-more__text-wrapper"},nb={class:"no-more__title"},rb={class:"no-more__subtitle"},Kd=De({__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",Jw,[o.createElementVNode("div",eb,[o.createVNode(o.unref(Ve),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",tb,[o.createElementVNode("div",nb,o.toDisplayString(t.title),1),o.createElementVNode("div",rb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),N0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),sb={class:"long-short"},ib=N0(()=>o.createElementVNode("span",null,"L",-1)),ob={class:"long-short__item__text"},ab=N0(()=>o.createElementVNode("span",null,"S",-1)),lb={class:"long-short__item__text"},V0=De({__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",sb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[ib,o.createElementVNode("div",ob,o.toDisplayString(o.unref(Vt)(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}%`)},[ab,o.createElementVNode("div",lb,o.toDisplayString(o.unref(Vt)(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
|
|
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 B0(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},Xd=[..."0123456789ABCDEF"],cb=t=>Xd[t&15],db=t=>Xd[(t&240)>>4]+Xd[t&15],Fa=t=>(t&240)>>4===(t&15),ub=t=>Fa(t.r)&&Fa(t.g)&&Fa(t.b)&&Fa(t.a);function hb(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 fb=(t,e)=>t<255?e(t):"";function mb(t){var e=ub(t)?cb:db;return t?"#"+e(t.r)+e(t.g)+e(t.b)+fb(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 A0(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 gb(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 _b(t,e,n){const r=A0(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 yb(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 Qd(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=yb(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function Jd(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Gr)}function eu(t,e,n){return Jd(A0,t,e,n)}function wb(t,e,n){return Jd(_b,t,e,n)}function bb(t,e,n){return Jd(gb,t,e,n)}function R0(t){return(t%360+360)%360}function kb(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=R0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=wb(s,i,a):e[1]==="hsv"?r=bb(s,i,a):r=eu(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function Cb(t,e){var n=Qd(t);n[0]=R0(n[0]+e),n=eu(n),t.r=n[0],t.g=n[1],t.b=n[2]}function xb(t){if(!t)return;const e=Qd(t),n=e[0],r=B0(e[1]),s=B0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${fr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const F0={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"},I0={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 Mb(){const t={},e=Object.keys(I0),n=Object.keys(F0);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,F0[i]);i=parseInt(I0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let Ia;function Sb(t){Ia||(Ia=Mb(),Ia.transparent=[0,0,0,0]);const e=Ia[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const vb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Tb(t){const e=vb.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 Db(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${fr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const tu=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 Ob(t,e,n){const r=yi(fr(t.r)),s=yi(fr(t.g)),i=yi(fr(t.b));return{r:Gr(tu(r+n*(yi(fr(e.r))-r))),g:Gr(tu(s+n*(yi(fr(e.g))-s))),b:Gr(tu(i+n*(yi(fr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function za(t,e,n){if(t){let r=Qd(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=eu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function z0(t,e){return t&&Object.assign(e||{},t)}function H0(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=z0(t,{r:0,g:0,b:0,a:1}),e.a=Gr(e.a)),e}function Eb(t){return t.charAt(0)==="r"?Tb(t):kb(t)}class wo{constructor(e){if(e instanceof wo)return e;const n=typeof e;let r;n==="object"?r=H0(e):n==="string"&&(r=hb(e)||Sb(e)||Eb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=z0(this._rgb);return e&&(e.a=fr(e.a)),e}set rgb(e){this._rgb=H0(e)}rgbString(){return this._valid?Db(this._rgb):void 0}hexString(){return this._valid?mb(this._rgb):void 0}hslString(){return this._valid?xb(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=Ob(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 za(this._rgb,2,e),this}darken(e){return za(this._rgb,2,-e),this}saturate(e){return za(this._rgb,1,e),this}desaturate(e){return za(this._rgb,1,-e),this}rotate(e){return Cb(this._rgb,e),this}}/*!
|
|
23
23
|
* Chart.js v4.4.2
|
|
24
24
|
* https://www.chartjs.org
|
|
25
25
|
* (c) 2024 Chart.js Contributors
|
|
26
26
|
* Released under the MIT License
|
|
27
|
-
*/function mr(){}const Ob=(()=>{let t=0;return()=>t++})();function Ze(t){return t===null||typeof t>"u"}function tt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function ve(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function it(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Jt(t,e){return it(t)?t:e}function Ae(t,e){return typeof t>"u"?e:t}const Eb=(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 Ia(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 za(t){if(tt(t))return t.map(za);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]]=za(t[n[s]]);return e}return t}function z0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function $b(t,e,n,r){if(!z0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?bo(s,i,r):e[t]=za(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||$b;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:Pb})}function Pb(t,e,n){if(!z0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=za(s))}const H0={"":t=>t,x:t=>t.x,y:t=>t.y};function Lb(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 Vb(t){const e=Lb(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Ha(t,e){return(H0[e]||(H0[e]=Vb(e)))(t)}function Xd(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ya=t=>typeof t<"u",Kr=t=>typeof t=="function",Y0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function Nb(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,en=2*vt,Bb=en+vt,Wa=Number.POSITIVE_INFINITY,Ab=vt/180,tn=vt/2,Ds=vt/4,W0=vt*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function j0(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 Rb(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 Fb(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Z0(t,e,n){let r,s,i;for(r=0,s=t.length;r<s;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function Qr(t){return t*(vt/180)}function Qd(t){return t*(180/vt)}function U0(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function Ib(t,e){const n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*vt&&(i+=en),{angle:i,distance:s}}function Jd(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function zb(t,e){return(t-e+Bb)%en-vt}function nn(t){return(t%en+en)%en}function q0(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 Hb(t){return pn(t,-32768,32767)}function G0(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function eu(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Os=(t,e,n,r)=>eu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),Yb=(t,e,n)=>eu(t,n,r=>t[r][e]>=n);function Wb(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 K0=["push","pop","shift","splice","unshift"];function jb(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),K0.forEach(n=>{const r="_onData"+Xd(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=s.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function X0(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)&&(K0.forEach(i=>{delete t[i]}),delete t._chartjs)}function Zb(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Q0=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function J0(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,Q0.call(window,()=>{r=!1,t.apply(e,n)}))}}function Ub(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const qb=t=>t==="start"?"left":t==="end"?"right":"center",e2=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Gb(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(Os(l,c,d).lo,n?r:Os(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=pn(Math.max(Os(l,a.axis,u,!0).hi+1,n?0:Os(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function Kb(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 ja=t=>t===0||t===1,t2=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),n2=(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=>ja(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=>ja(t)?t:t2(t,.075,.3),easeOutElastic:t=>ja(t)?t:n2(t,.075,.3),easeInOutElastic(t){return ja(t)?t:t<.5?.5*t2(t*2,.1125,.45):.5+.5*n2(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Mo.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Mo.easeInBounce(t*2)*.5:Mo.easeOutBounce(t*2-1)*.5+.5};function tu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function r2(t){return tu(t)?t:new wo(t)}function nu(t){return tu(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const Xb=["x","y","borderWidth","radius","tension"],Qb=["color","borderColor","backgroundColor"];function Jb(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:Qb},numbers:{type:"number",properties:Xb}}),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 ek(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const s2=new Map;function tk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=s2.get(n);return r||(r=new Intl.NumberFormat(t,e),s2.set(n,r)),r}function ru(t,e,n){return tk(e,n).format(t)}const i2={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=nk(t,n)}const a=Xr(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),ru(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Xr(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?i2.numeric.call(this,t,e,n):""}};function nk(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 Za={formatters:i2};function rk(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:Za.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Es=Object.create(null),su=Object.create(null);function vo(t,e){if(!e)return t;const n=e.split(".");for(let r=0,s=n.length;r<s;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function iu(t,e,n){return typeof e=="string"?bo(vo(t,e),n):bo(vo(t,""),e)}class sk{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,s)=>nu(s.backgroundColor),this.hoverBorderColor=(r,s)=>nu(s.borderColor),this.hoverColor=(r,s)=>nu(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return iu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return iu(su,e,n)}override(e,n){return iu(Es,e,n)}route(e,n,r,s){const i=vo(this,e),a=vo(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=a[s];return ve(c)?Object.assign({},d,c):Ae(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new sk({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Jb,ek,rk]);function ik(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ua(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 ok(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=Ua(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=Ua(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 o2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ou(t,e,n,r){ak(t,e,n,r,null)}function ak(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)*Ab;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),_+=W0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=W0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Ds)*c,h=Math.cos(_+Ds)*(s?s/2-d:c),l=Math.sin(_+Ds)*c,f=Math.sin(_+Ds)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-vt,_-tn),t.arc(n+f,r-a,d,_-tn,_),t.arc(n+h,r+l,d,_,_+tn),t.arc(n-f,r+a,d,_+tn,_+vt),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Ds;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Ds;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Ds,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function pr(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function au(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function lu(t){t.restore()}function lk(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 ck(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 uk(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 hk(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&&hk(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),uk(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function cu(t,e){const{x:n,y:r,w:s,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*vt,vt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,vt,tn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,tn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-tn,!0),t.lineTo(n+a.topLeft,r)}const fk=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,mk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function pk(t,e){const n=(""+t).match(fk);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 gk=t=>+t||0;function a2(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]=gk(i(a));return n}function _k(t){return a2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function So(t){return a2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function gn(t){const e=_k(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(mk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Ae(t.family,e.family),lineHeight:pk(Ae(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ae(t.weight,e.weight),string:""};return s.string=ik(s),s}function Ga(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 yk(t,e,n){const{min:r,max:s}=t,i=Eb(e,(s-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(i)),max:a(s,i)}}function Jr(t,e){return Object.assign(Object.create(t),e)}function du(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=h2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>du([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return c2(l,c,()=>Sk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return f2(l).includes(c)},ownKeys(l){return f2(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:l2(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 c2(i,a,()=>bk(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 l2(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 wk=(t,e)=>t?t+Xd(e):e,uu=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function c2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function bk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=kk(e,l,t,n)),tt(l)&&l.length&&(l=Ck(e,l,t,a.isIndexable)),uu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function kk(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(i,a||r);return l.delete(t),uu(t,c)&&(c=hu(s._scopes,s,t,c)),c}function Ck(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(ve(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=hu(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function d2(t,e,n){return Kr(t)?t(e,n):t}const xk=(t,e)=>t===!0?e:typeof t=="string"?Ha(e,t):void 0;function Mk(t,e,n,r,s){for(const i of e){const a=xk(n,i);if(a){t.add(a);const l=d2(a._fallback,n,s);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function hu(t,e,n,r){const s=e._rootScopes,i=d2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=u2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=u2(l,a,i,c,r),c===null)?!1:du(Array.from(l),[""],s,i,()=>vk(e,n,r))}function u2(t,e,n,r,s){for(;n;)n=Mk(t,e,n,r,s);return n}function vk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&ve(n)?n:s||{}}function Sk(t,e,n,r){let s;for(const i of e)if(s=h2(wk(i,t),n),typeof s<"u")return uu(t,s)?hu(n,r,t,s):s}function h2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function f2(t){let e=t._keys;return e||(e=t._keys=Tk(t._scopes)),e}function Tk(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 Dk=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],m2=t=>t==="x"?"y":"x";function Ok(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=Jd(i,s),c=Jd(a,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const h=r*d,f=r*u;return{previous:{x:i.x-h*(a.x-s.x),y:i.y-h*(a.y-s.y)},next:{x:i.x+f*(a.x-s.x),y:i.y+f*(a.y-s.y)}}}function Ek(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,Dk)){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 $k(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 Pk(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]}Ek(t,s,i),$k(t,i,e)}function Ka(t,e,n){return Math.max(Math.min(t,n),e)}function Lk(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=Ka(s.cp1x,e.left,e.right),s.cp1y=Ka(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=Ka(s.cp2x,e.left,e.right),s.cp2y=Ka(s.cp2y,e.top,e.bottom)))}function Vk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")Pk(t,s);else{let d=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=t[i],c=Ok(d,l,t[Math.min(i+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}e.capBezierPoints&&Lk(t,n)}function fu(){return typeof window<"u"&&typeof document<"u"}function mu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Xa(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 Qa=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function Nk(t,e){return Qa(t).getPropertyValue(e)}const Bk=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=Bk[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const Ak=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Rk(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(Ak(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=Qa(n),i=s.boxSizing==="border-box",a=Ps(s,"padding"),l=Ps(s,"border","width"),{x:c,y:d,box:u}=Rk(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 Fk(t,e,n){let r,s;if(e===void 0||n===void 0){const i=mu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=Qa(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=Xa(l.maxWidth,i,"clientWidth"),s=Xa(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Wa,maxHeight:s||Wa}}const Ja=t=>Math.round(t*10)/10;function Ik(t,e,n,r){const s=Qa(t),i=Ps(s,"margin"),a=Xa(s.maxWidth,t,"clientWidth")||Wa,l=Xa(s.maxHeight,t,"clientHeight")||Wa,c=Fk(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=Ja(Math.min(d,a,c.maxWidth)),u=Ja(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Ja(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=Ja(Math.floor(u*r))),{width:d,height:u}}function p2(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 zk=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function g2(t,e){const n=Nk(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Vs(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Hk(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 Yk(t,e,n,r){const s={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=Vs(t,s,n),l=Vs(s,i,n),c=Vs(i,e,n),d=Vs(a,l,n),u=Vs(l,c,n);return Vs(d,u,n)}const Wk=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}}},jk=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function pu(t,e,n){return t?Wk(e,n):jk()}function Zk(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 Uk(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function _2(t){return t==="angle"?{between:q0,compare:zb,normalize:nn}:{between:G0,compare:(e,n)=>e-n,normalize:e=>e}}function y2({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 qk(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=_2(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 w2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=_2(r),{start:u,end:h,loop:f,style:m}=qk(t,e,n),g=[];let p=!1,_=null,y,C,k;const S=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),D=()=>p||S(),v=()=>!p||M();for(let O=u,E=u;O<=h;++O)C=e[O%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&D()&&(_=l(y,s)===0?O:E),_!==null&&v()&&(g.push(y2({start:_,end:O,loop:f,count:a,style:m})),_=null),E=O,k=y));return _!==null&&g.push(y2({start:_,end:h,loop:f,count:a,style:m})),g}function b2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=w2(r[s],t.points,e);i.length&&n.push(...i)}return n}function Gk(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 Kk(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 Xk(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Gk(n,s,i,r);if(r===!0)return k2(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 k2(t,Kk(n,a,c,d),n,e)}function k2(t,e,n,r){return!r||!r.setContext||!n?e:Qk(t,e,n,r)}function Qk(t,e,n,r){const s=t._chart.getContext(),i=C2(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];_=C2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Jk(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function C2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Jk(t,e){if(!e)return!1;const n=[],r=function(s,i){return tu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
|
|
27
|
+
*/function mr(){}const $b=(()=>{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 Se(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 Pb=(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(Se(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function Ha(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 Ya(t){if(tt(t))return t.map(Ya);if(Se(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=Ya(t[n[s]]);return e}return t}function Y0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Lb(t,e,n,r){if(!Y0(t))return;const s=e[t],i=n[t];Se(s)&&Se(i)?bo(s,i,r):e[t]=Ya(i)}function bo(t,e,n){const r=tt(e)?e:[e],s=r.length;if(!Se(t))return t;n=n||{};const i=n.merger||Lb;let a;for(let l=0;l<s;++l){if(a=r[l],!Se(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:Nb})}function Nb(t,e,n){if(!Y0(t))return;const r=e[t],s=n[t];Se(r)&&Se(s)?ko(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ya(s))}const W0={"":t=>t,x:t=>t.x,y:t=>t.y};function Vb(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 Bb(t){const e=Vb(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Wa(t,e){return(W0[e]||(W0[e]=Bb(e)))(t)}function nu(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ja=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 Ab(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const St=Math.PI,en=2*St,Rb=en+St,Za=Number.POSITIVE_INFINITY,Fb=St/180,tn=St/2,Ds=St/4,Z0=St*2/3,Xr=Math.log10,wi=Math.sign;function Co(t,e,n){return Math.abs(t-e)<n}function U0(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 Ib(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 zb(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function q0(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*(St/180)}function ru(t){return t*(180/St)}function G0(t){if(!it(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function Hb(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*St&&(i+=en),{angle:i,distance:s}}function su(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Yb(t,e){return(t-e+Rb)%en-St}function nn(t){return(t%en+en)%en}function K0(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 Wb(t){return pn(t,-32768,32767)}function X0(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function iu(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Os=(t,e,n,r)=>iu(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),jb=(t,e,n)=>iu(t,n,r=>t[r][e]>=n);function Zb(t,e,n){let r=0,s=t.length;for(;r<s&&t[r]<e;)r++;for(;s>r&&t[s-1]>n;)s--;return r>0||s<t.length?t.slice(r,s):t}const Q0=["push","pop","shift","splice","unshift"];function Ub(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Q0.forEach(n=>{const r="_onData"+nu(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 J0(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,s=r.indexOf(e);s!==-1&&r.splice(s,1),!(r.length>0)&&(Q0.forEach(i=>{delete t[i]}),delete t._chartjs)}function qb(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const e2=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function t2(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,e2.call(window,()=>{r=!1,t.apply(e,n)}))}}function Gb(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const Kb=t=>t==="start"?"left":t==="end"?"right":"center",n2=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Xb(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(Os(l,c,d).lo,n?r:Os(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=pn(Math.max(Os(l,a.axis,u,!0).hi+1,n?0:Os(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function Qb(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 Ua=t=>t===0||t===1,r2=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*en/n)),s2=(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(St*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=>Ua(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=>Ua(t)?t:r2(t,.075,.3),easeOutElastic:t=>Ua(t)?t:s2(t,.075,.3),easeInOutElastic(t){return Ua(t)?t:t<.5?.5*r2(t*2,.1125,.45):.5+.5*s2(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 ou(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function i2(t){return ou(t)?t:new wo(t)}function au(t){return ou(t)?t:new wo(t).saturate(.5).darken(.1).hexString()}const Jb=["x","y","borderWidth","radius","tension"],ek=["color","borderColor","backgroundColor"];function tk(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:ek},numbers:{type:"number",properties:Jb}}),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 nk(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const o2=new Map;function rk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=o2.get(n);return r||(r=new Intl.NumberFormat(t,e),o2.set(n,r)),r}function lu(t,e,n){return rk(e,n).format(t)}const a2={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=sk(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),lu(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?a2.numeric.call(this,t,e,n):""}};function sk(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 qa={formatters:a2};function ik(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:qa.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),cu=Object.create(null);function So(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 du(t,e,n){return typeof e=="string"?bo(So(t,e),n):bo(So(t,""),e)}class ok{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)=>au(s.backgroundColor),this.hoverBorderColor=(r,s)=>au(s.borderColor),this.hoverColor=(r,s)=>au(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 du(this,e,n)}get(e){return So(this,e)}describe(e,n){return du(cu,e,n)}override(e,n){return du(Es,e,n)}route(e,n,r,s){const i=So(this,e),a=So(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 Se(c)?Object.assign({},d,c):Ae(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var mt=new ok({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[tk,nk,ik]);function ak(t){return!t||Ze(t.size)||Ze(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ga(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 lk(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=Ga(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=Ga(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 l2(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function uu(t,e,n,r){ck(t,e,n,r,null)}function ck(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)*Fb;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),_+=Z0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Z0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Ds)*c,h=Math.cos(_+Ds)*(s?s/2-d:c),l=Math.sin(_+Ds)*c,f=Math.sin(_+Ds)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-St,_-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,_+St),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Ds;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Ds;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Ds,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function pr(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function hu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function fu(t){t.restore()}function dk(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 uk(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 hk(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 fk(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 mk(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Ka(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,hk(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&mk(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),fk(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function mu(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*St,St,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,St,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|%)?)$/,gk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function _k(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 yk=t=>+t||0;function c2(t,e){const n={},r=Se(e),s=r?Object.keys(e):e,i=Se(t)?r?a=>Ae(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=yk(i(a));return n}function wk(t){return c2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function vo(t){return c2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function gn(t){const e=wk(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(gk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Ae(t.family,e.family),lineHeight:_k(Ae(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Ae(t.weight,e.weight),string:""};return s.string=ak(s),s}function Xa(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=Pb(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 pu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=m2("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>pu([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 u2(l,c,()=>Dk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return p2(l).includes(c)},ownKeys(l){return p2(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:d2(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 u2(i,a,()=>Ck(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 d2(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 kk=(t,e)=>t?t+nu(e):e,gu=(t,e)=>Se(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function u2(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Ck(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Kr(l)&&a.isScriptable(e)&&(l=xk(e,l,t,n)),tt(l)&&l.length&&(l=Mk(e,l,t,a.isIndexable)),gu(e,l)&&(l=bi(l,s,i&&i[e],a)),l}function xk(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),gu(t,c)&&(c=_u(s._scopes,s,t,c)),c}function Mk(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(Se(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=_u(d,s,t,u);e.push(bi(h,i,a&&a[t],l))}}return e}function h2(t,e,n){return Kr(t)?t(e,n):t}const Sk=(t,e)=>t===!0?e:typeof t=="string"?Wa(e,t):void 0;function vk(t,e,n,r,s){for(const i of e){const a=Sk(n,i);if(a){t.add(a);const l=h2(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 _u(t,e,n,r){const s=e._rootScopes,i=h2(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=f2(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=f2(l,a,i,c,r),c===null)?!1:pu(Array.from(l),[""],s,i,()=>Tk(e,n,r))}function f2(t,e,n,r,s){for(;n;)n=vk(t,e,n,r,s);return n}function Tk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return tt(s)&&Se(n)?n:s||{}}function Dk(t,e,n,r){let s;for(const i of e)if(s=m2(kk(i,t),n),typeof s<"u")return gu(t,s)?_u(n,r,t,s):s}function m2(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function p2(t){let e=t._keys;return e||(e=t._keys=Ok(t._scopes)),e}function Ok(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 Ek=Number.EPSILON||1e-14,ki=(t,e)=>e<t.length&&!t[e].skip&&t[e],g2=t=>t==="x"?"y":"x";function $k(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=su(i,s),c=su(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 Pk(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,Ek)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],i=n[u+1]/e[u],l=Math.pow(s,2)+Math.pow(i,2),!(l<=9)&&(a=3/Math.sqrt(l),n[u]=s*a*e[u],n[u+1]=i*a*e[u])}}function Lk(t,e,n="x"){const r=g2(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 Nk(t,e="x"){const n=g2(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]}Pk(t,s,i),Lk(t,i,e)}function Qa(t,e,n){return Math.max(Math.min(t,n),e)}function Vk(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=Qa(s.cp1x,e.left,e.right),s.cp1y=Qa(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=Qa(s.cp2x,e.left,e.right),s.cp2y=Qa(s.cp2y,e.top,e.bottom)))}function Bk(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")Nk(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=$k(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&&Vk(t,n)}function yu(){return typeof window<"u"&&typeof document<"u"}function wu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Ja(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 el=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function Ak(t,e){return el(t).getPropertyValue(e)}const Rk=["top","right","bottom","left"];function Ps(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=Rk[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const Fk=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Ik(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(Fk(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=el(n),i=s.boxSizing==="border-box",a=Ps(s,"padding"),l=Ps(s,"border","width"),{x:c,y:d,box:u}=Ik(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 zk(t,e,n){let r,s;if(e===void 0||n===void 0){const i=wu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=el(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=Ja(l.maxWidth,i,"clientWidth"),s=Ja(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||Za,maxHeight:s||Za}}const tl=t=>Math.round(t*10)/10;function Hk(t,e,n,r){const s=el(t),i=Ps(s,"margin"),a=Ja(s.maxWidth,t,"clientWidth")||Za,l=Ja(s.maxHeight,t,"clientHeight")||Za,c=zk(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=tl(Math.min(d,a,c.maxWidth)),u=tl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=tl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=tl(Math.floor(u*r))),{width:d,height:u}}function _2(t,e,n){const r=e||1,s=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==s||a.width!==i?(t.currentDevicePixelRatio=r,a.height=s,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Yk=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};yu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function y2(t,e){const n=Ak(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ns(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Wk(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function jk(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 Zk=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}}},Uk=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function bu(t,e,n){return t?Zk(e,n):Uk()}function qk(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 Gk(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function w2(t){return t==="angle"?{between:K0,compare:Yb,normalize:nn}:{between:X0,compare:(e,n)=>e-n,normalize:e=>e}}function b2({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 Kk(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=w2(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 k2(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=w2(r),{start:u,end:h,loop:f,style:m}=Kk(t,e,n),g=[];let p=!1,_=null,y,C,k;const v=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),D=()=>p||v(),S=()=>!p||M();for(let O=u,E=u;O<=h;++O)C=e[O%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&D()&&(_=l(y,s)===0?O:E),_!==null&&S()&&(g.push(b2({start:_,end:O,loop:f,count:a,style:m})),_=null),E=O,k=y));return _!==null&&g.push(b2({start:_,end:h,loop:f,count:a,style:m})),g}function C2(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=k2(r[s],t.points,e);i.length&&n.push(...i)}return n}function Xk(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 Qk(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 Jk(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Xk(n,s,i,r);if(r===!0)return x2(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 x2(t,Qk(n,a,c,d),n,e)}function x2(t,e,n,r){return!r||!r.setContext||!n?e:eC(t,e,n,r)}function eC(t,e,n,r){const s=t._chart.getContext(),i=M2(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];_=M2(r.setContext(Jr(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),tC(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function M2(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function tC(t,e){if(!e)return!1;const n=[],r=function(s,i){return ou(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 eC{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=Q0.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 eC;const x2="transparent",tC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=r2(t||x2),s=r.valid&&r2(e||x2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class nC{constructor(e,n,r,s){const i=n[r];s=Ga([e.to,s,i,e.from]);const a=Ga([e.from,i,s]);this._active=!0,this._fn=e.fn||tC[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=Ga([e.to,n,s,e.from]),this._from=Ga([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 M2{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=sC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&rC(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 nC(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 rC(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 sC(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 iC(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 oC(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 S2(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 T2(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 aC(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 D2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function lC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function cC(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 O2(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 E2(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=lC(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=O2(f,a,!0,r.type),f._bottom=O2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function gu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function uC(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function hC(t,e,n){return Jr(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function To(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const s of e){const i=s._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const _u=t=>t==="reset"||t==="none",$2=(t,e)=>e?t:Object.assign({},t),fC=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:S2(n,!0),values:null};class Do{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=D2(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,gu(e,"x")),a=n.yAxisID=Ae(r.yAxisID,gu(e,"y")),l=n.rAxisID=Ae(r.rAxisID,gu(e,"r")),c=n.indexAxis,d=n.iAxisID=s(c,i,a,l),u=n.vAxisID=s(c,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&X0(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=aC(n);else if(r!==n){if(r){X0(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&jb(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=D2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&E2(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&&E2(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(Ha(m,l),f),y:a.parse(Ha(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:S2(s,!0),values:n._stacks[e.axis]._visualValues};return T2(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=T2(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=fC(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=cC(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=oC(Ae(this.options.clip,iC(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=hC(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=uC(this.chart.getContext(),this.index)),i.dataset=s,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const s=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],c=this.enableOptionSharing&&Ya(r);if(l)return $2(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($2(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 M2(s,c&&c.animations);return c&&c._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||_u(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),s=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==s;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,s){_u(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!_u(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&To(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Do,"defaults",{}),W(Do,"datasetElementType",null),W(Do,"dataElementType",null);class el extends Do{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=Gb(n,s,a);this._drawStart=l,this._drawCount=c,Kb(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=xo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let S=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const D=e[M],v=y?D:{};if(M<n||M>=C){v.skip=!0;continue}const O=this.getParsed(M),E=Ze(O[m]),I=v[f]=a.getPixelForValue(O[f],M),j=v[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,O,c):O[m],M);v.skip=isNaN(I)||isNaN(j)||E,v.stop=M>0&&Math.abs(O[f]-S[f])>_,p&&(v.parsed=O,v.raw=d.data[M]),h&&(v.options=u||this.resolveDataElementOptions(M,D.active?"active":s)),y||this.updateElement(D,M,v,s),S=O}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(el,"id","line"),W(el,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(el,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Ns(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class yu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(yu.prototype,e)}init(){}formats(){return Ns()}parse(){return Ns()}format(){return Ns()}add(){return Ns()}diff(){return Ns()}startOf(){return Ns()}endOf(){return Ns()}}var mC={_date:yu};function pC(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?Yb:Os;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function Oo(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=pC(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function gC(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,s){const i=e?Math.abs(r.x-s.x):0,a=n?Math.abs(r.y-s.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function wu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Oo(t,n,e,function(l,c,d){!s&&!pr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function _C(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=Ib(a,{x:e.x,y:e.y});q0(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Oo(t,n,e,i),s}function yC(t,e,n,r,s,i){let a=[];const l=gC(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return Oo(t,n,e,d),a}function bu(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?_C(t,e,n,s):yC(t,e,n,r,s,i)}function P2(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Oo(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var wC={evaluateInteractionItems:Oo,modes:{index(t,e,n,r){const s=Ls(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?wu(t,s,i,r,a):bu(t,s,i,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,d=t.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return wu(t,s,i,r,a)},nearest(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return bu(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Ls(e,t);return P2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Ls(e,t);return P2(t,s,"y",n.intersect,r)}}};const L2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function V2(t,e){return t.filter(n=>L2.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 bC(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 kC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!L2.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 CC(t,e){const n=kC(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 xC(t){const e=bC(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=V2(e,"x"),c=V2(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 N2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function B2(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 MC(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&&B2(a,i.getPadding());const l=Math.max(0,e.outerWidth-N2(a,t,"left","right")),c=Math.max(0,e.outerHeight-N2(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 vC(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 SC(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,SC(l.horizontal,e));const{same:h,other:f}=MC(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 tl(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 A2(t,e,n,r){const s=n.padding;let{x:i,y:a}=e;for(const l of t){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;Ya(d.start)&&(a=d.start),c.fullSize?tl(c,s.left,a,n.outerWidth-s.right-s.left,f):tl(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;Ya(d.start)&&(i=d.start),c.fullSize?tl(c,i,s.top,f,n.outerHeight-s.bottom-s.top):tl(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var nl={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=xC(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);B2(f,gn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=CC(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),vC(m),A2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,A2(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 R2{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 TC extends R2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const rl="$chartjs",DC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},F2=t=>t===null||t==="";function OC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[rl]={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",F2(s)){const i=g2(t,"width");i!==void 0&&(t.width=i)}if(F2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=g2(t,"height");i!==void 0&&(t.height=i)}return t}const I2=zk?{passive:!0}:!1;function EC(t,e,n){t&&t.addEventListener(e,n,I2)}function $C(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,I2)}function PC(t,e){const n=DC[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 sl(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function LC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||sl(l.addedNodes,r),a=a&&!sl(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function VC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||sl(l.removedNodes,r),a=a&&!sl(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Lo=new Map;let z2=0;function H2(){const t=window.devicePixelRatio;t!==z2&&(z2=t,Lo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function NC(t,e){Lo.size||window.addEventListener("resize",H2),Lo.set(t,e)}function BC(t){Lo.delete(t),Lo.size||window.removeEventListener("resize",H2)}function AC(t,e,n){const r=t.canvas,s=r&&mu(r);if(!s)return;const i=J0((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),NC(t,i),a}function ku(t,e,n){n&&n.disconnect(),e==="resize"&&BC(t)}function RC(t,e,n){const r=t.canvas,s=J0(i=>{t.ctx!==null&&n(PC(i,t))},t);return EC(r,e,s),s}class FC extends R2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(OC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[rl])return!1;const r=n[rl].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[rl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:LC,detach:VC,resize:AC}[n]||RC;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:ku,detach:ku,resize:ku}[n]||$C)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return Ik(e,n,r,s)}isAttached(e){const n=mu(e);return!!(n&&n.isConnected)}}function IC(t){return!fu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?TC:FC}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 zC(t,e){const n=t.options.ticks,r=HC(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?WC(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return jC(e,d,i,a/s),d;const u=YC(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(il(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)il(e,d,u,i[h],i[h+1]);return il(e,d,u,c,Ze(m)?e.length:c+m),d}return il(e,d,u),d}function HC(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 YC(t,e,n){const r=ZC(t),s=e.length/n;if(!r)return Math.max(s,1);const i=Rb(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 WC(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function jC(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 il(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 ZC(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 UC=t=>t==="left"?"right":t==="right"?"left":t,Y2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,W2=(t,e)=>Math.min(e||t,t);function j2(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 qC(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 GC(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 Vo(t){return t.drawTicks?t.tickLength:0}function Z2(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 KC(t,e){return Jr(t,{scale:e,type:"scale"})}function XC(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function QC(t,e,n){let r=qb(t);return(n&&e!=="right"||!n&&e==="right")&&(r=UC(r)),r}function JC(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=e2(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=Y2(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=Y2(t,n,e);g=e2(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=yk(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?j2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=zC(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=W2(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-Vo(e.grid)-n.padding-Z2(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=Qd(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=Z2(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=Vo(i)+c):(e.height=this.maxHeight,e.width=Vo(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=j2(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/W2(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,S,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=S=0,!Ze(g)&&!tt(g))k=Ua(s,y.data,y.gc,k,g),S=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(k=Ua(s,y.data,y.gc,k,M),S+=C);a.push(k),l.push(S),d=Math.max(k,d),u=Math.max(S,u)}GC(i,n);const D=a.indexOf(d),v=l.indexOf(u),O=E=>({width:a[E]||0,height:l[E]||0});return{first:O(0),last:O(n-1),widest:O(D),highest:O(v),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Hb(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=XC(this.getContext(),e,r))}return this.$context||(this.$context=KC(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=Vo(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,k,S,M,D,v,O,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),D=this.right-f,O=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,D=C+_,O=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(ve(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}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],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}D=C-_,O=D-f,I=e.left,$=e.right}const G=Ae(s.ticks.maxTicksLimit,h),T=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=T){const x=this.getContext(k),V=i.setContext(x),Z=l.setContext(x),ee=V.lineWidth,U=V.color,P=Z.dash||[],N=Z.dashOffset,b=V.tickWidth,w=V.tickColor,B=V.tickBorderDash||[],z=V.tickBorderDashOffset;S=qC(this,k,c),S!==void 0&&(M=$s(r,S,ee),d?D=O=I=$=M:v=E=j=F=M,m.push({tx1:D,ty1:v,tx2:O,ty2:E,x1:I,y1:j,x2:$,y2:F,width:ee,color:U,borderDash:P,borderDashOffset:N,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:z}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=Vo(r.grid),m=f+u,g=h?-u:m,p=-Qr(this.labelRotation),_=[];let y,C,k,S,M,D,v,O,E,I,j,$,F="middle";if(s==="top")D=this.bottom-g,v=this._getXAxisLabelAlignment();else if(s==="bottom")D=this.top+g,v=this._getXAxisLabelAlignment();else if(s==="left"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(s==="right"){const T=this._getYAxisLabelAlignment(f);v=T.textAlign,M=T.x}else if(n==="x"){if(s==="center")D=(e.top+e.bottom)/2+m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];D=this.chart.scales[T].getPixelForValue(x)+m}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(ve(s)){const T=Object.keys(s)[0],x=s[T];M=this.chart.scales[T].getPixelForValue(x)}v=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?F="top":c==="end"&&(F="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){k=l[y],S=k.label;const T=i.setContext(this.getContext(y));O=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=tt(S)?S.length:1;const x=j/2,V=T.color,Z=T.textStrokeColor,ee=T.textStrokeWidth;let U=v;a?(M=O,v==="inner"&&(y===C-1?U=this.options.reverse?"left":"right":y===0?U=this.options.reverse?"right":"left":U="center"),s==="top"?d==="near"||p!==0?$=-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&&!T.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(D=O,$=(1-j)*I/2);let P;if(T.showLabelBackdrop){const N=gn(T.backdropPadding),b=G.heights[y],w=G.widths[y];let B=$-N.top,z=0-N.left;switch(F){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(v){case"center":z-=w/2;break;case"right":z-=w;break;case"inner":y===C-1?z-=w:y>0&&(z-=w/2);break}P={left:z,top:B,width:w+N.width,height:b+N.height,color:T.backdropColor}}_.push({label:S,font:E,textOffset:$,options:{rotation:p,color:V,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:F,translation:[M,D],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&&au(r,s);const i=this.getLabelItems(e);for(const a of i){const l=a.options,c=a.font,d=a.label,u=a.textOffset;qa(r,d,0,u,c,l)}s&&lu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=rn(r.font),a=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}=JC(this,c,n,l);qa(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:QC(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 ol{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;nx(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,ex(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 ex(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&tx(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function tx(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 nx(t){return"id"in t&&"defaults"in t}class rx{constructor(){this.controllers=new ol(Do,"datasets",!0),this.elements=new ol(Bs,"elements"),this.plugins=new ol(Object,"plugins"),this.scales=new ol(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=Xd(e);ot(r["before"+s],[],r),n[e](r),ot(r["after"+s],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return s}}var Xn=new rx;class sx{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=ix(r);return s===!1&&!n?[]:ax(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 ix(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 ox(t,e){return!e&&t===!1?null:t===!0?{}:t}function ax(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=ox(r[c],s);d!==null&&i.push({plugin:l,options:lx(t.config,{plugin:l,local:n[c]},d,a)})}return i}function lx(t,{plugin:e,local:n},r,s){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Cu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function cx(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 U2(t){if(t==="x"||t==="y"||t==="r")return t}function ux(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function xu(t,...e){if(U2(t))return t;for(const n of e){const r=n.axis||ux(n.position)||t.length>1&&U2(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function q2(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function hx(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 q2(t,"x",n[0])||q2(t,"y",n[0])}return{}}function fx(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Cu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ve(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=xu(a,l,hx(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||Cu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=cx(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 G2(t){const e=t.options||(t.options={});e.plugins=Ae(e.plugins,{}),e.scales=fx(t,e)}function K2(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function mx(t){return t=t||{},t.data=K2(t.data),G2(t),t}const X2=new Map,Q2=new Set;function al(t,e){let n=X2.get(t);return n||(n=e(),X2.set(t,n),Q2.add(n)),n}const No=(t,e,n)=>{const r=Ha(e,n);r!==void 0&&t.add(r)};class px{constructor(e){this._config=mx(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=K2(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(),G2(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return al(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return al(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return al(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return al(`${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=>No(c,e,h))),u.forEach(h=>No(c,s,h)),u.forEach(h=>No(c,Es[i]||{},h)),u.forEach(h=>No(c,mt,h)),u.forEach(h=>No(c,su,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),Q2.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,su]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=J2(this._resolverCache,e,s);let c=a;if(_x(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}=J2(this._resolverCache,e,r);return ve(n)?bi(i,n,void 0,s):i}}function J2(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let i=r.get(s);return i||(i={resolver:du(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const gx=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function _x(t,e){const{isScriptable:n,isIndexable:r}=l2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||gx(l))||a&&tt(l))return!0}return!1}var yx="4.4.2";const wx=["top","bottom","left","right","chartArea"];function em(t,e){return t==="top"||t==="bottom"||wx.indexOf(t)===-1&&e==="x"}function tm(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function nm(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function bx(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function rm(t){return fu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ll={},sm=t=>{const e=rm(t);return Object.values(ll).filter(n=>n.canvas===e).pop()};function kx(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 Cx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function cl(t,e,n){return t.options.clip?t[n]:e[n]}function xx(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:cl(n,e,"left"),right:cl(n,e,"right"),top:cl(r,e,"top"),bottom:cl(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),im()}static unregister(...e){Xn.remove(...e),im()}constructor(e,n){const r=this.config=new px(n),s=rm(e),i=sm(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||IC(s)),this.platform.updateConfig(r);const l=this.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=Ob(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new sx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Ub(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],ll[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",nm),gr.listen(this,"progress",bx),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():p2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return o2(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,p2(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=xu(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=xu(c,l),u=Ae(l.type,a.dtype);(l.position===void 0||em(l.position,d)!==em(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=>{nl.configure(this,a,a.options),nl.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(tm("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,s)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,s;for(this._removeUnreferencedMetasets(),r=0,s=n.length;r<s;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Cu(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=Xn.getController(l),{datasetElementType:d,dataElementType:u}=mt.datasets[l];Object.assign(c,{dataElementType:Xn.getElement(u),datasetElementType:d&&Xn.getElement(d)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){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(tm("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=>{nl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Y0(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;kx(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(!Y0(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;nl.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(),nm({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=xx(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&au(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),s&&lu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=wC.modes[n];return typeof i=="function"?i(this,e,r,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let s=r.filter(i=>i&&i._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(s)),s}getContext(){return this.$context||(this.$context=Jr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const s=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);Ya(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),gr.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),o2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete ll[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}});!Ia(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=Nb(e),d=Cx(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=!Ia(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",ll),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",yx),W(ls,"getChart",sm),ls);function im(){return Re(Bo.instances,t=>t._plugins.invalidate())}function om(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 Mx(t,e,n){t.lineTo(n.x,n.y)}function vx(t){return t.stepped?lk:t.tension||t.cubicInterpolationMode==="monotone"?ck:Mx}function am(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 Sx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=am(s,n,r),u=vx(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 Tx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=am(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=S=>(a+(d?l-S:S))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const S=m.x,M=m.y,D=S|0;D===g?(M<p?p=M:M>_&&(_=M),u=(h*u+S)/++h):(k(),t.lineTo(S,M),g=D,h=0,p=_=M),y=M}k()}function Mu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Tx:Sx}function Dx(t){return t.stepped?Hk:t.tension||t.cubicInterpolationMode==="monotone"?Yk:Vs}function Ox(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),om(t,e.options),t.stroke(s)}function Ex(t,e,n,r){const{segments:s,options:i}=e,a=Mu(e);for(const l of s)om(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const $x=typeof Path2D=="function";function Px(t,e,n,r){$x&&!e.options.segment?Ox(t,e,n,r):Ex(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;Vk(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=Xk(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=b2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Dx(r);let d,u;for(d=0,u=a.length;d<u;++d){const{start:h,end:f}=a[d],m=i[h],g=i[f];if(m===g){l.push(m);continue}const p=Math.abs((s-m[n])/(g[n]-m[n])),_=c(m,g,p,r.stepped);_[n]=e[n],l.push(_)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Mu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Mu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of s)a&=i(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,s){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),Px(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 lm(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 lm(this,n,"x",r)}inYRange(n,r){return lm(this,n,"y",r)}getCenterPoint(n){const{x:r,y:s}=this.getProps(["x","y"],n);return{x:r,y:s}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const s=r&&n.borderWidth||0;return(r+s)*2}draw(n,r){const s=this.options;this.skip||s.radius<.1||!pr(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,ou(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Ao,"id","point"),W(Ao,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Ao,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Lx(t,e,n){const r=t.segments,s=t.points,i=e.points,a=[];for(const l of r){let{start:c,end:d}=l;d=Su(c,d,s);const u=vu(n,s[c],s[d],l.loop);if(!e.segments){a.push({source:l,target:u,start:s[c],end:s[d]});continue}const h=b2(e,u);for(const f of h){const m=vu(n,i[f.start],i[f.end],f.loop),g=w2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:cm(u,m,"start",Math.max)},end:{[n]:cm(u,m,"end",Math.min)}})}}return a}function vu(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=nn(s),i=nn(i)),{property:t,start:s,end:i}}function Vx(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Su(a,l,s);const c=s[a],d=s[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Su(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function cm(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function dm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=Vx(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function um(t){return t&&t.fill!==!1}function Nx(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 Bx(t,e,n){const r=Ix(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?Ax(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Ax(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function Rx(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 Fx(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 Ix(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 zx(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=Hx(e,n);l.push(dm({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++)Yx(s,a[u],l)}return new _r({points:s,options:{}})}function Hx(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 Yx(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=Wx(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function Wx(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(G0(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class hm{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 jx(t){const{chart:e,fill:n,line:r}=t;if(it(n))return Zx(e,n);if(n==="stack")return zx(t);if(n==="shape")return!0;const s=Ux(t);return s instanceof hm?s:dm(s,r)}function Zx(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function Ux(t){return(t.scale||{}).getPointPositionForValue?Gx(t):qx(t)}function qx(t){const{scale:e={},fill:n}=t,r=Rx(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function Gx(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=Fx(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new hm({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<s;++c)l.push(e.getPointPositionForValue(c,a));return l}function Tu(t,e,n){const r=jx(e),{line:s,scale:i,axis:a}=e,l=s.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:h=d}=c||{};r&&s.points.length&&(au(t,n),Kx(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),lu(t))}function Kx(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&&(fm(t,r,a.top),mm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),fm(t,r,a.bottom)),mm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function fm(t,e,n){const{segments:r,points:s}=e;let i=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:d}=l,u=s[c],h=s[Su(c,d,s)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function mm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=Lx(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,Xx(t,a,m&&vu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():pm(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||pm(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function Xx(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 pm(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var gm={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:Bx(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=Nx(s,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let a=s.length-1;a>=0;--a){const l=s[a].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&Tu(t.ctx,l,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let s=r.length-1;s>=0;--s){const i=r[s].$filler;um(i)&&Tu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!um(r)||n.drawTime!=="beforeDatasetDraw"||Tu(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=Jd(e,d);u<s&&(s=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function Qn(t,e){return e&&(tt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function yr(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
32
|
+
*/class nC{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=e2.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 nC;const S2="transparent",rC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=i2(t||S2),s=r.valid&&i2(e||S2);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class sC{constructor(e,n,r,s){const i=n[r];s=Xa([e.to,s,i,e.from]);const a=Xa([e.from,i,s]);this._active=!0,this._fn=e.fn||rC[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=Xa([e.to,n,s,e.from]),this._from=Xa([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 v2{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Se(e))return;const n=Object.keys(mt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!Se(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=oC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&iC(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 sC(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 iC(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 oC(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 T2(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 aC(t,e,n){if(n===!1)return!1;const r=T2(t,n),s=T2(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function lC(t){let e,n,r,s;return Se(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 D2(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 O2(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 cC(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 E2(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function dC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function uC(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 hC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function $2(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 P2(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=dC(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]=hC(s,u,p),f[l]=_,f._top=$2(f,a,!0,r.type),f._bottom=$2(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function ku(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function fC(t,e){return Jr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function mC(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 Cu=t=>t==="reset"||t==="none",L2=(t,e)=>e?t:Object.assign({},t),pC=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:D2(n,!0),values:null};class Do{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=E2(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,ku(e,"x")),a=n.yAxisID=Ae(r.yAxisID,ku(e,"y")),l=n.rAxisID=Ae(r.rAxisID,ku(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&&J0(this._data,this),e._stacked&&To(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(Se(n))this._data=cC(n);else if(r!==n){if(r){J0(r,this);const s=this._cachedMeta;To(s),s._parsed=[]}n&&Object.isExtensible(n)&&Ub(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=E2(n.vScale,n),n.stack!==r.stack&&(s=!0,To(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&P2(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):Se(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&&P2(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(Wa(m,l),f),y:a.parse(Wa(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:D2(s,!0),values:n._stacks[e.axis]._visualValues};return O2(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=O2(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}=uC(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=lC(Ae(this.options.clip,aC(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=mC(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=fC(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&&ja(r);if(l)return L2(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(L2(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 v2(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||Cu(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){Cu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!Cu(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&To(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Do,"defaults",{}),W(Do,"datasetElementType",null),W(Do,"dataElementType",null);class nl extends Do{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=Xb(n,s,a);this._drawStart=l,this._drawCount=c,Qb(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=xo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let v=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const D=e[M],S=y?D:{};if(M<n||M>=C){S.skip=!0;continue}const O=this.getParsed(M),E=Ze(O[m]),I=S[f]=a.getPixelForValue(O[f],M),j=S[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,O,c):O[m],M);S.skip=isNaN(I)||isNaN(j)||E,S.stop=M>0&&Math.abs(O[f]-v[f])>_,p&&(S.parsed=O,S.raw=d.data[M]),h&&(S.options=u||this.resolveDataElementOptions(M,D.active?"active":s)),y||this.updateElement(D,M,S,s),v=O}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(nl,"id","line"),W(nl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(nl,"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 xu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(xu.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 gC={_date:xu};function _C(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?jb:Os;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function Oo(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=_C(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function yC(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 Mu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Oo(t,n,e,function(l,c,d){!s&&!pr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function wC(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=Hb(a,{x:e.x,y:e.y});K0(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Oo(t,n,e,i),s}function bC(t,e,n,r,s,i){let a=[];const l=yC(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return Oo(t,n,e,d),a}function Su(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?wC(t,e,n,s):bC(t,e,n,r,s,i)}function N2(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Oo(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var kC={evaluateInteractionItems:Oo,modes:{index(t,e,n,r){const s=Ls(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Mu(t,s,i,r,a):Su(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?Mu(t,s,i,r,a):Su(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 Mu(t,s,i,r,a)},nearest(t,e,n,r){const s=Ls(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Su(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Ls(e,t);return N2(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Ls(e,t);return N2(t,s,"y",n.intersect,r)}}};const V2=["left","top","right","bottom"];function Eo(t,e){return t.filter(n=>n.pos===e)}function B2(t,e){return t.filter(n=>V2.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 CC(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 xC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!V2.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 MC(t,e){const n=xC(t),{vBoxMaxWidth:r,hBoxMaxHeight:s}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&e.availableWidth,l.height=s):(l.width=r,l.height=u?u*s:c&&e.availableHeight)}return n}function SC(t){const e=CC(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=B2(e,"x"),c=B2(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 A2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function R2(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 vC(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!Se(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&&R2(a,i.getPadding());const l=Math.max(0,e.outerWidth-A2(a,t,"left","right")),c=Math.max(0,e.outerHeight-A2(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 TC(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 DC(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,DC(l.horizontal,e));const{same:h,other:f}=vC(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 rl(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 F2(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;ja(d.start)&&(a=d.start),c.fullSize?rl(c,s.left,a,n.outerWidth-s.right-s.left,f):rl(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;ja(d.start)&&(i=d.start),c.fullSize?rl(c,i,s.top,f,n.outerHeight-s.bottom-s.top):rl(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var sl={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=SC(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);R2(f,gn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=MC(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),TC(m),F2(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,F2(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 I2{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 OC extends I2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const il="$chartjs",EC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},z2=t=>t===null||t==="";function $C(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[il]={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",z2(s)){const i=y2(t,"width");i!==void 0&&(t.width=i)}if(z2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=y2(t,"height");i!==void 0&&(t.height=i)}return t}const H2=Yk?{passive:!0}:!1;function PC(t,e,n){t&&t.addEventListener(e,n,H2)}function LC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,H2)}function NC(t,e){const n=EC[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 ol(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function VC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ol(l.addedNodes,r),a=a&&!ol(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function BC(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ol(l.removedNodes,r),a=a&&!ol(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Lo=new Map;let Y2=0;function W2(){const t=window.devicePixelRatio;t!==Y2&&(Y2=t,Lo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function AC(t,e){Lo.size||window.addEventListener("resize",W2),Lo.set(t,e)}function RC(t){Lo.delete(t),Lo.size||window.removeEventListener("resize",W2)}function FC(t,e,n){const r=t.canvas,s=r&&wu(r);if(!s)return;const i=t2((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),AC(t,i),a}function vu(t,e,n){n&&n.disconnect(),e==="resize"&&RC(t)}function IC(t,e,n){const r=t.canvas,s=t2(i=>{t.ctx!==null&&n(NC(i,t))},t);return PC(r,e,s),s}class zC extends I2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?($C(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[il])return!1;const r=n[il].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[il],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:VC,detach:BC,resize:FC}[n]||IC;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:vu,detach:vu,resize:vu}[n]||LC)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return Hk(e,n,r,s)}isAttached(e){const n=wu(e);return!!(n&&n.isConnected)}}function HC(t){return!yu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?OC:zC}class Bs{constructor(){W(this,"x");W(this,"y");W(this,"active",!1);W(this,"options");W(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return xo(this.x)&&xo(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const s={};return e.forEach(i=>{s[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),s}}W(Bs,"defaults",{}),W(Bs,"defaultRoutes");function YC(t,e){const n=t.options.ticks,r=WC(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?ZC(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return UC(e,d,i,a/s),d;const u=jC(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(al(e,d,u,Ze(m)?0:l-m,l),h=0,f=a-1;h<f;h++)al(e,d,u,i[h],i[h+1]);return al(e,d,u,c,Ze(m)?e.length:c+m),d}return al(e,d,u),d}function WC(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(r,s))}function jC(t,e,n){const r=qC(t),s=e.length/n;if(!r)return Math.max(s,1);const i=Ib(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 ZC(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function UC(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 al(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 qC(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 GC=t=>t==="left"?"right":t==="right"?"left":t,j2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Z2=(t,e)=>Math.min(e||t,t);function U2(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 KC(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 XC(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 q2(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 QC(t,e){return Jr(t,{scale:e,type:"scale"})}function JC(t,e,n){return Jr(t,{tick:n,index:e,type:"tick"})}function ex(t,e,n){let r=Kb(t);return(n&&e!=="right"||!n&&e==="right")&&(r=GC(r)),r}function tx(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=n2(r,i,l),Se(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(Se(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=n2(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?U2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=YC(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ot(this.options.afterUpdate,[this])}beforeSetDimensions(){ot(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){ot(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ot(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ot(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,s,i;for(r=0,s=e.length;r<s;r++)i=e[r],i.label=ot(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){ot(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ot(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Z2(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-q2(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=ru(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=q2(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=U2(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/Z2(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,v,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=v=0,!Ze(g)&&!tt(g))k=Ga(s,y.data,y.gc,k,g),v=C;else if(tt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ze(M)&&!tt(M)&&(k=Ga(s,y.data,y.gc,k,M),v+=C);a.push(k),l.push(v),d=Math.max(k,d),u=Math.max(v,u)}XC(i,n);const D=a.indexOf(d),S=l.indexOf(u),O=E=>({width:a[E]||0,height:l[E]||0});return{first:O(0),last:O(n-1),widest:O(D),highest:O(S),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Wb(this._alignToPixels?$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=JC(this.getContext(),e,r))}return this.$context||(this.$context=QC(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,k,v,M,D,S,O,E,I,j,$,F;if(a==="top")C=y(this.bottom),S=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)-_,S=C+_,E=this.top+f;else if(a==="left")C=y(this.right),D=this.right-f,O=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,D=C+_,O=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(Se(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}j=e.top,F=e.bottom,S=C+_,E=S+f}else if(n==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(Se(a)){const x=Object.keys(a)[0],N=a[x];C=y(this.chart.scales[x].getPixelForValue(N))}D=C-_,O=D-f,I=e.left,$=e.right}const G=Ae(s.ticks.maxTicksLimit,h),T=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=T){const x=this.getContext(k),N=i.setContext(x),Z=l.setContext(x),ee=N.lineWidth,U=N.color,P=Z.dash||[],V=Z.dashOffset,b=N.tickWidth,w=N.tickColor,B=N.tickBorderDash||[],z=N.tickBorderDashOffset;v=KC(this,k,c),v!==void 0&&(M=$s(r,v,ee),d?D=O=I=$=M:S=E=j=F=M,m.push({tx1:D,ty1:S,tx2:O,ty2:E,x1:I,y1:j,x2:$,y2:F,width:ee,color:U,borderDash:P,borderDashOffset:V,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:z}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=No(r.grid),m=f+u,g=h?-u:m,p=-Qr(this.labelRotation),_=[];let y,C,k,v,M,D,S,O,E,I,j,$,F="middle";if(s==="top")D=this.bottom-g,S=this._getXAxisLabelAlignment();else if(s==="bottom")D=this.top+g,S=this._getXAxisLabelAlignment();else if(s==="left"){const T=this._getYAxisLabelAlignment(f);S=T.textAlign,M=T.x}else if(s==="right"){const T=this._getYAxisLabelAlignment(f);S=T.textAlign,M=T.x}else if(n==="x"){if(s==="center")D=(e.top+e.bottom)/2+m;else if(Se(s)){const T=Object.keys(s)[0],x=s[T];D=this.chart.scales[T].getPixelForValue(x)+m}S=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(Se(s)){const T=Object.keys(s)[0],x=s[T];M=this.chart.scales[T].getPixelForValue(x)}S=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){k=l[y],v=k.label;const T=i.setContext(this.getContext(y));O=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=tt(v)?v.length:1;const x=j/2,N=T.color,Z=T.textStrokeColor,ee=T.textStrokeWidth;let U=S;a?(M=O,S==="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&&!T.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(D=O,$=(1-j)*I/2);let P;if(T.showLabelBackdrop){const V=gn(T.backdropPadding),b=G.heights[y],w=G.widths[y];let B=$-V.top,z=0-V.left;switch(F){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(S){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:b+V.height,color:T.backdropColor}}_.push({label:v,font:E,textOffset:$,options:{rotation:p,color:N,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:F,translation:[M,D],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&&hu(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;Ka(r,d,0,u,c,l)}s&&fu(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"||Se(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}=tx(this,c,n,l);Ka(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:ex(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 ll{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;sx(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,nx(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 nx(t,e,n){const r=bo(Object.create(null),[n?mt.get(n):{},mt.get(e),t.defaults]);mt.set(e,r),t.defaultRoutes&&rx(e,t.defaultRoutes),t.descriptors&&mt.describe(e,t.descriptors)}function rx(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 sx(t){return"id"in t&&"defaults"in t}class ix{constructor(){this.controllers=new ll(Do,"datasets",!0),this.elements=new ll(Bs,"elements"),this.plugins=new ll(Object,"plugins"),this.scales=new ll(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=nu(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 ix;class ox{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=ax(r);return s===!1&&!n?[]:cx(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 ax(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 lx(t,e){return!e&&t===!1?null:t===!0?{}:t}function cx(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=lx(r[c],s);d!==null&&i.push({plugin:l,options:dx(t.config,{plugin:l,local:n[c]},d,a)})}return i}function dx(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 Tu(t,e){const n=mt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function ux(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function hx(t,e){return t===e?"_index_":"_value_"}function G2(t){if(t==="x"||t==="y"||t==="r")return t}function fx(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Du(t,...e){if(G2(t))return t;for(const n of e){const r=n.axis||fx(n.position)||t.length>1&&G2(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function K2(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function mx(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 K2(t,"x",n[0])||K2(t,"y",n[0])}return{}}function px(t,e){const n=Es[t.type]||{scales:{}},r=e.scales||{},s=Tu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!Se(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=Du(a,l,mx(a,t),mt.scales[l.type]),d=hx(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||Tu(l,e),u=(Es[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=ux(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 X2(t){const e=t.options||(t.options={});e.plugins=Ae(e.plugins,{}),e.scales=px(t,e)}function Q2(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function gx(t){return t=t||{},t.data=Q2(t.data),X2(t),t}const J2=new Map,em=new Set;function cl(t,e){let n=J2.get(t);return n||(n=e(),J2.set(t,n),em.add(n)),n}const Vo=(t,e,n)=>{const r=Wa(e,n);r!==void 0&&t.add(r)};class _x{constructor(e){this._config=gx(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Q2(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),X2(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return cl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return cl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return cl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return cl(`${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,cu,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),em.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,Es[n]||{},mt.datasets[n]||{},{type:n},mt,cu]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=tm(this._resolverCache,e,s);let c=a;if(wx(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}=tm(this._resolverCache,e,r);return Se(n)?bi(i,n,void 0,s):i}}function tm(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:pu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const yx=t=>Se(t)&&Object.getOwnPropertyNames(t).some(e=>Kr(t[e]));function wx(t,e){const{isScriptable:n,isIndexable:r}=d2(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Kr(l)||yx(l))||a&&tt(l))return!0}return!1}var bx="4.4.2";const kx=["top","bottom","left","right","chartArea"];function nm(t,e){return t==="top"||t==="bottom"||kx.indexOf(t)===-1&&e==="x"}function rm(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function sm(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ot(n&&n.onComplete,[t],e)}function Cx(t){const e=t.chart,n=e.options.animation;ot(n&&n.onProgress,[t],e)}function im(t){return yu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const dl={},om=t=>{const e=im(t);return Object.values(dl).filter(n=>n.canvas===e).pop()};function xx(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 Mx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function ul(t,e,n){return t.options.clip?t[n]:e[n]}function Sx(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:ul(n,e,"left"),right:ul(n,e,"right"),top:ul(r,e,"top"),bottom:ul(r,e,"bottom")}:e}let Bo=(ls=class{static register(...e){Xn.add(...e),am()}static unregister(...e){Xn.remove(...e),am()}constructor(e,n){const r=this.config=new _x(n),s=im(e),i=om(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||HC(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=$b(),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 ox,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Gb(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],dl[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",sm),gr.listen(this,"progress",Cx),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():_2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return l2(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,_2(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=Du(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=Du(c,l),u=Ae(l.type,a.dtype);(l.position===void 0||nm(l.position,d)!==nm(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=>{sl.configure(this,a,a.options),sl.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(rm("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||Tu(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(rm("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=>{sl.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;xx(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;sl.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(),sm({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:s}=this._resizeBeforeDraw;this._resize(r,s),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let s,i;for(s=0,i=n.length;s<i;++s){const a=n[s];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,s=!r.disabled,i=Sx(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&hu(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&&fu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return pr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=kC.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);ja(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(),l2(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete dl[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}});!Ha(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=Ab(e),d=Mx(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=!Ha(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",dl),W(ls,"overrides",Es),W(ls,"registry",Xn),W(ls,"version",bx),W(ls,"getChart",om),ls);function am(){return Re(Bo.instances,t=>t._plugins.invalidate())}function lm(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 vx(t,e,n){t.lineTo(n.x,n.y)}function Tx(t){return t.stepped?dk:t.tension||t.cubicInterpolationMode==="monotone"?uk:vx}function cm(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 Dx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=cm(s,n,r),u=Tx(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 Ox(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=cm(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=v=>(a+(d?l-v:v))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const v=m.x,M=m.y,D=v|0;D===g?(M<p?p=M:M>_&&(_=M),u=(h*u+v)/++h):(k(),t.lineTo(v,M),g=D,h=0,p=_=M),y=M}k()}function Ou(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Ox:Dx}function Ex(t){return t.stepped?Wk:t.tension||t.cubicInterpolationMode==="monotone"?jk:Ns}function $x(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),lm(t,e.options),t.stroke(s)}function Px(t,e,n,r){const{segments:s,options:i}=e,a=Ou(e);for(const l of s)lm(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const Lx=typeof Path2D=="function";function Nx(t,e,n,r){Lx&&!e.options.segment?$x(t,e,n,r):Px(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;Bk(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=Jk(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=C2(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Ex(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 Ou(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Ou(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(),Nx(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 dm(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 dm(this,n,"x",r)}inYRange(n,r){return dm(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,uu(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 Vx(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=$u(c,d,s);const u=Eu(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=C2(e,u);for(const f of h){const m=Eu(n,i[f.start],i[f.end],f.loop),g=k2(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:um(u,m,"start",Math.max)},end:{[n]:um(u,m,"end",Math.min)}})}}return a}function Eu(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 Bx(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=$u(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 $u(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function um(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function hm(t,e){let n=[],r=!1;return tt(t)?(r=!0,n=t):n=Bx(t,e),n.length?new _r({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function fm(t){return t&&t.fill!==!1}function Ax(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 Rx(t,e,n){const r=Hx(t);if(Se(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return it(s)&&Math.floor(s)===s?Fx(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Fx(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function Ix(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:Se(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function zx(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:Se(t)?r=t.value:r=e.getBaseValue(),r}function Hx(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 Yx(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=Wx(e,n);l.push(hm({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++)jx(s,a[u],l)}return new _r({points:s,options:{}})}function Wx(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let s=0;s<r.length;s++){const i=r[s];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function jx(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=Zx(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function Zx(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(X0(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class mm{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 Ux(t){const{chart:e,fill:n,line:r}=t;if(it(n))return qx(e,n);if(n==="stack")return Yx(t);if(n==="shape")return!0;const s=Gx(t);return s instanceof mm?s:hm(s,r)}function qx(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function Gx(t){return(t.scale||{}).getPointPositionForValue?Xx(t):Kx(t)}function Kx(t){const{scale:e={},fill:n}=t,r=Ix(n,e);if(it(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function Xx(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=zx(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new mm({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 Pu(t,e,n){const r=Ux(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&&(hu(t,n),Qx(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),fu(t))}function Qx(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&&(pm(t,r,a.top),gm(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),pm(t,r,a.bottom)),gm(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function pm(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[$u(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 gm(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=Vx(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,Jx(t,a,m&&Eu(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():_m(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||_m(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function Jx(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 _m(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var ym={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:Rx(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=Ax(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&&Pu(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;fm(i)&&Pu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!fm(r)||n.drawTime!=="beforeDatasetDraw"||Pu(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=su(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 Qx(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 _m(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 k=function(S){_=Math.max(_,n.measureText(S).width+C)};return n.save(),n.font=d.string,Re(t.title,k),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Re(r,S=>{Re(S.before,k),Re(S.lines,k),Re(S.after,k)}),C=0,n.font=u.string,Re(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function Jx(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function eM(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 tM(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"),eM(d,t,e,n)&&(d="center"),d}function ym(t,e,n){const r=n.yAlign||e.yAlign||Jx(t,n);return{xAlign:n.xAlign||e.xAlign||tM(t,e,n,r),yAlign:r}}function nM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function rM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function wm(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=nM(e,l);const p=rM(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 dl(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 bm(t){return Qn([],yr(t))}function sM(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function km(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Cm={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"?Cm[e].call(n,r):s}class Du extends Bs{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),s=r.enabled&&n.options.animation&&r.animations,i=new M2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=sM(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 bm(Ht(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=km(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 bm(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(Qx(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=km(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=_m(this,r),d=Object.assign({},l,c),u=ym(this.chart,r,d),h=wm(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,s){const i=this.getCaretPosition(e,r,s);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=So(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,S,M;return i==="center"?(S=m+p/2,s==="left"?(_=f,y=_-a,k=S+a,M=S-a):(_=f+g,y=_+a,k=S-a,M=S+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,S=k-a,_=y-a,C=y+a):(k=m+p,S=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:S,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=pu(r.rtl,this.x,this.width);for(e.x=dl(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=dl(this,"left",i),f=s.x(h),m=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+m;if(i.usePointStyle){const p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},_=s.leftForLtr(f,d)+d/2,y=g+c/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,ou(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,ou(e,p,_,y)}else{e.lineWidth=ve(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const p=s.leftForLtr(f,d),_=s.leftForLtr(s.xPlus(f,1),d-2),y=So(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,cu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),cu(e,{x:_,y:g+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(p,g,d,c),e.strokeRect(p,g,d,c),e.fillStyle=a.backgroundColor,e.fillRect(_,g+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=rn(r.bodyFont);let f=h.lineHeight,m=0;const g=pu(r.rtl,this.x,this.width),p=function(O){n.fillText(O,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,S,M,D,v;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=dl(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,S=0,D=s.length;S<D;++S){for(y=s[S],C=this.labelTextColors[S],n.fillStyle=C,Re(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,S,g,r),f=Math.max(h.lineHeight,c)),M=0,v=k.length;M<v;++M)p(k[M]),f=h.lineHeight;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=pu(r.rtl,this.x,this.width);for(e.x=dl(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=_m(this,e),c=Object.assign({},a,this._size),d=ym(n,e,c),u=wm(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),Zk(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),Uk(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=!Ia(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||!Ia(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(Du,"positioners",Ro);var iM={id:"tooltip",_element:Du,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Du({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Cm},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 oM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function aM(t,e,n,r){const s=t.indexOf(e);if(s===-1)return oM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const lM=(t,e)=>t===null?null:pn(Math.round(t),0,e);function xm(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class ul 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:aM(r,e,Ae(n,e),this._addedLabels),lM(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 xm.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(ul,"id","category"),W(ul,"defaults",{ticks:{callback:xm}});function cM(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ze(a),C=!Ze(l),k=!Ze(d),S=(_-p)/(h+1);let M=j0((_-p)/g/m)*m,D,v,O,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=j0(E*M/g/m)*m),Ze(c)||(D=Math.pow(10,c),M=Math.ceil(M*D)/D),s==="ticks"?(v=Math.floor(p/M)*M,O=Math.ceil(_/M)*M):(v=p,O=_),y&&C&&i&&Fb((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,v=a,O=l):k?(v=y?a:v,O=C?l:O,E=d-1,M=(O-v)/E):(E=(O-v)/M,Co(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(U0(M),U0(v));D=Math.pow(10,Ze(c)?I:c),v=Math.round(v*D)/D,O=Math.round(O*D)/D;let j=0;for(y&&(f&&v!==a?(n.push({value:a}),v<a&&j++,Co(Math.round((v+j*M)*D)/D,a,Mm(a,S,t))&&j++):v<a&&j++);j<E;++j){const $=Math.round((v+j*M)*D)/D;if(C&&$>l)break;n.push({value:$})}return C&&f&&O!==l?n.length&&Co(n[n.length-1].value,l,Mm(l,S,t))?n[n.length-1].value=l:n.push({value:l}):(!C||O===l)&&n.push({value:O}),n}function Mm(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 hl 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=cM(s,i);return e.bounds==="ticks"&&Z0(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const s=(r-n)/Math.max(e.length-1,1)/2;n-=s,r+=s}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return ru(e,this.chart.options.locale,this.options.ticks.format)}}class fl extends hl{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(fl,"id","linear"),W(fl,"defaults",{ticks:{callback:Za.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 Sm(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(;Sm(t,e,r)>10;)r++;for(;Sm(t,e,r)<10;)r--;return Math.min(r,Fo(t))}function uM(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 Tm 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=hl.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=uM(n,this);return e.bounds==="ticks"&&Z0(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":ru(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Xr(e),this._valueRange=Xr(this.max)-Xr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Xr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}W(Tm,"id","logarithmic"),W(Tm,"defaults",{ticks:{callback:Za.formatters.logarithmic,major:{enabled:!0}}});function Ou(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 hM(t,e,n){return n=tt(n)?n:[n],{w:ok(t,e.string,n),h:n.length*e.lineHeight}}function Dm(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 fM(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=hM(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(Qd(m)),p=Dm(g,u.x,f.w,0,180),_=Dm(g,u.y,f.h,90,270);mM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=_M(t,r,s)}function mM(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 pM(t,e,n){const r=t.drawingArea,{extra:s,additionalAngle:i,padding:a,size:l}=n,c=t.getPointPosition(e,r+s+a,i),d=Math.round(Qd(nn(c.angle+tn))),u=bM(c.y,l.h,d),h=yM(d),f=wM(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 gM(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 _M(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Ou(i)/2,additionalAngle:a?vt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=pM(t,u,c);r.push(h),l==="auto"&&(h.visible=gM(h,d),h.visible&&(d=h))}return r}function yM(t){return t===0||t===180?"center":t<180?"left":"right"}function wM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function bM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function kM(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(),cu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function CM(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));kM(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 Om(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 xM(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(),Om(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function MM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class ml extends hl{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(Ou(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=it(e)&&!isNaN(e)?e:0,this.max=it(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Ou(this.options))}generateTickLabels(e){hl.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?fM(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 MM(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(),Om(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&&CM(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);xM(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(ml,"id","radialLinear"),W(ml,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Za.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(ml,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(ml,"descriptors",{angleLines:{_fallback:"grid"}});const pl={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(pl);function Em(t,e){return t-e}function $m(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 Pm(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=pl[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 vM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(pl[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function SM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(pl[Yt[e]].common)return Yt[e]}function Lm(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=eu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function TM(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 Vm(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:TM(t,r,s,n)}class gl 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 mC._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:$m(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=Wb(s,i,a);return this._unit=n.unit||(r.autoSkip?Pm(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):vM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:SM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Vm(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||Pm(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++)Lm(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Lm(u,f,g),Object.keys(u).sort(Em).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,Vm(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($m(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Zb(e.sort(Em))}}W(gl,"id","time"),W(gl,"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 _l(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Os(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Os(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class Nm extends gl{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=_l(n,this.min),this._tableRange=_l(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(_l(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return _l(this._table,r*this._tableRange+this._minPos,!0)}}W(Nm,"id","timeseries"),W(Nm,"defaults",gl.defaults);const Bm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},DM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Bm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},OM=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function Ci(t){return o.isProxy(t)?o.toRaw(t):t}function EM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function $M(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Am(t,e){t.labels=e}function Rm(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 PM(t,e){const n={labels:[],datasets:[]};return Am(n,t.labels),Rm(n,t.datasets,e),n}const LM=o.defineComponent({props:DM,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=PM(u,m),p=EM(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&&($M(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),k=Ci(f.datasets),S=Ci(g.datasets);y!==C&&(Am(p.config.data,y),_=!0),k&&k!==S&&(Rm(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function VM(t,e){return Bo.register(e),o.defineComponent({props:Bm,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(LM,OM({ref:a},{type:t,...n}))}})}const Fm=VM("line",el),NM={class:"chart-container"},Eu={__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(ul,fl,Ao,_r,iM,gm);const e=t,n=d=>{const u=new Set,h=[];let f=[];switch(e.dataType){case"balanceChartData":f=d.map(g=>(u.add(g.date),g.balance));break;case"performanceChartData":f=d.map(g=>(u.add(g.date),g.pnl/g.pnl_to_deposit*100));break}return h.push({data:f}),{labels:Array.from(u),datasets:h}},r=o.computed(()=>n(e.data)),s=d=>{const h=d.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return h.addColorStop(0,e.gradient.startColor),h.addColorStop(1,e.gradient.endColor),h},i=(d,u)=>{let h=document.querySelector(`#${d}-${e.dataType}`);return h||(h=document.createElement("div"),h.classList.add(d),h.setAttribute("id",`${d}-${e.dataType}`),u.canvas.parentNode.appendChild(h)),h},a=d=>{const{chart:u,tooltip:h}=d,f=i("chart-tooltip",u);if(h.opacity===0){f.style.opacity=String(0);return}if(h.body){const p=h.title||[],_=h.body.map(C=>C.lines),y=document.createElement("div");for(y.classList.add("chart-tooltip-middle"),y.innerHTML=`<div class="chart-tooltip-content">
|
|
35
|
-
${e.dataType==="balanceChartData"?`$${
|
|
36
|
-
<span> | ${J1(p[0])}, ${K6(p[0])}</span></div>`;f.firstChild;)f.firstChild.remove();f.appendChild(y)}const{offsetLeft:m,offsetTop:g}=u.canvas;f.style.opacity=String(1),f.style.left=m+h.caretX+"px",f.style.top=g+h.caretY+"px"},l=d=>{const{chart:u}=d,h=i("chart-line",u);u.canvas.addEventListener("mousemove",function(f){const m=u.canvas.getBoundingClientRect(),g=f.clientX-m.left;h.style.left=g+"px",h.style.display="flex"}),u.canvas.addEventListener("mouseout",function(){h.style.display="none"})},c=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{callback:function(d){return J1(this.getLabelForValue(d)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"end"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{callback:function(d){return e.ticksCallback(d)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:a},legend:!1},elements:{line:{backgroundColor:d=>s(d),tension:.3,borderWidth:2,borderColor: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:l});return(d,u)=>(o.openBlock(),o.createElementBlock("div",NM,[o.createVNode(o.unref(Fm),{data:r.value,options:c.value},null,8,["data","options"])]))}},Im={__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(ul,fl,Ao,_r,gm);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:1,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(Fm),{data:r.value,options:i.value},null,8,["data","options"]))}},BM=t=>(o.pushScopeId("data-v-aade6a2a"),t=t(),o.popScopeId(),t),AM={class:"account-balance-widget"},RM={class:"account-balance-widget__top"},FM={class:"account-balance-widget__title-wrapper"},IM=BM(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),zM=De({__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?Nt(r/1e3,2)+"k":Nt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",AM,[o.createElementVNode("div",RM,[o.createElementVNode("div",FM,[IM,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(Eu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-aade6a2a"]]),zm=t=>(o.pushScopeId("data-v-8cc75a8e"),t=t(),o.popScopeId(),t),HM={class:"balance-widget"},YM={class:"balance-part"},WM={class:"balance-part__top"},jM={class:"balance-part__title-wrapper"},ZM=zm(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),UM={class:"balance-part__content"},qM={class:"balance-part__content__wrapper"},GM={class:"balance-part__content__count"},KM={class:"balance-part__content__bitcoin"},XM={key:0,class:"devider"},QM={key:1,class:"personal-target-part"},JM={class:"personal-target-part__top"},ev={class:"personal-target-part__title-wrapper"},tv=zm(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),nv={class:"personal-target-part__content"},rv={class:"personal-target-part__content__current"},sv={class:"personal-target-part__content__from"},iv=De({__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",HM,[o.createElementVNode("div",YM,[o.createElementVNode("div",WM,[o.createElementVNode("div",jM,[ZM,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in $ and btc equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader.")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:l},[o.withDirectives(o.createVNode(o.unref(Ne),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(Ne),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",UM,[o.createElementVNode("div",qM,[o.createElementVNode("div",GM,o.toDisplayString(o.unref(ln)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(Il),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",KM,"= "+o.toDisplayString(i.value)+" BTC",1)]),o.createVNode(o.unref(Im),{class:"balance-part__chart",data:t.balanceChartData},null,8,["data"])]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",XM)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",QM,[o.createElementVNode("div",JM,[o.createElementVNode("div",ev,[tv,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 ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:d[0]||(d[0]=u=>n("switchModal"))},[o.createVNode(o.unref(Ne),{icon:"settings"})])]),o.createElementVNode("div",nv,[o.createElementVNode("div",rv,o.toDisplayString(o.unref(ln)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",sv,"/ "+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(Hp),{"current-profit":t.currentProfit,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","drawdown","profit","is-percentage"])]))]))}},[["__scopeId","data-v-8cc75a8e"]]),yl=t=>(o.pushScopeId("data-v-5903c480"),t=t(),o.popScopeId(),t),ov={class:"calendar-widget"},av={class:"calendar-widget__calendar"},lv={class:"calendar-widget__top"},cv={class:"calendar-widget__title-wrapper"},dv=yl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),uv={class:"stat-calendar"},hv={class:"stat-calendar__week-days"},fv={key:0,class:"stat-calendar__row-wrapper"},mv={class:"stat-calendar__row"},pv=["onClick"],gv=yl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),_v={key:0,class:"calendar-widget__day"},yv={class:"calendar-widget__day__title"},wv={class:"calendar-widget__day__content"},bv={class:"calendar-widget__point"},kv={class:"calendar-widget__point__title"},Cv=yl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),xv={class:"calendar-widget__day__trades"},Mv={class:"calendar-widget__point"},vv={class:"calendar-widget__point__title"},Sv=yl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Tv=De({__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",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("Displays profitable days on green, losing days in red and trading days without significant profit or loss in blue. Also when you click on a specific date, more detailed information about trading day is displayed. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(zp),{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",uv,[o.createElementVNode("div",hv,[(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",fv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",mv,[(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,pv))),256))]))),256))])):o.createCommentVNode("",!0)])]),gv,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",_v,[o.createElementVNode("div",yv,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",wv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",bv,[o.createElementVNode("div",kv,o.toDisplayString(h.title),1),Cv,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(L0),{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",xv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",Mv,[o.createElementVNode("div",vv,o.toDisplayString(h.title),1),Sv,o.createVNode(o.unref(Il),{"is-positive":h.isPositive,"is-negative":h.isNegative,delta:h.value},null,8,["is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(jd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-5903c480"]]),$u=t=>(o.pushScopeId("data-v-a2323720"),t=t(),o.popScopeId(),t),Dv={class:"commission-widget"},Ov={class:"commission-widget__content"},Ev={class:"commission-widget__top"},$v={class:"commission-widget__title-wrapper"},Pv=$u(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),Lv={class:"commission-widget__info"},Vv={class:"commission-widget__total-wrapper"},Nv=$u(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),Bv={class:"commission-widget__total-wrapper__total"},Av={class:"commission-widget__total-wrapper__value"},Rv={class:"commission-widget__points"},Fv={class:"commission-widget__point"},Iv={class:"commission-widget__point__title"},zv=$u(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),Hv=De({__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",Dv,[o.createElementVNode("div",Ov,[o.createElementVNode("div",Ev,[o.createElementVNode("div",$v,[Pv,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. ")]),_: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",Lv,[o.createElementVNode("div",Vv,[Nv,o.createElementVNode("div",Bv,[o.createElementVNode("div",Av," $"+o.toDisplayString(o.unref(Nt)(t.commission)),1)])]),o.createElementVNode("div",Rv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",Fv,[o.createElementVNode("div",Iv,o.toDisplayString(a.title),1),zv,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-a2323720"]]),Yv=t=>(o.pushScopeId("data-v-db6b817e"),t=t(),o.popScopeId(),t),Wv={class:"performance-widget"},jv={class:"performance-widget__top"},Zv={class:"performance-widget__title-wrapper"},Uv=Yv(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),qv=De({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>Nt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",Wv,[o.createElementVNode("div",jv,[o.createElementVNode("div",Zv,[Uv,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. ")]),_: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(Eu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-db6b817e"]]),Pu=t=>(o.pushScopeId("data-v-20e94928"),t=t(),o.popScopeId(),t),Gv={class:"return-widget"},Kv={class:"return-widget__content"},Xv={class:"return-widget__top"},Qv={class:"return-widget__title-wrapper"},Jv=Pu(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),eS={class:"return-widget__info"},tS={class:"return-widget__total-wrapper"},nS=Pu(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),rS={class:"return-widget__total-wrapper__total"},sS={class:"return-widget__points"},iS={class:"return-widget__point"},oS={class:"return-widget__point__title"},aS=Pu(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),lS=["innerHTML"],cS=De({__name:"ReturnWidget",props:{returnData:Object,isShare:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.returnData?s.returnData.profit_factor:0),a=o.computed(()=>s.returnData?s.returnData.return_period:0),l=o.computed(()=>[{title:"Average return per trade",value:c.value||0,options:{isPlus:!0,isFixed:!0},class:c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0},{title:"Return on losers",value:h.value||0}]),c=o.computed(()=>s.returnData&&s.returnData.avarage_total_return),d=o.computed(()=>s.returnData&&s.returnData.daily),u=o.computed(()=>s.returnData&&s.returnData.win),h=o.computed(()=>s.returnData&&s.returnData.lose),f=o.computed(()=>s.returnData&&s.returnData.period_balance_change_rate),m=o.computed(()=>a.value>0),g=o.computed(()=>a.value<0),p=o.computed(()=>i.value>0?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${Nt(i.value,2)}. <br /> You earn ${ln(i.value)} on every $1 loss.`:`Your profit factor is ${Nt(i.value,2)}. <br/> You loss ${ln(Math.abs(i.value))} on every $1 earn. `);return(y,C)=>(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 profit in $ and % for the selected previous period including the current date. This widget also shows the amount of profit and loss separately. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ys),{key:0,modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=k=>n.value=k),onOnChange:C[1]||(C[1]=k=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",eS,[o.createElementVNode("div",tS,[nS,o.createElementVNode("div",rS,[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(Il),{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,k=>(o.openBlock(),o.createElementBlock("div",iS,[o.createElementVNode("div",oS,o.toDisplayString(k.title),1),aS,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",k.class?k.class:""])},o.toDisplayString(o.unref(ln)(k.value,k.options)),3)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(Ne),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,lS)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-20e94928"]]),Hm=t=>(o.pushScopeId("data-v-60161694"),t=t(),o.popScopeId(),t),dS={class:"top-positions-widget"},uS={class:"top-positions-widget__top"},hS={class:"top-positions-widget__title-wrapper"},fS=Hm(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),mS={key:0,class:"top-positions-widget__returns"},pS={class:"top-positions-widget__return"},gS={class:"top-positions-widget__return__left"},_S=Hm(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),yS={class:"top-positions-widget__return__pair"},wS={class:"top-positions-widget__return__right"},bS={class:"top-positions-widget__return__pnl"},kS=De({__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",dS,[o.createElementVNode("div",uS,[o.createElementVNode("div",hS,[fS,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. ")]),_: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",mS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",pS,[o.createElementVNode("div",gS,[_S,o.createElementVNode("div",yS,o.toDisplayString(o.unref(X6)(a.pair)),1)]),o.createElementVNode("div",wS,[o.createElementVNode("div",bS,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(Ne),{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-60161694"]]),Lu=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),CS={class:"trade-widget"},xS={class:"trade-widget__content"},MS={class:"trade-widget__top"},vS={class:"trade-widget__title-wrapper"},SS=Lu(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),TS={class:"trade-widget__info"},DS={class:"trade-widget__total-wrapper"},OS=Lu(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),ES={class:"trade-widget__total-wrapper__total"},$S={class:"trade-widget__total-wrapper__value"},PS={class:"trade-widget__points"},LS={class:"trade-widget__point"},VS={class:"trade-widget__point__title"},NS=Lu(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),BS=De({__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",CS,[o.createElementVNode("div",xS,[o.createElementVNode("div",MS,[o.createElementVNode("div",vS,[SS,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",TS,[o.createElementVNode("div",DS,[OS,o.createElementVNode("div",ES,[o.createElementVNode("div",$S,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",PS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",LS,[o.createElementVNode("div",VS,o.toDisplayString(a.title),1),NS,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),Vu=t=>(o.pushScopeId("data-v-e97f83dc"),t=t(),o.popScopeId(),t),AS={class:"winrate-widget"},RS={class:"winrate-widget__winrate"},FS={class:"winrate-widget__title-wrapper"},IS=Vu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),zS={class:"winrate-widget__chart"},HS={class:"winrate-widget__data"},YS={class:"winrate-widget__data_value"},WS=Vu(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),jS={class:"winrate-widget__average-rr"},ZS={class:"winrate-widget__title-wrapper"},US=Vu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),qS=De({__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",AS,[o.createElementVNode("div",RS,[o.createElementVNode("div",FS,[IS,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. ")]),_:1})]),o.createElementVNode("div",zS,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",HS,[o.createElementVNode("div",YS,o.toDisplayString(o.unref(Nt)(t.winrate,2))+"%",1),WS])])]),o.createElementVNode("div",jS,[o.createElementVNode("div",ZS,[US,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(Ym),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-e97f83dc"]]),GS=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),KS={class:"average-rr-line-container"},XS={class:"average-rr-line"},QS={key:0,class:"average-rr-line__progress"},JS=[GS(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],eT={class:"coefficients"},tT={class:"coefficients__value -min"},nT={class:"coefficients__value -avg"},rT={class:"coefficients__value -max"},Ym=De({__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",KS,[o.createElementVNode("div",XS,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",QS,JS)):o.createCommentVNode("",!0)]),o.createElementVNode("div",eT,[o.createElementVNode("div",tT,o.toDisplayString(t.min),1),o.createElementVNode("div",nT,o.toDisplayString(o.unref(Nt)(t.avg)),1),o.createElementVNode("div",rT,o.toDisplayString(o.unref(Nt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);//! moment.js
|
|
34
|
+
`):t}function eM(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 wm(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((v,M)=>v+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 v=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;p+=m*v+(y-m)*c.lineHeight+(y-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const k=function(v){_=Math.max(_,n.measureText(v).width+C)};return n.save(),n.font=d.string,Re(t.title,k),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Re(r,v=>{Re(v.before,k),Re(v.lines,k),Re(v.after,k)}),C=0,n.font=u.string,Re(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function tM(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function nM(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 rM(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"),nM(d,t,e,n)&&(d="center"),d}function bm(t,e,n){const r=n.yAlign||e.yAlign||tM(t,n);return{xAlign:n.xAlign||e.xAlign||rM(t,e,n,r),yAlign:r}}function sM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function iM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function km(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}=vo(a);let g=sM(e,l);const p=iM(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 hl(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 Cm(t){return Qn([],yr(t))}function oM(t,e,n){return Jr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function xm(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Mm={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"?Mm[e].call(n,r):s}class Lu 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 v2(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=oM(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 Cm(Ht(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=xm(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 Cm(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(eM(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=xm(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=wm(this,r),d=Object.assign({},l,c),u=bm(this.chart,r,d),h=km(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}=vo(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,v,M;return i==="center"?(v=m+p/2,s==="left"?(_=f,y=_-a,k=v+a,M=v-a):(_=f+g,y=_+a,k=v-a,M=v+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,v=k-a,_=y-a,C=y+a):(k=m+p,v=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:v,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=bu(r.rtl,this.x,this.width);for(e.x=hl(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=hl(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,uu(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,uu(e,p,_,y)}else{e.lineWidth=Se(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=vo(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,mu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),mu(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=bu(r.rtl,this.x,this.width),p=function(O){n.fillText(O,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,v,M,D,S;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=hl(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,v=0,D=s.length;v<D;++v){for(y=s[v],C=this.labelTextColors[v],n.fillStyle=C,Re(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,v,g,r),f=Math.max(h.lineHeight,c)),M=0,S=k.length;M<S;++M)p(k[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=bu(r.rtl,this.x,this.width);for(e.x=hl(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}=vo(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=wm(this,e),c=Object.assign({},a,this._size),d=bm(n,e,c),u=km(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),qk(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),Gk(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=!Ha(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||!Ha(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(Lu,"positioners",Ro);var aM={id:"tooltip",_element:Lu,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Lu({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:Mm},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 lM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function cM(t,e,n,r){const s=t.indexOf(e);if(s===-1)return lM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const dM=(t,e)=>t===null?null:pn(Math.round(t),0,e);function Sm(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class fl 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:cM(r,e,Ae(n,e),this._addedLabels),dM(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 Sm.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(fl,"id","category"),W(fl,"defaults",{ticks:{callback:Sm}});function uM(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ze(a),C=!Ze(l),k=!Ze(d),v=(_-p)/(h+1);let M=U0((_-p)/g/m)*m,D,S,O,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=U0(E*M/g/m)*m),Ze(c)||(D=Math.pow(10,c),M=Math.ceil(M*D)/D),s==="ticks"?(S=Math.floor(p/M)*M,O=Math.ceil(_/M)*M):(S=p,O=_),y&&C&&i&&zb((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,S=a,O=l):k?(S=y?a:S,O=C?l:O,E=d-1,M=(O-S)/E):(E=(O-S)/M,Co(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(G0(M),G0(S));D=Math.pow(10,Ze(c)?I:c),S=Math.round(S*D)/D,O=Math.round(O*D)/D;let j=0;for(y&&(f&&S!==a?(n.push({value:a}),S<a&&j++,Co(Math.round((S+j*M)*D)/D,a,vm(a,v,t))&&j++):S<a&&j++);j<E;++j){const $=Math.round((S+j*M)*D)/D;if(C&&$>l)break;n.push({value:$})}return C&&f&&O!==l?n.length&&Co(n[n.length-1].value,l,vm(l,v,t))?n[n.length-1].value=l:n.push({value:l}):(!C||O===l)&&n.push({value:O}),n}function vm(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 ml 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=uM(s,i);return e.bounds==="ticks"&&q0(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 lu(e,this.chart.options.locale,this.options.ticks.format)}}class pl extends ml{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(pl,"id","linear"),W(pl,"defaults",{ticks:{callback:qa.formatters.numeric}});const Fo=t=>Math.floor(Xr(t)),Rs=(t,e)=>Math.pow(10,Fo(t)+e);function Tm(t){return t/Math.pow(10,Fo(t))===1}function Dm(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function hM(t,e){const n=e-t;let r=Fo(n);for(;Dm(t,e,r)>10;)r++;for(;Dm(t,e,r)<10;)r--;return Math.min(r,Fo(t))}function fM(t,{min:e,max:n}){e=Jt(t.min,e);const r=[],s=Fo(e);let i=hM(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:Tm(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:Tm(m),significand:h}),r}class Om 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=ml.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=fM(n,this);return e.bounds==="ticks"&&q0(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":lu(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(Om,"id","logarithmic"),W(Om,"defaults",{ticks:{callback:qa.formatters.logarithmic,major:{enabled:!0}}});function Nu(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 mM(t,e,n){return n=tt(n)?n:[n],{w:lk(t,e.string,n),h:n.length*e.lineHeight}}function Em(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?St/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=mM(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=nn(t.getIndexAngle(c)+l),g=Math.round(ru(m)),p=Em(g,u.x,f.w,0,180),_=Em(g,u.y,f.h,90,270);gM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=wM(t,r,s)}function gM(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 _M(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(ru(nn(c.angle+tn))),u=CM(c.y,l.h,d),h=bM(d),f=kM(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 yM(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 wM(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Nu(i)/2,additionalAngle:a?St/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=_M(t,u,c);r.push(h),l==="auto"&&(h.visible=yM(h,d),h.visible&&(d=h))}return r}function bM(t){return t===0||t===180?"center":t<180?"left":"right"}function kM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function CM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function xM(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ze(l)){const c=vo(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(),mu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function MM(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));xM(n,a,i);const l=rn(a.font),{x:c,y:d,textAlign:u}=i;Ka(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function $m(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,en);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<r;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}function SM(t,e,n,r,s){const i=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(s.dash),i.lineDashOffset=s.dashOffset,i.beginPath(),$m(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function vM(t,e,n){return Jr(t,{label:n,index:e,type:"pointLabel"})}class gl extends ml{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(Nu(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/Nu(this.options))}generateTickLabels(e){ml.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 vM(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(),$m(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&&MM(this,a),s.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),m=s.setContext(f),g=i.setContext(f);SM(this,m,c,a,g)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=rn(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=gn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Ka(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(gl,"id","radialLinear"),W(gl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:qa.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(gl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(gl,"descriptors",{angleLines:{_fallback:"grid"}});const _l={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(_l);function Pm(t,e){return t-e}function Lm(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 Nm(t,e,n,r){const s=Yt.length;for(let i=Yt.indexOf(t);i<s-1;++i){const a=_l[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 TM(t,e,n,r,s){for(let i=Yt.length-1;i>=Yt.indexOf(n);i--){const a=Yt[i];if(_l[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Yt[n?Yt.indexOf(n):0]}function DM(t){for(let e=Yt.indexOf(t)+1,n=Yt.length;e<n;++e)if(_l[Yt[e]].common)return Yt[e]}function Vm(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=iu(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function OM(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 Bm(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:OM(t,r,s,n)}class yl 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 gC._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:Lm(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=Zb(s,i,a);return this._unit=n.unit||(r.autoSkip?Nm(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):TM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:DM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Bm(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||Nm(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++)Vm(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Vm(u,f,g),Object.keys(u).sort(Pm).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,Bm(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(Lm(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return qb(e.sort(Pm))}}W(yl,"id","time"),W(yl,"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 wl(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Os(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Os(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class Am extends yl{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=wl(n,this.min),this._tableRange=wl(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(wl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return wl(this._table,r*this._tableRange+this._minPos,!0)}}W(Am,"id","timeseries"),W(Am,"defaults",yl.defaults);const Rm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},EM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...Rm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},$M=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 PM(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function LM(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Fm(t,e){t.labels=e}function Im(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 NM(t,e){const n={labels:[],datasets:[]};return Fm(n,t.labels),Im(n,t.datasets,e),n}const VM=o.defineComponent({props:EM,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=NM(u,m),p=PM(g,u);i.value=new Bo(s.value,{type:d,data:p,options:{...h},plugins:f})},l=()=>{const d=o.toRaw(i.value);d&&(t.destroyDelay>0?setTimeout(()=>{d.destroy(),i.value=null},t.destroyDelay):(d.destroy(),i.value=null))},c=d=>{d.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(d,u)=>{let[h,f]=d,[m,g]=u;const p=o.toRaw(i.value);if(!p)return;let _=!1;if(h){const y=Ci(h),C=Ci(m);y&&y!==C&&(LM(p,y),_=!0)}if(f){const y=Ci(f.labels),C=Ci(g.labels),k=Ci(f.datasets),v=Ci(g.datasets);y!==C&&(Fm(p.config.data,y),_=!0),k&&k!==v&&(Im(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function BM(t,e){return Bo.register(e),o.defineComponent({props:Rm,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(VM,$M({ref:a},{type:t,...n}))}})}const zm=BM("line",nl),AM={class:"chart-container"},Vu={__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(fl,pl,Ao,_r,aM,ym);const e=t,n=d=>{const u=new Set,h=[];let f=[];switch(e.dataType){case"balanceChartData":f=d.map(g=>(u.add(g.date),g.balance));break;case"performanceChartData":f=d.map(g=>(u.add(g.date),g.pnl/g.pnl_to_deposit*100));break}return h.push({data:f}),{labels:Array.from(u),datasets:h}},r=o.computed(()=>n(e.data)),s=d=>{const h=d.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return h.addColorStop(0,e.gradient.startColor),h.addColorStop(1,e.gradient.endColor),h},i=(d,u)=>{let h=document.querySelector(`#${d}-${e.dataType}`);return h||(h=document.createElement("div"),h.classList.add(d),h.setAttribute("id",`${d}-${e.dataType}`),u.canvas.parentNode.appendChild(h)),h},a=d=>{const{chart:u,tooltip:h}=d,f=i("chart-tooltip",u);if(h.opacity===0){f.style.opacity=String(0);return}if(h.body){const p=h.title||[],_=h.body.map(C=>C.lines),y=document.createElement("div");for(y.classList.add("chart-tooltip-middle"),y.innerHTML=`<div class="chart-tooltip-content">
|
|
35
|
+
${e.dataType==="balanceChartData"?`$${eh(_[0])}`:`${eh(_[0])}%`}
|
|
36
|
+
<span> | ${th(p[0])}, ${Q6(p[0])}</span></div>`;f.firstChild;)f.firstChild.remove();f.appendChild(y)}const{offsetLeft:m,offsetTop:g}=u.canvas;f.style.opacity=String(1),f.style.left=m+h.caretX+"px",f.style.top=g+h.caretY+"px"},l=d=>{const{chart:u}=d,h=i("chart-line",u);u.canvas.addEventListener("mousemove",function(f){const m=u.canvas.getBoundingClientRect(),g=f.clientX-m.left;h.style.left=g+"px",h.style.display="flex"}),u.canvas.addEventListener("mouseout",function(){h.style.display="none"})},c=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{callback:function(d){return th(this.getLabelForValue(d)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"end"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{callback:function(d){return e.ticksCallback(d)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:a},legend:!1},elements:{line:{backgroundColor:d=>s(d),tension:.3,borderWidth:2,borderColor: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:l});return(d,u)=>(o.openBlock(),o.createElementBlock("div",AM,[o.createVNode(o.unref(zm),{data:r.value,options:c.value},null,8,["data","options"])]))}},Hm={__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(fl,pl,Ao,_r,ym);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:1,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(zm),{data:r.value,options:i.value},null,8,["data","options"]))}},Ym=t=>(o.pushScopeId("data-v-cc824515"),t=t(),o.popScopeId(),t),RM={class:"account-balance-widget"},FM={class:"account-balance-widget__top"},IM={class:"account-balance-widget__title-wrapper"},zM=Ym(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),HM=Ym(()=>o.createElementVNode("br",null,null,-1)),YM=De({__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?Vt(r/1e3,2)+"k":Vt(r,2);return(r,s)=>(o.openBlock(),o.createElementBlock("div",RM,[o.createElementVNode("div",FM,[o.createElementVNode("div",IM,[zM,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. "),HM,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(Vu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-cc824515"]]),bl=t=>(o.pushScopeId("data-v-8deb8056"),t=t(),o.popScopeId(),t),WM={class:"balance-widget"},jM={class:"balance-part"},ZM={class:"balance-part__top"},UM={class:"balance-part__title-wrapper"},qM=bl(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),GM=bl(()=>o.createElementVNode("br",null,null,-1)),KM={class:"balance-part__content"},XM={class:"balance-part__content__wrapper"},QM={class:"balance-part__content__count"},JM={class:"balance-part__content__bitcoin"},eS={key:0,class:"devider"},tS={key:1,class:"personal-target-part"},nS={class:"personal-target-part__top"},rS={class:"personal-target-part__title-wrapper"},sS=bl(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),iS=bl(()=>o.createElementVNode("br",null,null,-1)),oS={class:"personal-target-part__content"},aS={class:"personal-target-part__content__current"},lS={class:"personal-target-part__content__from"},cS=De({__name:"BalanceWidget",props:{BTC:{type:Number,default:0},USDT:{type:Number,default:0},delta:{type:Number,default:0},balanceChartData:{type:Array,default:[]},currentProfit:{type:Number,default:0},profit:{type:Number,default:0},drawdown:{type:Number,default:0},isPercentage:Boolean,isShare:{type:Boolean,default:!1}},emits:["switchModal"],setup(t,{emit:e}){const n=e,r=t,s=o.ref(!1),i=o.computed(()=>s.value?"****":r.BTC),a=o.computed(()=>s.value?"****":r.USDT),l=()=>{s.value=!s.value};return(c,d)=>(o.openBlock(),o.createElementBlock("div",WM,[o.createElementVNode("div",jM,[o.createElementVNode("div",ZM,[o.createElementVNode("div",UM,[qM,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in $ and btc equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader."),GM,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.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:l},[o.withDirectives(o.createVNode(o.unref(Ve),{icon:"eye"},null,512),[[o.vShow,s.value]]),o.withDirectives(o.createVNode(o.unref(Ve),{icon:"eye-slash"},null,512),[[o.vShow,!s.value]])]))]),o.createElementVNode("div",KM,[o.createElementVNode("div",XM,[o.createElementVNode("div",QM,o.toDisplayString(o.unref(ln)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(jl),{key:0,"is-hidden":s.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",JM,"= "+o.toDisplayString(i.value)+" BTC",1)]),o.createVNode(o.unref(Hm),{class:"balance-part__chart",data:t.balanceChartData},null,8,["data"])]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",eS)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",tS,[o.createElementVNode("div",nS,[o.createElementVNode("div",rS,[sS,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 "),iS,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(Ve),{icon:"settings"})])]),o.createElementVNode("div",oS,[o.createElementVNode("div",aS,o.toDisplayString(o.unref(ln)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",lS,"/ "+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(Wp),{"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-8deb8056"]]),Io=t=>(o.pushScopeId("data-v-bd464497"),t=t(),o.popScopeId(),t),dS={class:"calendar-widget"},uS={class:"calendar-widget__calendar"},hS={class:"calendar-widget__top"},fS={class:"calendar-widget__title-wrapper"},mS=Io(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),pS=Io(()=>o.createElementVNode("br",null,null,-1)),gS={class:"stat-calendar"},_S={class:"stat-calendar__week-days"},yS={key:0,class:"stat-calendar__row-wrapper"},wS={class:"stat-calendar__row"},bS=["onClick"],kS=Io(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),CS={key:0,class:"calendar-widget__day"},xS={class:"calendar-widget__day__title"},MS={class:"calendar-widget__day__content"},SS={class:"calendar-widget__point"},vS={class:"calendar-widget__point__title"},TS=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),DS={class:"calendar-widget__day__trades"},OS={class:"calendar-widget__point"},ES={class:"calendar-widget__point__title"},$S=Io(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),PS=De({__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",dS,[o.createElementVNode("div",uS,[o.createElementVNode("div",hS,[o.createElementVNode("div",fS,[mS,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. "),pS,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(Yp),{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",gS,[o.createElementVNode("div",_S,[(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",yS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",wS,[(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,bS))),256))]))),256))])):o.createCommentVNode("",!0)])]),kS,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",CS,[o.createElementVNode("div",xS,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",MS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",SS,[o.createElementVNode("div",vS,o.toDisplayString(h.title),1),TS,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(V0),{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",DS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",OS,[o.createElementVNode("div",ES,o.toDisplayString(h.title),1),$S,o.createVNode(o.unref(jl),{"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(Kd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-bd464497"]]),kl=t=>(o.pushScopeId("data-v-5fe5d142"),t=t(),o.popScopeId(),t),LS={class:"commission-widget"},NS={class:"commission-widget__content"},VS={class:"commission-widget__top"},BS={class:"commission-widget__title-wrapper"},AS=kl(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),RS=kl(()=>o.createElementVNode("br",null,null,-1)),FS={class:"commission-widget__info"},IS={class:"commission-widget__total-wrapper"},zS=kl(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),HS={class:"commission-widget__total-wrapper__total"},YS={class:"commission-widget__total-wrapper__value"},WS={class:"commission-widget__points"},jS={class:"commission-widget__point"},ZS={class:"commission-widget__point__title"},US=kl(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),qS=De({__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",LS,[o.createElementVNode("div",NS,[o.createElementVNode("div",VS,[o.createElementVNode("div",BS,[AS,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."),RS,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",FS,[o.createElementVNode("div",IS,[zS,o.createElementVNode("div",HS,[o.createElementVNode("div",YS," $"+o.toDisplayString(o.unref(Vt)(t.commission)),1)])]),o.createElementVNode("div",WS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",jS,[o.createElementVNode("div",ZS,o.toDisplayString(a.title),1),US,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-5fe5d142"]]),Wm=t=>(o.pushScopeId("data-v-71fad3e1"),t=t(),o.popScopeId(),t),GS={class:"performance-widget"},KS={class:"performance-widget__top"},XS={class:"performance-widget__title-wrapper"},QS=Wm(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),JS=Wm(()=>o.createElementVNode("br",null,null,-1)),ev=De({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=r=>Vt(r,2)+"%";return(r,s)=>(o.openBlock(),o.createElementBlock("div",GS,[o.createElementVNode("div",KS,[o.createElementVNode("div",XS,[QS,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."),JS,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(Vu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-71fad3e1"]]),Cl=t=>(o.pushScopeId("data-v-385dc618"),t=t(),o.popScopeId(),t),tv={class:"return-widget"},nv={class:"return-widget__content"},rv={class:"return-widget__top"},sv={class:"return-widget__title-wrapper"},iv=Cl(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),ov=Cl(()=>o.createElementVNode("br",null,null,-1)),av={class:"return-widget__info"},lv={class:"return-widget__total-wrapper"},cv=Cl(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),dv={class:"return-widget__total-wrapper__total"},uv={class:"return-widget__points"},hv={class:"return-widget__point"},fv={class:"return-widget__point__title"},mv=Cl(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),pv=["innerHTML"],gv=De({__name:"ReturnWidget",props:{returnData:Object,isShare:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.returnData?s.returnData.profit_factor:0),a=o.computed(()=>s.returnData?s.returnData.return_period:0),l=o.computed(()=>[{title:"Average return per trade",value:c.value||0,options:{isPlus:!0,isFixed:!0},class:c.value>=0?"-win":"-loss"},{title:"Daily return",value:d.value||0,options:{isPlus:!0,isFixed:!0},class:d.value>=0?"-win":"-loss"},{title:"Return on winners",value:u.value||0},{title:"Return on losers",value:h.value||0}]),c=o.computed(()=>s.returnData&&s.returnData.avarage_total_return),d=o.computed(()=>s.returnData&&s.returnData.daily),u=o.computed(()=>s.returnData&&s.returnData.win),h=o.computed(()=>s.returnData&&s.returnData.lose),f=o.computed(()=>s.returnData&&s.returnData.period_balance_change_rate),m=o.computed(()=>a.value>0),g=o.computed(()=>a.value<0),p=o.computed(()=>i.value>0?"-positive":"-negative"),_=o.computed(()=>i.value>0?`Your profit factor is ${Vt(i.value,2)}. <br /> You earn ${ln(i.value)} on every $1 loss.`:`Your profit factor is ${Vt(i.value,2)}. <br/> You loss ${ln(Math.abs(i.value))} on every $1 earn. `);return(y,C)=>(o.openBlock(),o.createElementBlock("div",tv,[o.createElementVNode("div",nv,[o.createElementVNode("div",rv,[o.createElementVNode("div",sv,[iv,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."),ov,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]=k=>n.value=k),onOnChange:C[1]||(C[1]=k=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",av,[o.createElementVNode("div",lv,[cv,o.createElementVNode("div",dv,[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(jl),{key:0,percentage:"",delta:f.value},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",uv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,k=>(o.openBlock(),o.createElementBlock("div",hv,[o.createElementVNode("div",fv,o.toDisplayString(k.title),1),mv,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",k.class?k.class:""])},o.toDisplayString(o.unref(ln)(k.value,k.options)),3)]))),256))])])]),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",p.value])},[o.createVNode(o.unref(Ve),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:_.value},null,8,pv)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-385dc618"]]),Bu=t=>(o.pushScopeId("data-v-69c2a2fa"),t=t(),o.popScopeId(),t),_v={class:"top-positions-widget"},yv={class:"top-positions-widget__top"},wv={class:"top-positions-widget__title-wrapper"},bv=Bu(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),kv=Bu(()=>o.createElementVNode("br",null,null,-1)),Cv={key:0,class:"top-positions-widget__returns"},xv={class:"top-positions-widget__return"},Mv={class:"top-positions-widget__return__left"},Sv=Bu(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),vv={class:"top-positions-widget__return__pair"},Tv={class:"top-positions-widget__return__right"},Dv={class:"top-positions-widget__return__pnl"},Ov=De({__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",_v,[o.createElementVNode("div",yv,[o.createElementVNode("div",wv,[bv,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. "),kv,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",Cv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",xv,[o.createElementVNode("div",Mv,[Sv,o.createElementVNode("div",vv,o.toDisplayString(o.unref(J6)(a.pair)),1)]),o.createElementVNode("div",Tv,[o.createElementVNode("div",Dv,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(Ve),{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(Kd),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-69c2a2fa"]]),xl=t=>(o.pushScopeId("data-v-0436acb7"),t=t(),o.popScopeId(),t),Ev={class:"trade-widget"},$v={class:"trade-widget__content"},Pv={class:"trade-widget__top"},Lv={class:"trade-widget__title-wrapper"},Nv=xl(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),Vv=xl(()=>o.createElementVNode("br",null,null,-1)),Bv={class:"trade-widget__info"},Av={class:"trade-widget__total-wrapper"},Rv=xl(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),Fv={class:"trade-widget__total-wrapper__total"},Iv={class:"trade-widget__total-wrapper__value"},zv={class:"trade-widget__points"},Hv={class:"trade-widget__point"},Yv={class:"trade-widget__point__title"},Wv=xl(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),jv=De({__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",Ev,[o.createElementVNode("div",$v,[o.createElementVNode("div",Pv,[o.createElementVNode("div",Lv,[Nv,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. "),Vv,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",Bv,[o.createElementVNode("div",Av,[Rv,o.createElementVNode("div",Fv,[o.createElementVNode("div",Iv,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",zv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",Hv,[o.createElementVNode("div",Yv,o.toDisplayString(a.title),1),Wv,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-0436acb7"]]),zo=t=>(o.pushScopeId("data-v-15372a1c"),t=t(),o.popScopeId(),t),Zv={class:"winrate-widget"},Uv={class:"winrate-widget__winrate"},qv={class:"winrate-widget__title-wrapper"},Gv=zo(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),Kv=zo(()=>o.createElementVNode("br",null,null,-1)),Xv={class:"winrate-widget__chart"},Qv={class:"winrate-widget__data"},Jv={class:"winrate-widget__data_value"},eT=zo(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),tT={class:"winrate-widget__average-rr"},nT={class:"winrate-widget__title-wrapper"},rT=zo(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),sT=zo(()=>o.createElementVNode("br",null,null,-1)),iT=De({__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",Zv,[o.createElementVNode("div",Uv,[o.createElementVNode("div",qv,[Gv,o.createVNode(o.unref(fn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. "),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",Xv,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",Qv,[o.createElementVNode("div",Jv,o.toDisplayString(o.unref(Vt)(t.winrate,2))+"%",1),eT])])]),o.createElementVNode("div",tT,[o.createElementVNode("div",nT,[rT,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. "),sT,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(jm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-15372a1c"]]),oT=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),aT={class:"average-rr-line-container"},lT={class:"average-rr-line"},cT={key:0,class:"average-rr-line__progress"},dT=[oT(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],uT={class:"coefficients"},hT={class:"coefficients__value -min"},fT={class:"coefficients__value -avg"},mT={class:"coefficients__value -max"},jm=De({__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",aT,[o.createElementVNode("div",lT,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",cT,dT)):o.createCommentVNode("",!0)]),o.createElementVNode("div",uT,[o.createElementVNode("div",hT,o.toDisplayString(t.min),1),o.createElementVNode("div",fT,o.toDisplayString(o.unref(Vt)(t.avg)),1),o.createElementVNode("div",mT,o.toDisplayString(o.unref(Vt)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);//! moment.js
|
|
37
37
|
//! version : 2.30.1
|
|
38
38
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
39
39
|
//! license : MIT
|
|
40
40
|
//! momentjs.com
|
|
41
|
-
var
|
|
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)}
|
|
41
|
+
var Zm;function re(){return Zm.apply(null,arguments)}function pT(t){Zm=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 Au(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 Ho(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Um(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 bp(t,e,n,r,!0).utc()}function gT(){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=gT()),t._pf}var Ru;Array.prototype.some?Ru=Array.prototype.some:Ru=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 Fu(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=Ru.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 Ml(t){var e=Jn(NaN);return t!=null?es(_e(e),t):_e(e).userInvalidated=!0,e}var qm=re.momentProperties=[],Iu=!1;function zu(t,e){var n,r,s,i=qm.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=qm[n],s=e[r],Wt(s)||(t[r]=s);return t}function Yo(t){zu(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Iu===!1&&(Iu=!0,re.updateOffset(this),Iu=!1)}function Pn(t){return t instanceof Yo||t!=null&&t._isAMomentObject!=null}function Gm(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
|
+
[`+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)}Gm(t+`
|
|
43
43
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
44
|
-
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var qm={};function Gm(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),qm[t]||(Um(e),qm[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 oT(t){var e,n;for(n in t)Ee(t,n)&&(e=t[n],er(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Iu(t,e){var n=es({},t),r;for(r in e)Ee(e,r)&&(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 zu(t){t!=null&&this.set(t)}var Hu;Object.keys?Hu=Object.keys:Hu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var aT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function lT(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 Yu=/(\[[^\[]*\])|(\\)?([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,bl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wu={},xi={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(xi[t]=s),e&&(xi[e[0]]=function(){return tr(s.apply(this,arguments),e[1],e[2])}),n&&(xi[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function cT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function dT(t){var e=t.match(Yu),n,r;for(n=0,r=e.length;n<r;n++)xi[e[n]]?e[n]=xi[e[n]]:e[n]=cT(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 kl(t,e){return t.isValid()?(e=Km(e,t.localeData()),Wu[e]=Wu[e]||dT(e),Wu[e](t)):t.localeData().invalidDate()}function Km(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(bl.lastIndex=0;n>=0&&bl.test(t);)t=t.replace(bl,r),bl.lastIndex=0,n-=1;return t}var uT={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 hT(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Yu).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var fT="Invalid date";function mT(){return this._invalidDate}var pT="%d",gT=/\d{1,2}/;function _T(t){return this._ordinal.replace("%d",t)}var yT={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 wT(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function bT(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var Xm={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"?Xm[t]||Xm[t.toLowerCase()]:void 0}function ju(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=yn(r),n&&(e[n]=t[r]));return e}var kT={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 CT(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:kT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var Qm=/\d/,sn=/\d\d/,Jm=/\d{3}/,Zu=/\d{4}/,Cl=/[+-]?\d{6}/,Ue=/\d\d?/,ep=/\d\d\d\d?/,tp=/\d\d\d\d\d\d?/,xl=/\d{1,3}/,Uu=/\d{1,4}/,Ml=/[+-]?\d{1,6}/,Mi=/\d+/,vl=/[+-]?\d+/,xT=/Z|[+-]\d\d:?\d\d/gi,Sl=/Z|[+-]\d\d(?::?\d\d)?/gi,MT=/[+-]?\d+(\.\d{1,3})?/,Ho=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vi=/^[1-9]\d?/,qu=/^([1-9]\d|\d)/,Tl;Tl={};function se(t,e,n){Tl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function vT(t,e){return Ee(Tl,t)?Tl[t](e._strict,e._locale):new RegExp(ST(t))}function ST(t){return br(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function br(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function 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 Gu={};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++)Gu[t[n]]=r}function Yo(t,e){Ie(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function TT(t,e,n){e!=null&&Ee(Gu,t)&&Gu[t](e,n._a,n,t)}function Dl(t){return t%4===0&&t%100!==0||t%400===0}var $t=0,kr=1,nr=2,bt=3,Ln=4,Cr=5,Is=6,DT=7,OT=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",vl),se("YY",Ue,sn),se("YYYY",Uu,Zu),se("YYYYY",Ml,Cl),se("YYYYYY",Ml,Cl),Ie(["YYYYY","YYYYYY"],$t),Ie("YYYY",function(t,e){e[$t]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Ie("YY",function(t,e){e[$t]=re.parseTwoDigitYear(t)}),Ie("Y",function(t,e){e[$t]=parseInt(t,10)});function Wo(t){return Dl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var np=Si("FullYear",!0);function ET(){return Dl(this.year())}function Si(t,e){return function(n){return n!=null?(rp(this,t,n),re.updateOffset(this,e),this):jo(this,t)}}function jo(t,e){if(!t.isValid())return NaN;var n=t._d,r=t._isUTC;switch(e){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function rp(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&&!Dl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function $T(t){return t=yn(t),er(this[t])?this[t]():this}function PT(t,e){if(typeof t=="object"){t=ju(t);var n=CT(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 LT(t,e){return(t%e+e)%e}var pt;Array.prototype.indexOf?pt=Array.prototype.indexOf:pt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Ku(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=LT(e,12);return t+=(e-n)/12,n===1?Dl(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 VT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),sp="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ip=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,NT=Ho,BT=Ho;function AT(t,e){return t?$n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ip).test(e)?"format":"standalone"][t.month()]:$n(this._months)?this._months:this._months.standalone}function RT(t,e){return t?$n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ip.test(e)?"format":"standalone"][t.month()]:$n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function FT(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 IT(t,e,n){var r,s,i;if(this._monthsParseExact)return FT.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 op(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!wr(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,Ku(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function ap(t){return t!=null?(op(this,t),re.updateOffset(this,!0),this):jo(this,"Month")}function zT(){return Ku(this.year(),this.month())}function HT(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||lp.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=NT),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function YT(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||lp.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=BT),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function lp(){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 WT(t,e,n,r,s,i,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,s,i,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,s,i,a),l}function Zo(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ol(t,e,n){var r=7+e-n,s=(7+Zo(t,0,r).getUTCDay()-e)%7;return-s+r-1}function cp(t,e,n,r,s){var i=(7+n-r)%7,a=Ol(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Wo(c)+l):l>Wo(t)?(c=t+1,d=l-Wo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Uo(t,e,n){var r=Ol(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+xr(a,e,n)):s>xr(t.year(),e,n)?(i=s-xr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function xr(t,e,n){var r=Ol(t,e,n),s=Ol(t+1,e,n);return(Wo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),se("w",Ue,vi),se("ww",Ue,sn),se("W",Ue,vi),se("WW",Ue,sn),Yo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function jT(t){return Uo(t,this._week.dow,this._week.doy).week}var ZT={dow:0,doy:6};function UT(){return this._week.dow}function qT(){return this._week.doy}function GT(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function KT(t){var e=Uo(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}oe("d",0,"do","day"),oe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),oe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),oe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),oe("e",0,0,"weekday"),oe("E",0,0,"isoWeekday"),se("d",Ue),se("e",Ue),se("E",Ue),se("dd",function(t,e){return e.weekdaysMinRegex(t)}),se("ddd",function(t,e){return e.weekdaysShortRegex(t)}),se("dddd",function(t,e){return e.weekdaysRegex(t)}),Yo(["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}),Yo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function XT(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function QT(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Xu(t,e){return t.slice(e,7).concat(t.slice(0,e))}var JT="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),dp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),eD="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tD=Ho,nD=Ho,rD=Ho;function sD(t,e){var n=$n(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Xu(n,this._week.dow):t?n[t.day()]:n}function iD(t){return t===!0?Xu(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function oD(t){return t===!0?Xu(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function aD(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 lD(t,e,n){var r,s,i;if(this._weekdaysParseExact)return aD.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 cD(t){if(!this.isValid())return t!=null?this:NaN;var e=jo(this,"Day");return t!=null?(t=XT(t,this.localeData()),this.add(t-e,"d")):e}function dD(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 uD(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=QT(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function hD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=tD),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function fD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nD),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function mD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||Qu.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rD),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qu(){function t(u,h){return h.length-u.length}var e=[],n=[],r=[],s=[],i,a,l,c,d;for(i=0;i<7;i++)a=Jn([2e3,1]).day(i),l=br(this.weekdaysMin(a,"")),c=br(this.weekdaysShort(a,"")),d=br(this.weekdays(a,"")),e.push(l),n.push(c),r.push(d),s.push(l),s.push(c),s.push(d);e.sort(t),n.sort(t),r.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ju(){return this.hours()%12||12}function pD(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,Ju),oe("k",["kk",2],0,pD),oe("hmm",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+Ju.apply(this)+tr(this.minutes(),2)+tr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+tr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+tr(this.minutes(),2)+tr(this.seconds(),2)});function up(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}up("a",!0),up("A",!1);function hp(t,e){return e._meridiemParse}se("a",hp),se("A",hp),se("H",Ue,qu),se("h",Ue,vi),se("k",Ue,vi),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",ep),se("hmmss",tp),se("Hmm",ep),se("Hmmss",tp),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 gD(t){return(t+"").toLowerCase().charAt(0)==="p"}var _D=/[ap]\.?m?\.?/i,yD=Si("Hours",!0);function wD(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var fp={calendar:aT,longDateFormat:uT,invalidDate:fT,ordinal:pT,dayOfMonthOrdinalParse:gT,relativeTime:yT,months:VT,monthsShort:sp,week:ZT,weekdays:JT,weekdaysMin:eD,weekdaysShort:dp,meridiemParse:_D},Ke={},qo={},Go;function bD(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 mp(t){return t&&t.toLowerCase().replace("_","-")}function kD(t){for(var e=0,n,r,s,i;e<t.length;){for(i=mp(t[e]).split("-"),n=i.length,r=mp(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=El(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&bD(i,r)>=n-1)break;n--}e++}return Go}function CD(t){return!!(t&&t.match("^[^/\\\\]*$"))}function El(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&CD(t))try{e=Go._abbr,n=require,n("./locale/"+t),ts(e)}catch{Ke[t]=null}return Ke[t]}function ts(t,e){var n;return t&&(Wt(e)?n=Mr(t):n=e1(t,e),n?Go=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Go._abbr}function e1(t,e){if(e!==null){var n,r=fp;if(e.abbr=t,Ke[t]!=null)Gm("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=El(e.parentLocale),n!=null)r=n._config;else return qo[e.parentLocale]||(qo[e.parentLocale]=[]),qo[e.parentLocale].push({name:t,config:e}),null;return Ke[t]=new zu(Iu(r,e)),qo[t]&&qo[t].forEach(function(s){e1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function xD(t,e){if(e!=null){var n,r,s=fp;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Iu(Ke[t]._config,e)):(r=El(t),r!=null&&(s=r._config),e=Iu(s,e),r==null&&(e.abbr=t),n=new zu(e),n.parentLocale=Ke[t],Ke[t]=n),ts(t)}else Ke[t]!=null&&(Ke[t].parentLocale!=null?(Ke[t]=Ke[t].parentLocale,t===ts()&&ts(t)):Ke[t]!=null&&delete Ke[t]);return Ke[t]}function Mr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Go;if(!$n(t)){if(e=El(t),e)return e;t=[t]}return kD(t)}function MD(){return Hu(Ke)}function t1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[kr]<0||n[kr]>11?kr:n[nr]<1||n[nr]>Ku(n[$t],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<$t||e>nr)&&(e=nr),_e(t)._overflowWeeks&&e===-1&&(e=DT),_e(t)._overflowWeekday&&e===-1&&(e=OT),_e(t).overflow=e),t}var vD=/^\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)?)?$/,TD=/Z|[+-]\d\d(?::?\d\d)?/,$l=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],n1=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],DD=/^\/?Date\((-?\d+)/i,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}))$/,ED={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 pp(t){var e,n,r=t._i,s=vD.exec(r)||SD.exec(r),i,a,l,c,d=$l.length,u=n1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if($l[e][1].exec(s[1])){a=$l[e][0],i=$l[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(n1[e][1].exec(s[3])){l=(s[2]||" ")+n1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(TD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),s1(t)}else t._isValid=!1}function $D(t,e,n,r,s,i){var a=[PD(t),sp.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function PD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function LD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function VD(t,e,n){if(t){var r=dp.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 ND(t,e,n){if(t)return ED[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function gp(t){var e=OD.exec(LD(t._i)),n;if(e){if(n=$D(e[4],e[3],e[2],e[5],e[6],e[7]),!VD(e[1],n,t))return;t._a=n,t._tzm=ND(e[8],e[9],e[10]),t._d=Zo.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function BD(t){var e=DD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(pp(t),t._isValid===!1)delete t._isValid;else return;if(gp(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 AD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function r1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=AD(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&RD(t),t._dayOfYear!=null&&(a=Ti(t._a[$t],s[$t]),(t._dayOfYear>Wo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Zo(a,0,t._dayOfYear),t._a[kr]=n.getUTCMonth(),t._a[nr]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=s[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[bt]===24&&t._a[Ln]===0&&t._a[Cr]===0&&t._a[Is]===0&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Zo:WT).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 RD(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[$t],Uo(qe(),1,4).year),r=Ti(e.W,1),s=Ti(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=Uo(qe(),i,a),n=Ti(e.gg,t._a[$t],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=cp(n,r,s,i,a),t._a[$t]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function s1(t){if(t._f===re.ISO_8601){pp(t);return}if(t._f===re.RFC_2822){gp(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=Km(t._f,t._locale).match(Yu)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(vT(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),TT(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]=FD(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[$t]=t._locale.erasConvertYear(d,t._a[$t])),r1(t),t1(t)}function FD(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 ID(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=Fu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],s1(e),Au(e)&&(a=!0),i+=_e(e).charsLeftOver,i+=_e(e).unusedTokens.length*10,_e(e).score=i,l?i<r&&(r=i,n=e):(r==null||i<r||a)&&(r=i,n=e,a&&(l=!0));es(t,n||e)}function zD(t){if(!t._d){var e=ju(t._i),n=e.day===void 0?e.date:e.day;t._a=jm([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),r1(t)}}function HD(t){var e=new zo(t1(_p(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function _p(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?wl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Pn(e)?new zo(t1(e)):(Io(e)?t._d=e:$n(n)?ID(t):n?s1(t):YD(t),Au(t)||(t._d=null),t))}function YD(t){var e=t._i;Wt(e)?t._d=new Date(re.now()):Io(e)?t._d=new Date(e.valueOf()):typeof e=="string"?BD(t):$n(e)?(t._a=jm(e.slice(0),function(n){return parseInt(n,10)}),r1(t)):Fs(e)?zD(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function yp(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)&&Nu(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,HD(i)}function qe(t,e,n,r){return yp(t,e,n,r,!1)}var WD=_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:wl()}),jD=_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:wl()});function wp(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 ZD(){var t=[].slice.call(arguments,0);return wp("isBefore",t)}function UD(){var t=[].slice.call(arguments,0);return wp("isAfter",t)}var qD=function(){return Date.now?Date.now():+new Date},Ko=["year","quarter","month","week","day","hour","minute","second","millisecond"];function GD(t){var e,n=!1,r,s=Ko.length;for(e in t)if(Ee(t,e)&&!(pt.call(Ko,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[Ko[r]]){if(n)return!1;parseFloat(t[Ko[r]])!==ke(t[Ko[r]])&&(n=!0)}return!0}function KD(){return this._isValid}function XD(){return Vn(NaN)}function Pl(t){var e=ju(t),n=e.year||0,r=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=GD(e),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+a+i*7,this._months=+s+r*3+n*12,this._data={},this._locale=Mr(),this._bubble()}function Ll(t){return t instanceof Pl}function i1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function QD(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",Sl),se("ZZ",Sl),Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=o1(Sl,t)});var JD=/([\+\-]|\d\d)/gi;function o1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(JD)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function a1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Pn(t)||Io(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function l1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function eO(t,e,n){var r=this._offset||0,s;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=o1(Sl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=l1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?Mp(this,Vn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,re.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:l1(this)}function tO(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function nO(t){return this.utcOffset(0,t)}function rO(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(l1(this),"m")),this}function sO(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=o1(xT,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function iO(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function oO(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function aO(){if(!Wt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Fu(t,this),t=_p(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&QD(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function lO(){return this.isValid()?!this._isUTC:!1}function cO(){return this.isValid()?this._isUTC:!1}function kp(){return this.isValid()?this._isUTC&&this._offset===0:!1}var dO=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,uO=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vn(t,e){var n=t,r=null,s,i,a;return Ll(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:wr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=dO.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(i1(r[Is]*1e3))*s}):(r=uO.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=hO(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Pl(n),Ll(t)&&Ee(t,"_locale")&&(i._locale=t._locale),Ll(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Vn.fn=Pl.prototype,Vn.invalid=XD;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Cp(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 hO(t,e){var n;return t.isValid()&&e.isValid()?(e=a1(e,t),t.isBefore(e)?n=Cp(t,e):(n=Cp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function xp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Gm(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=Vn(n,r),Mp(this,s,t),this}}function Mp(t,e,n,r){var s=e._milliseconds,i=i1(e._days),a=i1(e._months);t.isValid()&&(r=r??!0,a&&op(t,jo(t,"Month")+a*n),i&&rp(t,"Date",jo(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var fO=xp(1,"add"),mO=xp(-1,"subtract");function vp(t){return typeof t=="string"||t instanceof String}function pO(t){return Pn(t)||Io(t)||vp(t)||wr(t)||_O(t)||gO(t)||t===null||t===void 0}function gO(t){var e=Fs(t)&&!Nu(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 _O(t){var e=$n(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&vp(t)}).length===0),e&&n}function yO(t){var e=Fs(t)&&!Nu(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 wO(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 bO(t,e){arguments.length===1&&(arguments[0]?pO(arguments[0])?(t=arguments[0],e=void 0):yO(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=a1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(er(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,qe(n)))}function kO(){return new zo(this)}function CO(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 xO(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 MO(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 vO(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 SO(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function TO(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function DO(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=a1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=yn(e),e){case"year":i=Vl(this,r)/12;break;case"month":i=Vl(this,r);break;case"quarter":i=Vl(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 Vl(t,e){if(t.date()<e.date())return-Vl(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 OO(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function EO(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?kl(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",kl(n,"Z")):kl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $O(){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 PO(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=kl(this,t);return this.localeData().postformat(e)}function LO(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Vn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function VO(t){return this.from(qe(),t)}function NO(t,e){return this.isValid()&&(Pn(t)&&t.isValid()||qe(t).isValid())?Vn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function BO(t){return this.to(qe(),t)}function Sp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var Tp=_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 Dp(){return this._locale}var Nl=1e3,Di=60*Nl,Bl=60*Di,Op=(365*400+97)*24*Bl;function Oi(t,e){return(t%e+e)%e}function Ep(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Op:new Date(t,e,n).valueOf()}function $p(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Op:Date.UTC(t,e,n)}function AO(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?$p:Ep,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Oi(e+(this._isUTC?0:this.utcOffset()*Di),Bl);break;case"minute":e=this._d.valueOf(),e-=Oi(e,Di);break;case"second":e=this._d.valueOf(),e-=Oi(e,Nl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function RO(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?$p:Ep,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+=Bl-Oi(e+(this._isUTC?0:this.utcOffset()*Di),Bl)-1;break;case"minute":e=this._d.valueOf(),e+=Di-Oi(e,Di)-1;break;case"second":e=this._d.valueOf(),e+=Nl-Oi(e,Nl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function FO(){return this._d.valueOf()-(this._offset||0)*6e4}function IO(){return Math.floor(this.valueOf()/1e3)}function zO(){return new Date(this.valueOf())}function HO(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function YO(){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 WO(){return this.isValid()?this.toISOString():null}function jO(){return Au(this)}function ZO(){return es({},_e(this))}function UO(){return _e(this).overflow}function qO(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}oe("N",0,0,"eraAbbr"),oe("NN",0,0,"eraAbbr"),oe("NNN",0,0,"eraAbbr"),oe("NNNN",0,0,"eraName"),oe("NNNNN",0,0,"eraNarrow"),oe("y",["y",1],"yo","eraYear"),oe("y",["yy",2],0,"eraYear"),oe("y",["yyy",3],0,"eraYear"),oe("y",["yyyy",4],0,"eraYear"),se("N",c1),se("NN",c1),se("NNN",c1),se("NNNN",iE),se("NNNNN",oE),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",aE),Ie(["y","yy","yyy","yyyy"],$t),Ie(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[$t]=n._locale.eraYearOrdinalParse(t,s):e[$t]=parseInt(t,10)});function GO(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 KO(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 XO(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 QO(){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 JO(){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 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].abbr;return""}function tE(){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")||d1.call(this),t?this._erasNameRegex:this._erasRegex}function rE(t){return Ee(this,"_erasAbbrRegex")||d1.call(this),t?this._erasAbbrRegex:this._erasRegex}function sE(t){return Ee(this,"_erasNarrowRegex")||d1.call(this),t?this._erasNarrowRegex:this._erasRegex}function c1(t,e){return e.erasAbbrRegex(t)}function iE(t,e){return e.erasNameRegex(t)}function oE(t,e){return e.erasNarrowRegex(t)}function aE(t,e){return e._eraYearOrdinalRegex||Mi}function d1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=br(d[s].name),l=br(d[s].abbr),c=br(d[s].narrow),e.push(a),t.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}oe(0,["gg",2],0,function(){return this.weekYear()%100}),oe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Al(t,e){oe(0,[t,t.length],0,e)}Al("gggg","weekYear"),Al("ggggg","weekYear"),Al("GGGG","isoWeekYear"),Al("GGGGG","isoWeekYear"),se("G",vl),se("g",vl),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",Uu,Zu),se("gggg",Uu,Zu),se("GGGGG",Ml,Cl),se("ggggg",Ml,Cl),Yo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Yo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function lE(t){return Pp.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function cE(t){return Pp.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function dE(){return xr(this.year(),1,4)}function uE(){return xr(this.isoWeekYear(),1,4)}function hE(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function fE(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function Pp(t,e,n,r,s){var i;return t==null?Uo(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),mE.call(this,t,e,n,r,s))}function mE(t,e,n,r,s){var i=cp(t,e,n,r,s),a=Zo(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}oe("Q",0,"Qo","quarter"),se("Q",Qm),Ie("Q",function(t,e){e[kr]=(ke(t)-1)*3});function pE(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 Lp=Si("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",xl),se("DDDD",Jm),Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function gE(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}oe("m",["mm",2],0,"minute"),se("m",Ue,qu),se("mm",Ue,sn),Ie(["m","mm"],Ln);var _E=Si("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,qu),se("ss",Ue,sn),Ie(["s","ss"],Cr);var yE=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",xl,Qm),se("SS",xl,sn),se("SSS",xl,Jm);var ns,Vp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function wE(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Ie(ns,wE);Vp=Si("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function bE(){return this._isUTC?"UTC":""}function kE(){return this._isUTC?"Coordinated Universal Time":""}var Q=zo.prototype;Q.add=fO,Q.calendar=bO,Q.clone=kO,Q.diff=DO,Q.endOf=RO,Q.format=PO,Q.from=LO,Q.fromNow=VO,Q.to=NO,Q.toNow=BO,Q.get=$T,Q.invalidAt=UO,Q.isAfter=CO,Q.isBefore=xO,Q.isBetween=MO,Q.isSame=vO,Q.isSameOrAfter=SO,Q.isSameOrBefore=TO,Q.isValid=jO,Q.lang=Tp,Q.locale=Sp,Q.localeData=Dp,Q.max=jD,Q.min=WD,Q.parsingFlags=ZO,Q.set=PT,Q.startOf=AO,Q.subtract=mO,Q.toArray=HO,Q.toObject=YO,Q.toDate=zO,Q.toISOString=EO,Q.inspect=$O,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=WO,Q.toString=OO,Q.unix=IO,Q.valueOf=FO,Q.creationData=qO,Q.eraName=QO,Q.eraNarrow=JO,Q.eraAbbr=eE,Q.eraYear=tE,Q.year=np,Q.isLeapYear=ET,Q.weekYear=lE,Q.isoWeekYear=cE,Q.quarter=Q.quarters=pE,Q.month=ap,Q.daysInMonth=zT,Q.week=Q.weeks=GT,Q.isoWeek=Q.isoWeeks=KT,Q.weeksInYear=hE,Q.weeksInWeekYear=fE,Q.isoWeeksInYear=dE,Q.isoWeeksInISOWeekYear=uE,Q.date=Lp,Q.day=Q.days=cD,Q.weekday=dD,Q.isoWeekday=uD,Q.dayOfYear=gE,Q.hour=Q.hours=yD,Q.minute=Q.minutes=_E,Q.second=Q.seconds=yE,Q.millisecond=Q.milliseconds=Vp,Q.utcOffset=eO,Q.utc=nO,Q.local=rO,Q.parseZone=sO,Q.hasAlignedHourOffset=iO,Q.isDST=oO,Q.isLocal=lO,Q.isUtcOffset=cO,Q.isUtc=kp,Q.isUTC=kp,Q.zoneAbbr=bE,Q.zoneName=kE,Q.dates=_n("dates accessor is deprecated. Use date instead.",Lp),Q.months=_n("months accessor is deprecated. Use month instead",ap),Q.years=_n("years accessor is deprecated. Use year instead",np),Q.zone=_n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",tO),Q.isDSTShifted=_n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",aO);function CE(t){return qe(t*1e3)}function xE(){return qe.apply(null,arguments).parseZone()}function Np(t){return t}var $e=zu.prototype;$e.calendar=lT,$e.longDateFormat=hT,$e.invalidDate=mT,$e.ordinal=_T,$e.preparse=Np,$e.postformat=Np,$e.relativeTime=wT,$e.pastFuture=bT,$e.set=oT,$e.eras=GO,$e.erasParse=KO,$e.erasConvertYear=XO,$e.erasAbbrRegex=rE,$e.erasNameRegex=nE,$e.erasNarrowRegex=sE,$e.months=AT,$e.monthsShort=RT,$e.monthsParse=IT,$e.monthsRegex=YT,$e.monthsShortRegex=HT,$e.week=jT,$e.firstDayOfYear=qT,$e.firstDayOfWeek=UT,$e.weekdays=sD,$e.weekdaysMin=oD,$e.weekdaysShort=iD,$e.weekdaysParse=lD,$e.weekdaysRegex=hD,$e.weekdaysShortRegex=fD,$e.weekdaysMinRegex=mD,$e.isPM=gD,$e.meridiem=wD;function Rl(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Bp(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Rl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Rl(t,r,n,"month");return s}function u1(t,e,n,r){typeof t=="boolean"?(wr(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,wr(e)&&(n=e,e=void 0),e=e||"");var s=Mr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return Rl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Rl(e,(a+i)%7,r,"day");return l}function ME(t,e){return Bp(t,e,"months")}function vE(t,e){return Bp(t,e,"monthsShort")}function SE(t,e,n){return u1(t,e,n,"weekdays")}function TE(t,e,n){return u1(t,e,n,"weekdaysShort")}function DE(t,e,n){return u1(t,e,n,"weekdaysMin")}ts("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),re.lang=_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 OE(){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 Ap(t,e,n,r){var s=Vn(e,n);return t._milliseconds+=r*s._milliseconds,t._days+=r*s._days,t._months+=r*s._months,t._bubble()}function EE(t,e){return Ap(this,t,e,1)}function $E(t,e){return Ap(this,t,e,-1)}function Rp(t){return t<0?Math.floor(t):Math.ceil(t)}function PE(){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+=Rp(h1(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(Fp(e)),n+=c,e-=Rp(h1(c)),l=wn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function Fp(t){return t*4800/146097}function h1(t){return t*146097/4800}function LE(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+Fp(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(h1(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function Sr(t){return function(){return this.as(t)}}var Ip=Sr("ms"),VE=Sr("s"),NE=Sr("m"),BE=Sr("h"),AE=Sr("d"),RE=Sr("w"),FE=Sr("M"),IE=Sr("Q"),zE=Sr("y"),HE=Ip;function YE(){return Vn(this)}function WE(t){return t=yn(t),this.isValid()?this[t+"s"]():NaN}function Hs(t){return function(){return this.isValid()?this._data[t]:NaN}}var jE=Hs("milliseconds"),ZE=Hs("seconds"),UE=Hs("minutes"),qE=Hs("hours"),GE=Hs("days"),KE=Hs("months"),XE=Hs("years");function QE(){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 JE(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function e$(t,e,n,r){var s=Vn(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,JE.apply(null,f)}function t$(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 r$(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=e$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var f1=Math.abs;function $i(t){return(t>0)-(t<0)||+t}function Fl(){if(!this.isValid())return this.localeData().invalidDate();var t=f1(this._milliseconds)/1e3,e=f1(this._days),n=f1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=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=Pl.prototype;Se.isValid=KD,Se.abs=OE,Se.add=EE,Se.subtract=$E,Se.as=LE,Se.asMilliseconds=Ip,Se.asSeconds=VE,Se.asMinutes=NE,Se.asHours=BE,Se.asDays=AE,Se.asWeeks=RE,Se.asMonths=FE,Se.asQuarters=IE,Se.asYears=zE,Se.valueOf=HE,Se._bubble=PE,Se.clone=YE,Se.get=WE,Se.milliseconds=jE,Se.seconds=ZE,Se.minutes=UE,Se.hours=qE,Se.days=GE,Se.weeks=QE,Se.months=KE,Se.years=XE,Se.humanize=r$,Se.toISOString=Fl,Se.toString=Fl,Se.toJSON=Fl,Se.locale=Sp,Se.localeData=Dp,Se.toIsoString=_n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fl),Se.lang=Tp,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",vl),se("X",MT),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",sT(qe),re.fn=Q,re.min=ZD,re.max=UD,re.now=qD,re.utc=Jn,re.unix=CE,re.months=ME,re.isDate=Io,re.locale=ts,re.invalid=wl,re.duration=Vn,re.isMoment=Pn,re.weekdays=SE,re.parseZone=xE,re.localeData=Mr,re.isDuration=Ll,re.monthsShort=vE,re.weekdaysMin=DE,re.defineLocale=e1,re.updateLocale=xD,re.locales=MD,re.weekdaysShort=TE,re.normalizeUnits=yn,re.relativeTimeRounding=t$,re.relativeTimeThreshold=n$,re.calendarFormat=wO,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 s$={class:"calendar-dropdown"},i$={class:"calendar-dropdown__outer__left"},o$={class:"calendar-dropdown__outer__current"},a$={key:0,class:"calendar-dropdown__inner"},l$={class:"calendar-dropdown__year-switcher"},c$={class:"calendar-dropdown__year-switcher__year"},d$={class:"calendar-dropdown__months"},u$={class:"calendar-dropdown__month-container"},h$=["onClick"],zp=De({__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",s$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:c},[o.createElementVNode("div",i$,[o.createVNode(o.unref(Ne),{icon:"calendar"}),o.createElementVNode("span",o$,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Ne),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?(o.openBlock(),o.createElementBlock("div",a$,[o.createElementVNode("div",l$,[o.createVNode(o.unref(ha),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",c$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ha),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",d$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",u$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,h$)]))),256))])])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-97075c93"]]),f$={class:"period-dropdown"},m$={class:"period-dropdown__outer__left"},p$={class:"period-dropdown__outer__current"},g$={key:0,class:"period-dropdown__inner"},_$=["onClick"],Ys=De({__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",f$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:a},[o.createElementVNode("div",m$,[o.createVNode(o.unref(Ne),{icon:"clock"}),o.createElementVNode("span",p$,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Ne),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?(o.openBlock(),o.createElementBlock("div",g$,[(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(Ne),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,_$)),64))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-76a97d26"]]),y$={class:"progress-line-container"},w$={class:"progress-line"},b$={class:"progress-line__part"},k$={class:"progress-digits"},C$={class:"progress-digits__value"},x$={class:"progress-digits__value"},M$={class:"progress-digits__value"},Hp=De({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Nt(e.currentProfit/e.profit*100):e.currentProfit<0?Nt(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",y$,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",w$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",b$,[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",k$,[o.createElementVNode("div",C$,"-"+o.toDisplayString(o.unref(ln)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",x$,o.toDisplayString(o.unref(ln)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",M$," +"+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-c6fbd53e"]]),v$={class:"widget-chips__text"},Il=De({__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(Ne),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",v$,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function zl(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 S$={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=zl({},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,"",zl({},i,{expires:-1}))},withAttributes:function(s){return m1(this.converter,zl({},this.attributes,s))},withConverter:function(s){return m1(zl({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Pi=m1(S$,{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 Yp(t,e){return function(){return t.apply(e,arguments)}}const{toString:T$}=Object.prototype,{getPrototypeOf:p1}=Object,Hl=(t=>e=>{const n=T$.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rr=t=>(t=t.toLowerCase(),e=>Hl(e)===t),Yl=t=>e=>typeof e===t,{isArray:Li}=Array,Xo=Yl("undefined");function D$(t){return t!==null&&!Xo(t)&&t.constructor!==null&&!Xo(t.constructor)&&bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wp=rr("ArrayBuffer");function O$(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Wp(t.buffer),e}const E$=Yl("string"),bn=Yl("function"),jp=Yl("number"),Wl=t=>t!==null&&typeof t=="object",$$=t=>t===!0||t===!1,jl=t=>{if(Hl(t)!=="object")return!1;const e=p1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},P$=rr("Date"),L$=rr("File"),V$=rr("Blob"),N$=rr("FileList"),B$=t=>Wl(t)&&bn(t.pipe),A$=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||bn(t.append)&&((e=Hl(t))==="formdata"||e==="object"&&bn(t.toString)&&t.toString()==="[object FormData]"))},R$=rr("URLSearchParams"),F$=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),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 Zp(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 Up=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qp=t=>!Xo(t)&&t!==Up;function g1(){const{caseless:t}=qp(this)&&this||{},e={},n=(r,s)=>{const i=t&&Zp(e,s)||s;jl(e[i])&&jl(r)?e[i]=g1(e[i],r):jl(r)?e[i]=g1({},r):Li(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Qo(arguments[r],n);return e}const I$=(t,e,n,{allOwnKeys:r}={})=>(Qo(e,(s,i)=>{n&&bn(s)?t[i]=Yp(s,n):t[i]=s},{allOwnKeys:r}),t),z$=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),H$=(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)},Y$=(t,e,n,r)=>{let s,i,a;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&p1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},W$=(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},j$=t=>{if(!t)return null;if(Li(t))return t;let e=t.length;if(!jp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Z$=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&p1(Uint8Array)),U$=(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])}},q$=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},G$=rr("HTMLFormElement"),K$=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Gp=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),X$=rr("RegExp"),Kp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Qo(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},Q$=t=>{Kp(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+"'")})}})},J$=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Li(t)?r(t):r(String(t).split(e)),n},eP=()=>{},tP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),_1="abcdefghijklmnopqrstuvwxyz",Xp="0123456789",Qp={DIGIT:Xp,ALPHA:_1,ALPHA_DIGIT:_1+_1.toUpperCase()+Xp},nP=(t=16,e=Qp.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function rP(t){return!!(t&&bn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const sP=t=>{const e=new Array(10),n=(r,s)=>{if(Wl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Li(r)?[]:{};return Qo(r,(a,l)=>{const c=n(a,s+1);!Xo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},iP=rr("AsyncFunction"),Y={isArray:Li,isArrayBuffer:Wp,isBuffer:D$,isFormData:A$,isArrayBufferView:O$,isString:E$,isNumber:jp,isBoolean:$$,isObject:Wl,isPlainObject:jl,isUndefined:Xo,isDate:P$,isFile:L$,isBlob:V$,isRegExp:X$,isFunction:bn,isStream:B$,isURLSearchParams:R$,isTypedArray:Z$,isFileList:N$,forEach:Qo,merge:g1,extend:I$,trim:F$,stripBOM:z$,inherits:H$,toFlatObject:Y$,kindOf:Hl,kindOfTest:rr,endsWith:W$,toArray:j$,forEachEntry:U$,matchAll:q$,isHTMLForm:G$,hasOwnProperty:Gp,hasOwnProp:Gp,reduceDescriptors:Kp,freezeMethods:Q$,toObjectSet:J$,toCamelCase:K$,noop:eP,toFiniteNumber:tP,findKey:Zp,global:Up,isContextDefined:qp,ALPHABET:Qp,generateString:nP,isSpecCompliantForm:rP,toJSONObject:sP,isAsyncFn:iP,isThenable:t=>t&&(Wl(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 Jp=Te.prototype,e3={};["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=>{e3[t]={value:t}}),Object.defineProperties(Te,e3),Object.defineProperty(Jp,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(Jp);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 oP=null;function y1(t){return Y.isPlainObject(t)||Y.isArray(t)}function t3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function n3(t,e,n){return t?t.concat(e).map(function(s,i){return s=t3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function aP(t){return Y.isArray(t)&&!t.some(y1)}const lP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Zl(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)&&aP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=t3(p),y.forEach(function(k,S){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?n3([p],S,i):a===null?p:p+"[]",d(k))}),!1}return y1(g)?!0:(e.append(n3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(lP,{defaultVisitor:u,convertValue:d,isVisitable:y1});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 r3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function w1(t,e){this._pairs=[],t&&Zl(t,this,e)}const s3=w1.prototype;s3.append=function(e,n){this._pairs.push([e,n])},s3.toString=function(e){const n=e?function(r){return e.call(this,r,r3)}:r3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function cP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function i3(t,e,n){if(!e)return t;const r=n&&n.encode||cP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new w1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class o3{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 a3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:w1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},l3=typeof window<"u"&&typeof document<"u",uP=(t=>l3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),hP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sr={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:l3,hasStandardBrowserEnv:uP,hasStandardBrowserWebWorkerEnv:hP},Symbol.toStringTag,{value:"Module"})),...dP};function fP(t,e){return Zl(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 mP(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function pP(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 c3(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]=pP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(mP(r),s,n,0)}),n}return null}function gP(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 b1={transitional:a3,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(c3(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 fP(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Zl(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),gP(e)):e}],transformResponse:[function(e){const n=this.transitional||b1.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=>{b1.headers[t]={}});const k1=b1,_P=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"]),yP=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]&&
|
|
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[
|
|
48
|
-
`+i.map(
|
|
49
|
-
`):" "+
|
|
50
|
-
`+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Vi(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&T1.assertOptions(r,{silentJSONParsing:rs.transitional(rs.boolean),forcedJSONParsing:rs.transitional(rs.boolean),clarifyTimeoutError:rs.transitional(rs.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:T1.assertOptions(s,{encode:rs.function,serialize:rs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Y.merge(i.common,i[n.method]);i&&Y.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Dr.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[g3.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=g3.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=Vi(this.defaults,e);const n=h3(e.baseURL,e.url);return i3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){Gl.prototype[e]=function(n,r){return this.request(Vi(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(Vi(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Gl.prototype[e]=n(),Gl.prototype[e+"Form"]=n(!0)});const Kl=Gl;class D1{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,l){r.reason||(r.reason=new ea(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new D1(function(s){e=s}),cancel:e}}}const PP=D1;function LP(t){return function(n){return t.apply(null,n)}}function VP(t){return Y.isObject(t)&&t.isAxiosError===!0}const O1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(O1).forEach(([t,e])=>{O1[e]=t});const NP=O1;function b3(t){const e=new Kl(t),n=Yp(Kl.prototype.request,e);return Y.extend(n,Kl.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return b3(Vi(t,s))},n}const at=b3(k1);at.Axios=Kl,at.CanceledError=ea,at.CancelToken=PP,at.isCancel=u3,at.VERSION=y3,at.toFormData=Zl,at.AxiosError=Te,at.Cancel=at.CanceledError,at.all=function(e){return Promise.all(e)},at.spread=LP,at.isAxiosError=VP,at.mergeConfig=Vi,at.AxiosHeaders=Dr,at.formToJSON=t=>c3(Y.isHTMLForm(t)?new FormData(t):t),at.getAdapter=p3.getAdapter,at.HttpStatusCode=NP,at.default=at;const Xl=at.create({baseURL:"https://api.scope360.io/"}),BP=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}},AP=t=>on.getItem("isOAuth")?t:"Bearer "+t;Xl.interceptors.request.use(async t=>{const e=on.getItem("access_token");return t.headers={Accept:"application/json"},on.getItem("access_token")&&(t.headers.Authorization=AP(e)),t},t=>{Promise.reject(t)}),Xl.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 BP();return at.defaults.headers.common.Authorization="Bearer "+n,Xl(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 RP={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 FP extends Ws{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class IP extends Ws{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class zP extends Ws{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Ni extends Ws{}class k3 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",Nn="short",an="long",Ql={year:ne,month:ne,day:ne},C3={year:ne,month:Nn,day:ne},HP={year:ne,month:Nn,day:ne,weekday:Nn},x3={year:ne,month:an,day:ne},M3={year:ne,month:an,day:ne,weekday:an},v3={hour:ne,minute:ne},S3={hour:ne,minute:ne,second:ne},T3={hour:ne,minute:ne,second:ne,timeZoneName:Nn},D3={hour:ne,minute:ne,second:ne,timeZoneName:an},O3={hour:ne,minute:ne,hourCycle:"h23"},E3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},$3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Nn},P3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},L3={year:ne,month:ne,day:ne,hour:ne,minute:ne},V3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},N3={year:ne,month:Nn,day:ne,hour:ne,minute:ne},B3={year:ne,month:Nn,day:ne,hour:ne,minute:ne,second:ne},YP={year:ne,month:Nn,day:ne,weekday:Nn,hour:ne,minute:ne},A3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Nn},R3={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Nn},F3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},I3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ta{get type(){throw new ss}get name(){throw new ss}get ianaName(){return this.name}get isUniversal(){throw new ss}offsetName(e,n){throw new ss}formatOffset(e,n){throw new ss}offset(e){throw new ss}equals(e){throw new ss}get isValid(){throw new ss}}let E1=null;class Jl extends ta{static get instance(){return E1===null&&(E1=new Jl),E1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return d6(e,n,r)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let ec={};function WP(t){return ec[t]||(ec[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"})),ec[t]}const jP={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function ZP(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 UP(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=jP[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let tc={};class Or extends ta{static create(e){return tc[e]||(tc[e]=new Or(e)),tc[e]}static resetCache(){tc={},ec={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Or.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return d6(e,n,r,this.name)}formatOffset(e,n){return ia(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=WP(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?UP(r,n):ZP(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=oc({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 z3={};function qP(t,e={}){const n=JSON.stringify([t,e]);let r=z3[n];return r||(r=new Intl.ListFormat(t,e),z3[n]=r),r}let $1={};function P1(t,e={}){const n=JSON.stringify([t,e]);let r=$1[n];return r||(r=new Intl.DateTimeFormat(t,e),$1[n]=r),r}let L1={};function GP(t,e={}){const n=JSON.stringify([t,e]);let r=L1[n];return r||(r=new Intl.NumberFormat(t,e),L1[n]=r),r}let V1={};function KP(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=V1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),V1[s]=i),i}let na=null;function XP(){return na||(na=new Intl.DateTimeFormat().resolvedOptions().locale,na)}let H3={};function QP(t){let e=H3[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,H3[t]=e}return e}function JP(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=P1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=P1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function eL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function tL(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 nc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function rL(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class sL{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=GP(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):z1(e,3);return yt(n,this.padTo)}}}class iL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Or.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=P1(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 oL{constructor(e,n,r){this.opts={style:"long",...r},!n&&o6()&&(this.rtf=KP(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):SL(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const aL={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":XP()),c=n||gt.defaultNumberingSystem,d=r||gt.defaultOutputCalendar,u=F1(s)||gt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){na=null,$1={},L1={},V1={}}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]=JP(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=eL(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=rL(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:ze.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,F1(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 nc(this,e,f6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=tL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return nc(this,e,g6,()=>{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 nc(this,void 0,()=>_6,()=>{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 nc(this,e,y6,()=>{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 sL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new iL(e,this.intl,n)}relFormatter(e={}){return new oL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return qP(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:a6()?QP(this.locale):aL}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 N1=null;class Vt extends ta{static get utcInstance(){return N1===null&&(N1=new Vt(0)),N1}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(ac(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ia(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ia(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ia(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class lL extends ta{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(me(t)||t===null)return e;if(t instanceof ta)return t;if(uL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?Jl.instance:n==="utc"||n==="gmt"?Vt.utcInstance:Vt.parseSpecifier(n)||Or.create(t)}else return js(t)?Vt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new lL(t)}let Y3=()=>Date.now(),W3="system",j3=null,Z3=null,U3=null,q3=60,G3,K3=null;class gt{static get now(){return Y3}static set now(e){Y3=e}static set defaultZone(e){W3=e}static get defaultZone(){return is(W3,Jl.instance)}static get defaultLocale(){return j3}static set defaultLocale(e){j3=e}static get defaultNumberingSystem(){return Z3}static set defaultNumberingSystem(e){Z3=e}static get defaultOutputCalendar(){return U3}static set defaultOutputCalendar(e){U3=e}static get defaultWeekSettings(){return K3}static set defaultWeekSettings(e){K3=F1(e)}static get twoDigitCutoffYear(){return q3}static set twoDigitCutoffYear(e){q3=e%100}static get throwOnInvalid(){return G3}static set throwOnInvalid(e){G3=e}static resetCaches(){ze.resetCache(),Or.resetCache()}}class Bn{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const X3=[0,31,59,90,120,151,181,212,243,273,304,334],Q3=[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 B1(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function J3(t,e,n){return n+(ra(t)?Q3:X3)[e-1]}function e6(t,e){const n=ra(t)?Q3:X3,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function A1(t,e){return(t-e+7)%7+1}function rc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=J3(r,s,i),l=A1(B1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=sa(d,e,n)):c>sa(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...cc(t)}}function t6(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=A1(B1(r,1,e),n),l=Ai(r);let c=s*7+i-a-7+e,d;c<1?(d=r-1,c+=Ai(d)):c>l?(d=r+1,c-=Ai(r)):d=r;const{month:u,day:h}=e6(d,c);return{year:d,month:u,day:h,...cc(t)}}function R1(t){const{year:e,month:n,day:r}=t,s=J3(e,n,r);return{year:e,ordinal:s,...cc(t)}}function n6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=e6(e,n);return{year:e,month:r,day:s,...cc(t)}}function r6(t,e){if(!me(t.localWeekday)||!me(t.localWeekNumber)||!me(t.localWeekYear)){if(!me(t.weekday)||!me(t.weekNumber)||!me(t.weekYear))throw new Ni("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 cL(t,e=4,n=1){const r=sc(t.weekYear),s=Cn(t.weekNumber,1,sa(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 dL(t){const e=sc(t.year),n=Cn(t.ordinal,1,Ai(t.year));return e?n?!1:kn("ordinal",t.ordinal):kn("year",t.year)}function s6(t){const e=sc(t.year),n=Cn(t.month,1,12),r=Cn(t.day,1,ic(t.year,t.month));return e?n?r?!1:kn("day",t.day):kn("month",t.month):kn("year",t.year)}function i6(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 sc(t){return typeof t=="number"&&t%1===0}function uL(t){return typeof t=="string"}function hL(t){return Object.prototype.toString.call(t)==="[object Date]"}function o6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function a6(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function fL(t){return Array.isArray(t)?t:[t]}function l6(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 mL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Bi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function F1(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 sc(t)&&t>=e&&t<=n}function pL(t,e){return t-e*Math.floor(t/e)}function yt(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function os(t){if(!(me(t)||t===null||t===""))return parseInt(t,10)}function Zs(t){if(!(me(t)||t===null||t===""))return parseFloat(t)}function I1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function z1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function ra(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return ra(t)?366:365}function ic(t,e){const n=pL(e-1,12)+1,r=t+(e-n)/12;return n===2?ra(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function oc(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 c6(t,e,n){return-A1(B1(t,1,e),n)+e-1}function sa(t,e=4,n=1){const r=c6(t,e,n),s=c6(t+1,e,n);return(Ai(t)-r+s)/7}function H1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function d6(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 ac(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 u6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new jt(`Invalid unit value ${t}`);return e}function lc(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=u6(s)}return n}function ia(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${yt(n,2)}:${yt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${yt(n,2)}${yt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function cc(t){return mL(t,["hour","minute","second","millisecond"])}const gL=["January","February","March","April","May","June","July","August","September","October","November","December"],h6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_L=["J","F","M","A","M","J","J","A","S","O","N","D"];function f6(t){switch(t){case"narrow":return[..._L];case"short":return[...h6];case"long":return[...gL];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 m6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],p6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],yL=["M","T","W","T","F","S","S"];function g6(t){switch(t){case"narrow":return[...yL];case"short":return[...p6];case"long":return[...m6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const _6=["AM","PM"],wL=["Before Christ","Anno Domini"],bL=["BC","AD"],kL=["B","A"];function y6(t){switch(t){case"narrow":return[...kL];case"short":return[...bL];case"long":return[...wL];default:return null}}function CL(t){return _6[t.hour<12?0:1]}function xL(t,e){return g6(e)[t.weekday-1]}function ML(t,e){return f6(e)[t.month-1]}function vL(t,e){return y6(e)[t.year<0?0:1]}function SL(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 w6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const TL={D:Ql,DD:C3,DDD:x3,DDDD:M3,t:v3,tt:S3,ttt:T3,tttt:D3,T:O3,TT:E3,TTT:$3,TTTT:P3,f:L3,ff:N3,fff:A3,ffff:F3,F:V3,FF:B3,FFF:R3,FFFF:I3};class Pt{static create(e,n={}){return new Pt(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 TL[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?CL(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?ML(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?xL(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Pt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?vL(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 w6(Pt.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=Pt.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 w6(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 k6(...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 C6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,DL=`(?:${C6.source}?(?:\\[(${b6.source})\\])?)?`,Y1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,x6=RegExp(`${Y1.source}${DL}`),W1=RegExp(`(?:T${x6.source})?`),OL=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,EL=/(\d{4})-?W(\d\d)(?:-?(\d))?/,$L=/(\d{4})-?(\d{3})/,PL=k6("weekYear","weekNumber","weekDay"),LL=k6("year","ordinal"),VL=/(\d{4})-(\d\d)-(\d\d)/,M6=RegExp(`${Y1.source} ?(?:${C6.source}|(${b6.source}))?`),NL=RegExp(`(?: ${M6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function BL(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:I1(t[e+3])},null,e+4]}function oa(t,e){const n=!t[e]&&!t[e+1],r=ac(t[e+1],t[e+2]),s=n?null:Vt.instance(r);return[{},s,e+3]}function aa(t,e){const n=t[e]?Or.create(t[e]):null;return[{},n,e+1]}const AL=RegExp(`^T?${Y1.source}$`),RL=/^-?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 FL(t){const[e,n,r,s,i,a,l,c,d]=t,u=e[0]==="-",h=c&&c[0]==="-",f=(m,g=!1)=>m!==void 0&&(g||m&&u)?-m:m;return[{years:f(Zs(n)),months:f(Zs(r)),weeks:f(Zs(s)),days:f(Zs(i)),hours:f(Zs(a)),minutes:f(Zs(l)),seconds:f(Zs(c),c==="-0"),milliseconds:f(I1(d),h)}]}const IL={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function j1(t,e,n,r,s,i,a){const l={year:e.length===2?H1(os(e)):os(e),month:h6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?m6.indexOf(t)+1:p6.indexOf(t)+1),l}const zL=/^(?:(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 HL(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=j1(e,s,r,n,i,a,l);let m;return c?m=IL[c]:d?m=0:m=ac(u,h),[f,new Vt(m)]}function YL(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const WL=/^(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$/,jL=/^(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$/,ZL=/^(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 v6(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,s,r,n,i,a,l),Vt.utcInstance]}function UL(t){const[,e,n,r,s,i,a,l]=t;return[j1(e,l,n,r,s,i,a),Vt.utcInstance]}const qL=Ri(OL,W1),GL=Ri(EL,W1),KL=Ri($L,W1),XL=Ri(x6),S6=Fi(BL,Hi,oa,aa),QL=Fi(PL,Hi,oa,aa),JL=Fi(LL,Hi,oa,aa),eV=Fi(Hi,oa,aa);function tV(t){return Ii(t,[qL,S6],[GL,QL],[KL,JL],[XL,eV])}function nV(t){return Ii(YL(t),[zL,HL])}function rV(t){return Ii(t,[WL,v6],[jL,v6],[ZL,UL])}function sV(t){return Ii(t,[RL,FL])}const iV=Fi(Hi);function oV(t){return Ii(t,[AL,iV])}const aV=Ri(VL,NL),lV=Ri(M6),cV=Fi(Hi,oa,aa);function dV(t){return Ii(t,[aV,S6],[lV,cV])}const T6="Invalid Duration",D6={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}},uV={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},...D6},xn=146097/400,Yi=146097/4800,hV={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},...D6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],fV=Us.slice(0).reverse();function as(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Oe(r)}function O6(t,e){let n=e.milliseconds??0;for(const r of fV.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function E6(t,e){const n=O6(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 mV(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class Oe{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?hV:uV;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 Oe.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 Oe({values:lc(e,Oe.normalizeUnit),loc:ze.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(js(e))return Oe.fromMillis(e);if(Oe.isDuration(e))return e;if(typeof e=="object")return Oe.fromObject(e);throw new jt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=sV(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=oV(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new 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 zP(r);return new Oe({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new k3(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?Pt.create(this.loc,r).formatDurationFromString(this,e):T6}toHuman(e={}){if(!this.isValid)return T6;const n=Us.map(r=>{const s=this.values[r];return me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=z1(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},pe.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?O6(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e),r={};for(const s of Us)(Bi(n.values,s)||Bi(this.values,s))&&(r[s]=n.get(s)+this.get(s));return as(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=u6(e(this.values[r],r));return as(this,{values:n},!0)}get(e){return this[Oe.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...lc(e,Oe.normalizeUnit)};return as(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return as(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return E6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=mV(this.normalize().shiftToAll().toObject());return as(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>Oe.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of Us)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;js(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else js(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return E6(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 pV(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 IP(r);return new lt({invalid:r})}static fromDateTimes(e,n){const r=ca(e),s=ca(n),i=pV(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=Oe.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Oe.fromDurationLike(n),s=ca(e);return lt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return lt.fromDateTimes(i,l);if(a){const d=Oe.fromISO(s,n);if(d.isValid)return lt.after(i,d)}else if(c){const d=Oe.fromISO(r,n);if(d.isValid)return lt.before(l,d)}}return lt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?lt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ca).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(lt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=Oe.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(lt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:lt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return lt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(lt.fromDateTimes(n,c.time)),n=null);return lt.merge(s)}difference(...e){return lt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ql,n={}){return this.isValid?Pt.create(this.s.loc.clone(n),e).formatInterval(this):Wi}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Wi}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wi}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Wi}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Wi}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Oe.invalid(this.invalidReason)}mapEndpoints(e){return lt.fromDateTimes(e(this.s),e(this.e))}}class dc{static hasDST(e=gt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Or.isValidZone(e)}static normalizeZone(e){return is(e,gt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||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:o6(),localeWeek:a6()}}}function $6(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Oe.fromMillis(r).as("days"))}function gV(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=$6(c,d);return(u-u%7)/7}],["days",$6]],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 _V(t,e,n,r){let[s,i,a,l]=gV(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=Oe.fromObject(i,r);return d.length>0?Oe.fromMillis(c,r).shiftTo(...d).plus(u):u}const Z1={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},P6={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]},yV=Z1.hanidec.replace(/[\[|\]]/g,"").split("");function wV(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(Z1.hanidec)!==-1)e+=yV.indexOf(t[n]);else for(const s in P6){const[i,a]=P6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${Z1[t||"latn"]}${e}`)}const bV="missing Intl.DateTimeFormat.formatToParts support";function Ve(t,e=n=>n){return{regex:t,deser:([n])=>e(wV(n))}}const L6="[ ]",V6=new RegExp(L6,"g");function kV(t){return t.replace(/\./g,"\\.?").replace(V6,L6)}function N6(t){return t.replace(/\./g,"").replace(V6," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(kV).join("|")),deser:([n])=>t.findIndex(r=>N6(n)===N6(r))+e}}function B6(t,e){return{regex:t,deser:([,n,r])=>ac(n,r),groups:e}}function uc(t){return{regex:t,deser:([e])=>e}}function CV(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function xV(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(CV(_.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,H1);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 uc(u);case"uu":return uc(l);case"uuu":return Ve(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Ve(i);case"kk":return Ve(h,H1);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 B6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return B6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return uc(/[a-z_+-/]{1,256}?/i);case" ":return uc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:bV};return p.token=t,p}const MV={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 vV(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=MV[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 TV(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 DV(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Or.create(t.z)),me(t.Z)||(n||(n=new 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=I1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let U1=null;function OV(){return U1||(U1=pe.fromMillis(1555555555555)),U1}function EV(t,e){if(t.literal)return t;const n=Pt.macroTokenToFormatOpts(t.val),r=F6(n,e);return r==null||r.includes(void 0)?t:r}function A6(t,e){return Array.prototype.concat(...t.map(n=>EV(n,e)))}function R6(t,e,n){const r=A6(Pt.parseFormat(n),t),s=r.map(a=>xV(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]=TV(e,c,l),[h,f,m]=u?DV(u):[null,null,void 0];if(Bi(u,"a")&&Bi(u,"H"))throw new Ni("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 $V(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=R6(t,e,n);return[r,s,i,a]}function F6(t,e){if(!t)return null;const r=Pt.create(e,t).dtFormatter(OV()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>vV(a,t,i))}const q1="Invalid DateTime",I6=864e13;function hc(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function G1(t){return t.weekData===null&&(t.weekData=rc(t.c)),t.weekData}function K1(t){return t.localWeekData===null&&(t.localWeekData=rc(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 z6(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 fc(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 mc(t,e,n){return z6(oc(t),e,n)}function H6(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,ic(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=Oe.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=oc(i);let[c,d]=z6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function la(t,e,n,r,s,i){const{setZone:a,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,d=pe.fromObject(t,{...n,zone:c,specificOffset:i});return a?d:d.setZone(l)}else return pe.invalid(new Bn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function pc(t,e,n=!0){return t.isValid?Pt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function X1(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=yt(t.c.year,n?6:4),e?(r+="-",r+=yt(t.c.month),r+="-",r+=yt(t.c.day)):(r+=yt(t.c.month),r+=yt(t.c.day)),r}function Y6(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 W6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},PV={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},LV={ordinal:1,hour:0,minute:0,second:0,millisecond:0},j6=["year","month","day","hour","minute","second","millisecond"],VV=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],NV=["year","ordinal","hour","minute","second","millisecond"];function BV(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 k3(t);return e}function Z6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return BV(t)}}function U6(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 j6)me(t[d])&&(t[d]=W6[d]);const l=s6(t)||i6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=mc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function q6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=z1(a,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(a,l)),i=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return s(i(n.unit),n.unit);for(const a of n.units){const l=i(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,n.units[n.units.length-1])}function G6(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:hc(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=fc(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]=G6(arguments),[r,s,i,a,l,c,d]=n;return U6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=G6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Vt.utcInstance,U6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=hL(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(hc(s))}static fromMillis(e,n={}){if(js(e))return e<-I6||e>I6?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(hc(r));const s=ze.fromObject(n),i=lc(e,Z6),{minDaysInFirstWeek:a,startOfWeek:l}=r6(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 Ni("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Ni("Can't mix ordinal dates with month/day");const p=g||i.weekday&&!m;let _,y,C=fc(c,d);p?(_=VV,y=PV,C=rc(C,a,l)):u?(_=NV,y=LV,C=R1(C)):(_=j6,y=W6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const S=p?cL(i,a,l):u?dL(i):s6(i),M=S||i6(i);if(M)return pe.invalid(M);const D=p?t6(i,a,l):u?n6(i):i,[v,O]=mc(D,d,r),E=new pe({ts:v,zone:r,o:O,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=tV(e);return la(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=nV(e);return la(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=rV(e);return la(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]=$V(a,e,n);return u?pe.invalid(u):la(l,c,r,`format ${n}`,e,d)}static fromString(e,n,r={}){return pe.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,s]=dV(e);return la(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 FP(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=F6(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return A6(Pt.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?G1(this).weekYear:NaN}get weekNumber(){return this.isValid?G1(this).weekNumber:NaN}get weekday(){return this.isValid?G1(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?K1(this).weekday:NaN}get localWeekNumber(){return this.isValid?K1(this).weekNumber:NaN}get localWeekYear(){return this.isValid?K1(this).weekYear:NaN}get ordinal(){return this.isValid?R1(this.c).ordinal:NaN}get monthShort(){return this.isValid?dc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dc.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=oc(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=fc(c,a),h=fc(d,l);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[qs(this,{ts:c}),qs(this,{ts:d})]:[this]}get isInLeapYear(){return ra(this.year)}get daysInMonth(){return ic(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?sa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Pt.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]=mc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(hc(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=lc(e,Z6),{minDaysInFirstWeek:r,startOfWeek:s}=r6(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 Ni("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Ni("Can't mix ordinal dates with month/day");let h;i?h=t6({...rc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(ic(h.year,h.month),h.day))):h=n6({...R1(this.c),...n});const[f,m]=mc(h,this.o,this.zone);return qs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return qs(this,H6(this,n))}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e).negate();return qs(this,H6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Oe.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Pt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):q1}toLocaleString(e=Ql,n={}){return this.isValid?Pt.create(this.loc.clone(n),e).formatDateTime(this):q1}toLocaleParts(e={}){return this.isValid?Pt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=X1(this,a);return l+="T",l+=Y6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?X1(this,e==="extended"):null}toISOWeekDate(){return pc(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":"")+Y6(this,a==="extended",n,e,r,i):null}toRFC2822(){return pc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return pc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?X1(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||e)&&(r&&(s+=" "),n?s+="z":e&&(s+="ZZ")),pc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():q1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return Oe.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=fL(n).map(Oe.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=_V(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),q6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?q6(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 l6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new jt("max requires all arguments be DateTimes");return l6(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 R6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return Ql}static get DATE_MED(){return C3}static get DATE_MED_WITH_WEEKDAY(){return HP}static get DATE_FULL(){return x3}static get DATE_HUGE(){return M3}static get TIME_SIMPLE(){return v3}static get TIME_WITH_SECONDS(){return S3}static get TIME_WITH_SHORT_OFFSET(){return T3}static get TIME_WITH_LONG_OFFSET(){return D3}static get TIME_24_SIMPLE(){return O3}static get TIME_24_WITH_SECONDS(){return E3}static get TIME_24_WITH_SHORT_OFFSET(){return $3}static get TIME_24_WITH_LONG_OFFSET(){return P3}static get DATETIME_SHORT(){return L3}static get DATETIME_SHORT_WITH_SECONDS(){return V3}static get DATETIME_MED(){return N3}static get DATETIME_MED_WITH_SECONDS(){return B3}static get DATETIME_MED_WITH_WEEKDAY(){return YP}static get DATETIME_FULL(){return A3}static get DATETIME_FULL_WITH_SECONDS(){return R3}static get DATETIME_HUGE(){return F3}static get DATETIME_HUGE_WITH_SECONDS(){return I3}}function ca(t){if(pe.isDateTime(t))return t;if(t&&t.valueOf&&js(t.valueOf()))return pe.fromJSDate(t);if(t&&typeof t=="object")return pe.fromObject(t);throw new jt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Nt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function Q1(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function AV(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function RV(t){return new Date(t).getFullYear()}function K6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function FV(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function IV(t){return new Date(t).getDate()}function J1(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=Nt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function zV(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 X6(t){const e=/^(\w{2,4})(.*)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[3];return r===""||s===""?t:`${r}/${s}`}else return t}const HV=(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},YV={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},gc=t=>{if(!(t!=null&&t.message))return;const e={...YV,...t},n=HV(O0,e,document.body,void 0,"toast"),r=()=>{var s,i,a;(a=(i=(s=n==null?void 0:n.refs)==null?void 0:s.toast)==null?void 0:i.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const s=o.watch(()=>window.location.href,()=>{r(),s()})}return{dismiss:r}},WV=(t,e)=>gc({...e,message:t,type:"success"}),jV=(t,e)=>gc({...e,message:t,type:"error"}),ZV=(t,e)=>gc({...e,message:t,type:"info"}),eh=()=>({open:gc,success:WV,error:jV,info:ZV}),UV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qV=[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 Q6(t,e){return o.openBlock(),o.createElementBlock("svg",UV,[...qV])}const GV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),KV={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XV=[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 J6(t,e){return o.openBlock(),o.createElementBlock("svg",KV,[...XV])}const QV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),JV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eN=[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 eg(t,e){return o.openBlock(),o.createElementBlock("svg",JV,[...eN])}const tN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eg},render:eg},Symbol.toStringTag,{value:"Module"})),nN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},rN=[o.createElementVNode("path",{d:"M12.3334 9.33203L8.00008 13.6654L3.66675 9.33203M8.00008 13.332V2.33203",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function tg(t,e){return o.openBlock(),o.createElementBlock("svg",nN,[...rN])}const sN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tg},render:tg},Symbol.toStringTag,{value:"Module"})),iN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},oN=[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 ng(t,e){return o.openBlock(),o.createElementBlock("svg",iN,[...oN])}const aN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ng},render:ng},Symbol.toStringTag,{value:"Module"})),lN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cN=[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 rg(t,e){return o.openBlock(),o.createElementBlock("svg",lN,[...cN])}const dN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rg},render:rg},Symbol.toStringTag,{value:"Module"})),uN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hN=[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 sg(t,e){return o.openBlock(),o.createElementBlock("svg",uN,[...hN])}const fN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sg},render:sg},Symbol.toStringTag,{value:"Module"})),mN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},pN=[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 ig(t,e){return o.openBlock(),o.createElementBlock("svg",mN,[...pN])}const gN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ig},render:ig},Symbol.toStringTag,{value:"Module"})),_N={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yN=[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 og(t,e){return o.openBlock(),o.createElementBlock("svg",_N,[...yN])}const wN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:og},render:og},Symbol.toStringTag,{value:"Module"})),bN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kN=[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 ag(t,e){return o.openBlock(),o.createElementBlock("svg",bN,[...kN])}const CN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ag},render:ag},Symbol.toStringTag,{value:"Module"})),xN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MN=[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 lg(t,e){return o.openBlock(),o.createElementBlock("svg",xN,[...MN])}const vN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lg},render:lg},Symbol.toStringTag,{value:"Module"})),SN={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},TN=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"#56B683"},null,-1)];function cg(t,e){return o.openBlock(),o.createElementBlock("svg",SN,[...TN])}const DN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cg},render:cg},Symbol.toStringTag,{value:"Module"})),ON={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},EN=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"#F18169"},null,-1)];function dg(t,e){return o.openBlock(),o.createElementBlock("svg",ON,[...EN])}const $N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dg},render:dg},Symbol.toStringTag,{value:"Module"})),PN={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LN=[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 ug(t,e){return o.openBlock(),o.createElementBlock("svg",PN,[...LN])}const VN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ug},render:ug},Symbol.toStringTag,{value:"Module"})),NN={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BN=[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 hg(t,e){return o.openBlock(),o.createElementBlock("svg",NN,[...BN])}const AN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hg},render:hg},Symbol.toStringTag,{value:"Module"})),RN={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FN=[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 fg(t,e){return o.openBlock(),o.createElementBlock("svg",RN,[...FN])}const IN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fg},render:fg},Symbol.toStringTag,{value:"Module"})),zN={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HN=[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 mg(t,e){return o.openBlock(),o.createElementBlock("svg",zN,[...HN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),WN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jN=[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 pg(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...jN])}const ZN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),UN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qN=[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 gg(t,e){return o.openBlock(),o.createElementBlock("svg",UN,[...qN])}const GN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),KN={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XN=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function _g(t,e){return o.openBlock(),o.createElementBlock("svg",KN,[...XN])}const QN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_g},render:_g},Symbol.toStringTag,{value:"Module"})),JN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eB=[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 yg(t,e){return o.openBlock(),o.createElementBlock("svg",JN,[...eB])}const tB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),nB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function wg(t,e){return o.openBlock(),o.createElementBlock("svg",nB,[...rB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),iB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oB=[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",iB,[...oB])}const aB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},Symbol.toStringTag,{value:"Module"})),lB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cB=[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 kg(t,e){return o.openBlock(),o.createElementBlock("svg",lB,[...cB])}const dB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),uB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},hB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Cg(t,e){return o.openBlock(),o.createElementBlock("svg",uB,[...hB])}const fB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),mB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pB=[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 xg(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),_B={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yB=[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 Mg(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),bB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kB=[o.createElementVNode("path",{d:"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 vg(t,e){return o.openBlock(),o.createElementBlock("svg",bB,[...kB])}const CB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),xB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},MB=[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 Sg(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const vB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),SB={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TB=[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 Tg(t,e){return o.openBlock(),o.createElementBlock("svg",SB,[...TB])}const DB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},Symbol.toStringTag,{value:"Module"})),OB={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},EB=[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 Dg(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...EB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),PB={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LB=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Vector",opacity:"0.2",d:"M21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3C12 4.19347 12.4741 5.33807 13.318 6.18198C14.1619 7.02589 15.3065 7.5 16.5 7.5C16.5 8.69347 16.9741 9.83807 17.818 10.682C18.6619 11.5259 19.8065 12 21 12Z",fill:"#007AFF"}),o.createElementVNode("path",{id:"Vector_2",d:"M15.4209 15.3291C15.5779 15.4866 15.6846 15.687 15.7277 15.9051C15.7708 16.1233 15.7483 16.3493 15.6631 16.5546C15.5778 16.7599 15.4336 16.9354 15.2487 17.0588C15.0638 17.1823 14.8464 17.2482 14.6241 17.2482C14.4017 17.2482 14.1844 17.1823 13.9995 17.0588C13.8145 16.9354 13.6703 16.7599 13.5851 16.5546C13.4998 16.3493 13.4773 16.1233 13.5204 15.9051C13.5635 15.687 13.6702 15.4866 13.8272 15.3291C13.9317 15.2242 14.0559 15.141 14.1926 15.0842C14.3294 15.0274 14.476 14.9982 14.6241 14.9982C14.7721 14.9982 14.9187 15.0274 15.0555 15.0842C15.1922 15.141 15.3164 15.2242 15.4209 15.3291ZM7.82719 14.5791C7.67025 14.7366 7.56349 14.937 7.5204 15.1551C7.47731 15.3733 7.49981 15.5993 7.58508 15.8046C7.67034 16.0099 7.81454 16.1854 7.99946 16.3088C8.18438 16.4323 8.40173 16.4982 8.62407 16.4982C8.8464 16.4982 9.06376 16.4323 9.24868 16.3088C9.4336 16.1854 9.57779 16.0099 9.66306 15.8046C9.74832 15.5993 9.77083 15.3733 9.72773 15.1551C9.68464 14.937 9.57788 14.7366 9.42094 14.5791C9.31646 14.4745 9.19239 14.3915 9.05581 14.3349C8.91924 14.2783 8.77285 14.2491 8.625 14.2491C8.47716 14.2491 8.33077 14.2783 8.1942 14.3349C8.05762 14.3915 7.93355 14.4745 7.82907 14.5791H7.82719ZM8.67094 10.9228C8.82788 10.7653 8.93464 10.5649 8.97773 10.3467C9.02083 10.1286 8.99832 9.90262 8.91306 9.69728C8.82779 9.49194 8.6836 9.31647 8.49868 9.19303C8.31376 9.06958 8.0964 9.0037 7.87407 9.0037C7.65173 9.0037 7.43438 9.06958 7.24946 9.19303C7.06454 9.31647 6.92034 9.49194 6.83508 9.69728C6.74981 9.90262 6.72731 10.1286 6.7704 10.3467C6.81349 10.5649 6.92025 10.7653 7.07719 10.9228C7.18183 11.0276 7.30612 11.1106 7.44293 11.1673C7.57975 11.2239 7.72639 11.2529 7.87446 11.2528C8.02252 11.2526 8.1691 11.2232 8.30578 11.1662C8.44245 11.1093 8.56655 11.0259 8.67094 10.9209V10.9228ZM13.1709 10.8291C13.0135 10.6721 12.813 10.5654 12.5949 10.5223C12.3767 10.4792 12.1507 10.5017 11.9454 10.5869C11.7401 10.6722 11.5646 10.8164 11.4412 11.0013C11.3177 11.1862 11.2518 11.4036 11.2518 11.6259C11.2518 11.8483 11.3177 12.0656 11.4412 12.2505C11.5646 12.4355 11.7401 12.5797 11.9454 12.6649C12.1507 12.7502 12.3767 12.7727 12.5949 12.7296C12.813 12.6865 13.0135 12.5798 13.1709 12.4228C13.2758 12.3183 13.359 12.1941 13.4158 12.0574C13.4726 11.9206 13.5018 11.774 13.5018 11.6259C13.5018 11.4779 13.4726 11.3313 13.4158 11.1945C13.359 11.0578 13.2758 10.9336 13.1709 10.8291ZM21.75 12C21.75 13.9284 21.1782 15.8134 20.1068 17.4168C19.0355 19.0202 17.5127 20.2699 15.7312 21.0078C13.9496 21.7458 11.9892 21.9389 10.0979 21.5627C8.20656 21.1865 6.46928 20.2579 5.10571 18.8943C3.74215 17.5307 2.81355 15.7934 2.43735 13.9021C2.06114 12.0108 2.25422 10.0504 2.99218 8.26884C3.73013 6.48726 4.97982 4.96451 6.58319 3.89317C8.18657 2.82183 10.0716 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3C12.75 3.99456 13.1451 4.94839 13.8484 5.65165C14.5516 6.35491 15.5054 6.75 16.5 6.75C16.6989 6.75 16.8897 6.82902 17.0303 6.96967C17.171 7.11032 17.25 7.30109 17.25 7.5C17.25 8.49456 17.6451 9.44839 18.3484 10.1517C19.0516 10.8549 20.0054 11.25 21 11.25C21.1989 11.25 21.3897 11.329 21.5303 11.4697C21.671 11.6103 21.75 11.8011 21.75 12ZM20.2209 12.6928C19.0977 12.5223 18.0598 11.9929 17.2623 11.1836C16.4649 10.3744 15.9508 9.32878 15.7969 8.20312C14.6712 8.0492 13.6256 7.5351 12.8164 6.73768C12.0071 5.94025 11.4777 4.90233 11.3072 3.77906C9.74009 3.91115 8.24339 4.48839 6.99343 5.44279C5.74348 6.39719 4.79235 7.68897 4.25212 9.16593C3.71189 10.6429 3.60507 12.2435 3.94423 13.7791C4.2834 15.3148 5.05442 16.7215 6.16646 17.8335C7.2785 18.9456 8.68522 19.7166 10.2209 20.0558C11.7565 20.3949 13.3571 20.2881 14.8341 19.7479C16.311 19.2077 17.6028 18.2565 18.5572 17.0066C19.5116 15.7566 20.0889 14.2599 20.2209 12.6928Z",fill:"#007AFF"})],-1)];function Og(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const VB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),NB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},BB=[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 Eg(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...BB])}const AB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),RB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},FB=[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 $g(t,e){return o.openBlock(),o.createElementBlock("svg",RB,[...FB])}const IB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),zB={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HB=[o.createElementVNode("path",{id:"vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6801 2.76287C14.6095 -0.544651 19.3885 -0.544659 21.3179 2.76287L33.0144 22.8141C34.9589 26.1474 32.5545 30.3334 28.6955 30.3334H5.30245C1.4435 30.3334 -0.960859 26.1474 0.983558 22.8141L12.6801 2.76287ZM17.0007 10.3335C17.9211 10.3335 18.6673 11.0797 18.6673 12.0002V17.0002C18.6673 17.9206 17.9211 18.6668 17.0007 18.6668C16.0802 18.6668 15.334 17.9206 15.334 17.0002V12.0002C15.334 11.0797 16.0802 10.3335 17.0007 10.3335ZM14.9173 22.0002C14.9173 20.8496 15.8501 19.9168 17.0007 19.9168C18.1512 19.9168 19.084 20.8496 19.084 22.0002C19.084 23.1508 18.1512 24.0835 17.0007 24.0835C15.8501 24.0835 14.9173 23.1508 14.9173 22.0002Z",fill:"currentColor"},null,-1)];function Pg(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...HB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),WB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jB=[o.createStaticVNode('<g id="Date_range_light"><rect id="Rectangle" x="2.5" y="5" width="15" height="12.5" rx="2" stroke="currentColor"></rect><path id="Rectangle_2" d="M2.5 8.33333C2.5 7.08718 2.5 6.4641 2.76795 6C2.94349 5.69596 3.19596 5.44349 3.5 5.26795C3.9641 5 4.58718 5 5.83333 5H14.1667C15.4128 5 16.0359 5 16.5 5.26795C16.804 5.44349 17.0565 5.69596 17.2321 6C17.5 6.4641 17.5 7.08718 17.5 8.33333H2.5Z" fill="currentColor"></path><path id="Line" d="M5.83331 2.5L5.83331 5" stroke="currentColor" stroke-linecap="round"></path><path id="Line_2" d="M14.1667 2.5L14.1667 5" stroke="currentColor" stroke-linecap="round"></path><rect id="Rectangle_3" x="5.83331" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_4" x="5.83331" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_5" x="10.8333" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_6" x="10.8333" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect></g>',1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),UB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qB=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function Vg(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),KB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},XB=[o.createElementVNode("path",{d:"M7.66666 3.33193C7.9428 3.33193 8.16666 3.10807 8.16666 2.83193C8.16666 2.55579 7.9428 2.33193 7.66666 2.33193V3.33193ZM14.1667 8.83193C14.1667 8.55579 13.9428 8.33193 13.6667 8.33193C13.3905 8.33193 13.1667 8.55579 13.1667 8.83193H14.1667ZM2.69733 14.0926L2.92433 13.6471L2.92433 13.6471L2.69733 14.0926ZM2.40599 13.8013L1.96049 14.0283L1.96049 14.0283L2.40599 13.8013ZM13.3027 14.0926L13.5297 14.5381L13.5297 14.5381L13.3027 14.0926ZM13.594 13.8013L14.0395 14.0283L14.0395 14.0283L13.594 13.8013ZM2.40599 3.19594L1.96049 2.96894L1.96049 2.96894L2.40599 3.19594ZM2.69733 2.90459L2.47034 2.45909L2.47034 2.45909L2.69733 2.90459ZM8.33333 6.16526L7.97978 5.81171C7.88601 5.90548 7.83333 6.03266 7.83333 6.16526H8.33333ZM8.33333 8.16526H7.83333C7.83333 8.44141 8.05719 8.66526 8.33333 8.66526V8.16526ZM10.3333 8.16526V8.66526C10.4659 8.66526 10.5931 8.61259 10.6869 8.51882L10.3333 8.16526ZM11.8619 2.63667L12.2155 2.99022L12.2155 2.99022L11.8619 2.63667ZM12.8047 2.63667L12.4512 2.99022L12.4512 2.99022L12.8047 2.63667ZM13.8619 3.69386L13.5084 4.04741L13.5084 4.04741L13.8619 3.69386ZM13.8619 4.63667L14.2155 4.99022L14.2155 4.99022L13.8619 4.63667ZM12.6 13.6653H3.39999V14.6653H12.6V13.6653ZM2.83333 13.0986V3.8986H1.83333V13.0986H2.83333ZM3.39999 3.33193H7.66666V2.33193H3.39999V3.33193ZM13.1667 8.83193V13.0986H14.1667V8.83193H13.1667ZM3.39999 13.6653C3.20506 13.6653 3.08893 13.6649 3.00285 13.6578C2.9226 13.6513 2.9134 13.6415 2.92433 13.6471L2.47034 14.5381C2.62388 14.6163 2.77933 14.6429 2.92141 14.6545C3.05767 14.6657 3.22156 14.6653 3.39999 14.6653V13.6653ZM1.83333 13.0986C1.83333 13.277 1.83294 13.4409 1.84407 13.5772C1.85568 13.7193 1.88226 13.8747 1.96049 14.0283L2.85149 13.5743C2.85706 13.5852 2.84731 13.576 2.84075 13.4957C2.83372 13.4097 2.83333 13.2935 2.83333 13.0986H1.83333ZM2.92433 13.6471C2.89297 13.6311 2.86747 13.6056 2.85149 13.5743L1.96049 14.0283C2.07234 14.2478 2.25082 14.4263 2.47034 14.5381L2.92433 13.6471ZM12.6 14.6653C12.7784 14.6653 12.9423 14.6657 13.0786 14.6545C13.2207 14.6429 13.3761 14.6163 13.5297 14.5381L13.0757 13.6471C13.0866 13.6415 13.0774 13.6513 12.9971 13.6578C12.9111 13.6649 12.7949 13.6653 12.6 13.6653V14.6653ZM13.1667 13.0986C13.1667 13.2935 13.1663 13.4097 13.1592 13.4957C13.1527 13.576 13.1429 13.5852 13.1485 13.5743L14.0395 14.0283C14.1177 13.8747 14.1443 13.7193 14.1559 13.5772C14.1671 13.4409 14.1667 13.277 14.1667 13.0986H13.1667ZM13.5297 14.5381C13.7492 14.4263 13.9277 14.2478 14.0395 14.0283L13.1485 13.5743C13.1325 13.6056 13.107 13.6311 13.0757 13.6471L13.5297 14.5381ZM2.83333 3.8986C2.83333 3.70366 2.83372 3.58753 2.84075 3.50145C2.84731 3.4212 2.85706 3.412 2.85149 3.42293L1.96049 2.96894C1.88226 3.12248 1.85568 3.27793 1.84407 3.42002C1.83294 3.55627 1.83333 3.72016 1.83333 3.8986H2.83333ZM3.39999 2.33193C3.22156 2.33193 3.05767 2.33154 2.92141 2.34267C2.77933 2.35428 2.62388 2.38086 2.47034 2.45909L2.92433 3.3501C2.9134 3.35567 2.9226 3.34591 3.00285 3.33935C3.08893 3.33232 3.20506 3.33193 3.39999 3.33193V2.33193ZM2.85149 3.42293C2.86747 3.39157 2.89297 3.36608 2.92433 3.3501L2.47034 2.45909C2.25082 2.57094 2.07234 2.74942 1.96049 2.96894L2.85149 3.42293ZM7.83333 6.16526V8.16526H8.83333V6.16526H7.83333ZM8.33333 8.66526H10.3333V7.66526H8.33333V8.66526ZM8.68688 6.51882L12.2155 2.99022L11.5084 2.28312L7.97978 5.81171L8.68688 6.51882ZM12.4512 2.99022L13.5084 4.04741L14.2155 3.34031L13.1583 2.28312L12.4512 2.99022ZM13.5084 4.28312L9.97978 7.81171L10.6869 8.51882L14.2155 4.99022L13.5084 4.28312ZM13.5084 4.04741C13.5735 4.1125 13.5735 4.21803 13.5084 4.28312L14.2155 4.99022C14.6711 4.53461 14.6711 3.79592 14.2155 3.34031L13.5084 4.04741ZM12.2155 2.99022C12.2806 2.92513 12.3861 2.92513 12.4512 2.99022L13.1583 2.28312C12.7027 1.8275 11.964 1.8275 11.5084 2.28312L12.2155 2.99022Z",fill:"#8E8E93"},null,-1)];function Ng(t,e){return o.openBlock(),o.createElementBlock("svg",KB,[...XB])}const QB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),JB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},eA=[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 Bg(t,e){return o.openBlock(),o.createElementBlock("svg",JB,[...eA])}const tA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),nA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rA=[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 Ag(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),iA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oA=[o.createElementVNode("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 Rg(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),lA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cA=[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 Fg(t,e){return o.openBlock(),o.createElementBlock("svg",lA,[...cA])}const dA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),uA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},hA=[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 Ig(t,e){return o.openBlock(),o.createElementBlock("svg",uA,[...hA])}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},Symbol.toStringTag,{value:"Module"})),mA={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pA=[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 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={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yA=[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 Hg(t,e){return o.openBlock(),o.createElementBlock("svg",_A,[...yA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),bA={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kA=[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 Yg(t,e){return o.openBlock(),o.createElementBlock("svg",bA,[...kA])}const CA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),xA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},MA=[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 Wg(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...MA])}const vA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},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:"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 jg(t,e){return o.openBlock(),o.createElementBlock("svg",SA,[...TA])}const DA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),OA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EA=[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 Zg(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...EA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),PA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},LA=[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 Ug(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}const VA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),NA={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BA=[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 qg(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...BA])}const AA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},Symbol.toStringTag,{value:"Module"})),RA={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FA=[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 Gg(t,e){return o.openBlock(),o.createElementBlock("svg",RA,[...FA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),zA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},HA=[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 Kg(t,e){return o.openBlock(),o.createElementBlock("svg",zA,[...HA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),WA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jA=[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 Xg(t,e){return o.openBlock(),o.createElementBlock("svg",WA,[...jA])}const ZA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),UA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},qA=[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 Qg(t,e){return o.openBlock(),o.createElementBlock("svg",UA,[...qA])}const GA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),KA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XA=[o.createElementVNode("path",{d:"M3.37169 16.9938L3.62139 16.5038L3.62139 16.5038L3.37169 16.9938ZM3.00751 16.6296L2.51746 16.8793L2.51746 16.8793L3.00751 16.6296ZM16.9925 16.6296L17.4826 16.8793L16.9925 16.6296ZM16.6283 16.9938L16.878 17.4839L16.6283 16.9938ZM16.9925 3.37298L16.5025 3.62267L16.5025 3.62267L16.9925 3.37298ZM16.6283 3.0088L16.878 2.51874L16.878 2.51874L16.6283 3.0088ZM3.00751 3.37298L2.51746 3.12328V3.12328L3.00751 3.37298ZM3.37169 3.0088L3.122 2.51874H3.122L3.37169 3.0088ZM16.5334 4.2513V15.7513H17.6334V4.2513H16.5334ZM15.75 16.5346H4.25002V17.6346H15.75V16.5346ZM3.46669 15.7513V4.2513H2.36669V15.7513H3.46669ZM4.25002 3.46797H15.75V2.36797H4.25002V3.46797ZM4.25002 16.5346C4.00759 16.5346 3.85884 16.5342 3.74748 16.5251C3.69555 16.5209 3.66395 16.5155 3.64458 16.511C3.63535 16.5088 3.62959 16.5069 3.62637 16.5058C3.62327 16.5047 3.62183 16.504 3.62139 16.5038L3.122 17.4839C3.30159 17.5754 3.48493 17.6073 3.6579 17.6215C3.82445 17.6351 4.02574 17.6346 4.25002 17.6346V16.5346ZM2.36669 15.7513C2.36669 15.9756 2.36626 16.1769 2.37987 16.3434C2.394 16.5164 2.42596 16.6997 2.51746 16.8793L3.49757 16.3799C3.49734 16.3795 3.49663 16.3781 3.49552 16.375C3.49437 16.3717 3.49253 16.366 3.49036 16.3567C3.4858 16.3374 3.48046 16.3058 3.47621 16.2538C3.46711 16.1425 3.46669 15.9937 3.46669 15.7513H2.36669ZM3.62139 16.5038C3.56808 16.4766 3.52473 16.4332 3.49757 16.3799L2.51746 16.8793C2.65009 17.1396 2.86171 17.3512 3.122 17.4839L3.62139 16.5038ZM16.5334 15.7513C16.5334 15.9937 16.5329 16.1425 16.5238 16.2538C16.5196 16.3058 16.5142 16.3374 16.5097 16.3567C16.5075 16.366 16.5057 16.3717 16.5045 16.375C16.5034 16.3781 16.5027 16.3795 16.5025 16.3799L17.4826 16.8793C17.5741 16.6997 17.606 16.5164 17.6202 16.3434C17.6338 16.1769 17.6334 15.9756 17.6334 15.7513H16.5334ZM15.75 17.6346C15.9743 17.6346 16.1756 17.6351 16.3421 17.6215C16.5151 17.6073 16.6985 17.5754 16.878 17.4839L16.3787 16.5038C16.3782 16.504 16.3768 16.5047 16.3737 16.5058C16.3705 16.5069 16.3647 16.5088 16.3555 16.511C16.3361 16.5155 16.3045 16.5209 16.2526 16.5251C16.1412 16.5342 15.9925 16.5346 15.75 16.5346V17.6346ZM16.5025 16.3799C16.4753 16.4332 16.432 16.4766 16.3787 16.5038L16.878 17.4839C17.1383 17.3512 17.35 17.1396 17.4826 16.8793L16.5025 16.3799ZM17.6334 4.2513C17.6334 4.02702 17.6338 3.82573 17.6202 3.65918C17.606 3.48621 17.5741 3.30287 17.4826 3.12328L16.5025 3.62267C16.5027 3.62312 16.5034 3.62455 16.5045 3.62765C16.5057 3.63087 16.5075 3.63664 16.5097 3.64586C16.5142 3.66523 16.5196 3.69683 16.5238 3.74876C16.5329 3.86013 16.5334 4.00887 16.5334 4.2513H17.6334ZM15.75 3.46797C15.9925 3.46797 16.1412 3.4684 16.2526 3.4775C16.3045 3.48174 16.3361 3.48708 16.3555 3.49164C16.3647 3.49381 16.3705 3.49566 16.3737 3.49681C16.3768 3.49791 16.3782 3.49862 16.3787 3.49885L16.878 2.51874C16.6985 2.42724 16.5151 2.39528 16.3421 2.38115C16.1756 2.36754 15.9743 2.36797 15.75 2.36797V3.46797ZM17.4826 3.12328C17.35 2.86299 17.1383 2.65137 16.878 2.51874L16.3787 3.49885C16.432 3.52601 16.4753 3.56936 16.5025 3.62267L17.4826 3.12328ZM3.46669 4.2513C3.46669 4.00887 3.46711 3.86013 3.47621 3.74876C3.48046 3.69683 3.4858 3.66523 3.49036 3.64586C3.49253 3.63664 3.49437 3.63087 3.49552 3.62765C3.49663 3.62455 3.49734 3.62312 3.49757 3.62267L2.51746 3.12328C2.42596 3.30287 2.394 3.48621 2.37987 3.65918C2.36626 3.82573 2.36669 4.02702 2.36669 4.2513H3.46669ZM4.25002 2.36797C4.02574 2.36797 3.82445 2.36754 3.6579 2.38115C3.48493 2.39528 3.30159 2.42724 3.122 2.51874L3.62139 3.49885C3.62183 3.49862 3.62327 3.49791 3.62637 3.49681C3.62959 3.49566 3.63535 3.49381 3.64458 3.49164C3.66395 3.48708 3.69555 3.48174 3.74748 3.4775C3.85884 3.4684 4.00759 3.46797 4.25002 3.46797V2.36797ZM3.49757 3.62267C3.52473 3.56936 3.56808 3.52601 3.62139 3.49885L3.122 2.51874C2.86171 2.65137 2.65009 2.86299 2.51746 3.12328L3.49757 3.62267ZM9.45002 2.91797V17.0846H10.55V2.91797H9.45002Z",fill:"#1C2026"},null,-1)];function Jg(t,e){return o.openBlock(),o.createElementBlock("svg",KA,[...XA])}const QA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),JA={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eR=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",JA,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),nR={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 t_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),iR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oR=[o.createElementVNode("g",{id:"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 n_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),lR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cR=[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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),uR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hR=[o.createElementVNode("g",{id:"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 s_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),mR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},pR=[o.createElementVNode("path",{d:"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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",mR,[...pR])}const gR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),_R={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},yR=[o.createElementVNode("path",{d:"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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),bR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kR=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),xR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MR=[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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const vR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),SR={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TR=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",SR,[...TR])}const DR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),OR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ER=[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 d_(t,e){return o.openBlock(),o.createElementBlock("svg",OR,[...ER])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),PR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LR=[o.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 u_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const VR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),NR={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BR=[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 h_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),RR={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FR=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",RR,[...FR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),zR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},HR=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",zR,[...HR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),WR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jR=[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",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),UR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qR=[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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),KR={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},XR=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),JR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",JR,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),nF={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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),iF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[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 b_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),lF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),uF={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:"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 C_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),mF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pF=[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 x_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),_F={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yF=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),bF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kF=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function v_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),xF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},MF=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const vF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},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:"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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",SF,[...TF])}const DF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),OF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EF=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"#8E8E93"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"#8E8E93"},null,-1)];function D_(t,e){return o.openBlock(),o.createElementBlock("svg",OF,[...EF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),PF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LF=[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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const VF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),NF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},BF=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),RF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FF=[o.createElementVNode("g",{id:"arrow-share-right, next, forward"},[o.createElementVNode("path",{id:"vector",d:"M18.75 9.99984L10.4167 2.9165V7.08317C3.33333 7.08317 1.25 9.99984 1.25 17.0832C2.5 14.5832 3.33333 12.9165 10.4167 12.9165V17.0832L18.75 9.99984Z",stroke:"#1C2026"})],-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",RF,[...FF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),zF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},HF=[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 P_(t,e){return o.openBlock(),o.createElementBlock("svg",zF,[...HF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),WF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jF=[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 L_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),UF={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qF=[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 V_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),KF={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XF=[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 N_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),JF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},eI=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",JF,[...eI])}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},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"},rI=[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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),iI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oI=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},cI=[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 F_(t,e){return o.openBlock(),o.createElementBlock("svg",lI,[...cI])}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},hI=[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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",uI,[...hI])}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),mI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pI=[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 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={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yI=[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 H_(t,e){return o.openBlock(),o.createElementBlock("svg",_I,[...yI])}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),bI={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kI=[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 Y_(t,e){return o.openBlock(),o.createElementBlock("svg",bI,[...kI])}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),xI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},MI=[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 W_(t,e){return o.openBlock(),o.createElementBlock("svg",xI,[...MI])}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),SI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",SI,[...TI])}const DI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),OI={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EI=[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 Z_(t,e){return o.openBlock(),o.createElementBlock("svg",OI,[...EI])}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),PI={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LI=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",PI,[...LI])}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),NI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BI=[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 q_(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...BI])}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),RI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},FI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",RI,[...FI])}const II=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),zI={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},HI=[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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",zI,[...HI])}const YI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=zM,ie.AverageRRLine=Ym,ie.BalanceWidget=iv,ie.Button=ha,ie.Calendar=Z8,ie.CalendarDropdown=zp,ie.CalendarWidget=Tv,ie.CheckBox=N4,ie.CommissionsFeesWidget=Hv,ie.Confetti=_w,ie.CookieManager=on,ie.Dropdown=g4,ie.Dropzone=Vw,ie.Icon=Ne,ie.Input=k4,ie.LineChart=Eu,ie.LongShort=L0,ie.Menu=R4,ie.NavigationTab=ty,ie.NoMore=jd,ie.NumberInput=Q8,ie.PerformanceWidget=qv,ie.PeriodDropdown=Ys,ie.ProgressLine=Hp,ie.Radio=S4,ie.ReturnWidget=cS,ie.Selector=q8,ie.SidebarPopup=Gw,ie.SimpleLineChart=Im,ie.Switcher=z4,ie.Textarea=Cw,ie.Toast=O0,ie.Toggle=$4,ie.Tooltip=fn,ie.TopPositionsWidget=kS,ie.TradePerformanceWidget=BS,ie.WidgetChips=Il,ie.WinrateWidget=qS,ie.addSlashToPair=X6,ie.calculateTimeDifference=zV,ie.firebaseConfig=RP,ie.getDate=IV,ie.getDay=J1,ie.getFullYear=RV,ie.getMonth=FV,ie.numFormat=Q1,ie.scopeInstance=Xl,ie.toBaseDate=K6,ie.toFix=Nt,ie.transformKeysToQuery=AV,ie.useToast=eh,ie.withSign=ln,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
|
|
44
|
+
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Km={};function Xm(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),Km[t]||(Gm(e),Km[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 _T(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 Hu(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 Yu(t){t!=null&&this.set(t)}var Wu;Object.keys?Wu=Object.keys:Wu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var yT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function wT(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,Sl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Zu={},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 bT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function kT(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]=bT(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 vl(t,e){return t.isValid()?(e=Qm(e,t.localeData()),Zu[e]=Zu[e]||kT(e),Zu[e](t)):t.localeData().invalidDate()}function Qm(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(Sl.lastIndex=0;n>=0&&Sl.test(t);)t=t.replace(Sl,r),Sl.lastIndex=0,n-=1;return t}var CT={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 xT(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 MT="Invalid date";function ST(){return this._invalidDate}var vT="%d",TT=/\d{1,2}/;function DT(t){return this._ordinal.replace("%d",t)}var OT={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 ET(t,e,n,r){var s=this._relativeTime[n];return er(s)?s(t,e,n,r):s.replace(/%d/i,t)}function $T(t,e){var n=this._relativeTime[t>0?"future":"past"];return er(n)?n(e):n.replace(/%s/i,e)}var Jm={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"?Jm[t]||Jm[t.toLowerCase()]:void 0}function Uu(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=yn(r),n&&(e[n]=t[r]));return e}var PT={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 LT(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:PT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var ep=/\d/,sn=/\d\d/,tp=/\d{3}/,qu=/\d{4}/,Tl=/[+-]?\d{6}/,Ue=/\d\d?/,np=/\d\d\d\d?/,rp=/\d\d\d\d\d\d?/,Dl=/\d{1,3}/,Gu=/\d{1,4}/,Ol=/[+-]?\d{1,6}/,Mi=/\d+/,El=/[+-]?\d+/,NT=/Z|[+-]\d\d:?\d\d/gi,$l=/Z|[+-]\d\d(?::?\d\d)?/gi,VT=/[+-]?\d+(\.\d{1,3})?/,Wo=/[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,Si=/^[1-9]\d?/,Ku=/^([1-9]\d|\d)/,Pl;Pl={};function se(t,e,n){Pl[t]=er(e)?e:function(r,s){return r&&n?n:e}}function BT(t,e){return Ee(Pl,t)?Pl[t](e._strict,e._locale):new RegExp(AT(t))}function AT(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 Xu={};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++)Xu[t[n]]=r}function jo(t,e){Ie(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function RT(t,e,n){e!=null&&Ee(Xu,t)&&Xu[t](e,n._a,n,t)}function Ll(t){return t%4===0&&t%100!==0||t%400===0}var $t=0,kr=1,nr=2,bt=3,Ln=4,Cr=5,Is=6,FT=7,IT=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",El),se("YY",Ue,sn),se("YYYY",Gu,qu),se("YYYYY",Ol,Tl),se("YYYYYY",Ol,Tl),Ie(["YYYYY","YYYYYY"],$t),Ie("YYYY",function(t,e){e[$t]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),Ie("YY",function(t,e){e[$t]=re.parseTwoDigitYear(t)}),Ie("Y",function(t,e){e[$t]=parseInt(t,10)});function Zo(t){return Ll(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var sp=vi("FullYear",!0);function zT(){return Ll(this.year())}function vi(t,e){return function(n){return n!=null?(ip(this,t,n),re.updateOffset(this,e),this):Uo(this,t)}}function Uo(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 ip(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&&!Ll(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function HT(t){return t=yn(t),er(this[t])?this[t]():this}function YT(t,e){if(typeof t=="object"){t=Uu(t);var n=LT(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 WT(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 Qu(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=WT(e,12);return t+=(e-n)/12,n===1?Ll(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,Si),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 jT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),op="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ap=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ZT=Wo,UT=Wo;function qT(t,e){return t?$n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ap).test(e)?"format":"standalone"][t.month()]:$n(this._months)?this._months:this._months.standalone}function GT(t,e){return t?$n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ap.test(e)?"format":"standalone"][t.month()]:$n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function KT(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Jn([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null):(s=pt.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=pt.call(this._shortMonthsParse,a),s!==-1?s:(s=pt.call(this._longMonthsParse,a),s!==-1?s:null)):(s=pt.call(this._longMonthsParse,a),s!==-1?s:(s=pt.call(this._shortMonthsParse,a),s!==-1?s:null))}function XT(t,e,n){var r,s,i;if(this._monthsParseExact)return KT.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=Jn([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function lp(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,Qu(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function cp(t){return t!=null?(lp(this,t),re.updateOffset(this,!0),this):Uo(this,"Month")}function QT(){return Qu(this.year(),this.month())}function JT(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||dp.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=ZT),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function eD(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||dp.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=UT),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function dp(){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 tD(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 qo(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 Nl(t,e,n){var r=7+e-n,s=(7+qo(t,0,r).getUTCDay()-e)%7;return-s+r-1}function up(t,e,n,r,s){var i=(7+n-r)%7,a=Nl(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Zo(c)+l):l>Zo(t)?(c=t+1,d=l-Zo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function Go(t,e,n){var r=Nl(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=Nl(t,e,n),s=Nl(t+1,e,n);return(Zo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),se("w",Ue,Si),se("ww",Ue,sn),se("W",Ue,Si),se("WW",Ue,sn),jo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function nD(t){return Go(t,this._week.dow,this._week.doy).week}var rD={dow:0,doy:6};function sD(){return this._week.dow}function iD(){return this._week.doy}function oD(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function aD(t){var e=Go(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)}),jo(["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}),jo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function lD(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function cD(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ju(t,e){return t.slice(e,7).concat(t.slice(0,e))}var dD="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),uD="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),hD=Wo,fD=Wo,mD=Wo;function pD(t,e){var n=$n(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Ju(n,this._week.dow):t?n[t.day()]:n}function gD(t){return t===!0?Ju(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function _D(t){return t===!0?Ju(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function yD(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 wD(t,e,n){var r,s,i;if(this._weekdaysParseExact)return yD.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 bD(t){if(!this.isValid())return t!=null?this:NaN;var e=Uo(this,"Day");return t!=null?(t=lD(t,this.localeData()),this.add(t-e,"d")):e}function kD(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 CD(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=cD(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function xD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||e1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=hD),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function MD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||e1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fD),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function SD(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||e1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=mD),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function e1(){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 t1(){return this.hours()%12||12}function vD(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,t1),oe("k",["kk",2],0,vD),oe("hmm",0,0,function(){return""+t1.apply(this)+tr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+t1.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 fp(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}fp("a",!0),fp("A",!1);function mp(t,e){return e._meridiemParse}se("a",mp),se("A",mp),se("H",Ue,Ku),se("h",Ue,Si),se("k",Ue,Si),se("HH",Ue,sn),se("hh",Ue,sn),se("kk",Ue,sn),se("hmm",np),se("hmmss",rp),se("Hmm",np),se("Hmmss",rp),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 TD(t){return(t+"").toLowerCase().charAt(0)==="p"}var DD=/[ap]\.?m?\.?/i,OD=vi("Hours",!0);function ED(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var pp={calendar:yT,longDateFormat:CT,invalidDate:MT,ordinal:vT,dayOfMonthOrdinalParse:TT,relativeTime:OT,months:jT,monthsShort:op,week:rD,weekdays:dD,weekdaysMin:uD,weekdaysShort:hp,meridiemParse:DD},Ke={},Ko={},Xo;function $D(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 gp(t){return t&&t.toLowerCase().replace("_","-")}function PD(t){for(var e=0,n,r,s,i;e<t.length;){for(i=gp(t[e]).split("-"),n=i.length,r=gp(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Vl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&$D(i,r)>=n-1)break;n--}e++}return Xo}function LD(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Vl(t){var e=null,n;if(Ke[t]===void 0&&typeof module<"u"&&module&&module.exports&&LD(t))try{e=Xo._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=n1(t,e),n?Xo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Xo._abbr}function n1(t,e){if(e!==null){var n,r=pp;if(e.abbr=t,Ke[t]!=null)Xm("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=Vl(e.parentLocale),n!=null)r=n._config;else return Ko[e.parentLocale]||(Ko[e.parentLocale]=[]),Ko[e.parentLocale].push({name:t,config:e}),null;return Ke[t]=new Yu(Hu(r,e)),Ko[t]&&Ko[t].forEach(function(s){n1(s.name,s.config)}),ts(t),Ke[t]}else return delete Ke[t],null}function ND(t,e){if(e!=null){var n,r,s=pp;Ke[t]!=null&&Ke[t].parentLocale!=null?Ke[t].set(Hu(Ke[t]._config,e)):(r=Vl(t),r!=null&&(s=r._config),e=Hu(s,e),r==null&&(e.abbr=t),n=new Yu(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 Xo;if(!$n(t)){if(e=Vl(t),e)return e;t=[t]}return PD(t)}function VD(){return Wu(Ke)}function r1(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]>Qu(n[$t],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<$t||e>nr)&&(e=nr),_e(t)._overflowWeeks&&e===-1&&(e=FT),_e(t)._overflowWeekday&&e===-1&&(e=IT),_e(t).overflow=e),t}var BD=/^\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)?)?$/,AD=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,RD=/Z|[+-]\d\d(?::?\d\d)?/,Bl=[["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]],s1=[["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/]],FD=/^\/?Date\((-?\d+)/i,ID=/^(?:(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}))$/,zD={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=BD.exec(r)||AD.exec(r),i,a,l,c,d=Bl.length,u=s1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Bl[e][1].exec(s[1])){a=Bl[e][0],i=Bl[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(s1[e][1].exec(s[3])){l=(s[2]||" ")+s1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(RD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),o1(t)}else t._isValid=!1}function HD(t,e,n,r,s,i){var a=[YD(t),op.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function YD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function WD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jD(t,e,n){if(t){var r=hp.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 ZD(t,e,n){if(t)return zD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function yp(t){var e=ID.exec(WD(t._i)),n;if(e){if(n=HD(e[4],e[3],e[2],e[5],e[6],e[7]),!jD(e[1],n,t))return;t._a=n,t._tzm=ZD(e[8],e[9],e[10]),t._d=qo.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function UD(t){var e=FD.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(yp(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 qD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function i1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=qD(t),t._w&&t._a[nr]==null&&t._a[kr]==null&&GD(t),t._dayOfYear!=null&&(a=Ti(t._a[$t],s[$t]),(t._dayOfYear>Zo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=qo(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?qo:tD).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[$t],Go(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=Go(qe(),i,a),n=Ti(e.gg,t._a[$t],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=up(n,r,s,i,a),t._a[$t]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function o1(t){if(t._f===re.ISO_8601){_p(t);return}if(t._f===re.RFC_2822){yp(t);return}t._a=[],_e(t).empty=!0;var e=""+t._i,n,r,s,i,a,l=e.length,c=0,d,u;for(s=Qm(t._f,t._locale).match(ju)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(BT(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),RT(i,r,t)):t._strict&&!r&&_e(t).unusedTokens.push(i);_e(t).charsLeftOver=l-c,e.length>0&&_e(t).unusedInput.push(e),t._a[bt]<=12&&_e(t).bigHour===!0&&t._a[bt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[bt]=KD(t._locale,t._a[bt],t._meridiem),d=_e(t).era,d!==null&&(t._a[$t]=t._locale.erasConvertYear(d,t._a[$t])),i1(t),r1(t)}function KD(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function XD(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=zu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],o1(e),Fu(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 QD(t){if(!t._d){var e=Uu(t._i),n=e.day===void 0?e.date:e.day;t._a=Um([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),i1(t)}}function JD(t){var e=new Yo(r1(wp(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function wp(t){var e=t._i,n=t._f;return t._locale=t._locale||Mr(t._l),e===null||n===void 0&&e===""?Ml({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Pn(e)?new Yo(r1(e)):(Ho(e)?t._d=e:$n(n)?XD(t):n?o1(t):eO(t),Fu(t)||(t._d=null),t))}function eO(t){var e=t._i;Wt(e)?t._d=new Date(re.now()):Ho(e)?t._d=new Date(e.valueOf()):typeof e=="string"?UD(t):$n(e)?(t._a=Um(e.slice(0),function(n){return parseInt(n,10)}),i1(t)):Fs(e)?QD(t):wr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function bp(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)&&Au(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,JD(i)}function qe(t,e,n,r){return bp(t,e,n,r,!1)}var tO=_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:Ml()}),nO=_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:Ml()});function kp(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 rO(){var t=[].slice.call(arguments,0);return kp("isBefore",t)}function sO(){var t=[].slice.call(arguments,0);return kp("isAfter",t)}var iO=function(){return Date.now?Date.now():+new Date},Qo=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oO(t){var e,n=!1,r,s=Qo.length;for(e in t)if(Ee(t,e)&&!(pt.call(Qo,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[Qo[r]]){if(n)return!1;parseFloat(t[Qo[r]])!==ke(t[Qo[r]])&&(n=!0)}return!0}function aO(){return this._isValid}function lO(){return Nn(NaN)}function Al(t){var e=Uu(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=oO(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 Rl(t){return t instanceof Al}function a1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function cO(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 Cp(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)})}Cp("Z",":"),Cp("ZZ",""),se("Z",$l),se("ZZ",$l),Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=l1($l,t)});var dO=/([\+\-]|\d\d)/gi;function l1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(dO)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function c1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Pn(t)||Ho(t)?t.valueOf():qe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):qe(t).local()}function d1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function uO(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=l1($l,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=d1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?vp(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:d1(this)}function hO(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function fO(t){return this.utcOffset(0,t)}function mO(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(d1(this),"m")),this}function pO(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=l1(NT,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function gO(t){return this.isValid()?(t=t?qe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function _O(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yO(){if(!Wt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return zu(t,this),t=wp(t),t._a?(e=t._isUTC?Jn(t._a):qe(t._a),this._isDSTShifted=this.isValid()&&cO(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wO(){return this.isValid()?!this._isUTC:!1}function bO(){return this.isValid()?this._isUTC:!1}function xp(){return this.isValid()?this._isUTC&&this._offset===0:!1}var kO=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,CO=/^(-|\+)?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 Rl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:wr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=kO.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(a1(r[Is]*1e3))*s}):(r=CO.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=xO(qe(n.from),qe(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Al(n),Rl(t)&&Ee(t,"_locale")&&(i._locale=t._locale),Rl(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Al.prototype,Nn.invalid=lO;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Mp(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 xO(t,e){var n;return t.isValid()&&e.isValid()?(e=c1(e,t),t.isBefore(e)?n=Mp(t,e):(n=Mp(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Sp(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Xm(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),vp(this,s,t),this}}function vp(t,e,n,r){var s=e._milliseconds,i=a1(e._days),a=a1(e._months);t.isValid()&&(r=r??!0,a&&lp(t,Uo(t,"Month")+a*n),i&&ip(t,"Date",Uo(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var MO=Sp(1,"add"),SO=Sp(-1,"subtract");function Tp(t){return typeof t=="string"||t instanceof String}function vO(t){return Pn(t)||Ho(t)||Tp(t)||wr(t)||DO(t)||TO(t)||t===null||t===void 0}function TO(t){var e=Fs(t)&&!Au(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 DO(t){var e=$n(t),n=!1;return e&&(n=t.filter(function(r){return!wr(r)&&Tp(t)}).length===0),e&&n}function OO(t){var e=Fs(t)&&!Au(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 EO(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 $O(t,e){arguments.length===1&&(arguments[0]?vO(arguments[0])?(t=arguments[0],e=void 0):OO(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||qe(),r=c1(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 PO(){return new Yo(this)}function LO(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 NO(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 VO(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 BO(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 AO(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function RO(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function FO(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=c1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=yn(e),e){case"year":i=Fl(this,r)/12;break;case"month":i=Fl(this,r);break;case"quarter":i=Fl(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 Fl(t,e){if(t.date()<e.date())return-Fl(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 IO(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function zO(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?vl(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",vl(n,"Z")):vl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function HO(){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 YO(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=vl(this,t);return this.localeData().postformat(e)}function WO(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 jO(t){return this.from(qe(),t)}function ZO(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 UO(t){return this.to(qe(),t)}function Dp(t){var e;return t===void 0?this._locale._abbr:(e=Mr(t),e!=null&&(this._locale=e),this)}var Op=_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 Ep(){return this._locale}var Il=1e3,Di=60*Il,zl=60*Di,$p=(365*400+97)*24*zl;function Oi(t,e){return(t%e+e)%e}function Pp(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-$p:new Date(t,e,n).valueOf()}function Lp(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-$p:Date.UTC(t,e,n)}function qO(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lp:Pp,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Oi(e+(this._isUTC?0:this.utcOffset()*Di),zl);break;case"minute":e=this._d.valueOf(),e-=Oi(e,Di);break;case"second":e=this._d.valueOf(),e-=Oi(e,Il);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function GO(t){var e,n;if(t=yn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lp:Pp,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+=zl-Oi(e+(this._isUTC?0:this.utcOffset()*Di),zl)-1;break;case"minute":e=this._d.valueOf(),e+=Di-Oi(e,Di)-1;break;case"second":e=this._d.valueOf(),e+=Il-Oi(e,Il)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function KO(){return this._d.valueOf()-(this._offset||0)*6e4}function XO(){return Math.floor(this.valueOf()/1e3)}function QO(){return new Date(this.valueOf())}function JO(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function eE(){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 tE(){return this.isValid()?this.toISOString():null}function nE(){return Fu(this)}function rE(){return es({},_e(this))}function sE(){return _e(this).overflow}function iE(){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",u1),se("NN",u1),se("NNN",u1),se("NNNN",gE),se("NNNNN",_E),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",yE),Ie(["y","yy","yyy","yyyy"],$t),Ie(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[$t]=n._locale.eraYearOrdinalParse(t,s):e[$t]=parseInt(t,10)});function oE(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 aE(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 lE(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 cE(){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 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].narrow;return""}function uE(){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 hE(){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 fE(t){return Ee(this,"_erasNameRegex")||h1.call(this),t?this._erasNameRegex:this._erasRegex}function mE(t){return Ee(this,"_erasAbbrRegex")||h1.call(this),t?this._erasAbbrRegex:this._erasRegex}function pE(t){return Ee(this,"_erasNarrowRegex")||h1.call(this),t?this._erasNarrowRegex:this._erasRegex}function u1(t,e){return e.erasAbbrRegex(t)}function gE(t,e){return e.erasNameRegex(t)}function _E(t,e){return e.erasNarrowRegex(t)}function yE(t,e){return e._eraYearOrdinalRegex||Mi}function h1(){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 Hl(t,e){oe(0,[t,t.length],0,e)}Hl("gggg","weekYear"),Hl("ggggg","weekYear"),Hl("GGGG","isoWeekYear"),Hl("GGGGG","isoWeekYear"),se("G",El),se("g",El),se("GG",Ue,sn),se("gg",Ue,sn),se("GGGG",Gu,qu),se("gggg",Gu,qu),se("GGGGG",Ol,Tl),se("ggggg",Ol,Tl),jo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),jo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function wE(t){return Np.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function bE(t){return Np.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function kE(){return xr(this.year(),1,4)}function CE(){return xr(this.isoWeekYear(),1,4)}function xE(){var t=this.localeData()._week;return xr(this.year(),t.dow,t.doy)}function ME(){var t=this.localeData()._week;return xr(this.weekYear(),t.dow,t.doy)}function Np(t,e,n,r,s){var i;return t==null?Go(this,r,s).year:(i=xr(t,r,s),e>i&&(e=i),SE.call(this,t,e,n,r,s))}function SE(t,e,n,r,s){var i=up(t,e,n,r,s),a=qo(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",ep),Ie("Q",function(t,e){e[kr]=(ke(t)-1)*3});function vE(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,Si),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 Vp=vi("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),se("DDD",Dl),se("DDDD",tp),Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function TE(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,Ku),se("mm",Ue,sn),Ie(["m","mm"],Ln);var DE=vi("Minutes",!1);oe("s",["ss",2],0,"second"),se("s",Ue,Ku),se("ss",Ue,sn),Ie(["s","ss"],Cr);var OE=vi("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",Dl,ep),se("SS",Dl,sn),se("SSS",Dl,tp);var ns,Bp;for(ns="SSSS";ns.length<=9;ns+="S")se(ns,Mi);function EE(t,e){e[Is]=ke(("0."+t)*1e3)}for(ns="S";ns.length<=9;ns+="S")Ie(ns,EE);Bp=vi("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function $E(){return this._isUTC?"UTC":""}function PE(){return this._isUTC?"Coordinated Universal Time":""}var Q=Yo.prototype;Q.add=MO,Q.calendar=$O,Q.clone=PO,Q.diff=FO,Q.endOf=GO,Q.format=YO,Q.from=WO,Q.fromNow=jO,Q.to=ZO,Q.toNow=UO,Q.get=HT,Q.invalidAt=sE,Q.isAfter=LO,Q.isBefore=NO,Q.isBetween=VO,Q.isSame=BO,Q.isSameOrAfter=AO,Q.isSameOrBefore=RO,Q.isValid=nE,Q.lang=Op,Q.locale=Dp,Q.localeData=Ep,Q.max=nO,Q.min=tO,Q.parsingFlags=rE,Q.set=YT,Q.startOf=qO,Q.subtract=SO,Q.toArray=JO,Q.toObject=eE,Q.toDate=QO,Q.toISOString=zO,Q.inspect=HO,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=tE,Q.toString=IO,Q.unix=XO,Q.valueOf=KO,Q.creationData=iE,Q.eraName=cE,Q.eraNarrow=dE,Q.eraAbbr=uE,Q.eraYear=hE,Q.year=sp,Q.isLeapYear=zT,Q.weekYear=wE,Q.isoWeekYear=bE,Q.quarter=Q.quarters=vE,Q.month=cp,Q.daysInMonth=QT,Q.week=Q.weeks=oD,Q.isoWeek=Q.isoWeeks=aD,Q.weeksInYear=xE,Q.weeksInWeekYear=ME,Q.isoWeeksInYear=kE,Q.isoWeeksInISOWeekYear=CE,Q.date=Vp,Q.day=Q.days=bD,Q.weekday=kD,Q.isoWeekday=CD,Q.dayOfYear=TE,Q.hour=Q.hours=OD,Q.minute=Q.minutes=DE,Q.second=Q.seconds=OE,Q.millisecond=Q.milliseconds=Bp,Q.utcOffset=uO,Q.utc=fO,Q.local=mO,Q.parseZone=pO,Q.hasAlignedHourOffset=gO,Q.isDST=_O,Q.isLocal=wO,Q.isUtcOffset=bO,Q.isUtc=xp,Q.isUTC=xp,Q.zoneAbbr=$E,Q.zoneName=PE,Q.dates=_n("dates accessor is deprecated. Use date instead.",Vp),Q.months=_n("months accessor is deprecated. Use month instead",cp),Q.years=_n("years accessor is deprecated. Use year instead",sp),Q.zone=_n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hO),Q.isDSTShifted=_n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yO);function LE(t){return qe(t*1e3)}function NE(){return qe.apply(null,arguments).parseZone()}function Ap(t){return t}var $e=Yu.prototype;$e.calendar=wT,$e.longDateFormat=xT,$e.invalidDate=ST,$e.ordinal=DT,$e.preparse=Ap,$e.postformat=Ap,$e.relativeTime=ET,$e.pastFuture=$T,$e.set=_T,$e.eras=oE,$e.erasParse=aE,$e.erasConvertYear=lE,$e.erasAbbrRegex=mE,$e.erasNameRegex=fE,$e.erasNarrowRegex=pE,$e.months=qT,$e.monthsShort=GT,$e.monthsParse=XT,$e.monthsRegex=eD,$e.monthsShortRegex=JT,$e.week=nD,$e.firstDayOfYear=iD,$e.firstDayOfWeek=sD,$e.weekdays=pD,$e.weekdaysMin=_D,$e.weekdaysShort=gD,$e.weekdaysParse=wD,$e.weekdaysRegex=xD,$e.weekdaysShortRegex=MD,$e.weekdaysMinRegex=SD,$e.isPM=TD,$e.meridiem=ED;function Yl(t,e,n,r){var s=Mr(),i=Jn().set(r,e);return s[n](i,t)}function Rp(t,e,n){if(wr(t)&&(e=t,t=void 0),t=t||"",e!=null)return Yl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Yl(t,r,n,"month");return s}function f1(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 Yl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Yl(e,(a+i)%7,r,"day");return l}function VE(t,e){return Rp(t,e,"months")}function BE(t,e){return Rp(t,e,"monthsShort")}function AE(t,e,n){return f1(t,e,n,"weekdays")}function RE(t,e,n){return f1(t,e,n,"weekdaysShort")}function FE(t,e,n){return f1(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 Sr=Math.abs;function IE(){var t=this._data;return this._milliseconds=Sr(this._milliseconds),this._days=Sr(this._days),this._months=Sr(this._months),t.milliseconds=Sr(t.milliseconds),t.seconds=Sr(t.seconds),t.minutes=Sr(t.minutes),t.hours=Sr(t.hours),t.months=Sr(t.months),t.years=Sr(t.years),this}function Fp(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 zE(t,e){return Fp(this,t,e,1)}function HE(t,e){return Fp(this,t,e,-1)}function Ip(t){return t<0?Math.floor(t):Math.ceil(t)}function YE(){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+=Ip(m1(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(zp(e)),n+=c,e-=Ip(m1(c)),l=wn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function zp(t){return t*4800/146097}function m1(t){return t*146097/4800}function WE(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+zp(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(m1(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 vr(t){return function(){return this.as(t)}}var Hp=vr("ms"),jE=vr("s"),ZE=vr("m"),UE=vr("h"),qE=vr("d"),GE=vr("w"),KE=vr("M"),XE=vr("Q"),QE=vr("y"),JE=Hp;function e$(){return Nn(this)}function t$(t){return t=yn(t),this.isValid()?this[t+"s"]():NaN}function Hs(t){return function(){return this.isValid()?this._data[t]:NaN}}var n$=Hs("milliseconds"),r$=Hs("seconds"),s$=Hs("minutes"),i$=Hs("hours"),o$=Hs("days"),a$=Hs("months"),l$=Hs("years");function c$(){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 d$(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function u$(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,d$.apply(null,f)}function h$(t){return t===void 0?Tr:typeof t=="function"?(Tr=t,!0):!1}function f$(t,e){return Ei[t]===void 0?!1:e===void 0?Ei[t]:(Ei[t]=e,t==="s"&&(Ei.ss=e-1),!0)}function m$(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=u$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var p1=Math.abs;function $i(t){return(t>0)-(t<0)||+t}function Wl(){if(!this.isValid())return this.localeData().invalidDate();var t=p1(this._milliseconds)/1e3,e=p1(this._days),n=p1(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 ve=Al.prototype;ve.isValid=aO,ve.abs=IE,ve.add=zE,ve.subtract=HE,ve.as=WE,ve.asMilliseconds=Hp,ve.asSeconds=jE,ve.asMinutes=ZE,ve.asHours=UE,ve.asDays=qE,ve.asWeeks=GE,ve.asMonths=KE,ve.asQuarters=XE,ve.asYears=QE,ve.valueOf=JE,ve._bubble=YE,ve.clone=e$,ve.get=t$,ve.milliseconds=n$,ve.seconds=r$,ve.minutes=s$,ve.hours=i$,ve.days=o$,ve.weeks=c$,ve.months=a$,ve.years=l$,ve.humanize=m$,ve.toISOString=Wl,ve.toString=Wl,ve.toJSON=Wl,ve.locale=Dp,ve.localeData=Ep,ve.toIsoString=_n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wl),ve.lang=Op,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),se("x",El),se("X",VT),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",pT(qe),re.fn=Q,re.min=rO,re.max=sO,re.now=iO,re.utc=Jn,re.unix=LE,re.months=VE,re.isDate=Ho,re.locale=ts,re.invalid=Ml,re.duration=Nn,re.isMoment=Pn,re.weekdays=AE,re.parseZone=NE,re.localeData=Mr,re.isDuration=Rl,re.monthsShort=BE,re.weekdaysMin=FE,re.defineLocale=n1,re.updateLocale=ND,re.locales=VD,re.weekdaysShort=RE,re.normalizeUnits=yn,re.relativeTimeRounding=h$,re.relativeTimeThreshold=f$,re.calendarFormat=EO,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 p$={class:"calendar-dropdown"},g$={class:"calendar-dropdown__outer__left"},_$={class:"calendar-dropdown__outer__current"},y$={key:0,class:"calendar-dropdown__inner"},w$={class:"calendar-dropdown__year-switcher"},b$={class:"calendar-dropdown__year-switcher__year"},k$={class:"calendar-dropdown__months"},C$={class:"calendar-dropdown__month-container"},x$=["onClick"],Yp=De({__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",p$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:c},[o.createElementVNode("div",g$,[o.createVNode(o.unref(Ve),{icon:"calendar"}),o.createElementVNode("span",_$,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Ve),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?(o.openBlock(),o.createElementBlock("div",y$,[o.createElementVNode("div",w$,[o.createVNode(o.unref(ma),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",b$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ma),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",k$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",C$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,x$)]))),256))])])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-97075c93"]]),M$={class:"period-dropdown"},S$={class:"period-dropdown__outer__left"},v$={class:"period-dropdown__outer__current"},T$={key:0,class:"period-dropdown__inner"},D$=["onClick"],Ys=De({__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",M$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:a},[o.createElementVNode("div",S$,[o.createVNode(o.unref(Ve),{icon:"clock"}),o.createElementVNode("span",v$,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Ve),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?(o.openBlock(),o.createElementBlock("div",T$,[(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(Ve),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,D$)),64))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-76a97d26"]]),O$={class:"progress-line-container"},E$={class:"progress-line"},$$={class:"progress-line__part"},P$={class:"progress-digits"},L$={class:"progress-digits__value"},N$={class:"progress-digits__value"},V$={class:"progress-digits__value"},Wp=De({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Vt(e.currentProfit/e.profit*100):e.currentProfit<0?Vt(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",O$,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",E$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",$$,[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",P$,[o.createElementVNode("div",L$,"-"+o.toDisplayString(o.unref(ln)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",N$,o.toDisplayString(o.unref(ln)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",V$," +"+o.toDisplayString(o.unref(ln)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-c6fbd53e"]]),B$={class:"widget-chips__text"},jl=De({__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(Ve),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",B$,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function Zl(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 A$={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 g1(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Zl({},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,"",Zl({},i,{expires:-1}))},withAttributes:function(s){return g1(this.converter,Zl({},this.attributes,s))},withConverter:function(s){return g1(Zl({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Pi=g1(A$,{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 jp(t,e){return function(){return t.apply(e,arguments)}}const{toString:R$}=Object.prototype,{getPrototypeOf:_1}=Object,Ul=(t=>e=>{const n=R$.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rr=t=>(t=t.toLowerCase(),e=>Ul(e)===t),ql=t=>e=>typeof e===t,{isArray:Li}=Array,Jo=ql("undefined");function F$(t){return t!==null&&!Jo(t)&&t.constructor!==null&&!Jo(t.constructor)&&bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Zp=rr("ArrayBuffer");function I$(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Zp(t.buffer),e}const z$=ql("string"),bn=ql("function"),Up=ql("number"),Gl=t=>t!==null&&typeof t=="object",H$=t=>t===!0||t===!1,Kl=t=>{if(Ul(t)!=="object")return!1;const e=_1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Y$=rr("Date"),W$=rr("File"),j$=rr("Blob"),Z$=rr("FileList"),U$=t=>Gl(t)&&bn(t.pipe),q$=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||bn(t.append)&&((e=Ul(t))==="formdata"||e==="object"&&bn(t.toString)&&t.toString()==="[object FormData]"))},G$=rr("URLSearchParams"),K$=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ea(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 qp(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 Gp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kp=t=>!Jo(t)&&t!==Gp;function y1(){const{caseless:t}=Kp(this)&&this||{},e={},n=(r,s)=>{const i=t&&qp(e,s)||s;Kl(e[i])&&Kl(r)?e[i]=y1(e[i],r):Kl(r)?e[i]=y1({},r):Li(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&ea(arguments[r],n);return e}const X$=(t,e,n,{allOwnKeys:r}={})=>(ea(e,(s,i)=>{n&&bn(s)?t[i]=jp(s,n):t[i]=s},{allOwnKeys:r}),t),Q$=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),J$=(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)},eP=(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&&_1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},tP=(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},nP=t=>{if(!t)return null;if(Li(t))return t;let e=t.length;if(!Up(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},rP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_1(Uint8Array)),sP=(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])}},iP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},oP=rr("HTMLFormElement"),aP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Xp=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),lP=rr("RegExp"),Qp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ea(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},cP=t=>{Qp(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+"'")})}})},dP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Li(t)?r(t):r(String(t).split(e)),n},uP=()=>{},hP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),w1="abcdefghijklmnopqrstuvwxyz",Jp="0123456789",e3={DIGIT:Jp,ALPHA:w1,ALPHA_DIGIT:w1+w1.toUpperCase()+Jp},fP=(t=16,e=e3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function mP(t){return!!(t&&bn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const pP=t=>{const e=new Array(10),n=(r,s)=>{if(Gl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Li(r)?[]:{};return ea(r,(a,l)=>{const c=n(a,s+1);!Jo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},gP=rr("AsyncFunction"),Y={isArray:Li,isArrayBuffer:Zp,isBuffer:F$,isFormData:q$,isArrayBufferView:I$,isString:z$,isNumber:Up,isBoolean:H$,isObject:Gl,isPlainObject:Kl,isUndefined:Jo,isDate:Y$,isFile:W$,isBlob:j$,isRegExp:lP,isFunction:bn,isStream:U$,isURLSearchParams:G$,isTypedArray:rP,isFileList:Z$,forEach:ea,merge:y1,extend:X$,trim:K$,stripBOM:Q$,inherits:J$,toFlatObject:eP,kindOf:Ul,kindOfTest:rr,endsWith:tP,toArray:nP,forEachEntry:sP,matchAll:iP,isHTMLForm:oP,hasOwnProperty:Xp,hasOwnProp:Xp,reduceDescriptors:Qp,freezeMethods:cP,toObjectSet:dP,toCamelCase:aP,noop:uP,toFiniteNumber:hP,findKey:qp,global:Gp,isContextDefined:Kp,ALPHABET:e3,generateString:fP,isSpecCompliantForm:mP,toJSONObject:pP,isAsyncFn:gP,isThenable:t=>t&&(Gl(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 t3=Te.prototype,n3={};["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=>{n3[t]={value:t}}),Object.defineProperties(Te,n3),Object.defineProperty(t3,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(t3);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 _P=null;function b1(t){return Y.isPlainObject(t)||Y.isArray(t)}function r3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function s3(t,e,n){return t?t.concat(e).map(function(s,i){return s=r3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function yP(t){return Y.isArray(t)&&!t.some(b1)}const wP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Xl(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)&&yP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=r3(p),y.forEach(function(k,v){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?s3([p],v,i):a===null?p:p+"[]",d(k))}),!1}return b1(g)?!0:(e.append(s3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(wP,{defaultVisitor:u,convertValue:d,isVisitable:b1});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 i3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function k1(t,e){this._pairs=[],t&&Xl(t,this,e)}const o3=k1.prototype;o3.append=function(e,n){this._pairs.push([e,n])},o3.toString=function(e){const n=e?function(r){return e.call(this,r,i3)}:i3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function bP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function a3(t,e,n){if(!e)return t;const r=n&&n.encode||bP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new k1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class l3{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 c3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:k1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},d3=typeof window<"u"&&typeof document<"u",CP=(t=>d3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),xP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sr={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:d3,hasStandardBrowserEnv:CP,hasStandardBrowserWebWorkerEnv:xP},Symbol.toStringTag,{value:"Module"})),...kP};function MP(t,e){return Xl(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 SP(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function vP(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 u3(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]=vP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(SP(r),s,n,0)}),n}return null}function TP(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 C1={transitional:c3,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(u3(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 MP(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Xl(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),TP(e)):e}],transformResponse:[function(e){const n=this.transitional||C1.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=>{C1.headers[t]={}});const x1=C1,DP=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"]),OP=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]&&DP[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},h3=Symbol("internals");function ta(t){return t&&String(t).trim().toLowerCase()}function Ql(t){return t===!1||t==null?t:Y.isArray(t)?t.map(Ql):String(t)}function EP(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 $P=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function M1(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 PP(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function LP(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 Jl{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=ta(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]=Ql(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())&&!$P(e)?a(OP(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=ta(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return EP(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=ta(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||M1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=ta(a),a){const l=Y.findKey(r,a);l&&(!n||M1(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||M1(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]=Ql(s),delete n[i];return}const l=e?PP(i):String(i).trim();l!==i&&delete n[i],n[l]=Ql(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[h3]=this[h3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=ta(a);r[l]||(LP(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}Jl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(Jl.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(Jl);const Dr=Jl;function S1(t,e){const n=this||x1,r=e||n,s=Dr.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 f3(t){return!!(t&&t.__CANCEL__)}function na(t,e,n){Te.call(this,t??"canceled",Te.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(na,Te,{__CANCEL__:!0});function NP(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 VP=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 BP(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function AP(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function m3(t,e){return t&&!BP(e)?AP(t,e):e}const RP=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 FP(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function IP(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 p3(t,e){let n=0;const r=IP(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 v1={http:_P,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=Dr.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let u;if(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=m3(t.baseURL,t.url);h.open(t.method.toUpperCase(),a3(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=Dr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:t,request:h};NP(function(k){n(k),d()},function(k){r(k),d()},y),h=null}if("onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(m)},h.onabort=function(){h&&(r(new Te("Request aborted",Te.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||c3;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&&RP(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&VP.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",p3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",p3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new na(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=FP(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(v1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const g3=t=>`- ${t}`,zP=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,!zP(n)&&(r=v1[(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
|
+
`+i.map(g3).join(`
|
|
49
|
+
`):" "+g3(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:v1};function T1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new na(null,t)}function y3(t){return T1(t),t.headers=Dr.from(t.headers),t.data=S1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),_3.getAdapter(t.adapter||x1.adapter)(t).then(function(r){return T1(t),r.data=S1.call(t,t.transformResponse,r),r.headers=Dr.from(r.headers),r},function(r){return f3(r)||(T1(t),r&&r.response&&(r.response.data=S1.call(t,t.transformResponse,r.response),r.response.headers=Dr.from(r.response.headers))),Promise.reject(r)})}const w3=t=>t instanceof Dr?{...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(w3(d),w3(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 b3="1.6.8",D1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{D1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const k3={};D1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+b3+"] 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&&!k3[a]&&(k3[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 HP(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 O1={assertOptions:HP,validators:D1},rs=O1.validators;class ec{constructor(e){this.defaults=e,this.interceptors={request:new l3,response:new l3}}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&&O1.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}:O1.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=Dr.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[y3.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=y3.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=m3(e.baseURL,e.url);return a3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){ec.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}))}}ec.prototype[e]=n(),ec.prototype[e+"Form"]=n(!0)});const tc=ec;class E1{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 na(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 E1(function(s){e=s}),cancel:e}}}const YP=E1;function WP(t){return function(n){return t.apply(null,n)}}function jP(t){return Y.isObject(t)&&t.isAxiosError===!0}const $1={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($1).forEach(([t,e])=>{$1[e]=t});const ZP=$1;function C3(t){const e=new tc(t),n=jp(tc.prototype.request,e);return Y.extend(n,tc.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return C3(Ni(t,s))},n}const at=C3(x1);at.Axios=tc,at.CanceledError=na,at.CancelToken=YP,at.isCancel=f3,at.VERSION=b3,at.toFormData=Xl,at.AxiosError=Te,at.Cancel=at.CanceledError,at.all=function(e){return Promise.all(e)},at.spread=WP,at.isAxiosError=jP,at.mergeConfig=Ni,at.AxiosHeaders=Dr,at.formToJSON=t=>u3(Y.isHTMLForm(t)?new FormData(t):t),at.getAdapter=_3.getAdapter,at.HttpStatusCode=ZP,at.default=at;const nc=at.create({baseURL:"https://api.scope360.io/"}),UP=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}},qP=t=>on.getItem("isOAuth")?t:"Bearer "+t;nc.interceptors.request.use(async t=>{const e=on.getItem("access_token");return t.headers={Accept:"application/json"},on.getItem("access_token")&&(t.headers.Authorization=qP(e)),t},t=>{Promise.reject(t)}),nc.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 UP();return at.defaults.headers.common.Authorization="Bearer "+n,nc(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 GP={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 KP extends Ws{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class XP extends Ws{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class QP extends Ws{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Vi extends Ws{}class x3 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",rc={year:ne,month:ne,day:ne},M3={year:ne,month:Vn,day:ne},JP={year:ne,month:Vn,day:ne,weekday:Vn},S3={year:ne,month:an,day:ne},v3={year:ne,month:an,day:ne,weekday:an},T3={hour:ne,minute:ne},D3={hour:ne,minute:ne,second:ne},O3={hour:ne,minute:ne,second:ne,timeZoneName:Vn},E3={hour:ne,minute:ne,second:ne,timeZoneName:an},$3={hour:ne,minute:ne,hourCycle:"h23"},P3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},L3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Vn},N3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:an},V3={year:ne,month:ne,day:ne,hour:ne,minute:ne},B3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},A3={year:ne,month:Vn,day:ne,hour:ne,minute:ne},R3={year:ne,month:Vn,day:ne,hour:ne,minute:ne,second:ne},eL={year:ne,month:Vn,day:ne,weekday:Vn,hour:ne,minute:ne},F3={year:ne,month:an,day:ne,hour:ne,minute:ne,timeZoneName:Vn},I3={year:ne,month:an,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Vn},z3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,timeZoneName:an},H3={year:ne,month:an,day:ne,weekday:an,hour:ne,minute:ne,second:ne,timeZoneName:an};class ra{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 P1=null;class sc extends ra{static get instance(){return P1===null&&(P1=new sc),P1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return h6(e,n,r)}formatOffset(e,n){return aa(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let ic={};function tL(t){return ic[t]||(ic[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"})),ic[t]}const nL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function rL(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 sL(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=nL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let oc={};class Or extends ra{static create(e){return oc[e]||(oc[e]=new Or(e)),oc[e]}static resetCache(){oc={},ic={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Or.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return h6(e,n,r,this.name)}formatOffset(e,n){return aa(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=tL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?sL(r,n):rL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=uc({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 Y3={};function iL(t,e={}){const n=JSON.stringify([t,e]);let r=Y3[n];return r||(r=new Intl.ListFormat(t,e),Y3[n]=r),r}let L1={};function N1(t,e={}){const n=JSON.stringify([t,e]);let r=L1[n];return r||(r=new Intl.DateTimeFormat(t,e),L1[n]=r),r}let V1={};function oL(t,e={}){const n=JSON.stringify([t,e]);let r=V1[n];return r||(r=new Intl.NumberFormat(t,e),V1[n]=r),r}let B1={};function aL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=B1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),B1[s]=i),i}let sa=null;function lL(){return sa||(sa=new Intl.DateTimeFormat().resolvedOptions().locale,sa)}let W3={};function cL(t){let e=W3[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,W3[t]=e}return e}function dL(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=N1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=N1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function uL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function hL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function fL(t){const e=[];for(let n=1;n<=7;n++){const r=pe.utc(2016,11,13+n);e.push(t(r))}return e}function ac(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function mL(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 pL{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=oL(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):Y1(e,3);return yt(n,this.padTo)}}}class gL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Or.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=N1(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 _L{constructor(e,n,r){this.opts={style:"long",...r},!n&&l6()&&(this.rtf=aL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):AL(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const yL={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":lL()),c=n||gt.defaultNumberingSystem,d=r||gt.defaultOutputCalendar,u=z1(s)||gt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){sa=null,L1={},V1={},B1={}}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]=dL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=uL(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=mL(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,z1(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 ac(this,e,p6,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=hL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return ac(this,e,y6,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=n?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=fL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return ac(this,void 0,()=>w6,()=>{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 ac(this,e,b6,()=>{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 pL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new gL(e,this.intl,n)}relFormatter(e={}){return new _L(this.intl,this.isEnglish(),e)}listFormatter(e={}){return iL(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:c6()?cL(this.locale):yL}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 A1=null;class Nt extends ra{static get utcInstance(){return A1===null&&(A1=new Nt(0)),A1}static instance(e){return e===0?Nt.utcInstance:new Nt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Nt(hc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${aa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${aa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return aa(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class wL extends ra{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 ra)return t;if(CL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?sc.instance:n==="utc"||n==="gmt"?Nt.utcInstance:Nt.parseSpecifier(n)||Or.create(t)}else return js(t)?Nt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new wL(t)}let j3=()=>Date.now(),Z3="system",U3=null,q3=null,G3=null,K3=60,X3,Q3=null;class gt{static get now(){return j3}static set now(e){j3=e}static set defaultZone(e){Z3=e}static get defaultZone(){return is(Z3,sc.instance)}static get defaultLocale(){return U3}static set defaultLocale(e){U3=e}static get defaultNumberingSystem(){return q3}static set defaultNumberingSystem(e){q3=e}static get defaultOutputCalendar(){return G3}static set defaultOutputCalendar(e){G3=e}static get defaultWeekSettings(){return Q3}static set defaultWeekSettings(e){Q3=z1(e)}static get twoDigitCutoffYear(){return K3}static set twoDigitCutoffYear(e){K3=e%100}static get throwOnInvalid(){return X3}static set throwOnInvalid(e){X3=e}static resetCaches(){ze.resetCache(),Or.resetCache()}}class Bn{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const J3=[0,31,59,90,120,151,181,212,243,273,304,334],e6=[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 R1(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 t6(t,e,n){return n+(ia(t)?e6:J3)[e-1]}function n6(t,e){const n=ia(t)?e6:J3,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function F1(t,e){return(t-e+7)%7+1}function lc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=t6(r,s,i),l=F1(R1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=oa(d,e,n)):c>oa(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...mc(t)}}function r6(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=F1(R1(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}=n6(d,c);return{year:d,month:u,day:h,...mc(t)}}function I1(t){const{year:e,month:n,day:r}=t,s=t6(e,n,r);return{year:e,ordinal:s,...mc(t)}}function s6(t){const{year:e,ordinal:n}=t,{month:r,day:s}=n6(e,n);return{year:e,month:r,day:s,...mc(t)}}function i6(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 bL(t,e=4,n=1){const r=cc(t.weekYear),s=Cn(t.weekNumber,1,oa(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 kL(t){const e=cc(t.year),n=Cn(t.ordinal,1,Ai(t.year));return e?n?!1:kn("ordinal",t.ordinal):kn("year",t.year)}function o6(t){const e=cc(t.year),n=Cn(t.month,1,12),r=Cn(t.day,1,dc(t.year,t.month));return e?n?r?!1:kn("day",t.day):kn("month",t.month):kn("year",t.year)}function a6(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 cc(t){return typeof t=="number"&&t%1===0}function CL(t){return typeof t=="string"}function xL(t){return Object.prototype.toString.call(t)==="[object Date]"}function l6(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function c6(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function ML(t){return Array.isArray(t)?t:[t]}function d6(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 SL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Bi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function z1(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 cc(t)&&t>=e&&t<=n}function vL(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 H1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Y1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function ia(t){return t%4===0&&(t%100!==0||t%400===0)}function Ai(t){return ia(t)?366:365}function dc(t,e){const n=vL(e-1,12)+1,r=t+(e-n)/12;return n===2?ia(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function uc(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 u6(t,e,n){return-F1(R1(t,1,e),n)+e-1}function oa(t,e=4,n=1){const r=u6(t,e,n),s=u6(t+1,e,n);return(Ai(t)-r+s)/7}function W1(t){return t>99?t:t>gt.twoDigitCutoffYear?1900+t:2e3+t}function h6(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 hc(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 f6(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new jt(`Invalid unit value ${t}`);return e}function fc(t,e){const n={};for(const r in t)if(Bi(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=f6(s)}return n}function aa(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 mc(t){return SL(t,["hour","minute","second","millisecond"])}const TL=["January","February","March","April","May","June","July","August","September","October","November","December"],m6=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],DL=["J","F","M","A","M","J","J","A","S","O","N","D"];function p6(t){switch(t){case"narrow":return[...DL];case"short":return[...m6];case"long":return[...TL];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 g6=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_6=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],OL=["M","T","W","T","F","S","S"];function y6(t){switch(t){case"narrow":return[...OL];case"short":return[..._6];case"long":return[...g6];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const w6=["AM","PM"],EL=["Before Christ","Anno Domini"],$L=["BC","AD"],PL=["B","A"];function b6(t){switch(t){case"narrow":return[...PL];case"short":return[...$L];case"long":return[...EL];default:return null}}function LL(t){return w6[t.hour<12?0:1]}function NL(t,e){return y6(e)[t.weekday-1]}function VL(t,e){return p6(e)[t.month-1]}function BL(t,e){return b6(e)[t.year<0?0:1]}function AL(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 k6(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const RL={D:rc,DD:M3,DDD:S3,DDDD:v3,t:T3,tt:D3,ttt:O3,tttt:E3,T:$3,TT:P3,TTT:L3,TTTT:N3,f:V3,ff:A3,fff:F3,ffff:z3,F:B3,FF:R3,FFF:I3,FFFF:H3};class Pt{static create(e,n={}){return new Pt(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 RL[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?LL(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?VL(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?NL(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Pt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?BL(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 k6(Pt.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=Pt.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 k6(i,s(l))}}const C6=/[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 x6(...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 M6=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,FL=`(?:${M6.source}?(?:\\[(${C6.source})\\])?)?`,j1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,S6=RegExp(`${j1.source}${FL}`),Z1=RegExp(`(?:T${S6.source})?`),IL=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,zL=/(\d{4})-?W(\d\d)(?:-?(\d))?/,HL=/(\d{4})-?(\d{3})/,YL=x6("weekYear","weekNumber","weekDay"),WL=x6("year","ordinal"),jL=/(\d{4})-(\d\d)-(\d\d)/,v6=RegExp(`${j1.source} ?(?:${M6.source}|(${C6.source}))?`),ZL=RegExp(`(?: ${v6.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:os(r)}function UL(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:H1(t[e+3])},null,e+4]}function la(t,e){const n=!t[e]&&!t[e+1],r=hc(t[e+1],t[e+2]),s=n?null:Nt.instance(r);return[{},s,e+3]}function ca(t,e){const n=t[e]?Or.create(t[e]):null;return[{},n,e+1]}const qL=RegExp(`^T?${j1.source}$`),GL=/^-?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 KL(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(H1(d),h)}]}const XL={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 U1(t,e,n,r,s,i,a){const l={year:e.length===2?W1(os(e)):os(e),month:m6.indexOf(n)+1,day:os(r),hour:os(s),minute:os(i)};return a&&(l.second=os(a)),t&&(l.weekday=t.length>3?g6.indexOf(t)+1:_6.indexOf(t)+1),l}const QL=/^(?:(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 JL(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=U1(e,s,r,n,i,a,l);let m;return c?m=XL[c]:d?m=0:m=hc(u,h),[f,new Nt(m)]}function eN(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const tN=/^(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$/,nN=/^(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$/,rN=/^(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 T6(t){const[,e,n,r,s,i,a,l]=t;return[U1(e,s,r,n,i,a,l),Nt.utcInstance]}function sN(t){const[,e,n,r,s,i,a,l]=t;return[U1(e,l,n,r,s,i,a),Nt.utcInstance]}const iN=Ri(IL,Z1),oN=Ri(zL,Z1),aN=Ri(HL,Z1),lN=Ri(S6),D6=Fi(UL,Hi,la,ca),cN=Fi(YL,Hi,la,ca),dN=Fi(WL,Hi,la,ca),uN=Fi(Hi,la,ca);function hN(t){return Ii(t,[iN,D6],[oN,cN],[aN,dN],[lN,uN])}function fN(t){return Ii(eN(t),[QL,JL])}function mN(t){return Ii(t,[tN,T6],[nN,T6],[rN,sN])}function pN(t){return Ii(t,[GL,KL])}const gN=Fi(Hi);function _N(t){return Ii(t,[qL,gN])}const yN=Ri(jL,ZL),wN=Ri(v6),bN=Fi(Hi,la,ca);function kN(t){return Ii(t,[yN,D6],[wN,bN])}const O6="Invalid Duration",E6={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}},CN={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},...E6},xn=146097/400,Yi=146097/4800,xN={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},...E6},Us=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],MN=Us.slice(0).reverse();function as(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Oe(r)}function $6(t,e){let n=e.milliseconds??0;for(const r of MN.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function P6(t,e){const n=$6(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 SN(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class Oe{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?xN:CN;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 Oe.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 Oe({values:fc(e,Oe.normalizeUnit),loc:ze.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(js(e))return Oe.fromMillis(e);if(Oe.isDuration(e))return e;if(typeof e=="object")return Oe.fromObject(e);throw new jt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=pN(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=_N(e);return r?Oe.fromObject(r,n):Oe.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new 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 QP(r);return new Oe({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new x3(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?Pt.create(this.loc,r).formatDurationFromString(this,e):O6}toHuman(e={}){if(!this.isValid)return O6;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+=Y1(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?$6(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e),r={};for(const s of Us)(Bi(n.values,s)||Bi(this.values,s))&&(r[s]=n.get(s)+this.get(s));return as(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=f6(e(this.values[r],r));return as(this,{values:n},!0)}get(e){return this[Oe.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...fc(e,Oe.normalizeUnit)};return as(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return as(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return P6(this.matrix,e),as(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=SN(this.normalize().shiftToAll().toObject());return as(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>Oe.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of Us)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;js(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else js(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return P6(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 vN(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 XP(r);return new lt({invalid:r})}static fromDateTimes(e,n){const r=ua(e),s=ua(n),i=vN(r,s);return i??new lt({start:r,end:s})}static after(e,n){const r=Oe.fromDurationLike(n),s=ua(e);return lt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Oe.fromDurationLike(n),s=ua(e);return lt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return lt.fromDateTimes(i,l);if(a){const d=Oe.fromISO(s,n);if(d.isValid)return lt.after(i,d)}else if(c){const d=Oe.fromISO(r,n);if(d.isValid)return lt.before(l,d)}}return lt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?lt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ua).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(lt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=Oe.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(lt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:lt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return lt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(lt.fromDateTimes(n,c.time)),n=null);return lt.merge(s)}difference(...e){return lt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=rc,n={}){return this.isValid?Pt.create(this.s.loc.clone(n),e).formatInterval(this):Wi}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Wi}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wi}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Wi}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Wi}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Oe.invalid(this.invalidReason)}mapEndpoints(e){return lt.fromDateTimes(e(this.s),e(this.e))}}class pc{static hasDST(e=gt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Or.isValidZone(e)}static normalizeZone(e){return is(e,gt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||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:l6(),localeWeek:c6()}}}function L6(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Oe.fromMillis(r).as("days"))}function TN(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=L6(c,d);return(u-u%7)/7}],["days",L6]],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 DN(t,e,n,r){let[s,i,a,l]=TN(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=Oe.fromObject(i,r);return d.length>0?Oe.fromMillis(c,r).shiftTo(...d).plus(u):u}const q1={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},N6={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]},ON=q1.hanidec.replace(/[\[|\]]/g,"").split("");function EN(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(q1.hanidec)!==-1)e+=ON.indexOf(t[n]);else for(const s in N6){const[i,a]=N6[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function An({numberingSystem:t},e=""){return new RegExp(`${q1[t||"latn"]}${e}`)}const $N="missing Intl.DateTimeFormat.formatToParts support";function Ne(t,e=n=>n){return{regex:t,deser:([n])=>e(EN(n))}}const V6="[ ]",B6=new RegExp(V6,"g");function PN(t){return t.replace(/\./g,"\\.?").replace(B6,V6)}function A6(t){return t.replace(/\./g,"").replace(B6," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(PN).join("|")),deser:([n])=>t.findIndex(r=>A6(n)===A6(r))+e}}function R6(t,e){return{regex:t,deser:([,n,r])=>hc(n,r),groups:e}}function gc(t){return{regex:t,deser:([e])=>e}}function LN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function NN(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(LN(_.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 Ne(d);case"yy":return Ne(h,W1);case"yyyy":return Ne(i);case"yyyyy":return Ne(f);case"yyyyyy":return Ne(a);case"M":return Ne(l);case"MM":return Ne(r);case"MMM":return Rn(e.months("short",!0),1);case"MMMM":return Rn(e.months("long",!0),1);case"L":return Ne(l);case"LL":return Ne(r);case"LLL":return Rn(e.months("short",!1),1);case"LLLL":return Rn(e.months("long",!1),1);case"d":return Ne(l);case"dd":return Ne(r);case"o":return Ne(c);case"ooo":return Ne(s);case"HH":return Ne(r);case"H":return Ne(l);case"hh":return Ne(r);case"h":return Ne(l);case"mm":return Ne(r);case"m":return Ne(l);case"q":return Ne(l);case"qq":return Ne(r);case"s":return Ne(l);case"ss":return Ne(r);case"S":return Ne(c);case"SSS":return Ne(s);case"u":return gc(u);case"uu":return gc(l);case"uuu":return Ne(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Ne(i);case"kk":return Ne(h,W1);case"W":return Ne(l);case"WW":return Ne(r);case"E":case"c":return Ne(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 R6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return R6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return gc(/[a-z_+-/]{1,256}?/i);case" ":return gc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:$N};return p.token=t,p}const VN={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 BN(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=VN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function AN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function RN(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 FN(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Or.create(t.z)),me(t.Z)||(n||(n=new Nt(t.Z)),r=t.Z),me(t.q)||(t.M=(t.q-1)*3+1),me(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),me(t.u)||(t.S=H1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let G1=null;function IN(){return G1||(G1=pe.fromMillis(1555555555555)),G1}function zN(t,e){if(t.literal)return t;const n=Pt.macroTokenToFormatOpts(t.val),r=z6(n,e);return r==null||r.includes(void 0)?t:r}function F6(t,e){return Array.prototype.concat(...t.map(n=>zN(n,e)))}function I6(t,e,n){const r=F6(Pt.parseFormat(n),t),s=r.map(a=>NN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=AN(s),c=RegExp(a,"i"),[d,u]=RN(e,c,l),[h,f,m]=u?FN(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 HN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=I6(t,e,n);return[r,s,i,a]}function z6(t,e){if(!t)return null;const r=Pt.create(e,t).dtFormatter(IN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>BN(a,t,i))}const K1="Invalid DateTime",H6=864e13;function _c(t){return new Bn("unsupported zone",`the zone "${t.name}" is not supported`)}function X1(t){return t.weekData===null&&(t.weekData=lc(t.c)),t.weekData}function Q1(t){return t.localWeekData===null&&(t.localWeekData=lc(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 Y6(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 yc(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 wc(t,e,n){return Y6(uc(t),e,n)}function W6(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,dc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=Oe.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=uc(i);let[c,d]=Y6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function da(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 bc(t,e,n=!0){return t.isValid?Pt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function J1(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 j6(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 Z6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},YN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},WN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},U6=["year","month","day","hour","minute","second","millisecond"],jN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ZN=["year","ordinal","hour","minute","second","millisecond"];function UN(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 x3(t);return e}function q6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return UN(t)}}function G6(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 U6)me(t[d])&&(t[d]=Z6[d]);const l=o6(t)||a6(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=wc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function K6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=Y1(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 X6(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:_c(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=yc(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]=X6(arguments),[r,s,i,a,l,c,d]=n;return G6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=X6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Nt.utcInstance,G6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=xL(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(_c(s))}static fromMillis(e,n={}){if(js(e))return e<-H6||e>H6?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(_c(r));const s=ze.fromObject(n),i=fc(e,q6),{minDaysInFirstWeek:a,startOfWeek:l}=i6(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=yc(c,d);p?(_=jN,y=YN,C=lc(C,a,l)):u?(_=ZN,y=WN,C=I1(C)):(_=U6,y=Z6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const v=p?bL(i,a,l):u?kL(i):o6(i),M=v||a6(i);if(M)return pe.invalid(M);const D=p?r6(i,a,l):u?s6(i):i,[S,O]=wc(D,d,r),E=new pe({ts:S,zone:r,o:O,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=hN(e);return da(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=fN(e);return da(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=mN(e);return da(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]=HN(a,e,n);return u?pe.invalid(u):da(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]=kN(e);return da(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 KP(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=z6(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return F6(Pt.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?X1(this).weekYear:NaN}get weekNumber(){return this.isValid?X1(this).weekNumber:NaN}get weekday(){return this.isValid?X1(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Q1(this).weekday:NaN}get localWeekNumber(){return this.isValid?Q1(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Q1(this).weekYear:NaN}get ordinal(){return this.isValid?I1(this.c).ordinal:NaN}get monthShort(){return this.isValid?pc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?pc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?pc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?pc.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=uc(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=yc(c,a),h=yc(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 ia(this.year)}get daysInMonth(){return dc(this.year,this.month)}get daysInYear(){return this.isValid?Ai(this.year):NaN}get weeksInWeekYear(){return this.isValid?oa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?oa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Pt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Nt.instance(e),n)}toLocal(){return this.setZone(gt.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=is(e,gt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(n||r){const i=e.offset(this.ts),a=this.toObject();[s]=wc(a,i,e)}return qs(this,{ts:s,zone:e})}else return pe.invalid(_c(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=fc(e,q6),{minDaysInFirstWeek:r,startOfWeek:s}=i6(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=r6({...lc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(dc(h.year,h.month),h.day))):h=s6({...I1(this.c),...n});const[f,m]=wc(h,this.o,this.zone);return qs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e);return qs(this,W6(this,n))}minus(e){if(!this.isValid)return this;const n=Oe.fromDurationLike(e).negate();return qs(this,W6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Oe.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Pt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):K1}toLocaleString(e=rc,n={}){return this.isValid?Pt.create(this.loc.clone(n),e).formatDateTime(this):K1}toLocaleParts(e={}){return this.isValid?Pt.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=J1(this,a);return l+="T",l+=j6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?J1(this,e==="extended"):null}toISOWeekDate(){return bc(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":"")+j6(this,a==="extended",n,e,r,i):null}toRFC2822(){return bc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return bc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?J1(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")),bc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():K1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return Oe.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=ML(n).map(Oe.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=DN(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),K6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?K6(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 d6(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new jt("max requires all arguments be DateTimes");return d6(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 I6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return rc}static get DATE_MED(){return M3}static get DATE_MED_WITH_WEEKDAY(){return JP}static get DATE_FULL(){return S3}static get DATE_HUGE(){return v3}static get TIME_SIMPLE(){return T3}static get TIME_WITH_SECONDS(){return D3}static get TIME_WITH_SHORT_OFFSET(){return O3}static get TIME_WITH_LONG_OFFSET(){return E3}static get TIME_24_SIMPLE(){return $3}static get TIME_24_WITH_SECONDS(){return P3}static get TIME_24_WITH_SHORT_OFFSET(){return L3}static get TIME_24_WITH_LONG_OFFSET(){return N3}static get DATETIME_SHORT(){return V3}static get DATETIME_SHORT_WITH_SECONDS(){return B3}static get DATETIME_MED(){return A3}static get DATETIME_MED_WITH_SECONDS(){return R3}static get DATETIME_MED_WITH_WEEKDAY(){return eL}static get DATETIME_FULL(){return F3}static get DATETIME_FULL_WITH_SECONDS(){return I3}static get DATETIME_HUGE(){return z3}static get DATETIME_HUGE_WITH_SECONDS(){return H3}}function ua(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 Vt(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function eh(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function qN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function GN(t){return new Date(t).getFullYear()}function Q6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function KN(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function XN(t){return new Date(t).getDate()}function th(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=Vt(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function QN(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 J6(t){const e=/^(\w{2,4})(.*)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[3];return r===""||s===""?t:`${r}/${s}`}else return t}const JN=(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},eV={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},kc=t=>{if(!(t!=null&&t.message))return;const e={...eV,...t},n=JN($0,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}},tV=(t,e)=>kc({...e,message:t,type:"success"}),nV=(t,e)=>kc({...e,message:t,type:"error"}),rV=(t,e)=>kc({...e,message:t,type:"info"}),nh=()=>({open:kc,success:tV,error:nV,info:rV}),sV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},iV=[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 eg(t,e){return o.openBlock(),o.createElementBlock("svg",sV,[...iV])}const oV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eg},render:eg},Symbol.toStringTag,{value:"Module"})),aV={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lV=[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 tg(t,e){return o.openBlock(),o.createElementBlock("svg",aV,[...lV])}const cV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tg},render:tg},Symbol.toStringTag,{value:"Module"})),dV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uV=[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 ng(t,e){return o.openBlock(),o.createElementBlock("svg",dV,[...uV])}const hV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ng},render:ng},Symbol.toStringTag,{value:"Module"})),fV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mV=[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 rg(t,e){return o.openBlock(),o.createElementBlock("svg",fV,[...mV])}const pV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rg},render:rg},Symbol.toStringTag,{value:"Module"})),gV={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},_V=[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 sg(t,e){return o.openBlock(),o.createElementBlock("svg",gV,[..._V])}const yV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sg},render:sg},Symbol.toStringTag,{value:"Module"})),wV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bV=[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 ig(t,e){return o.openBlock(),o.createElementBlock("svg",wV,[...bV])}const kV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ig},render:ig},Symbol.toStringTag,{value:"Module"})),CV={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xV=[o.createElementVNode("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 og(t,e){return o.openBlock(),o.createElementBlock("svg",CV,[...xV])}const MV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:og},render:og},Symbol.toStringTag,{value:"Module"})),SV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},vV=[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 ag(t,e){return o.openBlock(),o.createElementBlock("svg",SV,[...vV])}const TV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ag},render:ag},Symbol.toStringTag,{value:"Module"})),DV={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},OV=[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 lg(t,e){return o.openBlock(),o.createElementBlock("svg",DV,[...OV])}const EV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lg},render:lg},Symbol.toStringTag,{value:"Module"})),$V={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PV=[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 cg(t,e){return o.openBlock(),o.createElementBlock("svg",$V,[...PV])}const LV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cg},render:cg},Symbol.toStringTag,{value:"Module"})),NV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VV=[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 dg(t,e){return o.openBlock(),o.createElementBlock("svg",NV,[...VV])}const BV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dg},render:dg},Symbol.toStringTag,{value:"Module"})),AV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},RV=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"#56B683"},null,-1)];function ug(t,e){return o.openBlock(),o.createElementBlock("svg",AV,[...RV])}const FV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ug},render:ug},Symbol.toStringTag,{value:"Module"})),IV={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},zV=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"#F18169"},null,-1)];function hg(t,e){return o.openBlock(),o.createElementBlock("svg",IV,[...zV])}const HV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hg},render:hg},Symbol.toStringTag,{value:"Module"})),YV={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WV=[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 fg(t,e){return o.openBlock(),o.createElementBlock("svg",YV,[...WV])}const jV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fg},render:fg},Symbol.toStringTag,{value:"Module"})),ZV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},UV=[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 mg(t,e){return o.openBlock(),o.createElementBlock("svg",ZV,[...UV])}const qV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),GV={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KV=[o.createStaticVNode('<g id="Frame 2118527357"><path id="Vector" d="M8.36101 10.6773C8.06238 10.6773 7.76108 10.6187 7.47311 10.4987C6.60388 10.1387 6.04395 9.29882 6.04395 8.36026V4.60337C6.04395 3.75547 6.73186 3.07022 7.5771 3.07022C8.42233 3.07022 9.11025 3.75813 9.11025 4.60337V6.54447L14.7683 0.886471C15.3682 0.286541 16.3387 0.286541 16.9387 0.886471C17.5386 1.4864 17.5386 2.45695 16.9387 3.05688L9.99548 10.0001C9.55287 10.4427 8.96094 10.68 8.36101 10.68V10.6773Z" fill="url(#paint0_linear_4793_138365)"></path><path id="Vector_2" d="M2.14746 11.5627C1.7555 11.5627 1.36355 11.4134 1.06225 11.1147C0.462322 10.5148 0.462322 9.54427 1.06225 8.94434L6.48828 3.51831C7.08821 2.91838 8.05877 2.91838 8.6587 3.51831C9.25863 4.11824 9.25863 5.08879 8.6587 5.68872L3.23266 11.1147C2.93403 11.4134 2.53941 11.5627 2.14746 11.5627Z" fill="url(#paint1_linear_4793_138365)"></path></g><defs><linearGradient id="paint0_linear_4793_138365" x1="6.04395" y1="5.55526" x2="17.3893" y2="5.55526" gradientUnits="userSpaceOnUse"><stop stop-color="#07A360"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient><linearGradient id="paint1_linear_4793_138365" x1="0.614304" y1="7.31519" x2="9.10931" y2="7.31519" gradientUnits="userSpaceOnUse"><stop stop-color="#23E27D"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient></defs>',2)];function pg(t,e){return o.openBlock(),o.createElementBlock("svg",GV,[...KV])}const XV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),QV={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JV=[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 gg(t,e){return o.openBlock(),o.createElementBlock("svg",QV,[...JV])}const eB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),tB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nB=[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",tB,[...nB])}const rB=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"},iB=[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 yg(t,e){return o.openBlock(),o.createElementBlock("svg",sB,[...iB])}const oB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),aB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},lB=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function wg(t,e){return o.openBlock(),o.createElementBlock("svg",aB,[...lB])}const cB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),dB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uB=[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 bg(t,e){return o.openBlock(),o.createElementBlock("svg",dB,[...uB])}const hB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},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:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function kg(t,e){return o.openBlock(),o.createElementBlock("svg",fB,[...mB])}const pB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),gB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_B=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Cg(t,e){return o.openBlock(),o.createElementBlock("svg",gB,[..._B])}const yB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),wB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},bB=[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 xg(t,e){return o.openBlock(),o.createElementBlock("svg",wB,[...bB])}const kB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),CB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},xB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Mg(t,e){return o.openBlock(),o.createElementBlock("svg",CB,[...xB])}const MB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),SB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vB=[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 Sg(t,e){return o.openBlock(),o.createElementBlock("svg",SB,[...vB])}const TB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),DB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},OB=[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 vg(t,e){return o.openBlock(),o.createElementBlock("svg",DB,[...OB])}const EB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),$B={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},PB=[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 Tg(t,e){return o.openBlock(),o.createElementBlock("svg",$B,[...PB])}const LB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},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:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Dg(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...VB])}const BB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),AB={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RB=[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 Og(t,e){return o.openBlock(),o.createElementBlock("svg",AB,[...RB])}const FB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),IB={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},zB=[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 Eg(t,e){return o.openBlock(),o.createElementBlock("svg",IB,[...zB])}const HB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),YB={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WB=[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 $g(t,e){return o.openBlock(),o.createElementBlock("svg",YB,[...WB])}const jB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),ZB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},UB=[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 Pg(t,e){return o.openBlock(),o.createElementBlock("svg",ZB,[...UB])}const qB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},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:"M6.25 6.25L13.75 13.75M13.75 6.25L6.25 13.75",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function Lg(t,e){return o.openBlock(),o.createElementBlock("svg",GB,[...KB])}const XB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),QB={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JB=[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 Ng(t,e){return o.openBlock(),o.createElementBlock("svg",QB,[...JB])}const eA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),tA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nA=[o.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 Vg(t,e){return o.openBlock(),o.createElementBlock("svg",tA,[...nA])}const rA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),sA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},iA=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",sA,[...iA])}const oA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),aA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},lA=[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 Ag(t,e){return o.openBlock(),o.createElementBlock("svg",aA,[...lA])}const cA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),dA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},uA=[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 Rg(t,e){return o.openBlock(),o.createElementBlock("svg",dA,[...uA])}const hA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),fA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mA=[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 Fg(t,e){return o.openBlock(),o.createElementBlock("svg",fA,[...mA])}const pA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),gA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_A=[o.createElementVNode("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 Ig(t,e){return o.openBlock(),o.createElementBlock("svg",gA,[..._A])}const yA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},Symbol.toStringTag,{value:"Module"})),wA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bA=[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 zg(t,e){return o.openBlock(),o.createElementBlock("svg",wA,[...bA])}const kA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zg},render:zg},Symbol.toStringTag,{value:"Module"})),CA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},xA=[o.createElementVNode("path",{d:"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 Hg(t,e){return o.openBlock(),o.createElementBlock("svg",CA,[...xA])}const MA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),SA={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vA=[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 Yg(t,e){return o.openBlock(),o.createElementBlock("svg",SA,[...vA])}const TA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),DA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},OA=[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 Wg(t,e){return o.openBlock(),o.createElementBlock("svg",DA,[...OA])}const EA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},Symbol.toStringTag,{value:"Module"})),$A={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PA=[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 jg(t,e){return o.openBlock(),o.createElementBlock("svg",$A,[...PA])}const LA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),NA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175L16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Zg(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...VA])}const BA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),AA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RA=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175C17.924 16.3402 16.7046 17.6185 15.223 18.5264C13.7415 19.4343 12.0489 19.9405 10.3122 19.9951C8.5754 20.0496 6.85439 19.6507 5.31875 18.8377C3.78311 18.0246 2.48583 16.8254 1.55477 15.3583L3.66559 14.0187C4.36388 15.119 5.33684 16.0184 6.48857 16.6282C7.64031 17.2381 8.93106 17.5372 10.2336 17.4963C11.5362 17.4554 12.8056 17.0757 13.9168 16.3948C15.028 15.7139 15.9425 14.7552 16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Ug(t,e){return o.openBlock(),o.createElementBlock("svg",AA,[...RA])}const FA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),IA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zA=[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 qg(t,e){return o.openBlock(),o.createElementBlock("svg",IA,[...zA])}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},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:"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 Gg(t,e){return o.openBlock(),o.createElementBlock("svg",YA,[...WA])}const jA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),ZA={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UA=[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 Kg(t,e){return o.openBlock(),o.createElementBlock("svg",ZA,[...UA])}const qA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),GA={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KA=[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 Xg(t,e){return o.openBlock(),o.createElementBlock("svg",GA,[...KA])}const XA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),QA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},JA=[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 Qg(t,e){return o.openBlock(),o.createElementBlock("svg",QA,[...JA])}const eR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),tR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nR=[o.createElementVNode("g",{id:"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 Jg(t,e){return o.openBlock(),o.createElementBlock("svg",tR,[...nR])}const rR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),sR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},iR=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",sR,[...iR])}const oR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),aR={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 t_(t,e){return o.openBlock(),o.createElementBlock("svg",aR,[...lR])}const cR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),dR={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uR=[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 n_(t,e){return o.openBlock(),o.createElementBlock("svg",dR,[...uR])}const hR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),fR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},mR=[o.createElementVNode("path",{d:"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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",fR,[...mR])}const pR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),gR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_R=[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 s_(t,e){return o.openBlock(),o.createElementBlock("svg",gR,[..._R])}const yR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),wR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bR=[o.createElementVNode("path",{"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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",wR,[...bR])}const kR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),CR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xR=[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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",CR,[...xR])}const MR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),SR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},vR=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",SR,[...vR])}const TR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),DR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},OR=[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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",DR,[...OR])}const ER=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),$R={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PR=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",$R,[...PR])}const LR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),NR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VR=[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 d_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...VR])}const BR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),AR={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RR=[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 u_(t,e){return o.openBlock(),o.createElementBlock("svg",AR,[...RR])}const FR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),IR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zR=[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 h_(t,e){return o.openBlock(),o.createElementBlock("svg",IR,[...zR])}const HR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),YR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WR=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",YR,[...WR])}const jR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),ZR={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},UR=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",ZR,[...UR])}const qR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),GR={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KR=[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 p_(t,e){return o.openBlock(),o.createElementBlock("svg",GR,[...KR])}const XR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},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:"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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",QR,[...JR])}const eF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),tF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},nF=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",tF,[...nF])}const rF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),sF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},iF=[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 y_(t,e){return o.openBlock(),o.createElementBlock("svg",sF,[...iF])}const oF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),aF={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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",aF,[...lF])}const cF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),dF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},uF=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",dF,[...uF])}const hF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),fF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mF=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",fF,[...mF])}const pF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),gF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_F=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621L41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.417 29V20.6533H17.3828L14.8057 22.4854V20.9814L17.4033 19.1357H18.9141V29H17.417ZM21.8672 31.1055H20.5547L24.0547 19.1357H25.3672L21.8672 31.1055ZM28.2793 24.5361V23.333H29.4688C29.9974 23.333 30.4281 23.1826 30.7607 22.8818C31.098 22.5811 31.2666 22.1982 31.2666 21.7334C31.2666 21.264 31.1094 20.8926 30.7949 20.6191C30.485 20.3457 30.043 20.209 29.4688 20.209C28.9355 20.209 28.5026 20.3525 28.1699 20.6396C27.8372 20.9222 27.6481 21.3073 27.6025 21.7949H26.1602C26.2194 20.929 26.5521 20.2386 27.1582 19.7236C27.7689 19.2087 28.5618 18.9512 29.5371 18.9512C30.4759 18.9512 31.2484 19.1927 31.8545 19.6758C32.4606 20.1543 32.7637 20.7718 32.7637 21.5283C32.7637 22.139 32.5791 22.654 32.21 23.0732C31.8408 23.488 31.3486 23.75 30.7334 23.8594V23.8867C31.4808 23.9368 32.0732 24.1761 32.5107 24.6045C32.9528 25.0329 33.1738 25.5911 33.1738 26.2793C33.1738 27.1315 32.8298 27.8288 32.1416 28.3711C31.4535 28.9134 30.5898 29.1846 29.5508 29.1846C28.498 29.1846 27.6481 28.9225 27.001 28.3984C26.3584 27.8698 26.012 27.1748 25.9619 26.3135H27.4316C27.4818 26.792 27.6937 27.1771 28.0674 27.4688C28.4456 27.7604 28.9401 27.9062 29.5508 27.9062C30.1523 27.9062 30.6468 27.7536 31.0342 27.4482C31.4215 27.1383 31.6152 26.7419 31.6152 26.2588C31.6152 25.7256 31.4261 25.3063 31.0479 25.001C30.6742 24.6911 30.1615 24.5361 29.5098 24.5361H28.2793Z",fill:"#1C2026"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",gF,[..._F])}const yF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),wF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bF=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621C43.0223 39.2165 40.0957 42.2844 36.54 44.4634C32.9842 46.6423 28.9221 47.8572 24.7539 47.9882C20.5856 48.1191 16.4552 47.1618 12.7697 45.2104C9.08414 43.259 5.97068 40.3809 3.73613 36.8598L6.77571 34.9309C8.67507 37.9238 11.3215 40.3701 14.4542 42.0288C17.5869 43.6875 21.0978 44.5013 24.6408 44.3899C28.1838 44.2786 31.6366 43.246 34.659 41.3939C37.6814 39.5417 40.169 36.934 41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M13.9854 22.0273C13.9854 21.1387 14.3044 20.4049 14.9424 19.8262C15.585 19.2428 16.3962 18.9512 17.376 18.9512C18.3148 18.9512 19.0964 19.2155 19.7207 19.7441C20.3451 20.2728 20.6572 20.929 20.6572 21.7129C20.6572 22.2643 20.5046 22.7884 20.1992 23.2852C19.8939 23.7773 19.3607 24.4131 18.5996 25.1924L16.1318 27.6738V27.708H20.8145V29H14.0674V27.9609L17.6289 24.3311C18.2305 23.7021 18.6338 23.2191 18.8389 22.8818C19.0439 22.54 19.1465 22.1755 19.1465 21.7881C19.1465 21.3506 18.971 20.9792 18.6201 20.6738C18.2692 20.3685 17.8385 20.2158 17.3281 20.2158C16.7904 20.2158 16.3392 20.389 15.9746 20.7354C15.6146 21.0771 15.4346 21.5055 15.4346 22.0205V22.041H13.9854V22.0273ZM22.7217 31.1055H21.4092L24.9092 19.1357H26.2217L22.7217 31.1055ZM29.1338 24.5361V23.333H30.3232C30.8519 23.333 31.2826 23.1826 31.6152 22.8818C31.9525 22.5811 32.1211 22.1982 32.1211 21.7334C32.1211 21.264 31.9639 20.8926 31.6494 20.6191C31.3395 20.3457 30.8975 20.209 30.3232 20.209C29.79 20.209 29.3571 20.3525 29.0244 20.6396C28.6917 20.9222 28.5026 21.3073 28.457 21.7949H27.0146C27.0739 20.929 27.4066 20.2386 28.0127 19.7236C28.6234 19.2087 29.4163 18.9512 30.3916 18.9512C31.3304 18.9512 32.1029 19.1927 32.709 19.6758C33.3151 20.1543 33.6182 20.7718 33.6182 21.5283C33.6182 22.139 33.4336 22.654 33.0645 23.0732C32.6953 23.488 32.2031 23.75 31.5879 23.8594V23.8867C32.3353 23.9368 32.9277 24.1761 33.3652 24.6045C33.8073 25.0329 34.0283 25.5911 34.0283 26.2793C34.0283 27.1315 33.6842 27.8288 32.9961 28.3711C32.3079 28.9134 31.4443 29.1846 30.4053 29.1846C29.3525 29.1846 28.5026 28.9225 27.8555 28.3984C27.2129 27.8698 26.8665 27.1748 26.8164 26.3135H28.2861C28.3363 26.792 28.5482 27.1771 28.9219 27.4688C29.3001 27.7604 29.7946 27.9062 30.4053 27.9062C31.0068 27.9062 31.5013 27.7536 31.8887 27.4482C32.276 27.1383 32.4697 26.7419 32.4697 26.2588C32.4697 25.7256 32.2806 25.3063 31.9023 25.001C31.5286 24.6911 31.016 24.5361 30.3643 24.5361H29.1338Z",fill:"#1C2026"},null,-1)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",wF,[...bF])}const kF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),CF={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xF=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",CF,[...xF])}const MF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),SF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vF=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",SF,[...vF])}const TF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),DF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},OF=[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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",DF,[...OF])}const EF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),$F={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},PF=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function T_(t,e){return o.openBlock(),o.createElementBlock("svg",$F,[...PF])}const LF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},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("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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...VF])}const BF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),AF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RF=[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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",AF,[...RF])}const FF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),IF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zF=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"#8E8E93"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"#8E8E93"},null,-1)];function E_(t,e){return o.openBlock(),o.createElementBlock("svg",IF,[...zF])}const HF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),YF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WF=[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 $_(t,e){return o.openBlock(),o.createElementBlock("svg",YF,[...WF])}const jF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),ZF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},UF=[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 P_(t,e){return o.openBlock(),o.createElementBlock("svg",ZF,[...UF])}const qF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},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:"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 L_(t,e){return o.openBlock(),o.createElementBlock("svg",GF,[...KF])}const XF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),QF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},JF=[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 N_(t,e){return o.openBlock(),o.createElementBlock("svg",QF,[...JF])}const eI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),tI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},nI=[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 V_(t,e){return o.openBlock(),o.createElementBlock("svg",tI,[...nI])}const rI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),sI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iI=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",sI,[...iI])}const oI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),aI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lI=[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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",aI,[...lI])}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),dI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},uI=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",dI,[...uI])}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),fI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},mI=[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 F_(t,e){return o.openBlock(),o.createElementBlock("svg",fI,[...mI])}const pI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),gI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_I=[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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",gI,[..._I])}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),wI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},bI=[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 z_(t,e){return o.openBlock(),o.createElementBlock("svg",wI,[...bI])}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),CI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},xI=[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 H_(t,e){return o.openBlock(),o.createElementBlock("svg",CI,[...xI])}const MI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),SI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vI=[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 Y_(t,e){return o.openBlock(),o.createElementBlock("svg",SI,[...vI])}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),DI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},OI=[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 W_(t,e){return o.openBlock(),o.createElementBlock("svg",DI,[...OI])}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),$I={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},PI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",$I,[...PI])}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),NI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},VI=[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 Z_(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...VI])}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),AI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RI=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",AI,[...RI])}const FI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),II={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zI=[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 q_(t,e){return o.openBlock(),o.createElementBlock("svg",II,[...zI])}const HI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),YI={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},WI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",YI,[...WI])}const jI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},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="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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",ZI,[...UI])}const qI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),GI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},KI=[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 X_(t,e){return o.openBlock(),o.createElementBlock("svg",GI,[...KI])}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),QI={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},JI=[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 Q_(t,e){return o.openBlock(),o.createElementBlock("svg",QI,[...JI])}const ez=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"}));ie.AccountBalanceWidget=YM,ie.AverageRRLine=jm,ie.BalanceWidget=cS,ie.Button=ma,ie.Calendar=q8,ie.CalendarDropdown=Yp,ie.CalendarWidget=PS,ie.CheckBox=A4,ie.CommissionsFeesWidget=qS,ie.Confetti=ww,ie.CookieManager=on,ie.Dropdown=y4,ie.Dropzone=Bw,ie.Icon=Ve,ie.Input=x4,ie.LineChart=Vu,ie.LongShort=V0,ie.Menu=I4,ie.NavigationTab=ry,ie.NoMore=Kd,ie.NumberInput=ey,ie.PerformanceWidget=ev,ie.PeriodDropdown=Ys,ie.ProgressLine=Wp,ie.Radio=D4,ie.ReturnWidget=gv,ie.Selector=K8,ie.SidebarPopup=Xw,ie.SimpleLineChart=Hm,ie.Switcher=Y4,ie.Textarea=Mw,ie.Toast=$0,ie.Toggle=L4,ie.Tooltip=fn,ie.TopPositionsWidget=Ov,ie.TradePerformanceWidget=jv,ie.WidgetChips=jl,ie.WinrateWidget=iT,ie.addSlashToPair=J6,ie.calculateTimeDifference=QN,ie.firebaseConfig=GP,ie.getDate=XN,ie.getDay=th,ie.getFullYear=GN,ie.getMonth=KN,ie.numFormat=eh,ie.scopeInstance=nc,ie.toBaseDate=Q6,ie.toFix=Vt,ie.transformKeysToQuery=qN,ie.useToast=nh,ie.withSign=ln,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
|
|
51
51
|
//# sourceMappingURL=scope360-core.umd.cjs.map
|