@luizleon/sf.prefeiturasp.vuecomponents 4.0.16 → 4.0.17
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/sf.prefeiturasp.vuecomponents.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.cjs.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js +3 -3
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -414,7 +414,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
414
414
|
}
|
|
415
415
|
`)},Jf={root:"p-ink"},Yf=Ee.extend({name:"ripple-directive",theme:Gf,classes:Jf}),Xf=Z.extend({style:Yf});function fn(t){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(t)}function Zf(t){return nm(t)||tm(t)||em(t)||Qf()}function Qf(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
416
416
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function em(t,e){if(t){if(typeof t=="string")return Vr(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vr(t,e):void 0}}function tm(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nm(t){if(Array.isArray(t))return Vr(t)}function Vr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function is(t,e,n){return(e=rm(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rm(t){var e=om(t,"string");return fn(e)=="symbol"?e:e+""}function om(t,e){if(fn(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var im=Xf.extend("ripple",{watch:{"config.ripple":function(e){e?(this.createRipple(this.$host),this.bindEvents(this.$host),this.$host.setAttribute("data-pd-ripple",!0),this.$host.style.overflow="hidden",this.$host.style.position="relative"):(this.remove(this.$host),this.$host.removeAttribute("data-pd-ripple"))}},unmounted:function(e){this.remove(e)},timeout:void 0,methods:{bindEvents:function(e){e.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(e){e.removeEventListener("mousedown",this.onMouseDown.bind(this))},createRipple:function(e){var n=Ud("span",is(is({role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this)},this.$attrSelector,""),"p-bind",this.ptm("root")));e.appendChild(n),this.$el=n},remove:function(e){var n=this.getInk(e);n&&(this.$host.style.overflow="",this.$host.style.position="",this.unbindEvents(e),n.removeEventListener("animationend",this.onAnimationEnd),n.remove())},onMouseDown:function(e){var n=this,r=e.currentTarget,o=this.getInk(r);if(!(!o||getComputedStyle(o,null).display==="none")){if(!this.isUnstyled()&&Or(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"),!Ti(o)&&!xi(o)){var i=Math.max(Md(r),Vd(r));o.style.height=i+"px",o.style.width=i+"px"}var s=jd(r),c=e.pageX-s.left+document.body.scrollTop-xi(o)/2,a=e.pageY-s.top+document.body.scrollLeft-Ti(o)/2;o.style.top=a+"px",o.style.left=c+"px",!this.isUnstyled()&&Fd(o,"p-ink-active"),o.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){o&&(!n.isUnstyled()&&Or(o,"p-ink-active"),o.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(e){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&Or(e.currentTarget,"p-ink-active"),e.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(e){return e&&e.children?Zf(e.children).find(function(n){return tn(n,"data-pc-name")==="ripple"}):void 0}}}),sm={name:"BasePanelMenu",extends:Vn,props:{model:{type:Array,default:null},expandedKeys:{type:Object,default:null},multiple:{type:Boolean,default:!1},tabindex:{type:Number,default:0}},style:Hf,provide:function(){return{$pcPanelMenu:this,$parentInstance:this}}},ss={name:"PanelMenuSub",hostName:"PanelMenu",extends:Vn,emits:["item-toggle","item-mousemove"],props:{panelId:{type:String,default:null},focusedItemId:{type:String,default:null},items:{type:Array,default:null},level:{type:Number,default:0},templates:{type:Object,default:null},activeItemPath:{type:Object,default:null},tabindex:{type:Number,default:-1}},methods:{getItemId:function(e){return"".concat(this.panelId,"_").concat(e.key)},getItemKey:function(e){return this.getItemId(e)},getItemProp:function(e,n,r){return e&&e.item?Fe(e.item[n],r):void 0},getItemLabel:function(e){return this.getItemProp(e,"label")},getPTOptions:function(e,n,r){return this.ptm(e,{context:{item:n,index:r,active:this.isItemActive(n),focused:this.isItemFocused(n),disabled:this.isItemDisabled(n)}})},isItemActive:function(e){return this.activeItemPath.some(function(n){return n.key===e.key})},isItemVisible:function(e){return this.getItemProp(e,"visible")!==!1},isItemDisabled:function(e){return this.getItemProp(e,"disabled")},isItemFocused:function(e){return this.focusedItemId===this.getItemId(e)},isItemGroup:function(e){return le(e.items)},onItemClick:function(e,n){this.getItemProp(n,"command",{originalEvent:e,item:n.item}),this.$emit("item-toggle",{processedItem:n,expanded:!this.isItemActive(n)})},onItemToggle:function(e){this.$emit("item-toggle",e)},onItemMouseMove:function(e,n){this.$emit("item-mousemove",{originalEvent:e,processedItem:n})},getAriaSetSize:function(){var e=this;return this.items.filter(function(n){return e.isItemVisible(n)&&!e.getItemProp(n,"separator")}).length},getAriaPosInset:function(e){var n=this;return e-this.items.slice(0,e).filter(function(r){return n.isItemVisible(r)&&n.getItemProp(r,"separator")}).length+1},getMenuItemProps:function(e,n){return{action:l.mergeProps({class:this.cx("itemLink"),tabindex:-1,"aria-hidden":!0},this.getPTOptions("itemLink",e,n)),icon:l.mergeProps({class:[this.cx("itemIcon"),this.getItemProp(e,"icon")]},this.getPTOptions("itemIcon",e,n)),label:l.mergeProps({class:this.cx("itemLabel")},this.getPTOptions("itemLabel",e,n)),submenuicon:l.mergeProps({class:this.cx("submenuIcon")},this.getPTOptions("submenuicon",e,n))}}},components:{ChevronRightIcon:Hr,ChevronDownIcon:Ur},directives:{ripple:im}},am=["tabindex"],lm=["id","aria-label","aria-expanded","aria-level","aria-setsize","aria-posinset","data-p-focused","data-p-disabled"],cm=["onClick","onMousemove"],um=["href","target"];function dm(t,e,n,r,o,i){var s=l.resolveComponent("PanelMenuSub",!0),c=l.resolveDirective("ripple");return l.openBlock(),l.createElementBlock("ul",{class:l.normalizeClass(t.cx("submenu")),tabindex:n.tabindex},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.items,function(a,u){return l.openBlock(),l.createElementBlock(l.Fragment,{key:i.getItemKey(a)},[i.isItemVisible(a)&&!i.getItemProp(a,"separator")?(l.openBlock(),l.createElementBlock("li",l.mergeProps({key:0,id:i.getItemId(a),class:[t.cx("item",{processedItem:a}),i.getItemProp(a,"class")],style:i.getItemProp(a,"style"),role:"treeitem","aria-label":i.getItemLabel(a),"aria-expanded":i.isItemGroup(a)?i.isItemActive(a):void 0,"aria-level":n.level+1,"aria-setsize":i.getAriaSetSize(),"aria-posinset":i.getAriaPosInset(u),ref_for:!0},i.getPTOptions("item",a,u),{"data-p-focused":i.isItemFocused(a),"data-p-disabled":i.isItemDisabled(a)}),[l.createElementVNode("div",l.mergeProps({class:t.cx("itemContent"),onClick:function(m){return i.onItemClick(m,a)},onMousemove:function(m){return i.onItemMouseMove(m,a)},ref_for:!0},i.getPTOptions("itemContent",a,u)),[n.templates.item?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(n.templates.item),{key:1,item:a.item,root:!1,active:i.isItemActive(a),hasSubmenu:i.isItemGroup(a),label:i.getItemLabel(a),props:i.getMenuItemProps(a,u)},null,8,["item","active","hasSubmenu","label","props"])):l.withDirectives((l.openBlock(),l.createElementBlock("a",l.mergeProps({key:0,href:i.getItemProp(a,"url"),class:t.cx("itemLink"),target:i.getItemProp(a,"target"),tabindex:"-1","aria-hidden":"true",ref_for:!0},i.getPTOptions("itemLink",a,u)),[i.isItemGroup(a)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[n.templates.submenuicon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(n.templates.submenuicon),l.mergeProps({key:0,class:t.cx("submenuIcon"),active:i.isItemActive(a),ref_for:!0},i.getPTOptions("submenuIcon",a,u)),null,16,["class","active"])):(l.openBlock(),l.createBlock(l.resolveDynamicComponent(i.isItemActive(a)?"ChevronDownIcon":"ChevronRightIcon"),l.mergeProps({key:1,class:t.cx("submenuIcon"),ref_for:!0},i.getPTOptions("submenuIcon",a,u)),null,16,["class"]))],64)):l.createCommentVNode("",!0),n.templates.itemicon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(n.templates.itemicon),{key:1,item:a.item,class:l.normalizeClass(t.cx("itemIcon"))},null,8,["item","class"])):i.getItemProp(a,"icon")?(l.openBlock(),l.createElementBlock("span",l.mergeProps({key:2,class:[t.cx("itemIcon"),i.getItemProp(a,"icon")],ref_for:!0},i.getPTOptions("itemIcon",a,u)),null,16)):l.createCommentVNode("",!0),l.createElementVNode("span",l.mergeProps({class:t.cx("itemLabel"),ref_for:!0},i.getPTOptions("itemLabel",a,u)),l.toDisplayString(i.getItemLabel(a)),17)],16,um)),[[c]])],16,cm),l.createVNode(l.Transition,l.mergeProps({name:"p-toggleable-content",ref_for:!0},t.ptm("transition")),{default:l.withCtx(function(){return[l.withDirectives(l.createElementVNode("div",l.mergeProps({class:t.cx("contentContainer"),ref_for:!0},t.ptm("contentContainer")),[i.isItemVisible(a)&&i.isItemGroup(a)?(l.openBlock(),l.createBlock(s,l.mergeProps({key:0,id:i.getItemId(a)+"_list",role:"group",panelId:n.panelId,focusedItemId:n.focusedItemId,items:a.items,level:n.level+1,templates:n.templates,activeItemPath:n.activeItemPath,onItemToggle:i.onItemToggle,onItemMousemove:e[0]||(e[0]=function(d){return t.$emit("item-mousemove",d)}),pt:t.pt,unstyled:t.unstyled,ref_for:!0},t.ptm("submenu")),null,16,["id","panelId","focusedItemId","items","level","templates","activeItemPath","onItemToggle","pt","unstyled"])):l.createCommentVNode("",!0)],16),[[l.vShow,i.isItemActive(a)]])]}),_:2},1040)],16,lm)):l.createCommentVNode("",!0),i.isItemVisible(a)&&i.getItemProp(a,"separator")?(l.openBlock(),l.createElementBlock("li",l.mergeProps({key:1,style:i.getItemProp(a,"style"),class:[t.cx("separator"),i.getItemProp(a,"class")],role:"separator",ref_for:!0},t.ptm("separator")),null,16)):l.createCommentVNode("",!0)],64)}),128))],10,am)}ss.render=dm;function fm(t,e){return gm(t)||hm(t,e)||pm(t,e)||mm()}function mm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
417
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pm(t,e){if(t){if(typeof t=="string")return as(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?as(t,e):void 0}}function as(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function hm(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,o,i,s,c=[],a=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);a=!0);}catch(d){u=!0,o=d}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return c}}function gm(t){if(Array.isArray(t))return t}var ls={name:"PanelMenuList",hostName:"PanelMenu",extends:Vn,emits:["item-toggle","header-focus"],props:{panelId:{type:String,default:null},items:{type:Array,default:null},templates:{type:Object,default:null},expandedKeys:{type:Object,default:null}},searchTimeout:null,searchValue:null,data:function(){return{focused:!1,focusedItem:null,activeItemPath:[]}},watch:{expandedKeys:function(e){this.autoUpdateActiveItemPath(e)}},mounted:function(){this.autoUpdateActiveItemPath(this.expandedKeys)},methods:{getItemProp:function(e,n){return e&&e.item?Fe(e.item[n]):void 0},getItemLabel:function(e){return this.getItemProp(e,"label")},isItemVisible:function(e){return this.getItemProp(e,"visible")!==!1},isItemDisabled:function(e){return this.getItemProp(e,"disabled")},isItemActive:function(e){return this.activeItemPath.some(function(n){return n.key===e.parentKey})},isItemGroup:function(e){return le(e.items)},onFocus:function(e){this.focused=!0,this.focusedItem=this.focusedItem||(this.isElementInPanel(e,e.relatedTarget)?this.findFirstItem():this.findLastItem())},onBlur:function(){this.focused=!1,this.focusedItem=null,this.searchValue=""},onKeyDown:function(e){var n=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"ArrowRight":this.onArrowRightKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"Space":this.onSpaceKey(e);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":case"Tab":case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!n&&qd(e.key)&&this.searchItems(e,e.key);break}},onArrowDownKey:function(e){var n=le(this.focusedItem)?this.findNextItem(this.focusedItem):this.findFirstItem();this.changeFocusedItem({originalEvent:e,processedItem:n,focusOnNext:!0}),e.preventDefault()},onArrowUpKey:function(e){var n=le(this.focusedItem)?this.findPrevItem(this.focusedItem):this.findLastItem();this.changeFocusedItem({originalEvent:e,processedItem:n,selfCheck:!0}),e.preventDefault()},onArrowLeftKey:function(e){var n=this;if(le(this.focusedItem)){var r=this.activeItemPath.some(function(o){return o.key===n.focusedItem.key});r?this.activeItemPath=this.activeItemPath.filter(function(o){return o.key!==n.focusedItem.key}):this.focusedItem=le(this.focusedItem.parent)?this.focusedItem.parent:this.focusedItem,e.preventDefault()}},onArrowRightKey:function(e){var n=this;if(le(this.focusedItem)){var r=this.isItemGroup(this.focusedItem);if(r){var o=this.activeItemPath.some(function(i){return i.key===n.focusedItem.key});o?this.onArrowDownKey(e):(this.activeItemPath=this.activeItemPath.filter(function(i){return i.parentKey!==n.focusedItem.parentKey}),this.activeItemPath.push(this.focusedItem))}e.preventDefault()}},onHomeKey:function(e){this.changeFocusedItem({originalEvent:e,processedItem:this.findFirstItem(),allowHeaderFocus:!1}),e.preventDefault()},onEndKey:function(e){this.changeFocusedItem({originalEvent:e,processedItem:this.findLastItem(),focusOnNext:!0,allowHeaderFocus:!1}),e.preventDefault()},onEnterKey:function(e){if(le(this.focusedItem)){var n=qe(this.$el,'li[id="'.concat("".concat(this.focusedItemId),'"]')),r=n&&(qe(n,'[data-pc-section="itemlink"]')||qe(n,"a,button"));r?r.click():n&&n.click()}e.preventDefault()},onSpaceKey:function(e){this.onEnterKey(e)},onItemToggle:function(e){var n=e.processedItem,r=e.expanded;this.expandedKeys?this.$emit("item-toggle",{item:n.item,expanded:r}):(this.activeItemPath=this.activeItemPath.filter(function(o){return o.parentKey!==n.parentKey}),r&&this.activeItemPath.push(n)),this.focusedItem=n,en(this.$el)},onItemMouseMove:function(e){this.focused&&(this.focusedItem=e.processedItem)},isElementInPanel:function(e,n){var r=e.currentTarget.closest('[data-pc-section="panel"]');return r&&r.contains(n)},isItemMatched:function(e){var n;return this.isValidItem(e)&&((n=this.getItemLabel(e))===null||n===void 0?void 0:n.toLocaleLowerCase(this.searchLocale).startsWith(this.searchValue.toLocaleLowerCase(this.searchLocale)))},isVisibleItem:function(e){return!!e&&(e.level===0||this.isItemActive(e))&&this.isItemVisible(e)},isValidItem:function(e){return!!e&&!this.isItemDisabled(e)&&!this.getItemProp(e,"separator")},findFirstItem:function(){var e=this;return this.visibleItems.find(function(n){return e.isValidItem(n)})},findLastItem:function(){var e=this;return Ii(this.visibleItems,function(n){return e.isValidItem(n)})},findNextItem:function(e){var n=this,r=this.visibleItems.findIndex(function(i){return i.key===e.key}),o=r<this.visibleItems.length-1?this.visibleItems.slice(r+1).find(function(i){return n.isValidItem(i)}):void 0;return o||e},findPrevItem:function(e){var n=this,r=this.visibleItems.findIndex(function(i){return i.key===e.key}),o=r>0?Ii(this.visibleItems.slice(0,r),function(i){return n.isValidItem(i)}):void 0;return o||e},searchItems:function(e,n){var r=this;this.searchValue=(this.searchValue||"")+n;var o=null,i=!1;if(le(this.focusedItem)){var s=this.visibleItems.findIndex(function(c){return c.key===r.focusedItem.key});o=this.visibleItems.slice(s).find(function(c){return r.isItemMatched(c)}),o=yt(o)?this.visibleItems.slice(0,s).find(function(c){return r.isItemMatched(c)}):o}else o=this.visibleItems.find(function(c){return r.isItemMatched(c)});return le(o)&&(i=!0),yt(o)&&yt(this.focusedItem)&&(o=this.findFirstItem()),le(o)&&this.changeFocusedItem({originalEvent:e,processedItem:o,allowHeaderFocus:!1}),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),i},changeFocusedItem:function(e){var n=e.originalEvent,r=e.processedItem,o=e.focusOnNext,i=e.selfCheck,s=e.allowHeaderFocus,c=s===void 0?!0:s;le(this.focusedItem)&&this.focusedItem.key!==r.key?(this.focusedItem=r,this.scrollInView()):c&&this.$emit("header-focus",{originalEvent:n,focusOnNext:o,selfCheck:i})},scrollInView:function(){var e=qe(this.$el,'li[id="'.concat("".concat(this.focusedItemId),'"]'));e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest",inline:"start"})},autoUpdateActiveItemPath:function(e){var n=this;this.activeItemPath=Object.entries(e||{}).reduce(function(r,o){var i=fm(o,2),s=i[0],c=i[1];if(c){var a=n.findProcessedItemByItemKey(s);a&&r.push(a)}return r},[])},findProcessedItemByItemKey:function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(n=n||r===0&&this.processedItems,!n)return null;for(var o=0;o<n.length;o++){var i=n[o];if(this.getItemProp(i,"key")===e)return i;var s=this.findProcessedItemByItemKey(e,i.items,r+1);if(s)return s}},createProcessedItems:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",s=[];return e&&e.forEach(function(c,a){var u=(i!==""?i+"_":"")+a,d={item:c,index:a,level:r,key:u,parent:o,parentKey:i};d.items=n.createProcessedItems(c.items,r+1,d,u),s.push(d)}),s},flatItems:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e&&e.forEach(function(o){n.isVisibleItem(o)&&(r.push(o),n.flatItems(o.items,r))}),r}},computed:{processedItems:function(){return this.createProcessedItems(this.items||[])},visibleItems:function(){return this.flatItems(this.processedItems)},focusedItemId:function(){return le(this.focusedItem)?"".concat(this.panelId,"_").concat(this.focusedItem.key):null}},components:{PanelMenuSub:ss}};function ym(t,e,n,r,o,i){var s=l.resolveComponent("PanelMenuSub");return l.openBlock(),l.createBlock(s,l.mergeProps({id:n.panelId+"_list",class:t.cx("rootList"),role:"tree",tabindex:-1,"aria-activedescendant":o.focused?i.focusedItemId:void 0,panelId:n.panelId,focusedItemId:o.focused?i.focusedItemId:void 0,items:i.processedItems,templates:n.templates,activeItemPath:o.activeItemPath,onFocus:i.onFocus,onBlur:i.onBlur,onKeydown:i.onKeyDown,onItemToggle:i.onItemToggle,onItemMousemove:i.onItemMouseMove,pt:t.pt,unstyled:t.unstyled},t.ptm("rootList")),null,16,["id","class","aria-activedescendant","panelId","focusedItemId","items","templates","activeItemPath","onFocus","onBlur","onKeydown","onItemToggle","onItemMousemove","pt","unstyled"])}ls.render=ym;function mn(t){"@babel/helpers - typeof";return mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mn(t)}function cs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function bm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cs(Object(n),!0).forEach(function(r){vm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cs(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function vm(t,e,n){return(e=wm(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wm(t){var e=_m(t,"string");return mn(e)=="symbol"?e:e+""}function _m(t,e){if(mn(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(mn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var us={name:"PanelMenu",extends:sm,inheritAttrs:!1,emits:["update:expandedKeys","panel-open","panel-close"],data:function(){return{id:this.$attrs.id,activeItem:null,activeItems:[]}},watch:{"$attrs.id":function(e){this.id=e||Mn()}},mounted:function(){this.id=this.id||Mn()},methods:{getItemProp:function(e,n){return e?Fe(e[n]):void 0},getItemLabel:function(e){return this.getItemProp(e,"label")},getPTOptions:function(e,n,r){return this.ptm(e,{context:{index:r,active:this.isItemActive(n),focused:this.isItemFocused(n),disabled:this.isItemDisabled(n)}})},isItemActive:function(e){return this.expandedKeys?this.expandedKeys[this.getItemProp(e,"key")]:this.multiple?this.activeItems.some(function(n){return Rt(e,n)}):Rt(e,this.activeItem)},isItemVisible:function(e){return this.getItemProp(e,"visible")!==!1},isItemDisabled:function(e){return this.getItemProp(e,"disabled")},isItemFocused:function(e){return Rt(e,this.activeItem)},getPanelId:function(e){return"".concat(this.id,"_").concat(e)},getPanelKey:function(e){return this.getPanelId(e)},getHeaderId:function(e){return"".concat(this.getPanelId(e),"_header")},getContentId:function(e){return"".concat(this.getPanelId(e),"_content")},onHeaderClick:function(e,n){if(this.isItemDisabled(n)){e.preventDefault();return}n.command&&n.command({originalEvent:e,item:n}),this.changeActiveItem(e,n),en(e.currentTarget)},onHeaderKeyDown:function(e,n){switch(e.code){case"ArrowDown":this.onHeaderArrowDownKey(e);break;case"ArrowUp":this.onHeaderArrowUpKey(e);break;case"Home":this.onHeaderHomeKey(e);break;case"End":this.onHeaderEndKey(e);break;case"Enter":case"NumpadEnter":case"Space":this.onHeaderEnterKey(e,n);break}},onHeaderArrowDownKey:function(e){var n=tn(e.currentTarget,"data-p-active")===!0?qe(e.currentTarget.nextElementSibling,'[data-pc-section="rootlist"]'):null;n?en(n):this.updateFocusedHeader({originalEvent:e,focusOnNext:!0}),e.preventDefault()},onHeaderArrowUpKey:function(e){var n=this.findPrevHeader(e.currentTarget.parentElement)||this.findLastHeader(),r=tn(n,"data-p-active")===!0?qe(n.nextElementSibling,'[data-pc-section="rootlist"]'):null;r?en(r):this.updateFocusedHeader({originalEvent:e,focusOnNext:!1}),e.preventDefault()},onHeaderHomeKey:function(e){this.changeFocusedHeader(e,this.findFirstHeader()),e.preventDefault()},onHeaderEndKey:function(e){this.changeFocusedHeader(e,this.findLastHeader()),e.preventDefault()},onHeaderEnterKey:function(e,n){var r=qe(e.currentTarget,'[data-pc-section="headerlink"]');r?r.click():this.onHeaderClick(e,n),e.preventDefault()},findNextHeader:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?e:e.nextElementSibling,o=qe(r,'[data-pc-section="header"]');return o?tn(o,"data-p-disabled")?this.findNextHeader(o.parentElement):o:null},findPrevHeader:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?e:e.previousElementSibling,o=qe(r,'[data-pc-section="header"]');return o?tn(o,"data-p-disabled")?this.findPrevHeader(o.parentElement):o:null},findFirstHeader:function(){return this.findNextHeader(this.$el.firstElementChild,!0)},findLastHeader:function(){return this.findPrevHeader(this.$el.lastElementChild,!0)},updateFocusedHeader:function(e){var n=e.originalEvent,r=e.focusOnNext,o=e.selfCheck,i=n.currentTarget.closest('[data-pc-section="panel"]'),s=o?qe(i,'[data-pc-section="header"]'):r?this.findNextHeader(i):this.findPrevHeader(i);s?this.changeFocusedHeader(n,s):r?this.onHeaderHomeKey(n):this.onHeaderEndKey(n)},changeActiveItem:function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!this.isItemDisabled(n)){var o=this.isItemActive(n),i=o?"panel-close":"panel-open";this.activeItem=r?n:this.activeItem&&Rt(n,this.activeItem)?null:n,this.multiple&&(this.activeItems.some(function(s){return Rt(n,s)})?this.activeItems=this.activeItems.filter(function(s){return!Rt(n,s)}):this.activeItems.push(n)),this.changeExpandedKeys({item:n,expanded:!o}),this.$emit(i,{originalEvent:e,item:n})}},changeExpandedKeys:function(e){var n=e.item,r=e.expanded,o=r===void 0?!1:r;if(this.expandedKeys){var i=bm({},this.expandedKeys);o?i[n.key]=!0:delete i[n.key],this.$emit("update:expandedKeys",i)}},changeFocusedHeader:function(e,n){n&&en(n)},getMenuItemProps:function(e,n){return{icon:l.mergeProps({class:[this.cx("headerIcon"),this.getItemProp(e,"icon")]},this.getPTOptions("headerIcon",e,n)),label:l.mergeProps({class:this.cx("headerLabel")},this.getPTOptions("headerLabel",e,n))}}},components:{PanelMenuList:ls,ChevronRightIcon:Hr,ChevronDownIcon:Ur}},Sm=["id"],km=["id","tabindex","aria-label","aria-expanded","aria-controls","aria-disabled","onClick","onKeydown","data-p-active","data-p-disabled"],Cm=["href"],Em=["id","aria-labelledby"];function Am(t,e,n,r,o,i){var s=l.resolveComponent("PanelMenuList");return l.openBlock(),l.createElementBlock("div",l.mergeProps({id:o.id,class:t.cx("root")},t.ptmi("root")),[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.model,function(c,a){return l.openBlock(),l.createElementBlock(l.Fragment,{key:i.getPanelKey(a)},[i.isItemVisible(c)?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,style:i.getItemProp(c,"style"),class:[t.cx("panel"),i.getItemProp(c,"class")],ref_for:!0},t.ptm("panel")),[l.createElementVNode("div",l.mergeProps({id:i.getHeaderId(a),class:[t.cx("header",{item:c}),i.getItemProp(c,"headerClass")],tabindex:i.isItemDisabled(c)?-1:t.tabindex,role:"button","aria-label":i.getItemLabel(c),"aria-expanded":i.isItemActive(c),"aria-controls":i.getContentId(a),"aria-disabled":i.isItemDisabled(c),onClick:function(d){return i.onHeaderClick(d,c)},onKeydown:function(d){return i.onHeaderKeyDown(d,c)},ref_for:!0},i.getPTOptions("header",c,a),{"data-p-active":i.isItemActive(c),"data-p-disabled":i.isItemDisabled(c)}),[l.createElementVNode("div",l.mergeProps({class:t.cx("headerContent"),ref_for:!0},i.getPTOptions("headerContent",c,a)),[t.$slots.item?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.$slots.item),{key:1,item:c,root:!0,active:i.isItemActive(c),hasSubmenu:i.getItemProp(c,"items"),label:i.getItemLabel(c),props:i.getMenuItemProps(c,a)},null,8,["item","active","hasSubmenu","label","props"])):(l.openBlock(),l.createElementBlock("a",l.mergeProps({key:0,href:i.getItemProp(c,"url"),class:t.cx("headerLink"),tabindex:-1,ref_for:!0},i.getPTOptions("headerLink",c,a)),[i.getItemProp(c,"items")?l.renderSlot(t.$slots,"submenuicon",{key:0,active:i.isItemActive(c)},function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(i.isItemActive(c)?"ChevronDownIcon":"ChevronRightIcon"),l.mergeProps({class:t.cx("submenuIcon"),ref_for:!0},i.getPTOptions("submenuIcon",c,a)),null,16,["class"]))]}):l.createCommentVNode("",!0),t.$slots.headericon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.$slots.headericon),{key:1,item:c,class:l.normalizeClass([t.cx("headerIcon"),i.getItemProp(c,"icon")])},null,8,["item","class"])):i.getItemProp(c,"icon")?(l.openBlock(),l.createElementBlock("span",l.mergeProps({key:2,class:[t.cx("headerIcon"),i.getItemProp(c,"icon")],ref_for:!0},i.getPTOptions("headerIcon",c,a)),null,16)):l.createCommentVNode("",!0),l.createElementVNode("span",l.mergeProps({class:t.cx("headerLabel"),ref_for:!0},i.getPTOptions("headerLabel",c,a)),l.toDisplayString(i.getItemLabel(c)),17)],16,Cm))],16)],16,km),l.createVNode(l.Transition,l.mergeProps({name:"p-toggleable-content",ref_for:!0},t.ptm("transition")),{default:l.withCtx(function(){return[l.withDirectives(l.createElementVNode("div",l.mergeProps({id:i.getContentId(a),class:t.cx("contentContainer"),role:"region","aria-labelledby":i.getHeaderId(a),ref_for:!0},t.ptm("contentContainer")),[i.getItemProp(c,"items")?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,class:t.cx("content"),ref_for:!0},t.ptm("content")),[l.createVNode(s,{panelId:i.getPanelId(a),items:i.getItemProp(c,"items"),templates:t.$slots,expandedKeys:t.expandedKeys,onItemToggle:i.changeExpandedKeys,onHeaderFocus:i.updateFocusedHeader,pt:t.pt,unstyled:t.unstyled},null,8,["panelId","items","templates","expandedKeys","onItemToggle","onHeaderFocus","pt","unstyled"])],16)):l.createCommentVNode("",!0)],16,Em),[[l.vShow,i.isItemActive(c)]])]}),_:2},1040)],16)):l.createCommentVNode("",!0)],64)}),128))],16,Sm)}us.render=Am;const Tm=t=>(l.pushScopeId("data-v-f3b30de9"),t=t(),l.popScopeId(),t),xm={class:"panel-menu-wrapper"},Pm=["data-active","href","onClick"],Im={class:"material-symbols-outlined sf-mr-3"},Om={key:1,class:"item-menu sf-ripple"},Lm={key:0,class:"material-symbols-outlined sf-mr-3"},Rm=Tm(()=>l.createElementVNode("div",{class:"sf-flex-grow-1"},null,-1)),$m=_n(l.defineComponent({__name:"NavMenu",props:{items:{}},setup(t){const e=t,n=tr();function r(o,i){o.preventDefault();const c=o.target.closest(".panel-menu-wrapper");c&&c.clientWidth+10>document.body.clientWidth&&n.Close(),i()}return(o,i)=>{const s=l.resolveComponent("router-link");return l.openBlock(),l.createElementBlock("div",xm,[l.createVNode(l.unref(us),{model:e.items,unstyled:!0},{item:l.withCtx(({item:c,active:a})=>[c.href?(l.openBlock(),l.createBlock(s,{key:0,to:{path:c.href,params:c.params??{},query:c.query??{}},custom:""},{default:l.withCtx(({navigate:u,isActive:d})=>[l.createElementVNode("a",{class:"item-menu sf-ripple","data-active":d,href:c.href,onClick:m=>r(m,u)},[l.createElementVNode("span",Im,l.toDisplayString(c.icon??"chevron_right"),1),l.createElementVNode("span",null,l.toDisplayString(c.text),1)],8,Pm)]),_:2},1032,["to"])):(l.openBlock(),l.createElementBlock("a",Om,[c.icon?(l.openBlock(),l.createElementBlock("span",Lm,l.toDisplayString(c.icon),1)):l.createCommentVNode("",!0),l.createElementVNode("span",null,l.toDisplayString(c.text),1),Rm,l.createElementVNode("span",{class:l.normalizeClass(["material-symbols-outlined arrow",{"--expand":a}])}," chevron_right ",2)]))]),_:1},8,["model"])])}}}),[["__scopeId","data-v-f3b30de9"]]);class zr{constructor(e=null){Ve(this,"errors",[]);Ve(this,"_value",null);Ve(this,"_httpStatusCode");this._value=e,this._httpStatusCode=200}get value(){return this._value}set value(e){this._value=e}get hasSuccess(){return!this.hasError}get hasError(){return this.errors.length>0}get httpStatusCode(){return this._httpStatusCode}set httpStatusCode(e){this._httpStatusCode=e}WithError(e){this.errors.push(e),this._httpStatusCode===200&&(this._httpStatusCode=400)}WithErrors(e){e.forEach(n=>this.WithError(n))}}function ds(t,e){return function(){return t.apply(e,arguments)}}const{toString:Nm}=Object.prototype,{getPrototypeOf:Kr}=Object,zn=(t=>e=>{const n=Nm.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ye=t=>(t=t.toLowerCase(),e=>zn(e)===t),Kn=t=>e=>typeof e===t,{isArray:$t}=Array,pn=Kn("undefined");function Bm(t){return t!==null&&!pn(t)&&t.constructor!==null&&!pn(t.constructor)&&Me(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const fs=Ye("ArrayBuffer");function Dm(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&fs(t.buffer),e}const Fm=Kn("string"),Me=Kn("function"),ms=Kn("number"),Wn=t=>t!==null&&typeof t=="object",Mm=t=>t===!0||t===!1,qn=t=>{if(zn(t)!=="object")return!1;const e=Kr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Um=Ye("Date"),Hm=Ye("File"),jm=Ye("Blob"),Vm=Ye("FileList"),zm=t=>Wn(t)&&Me(t.pipe),Km=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Me(t.append)&&((e=zn(t))==="formdata"||e==="object"&&Me(t.toString)&&t.toString()==="[object FormData]"))},Wm=Ye("URLSearchParams"),[qm,Gm,Jm,Ym]=["ReadableStream","Request","Response","Headers"].map(Ye),Xm=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function hn(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),$t(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let c;for(r=0;r<s;r++)c=i[r],e.call(null,t[c],c,t)}}function ps(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hs=t=>!pn(t)&&t!==bt;function Wr(){const{caseless:t}=hs(this)&&this||{},e={},n=(r,o)=>{const i=t&&ps(e,o)||o;qn(e[i])&&qn(r)?e[i]=Wr(e[i],r):qn(r)?e[i]=Wr({},r):$t(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&hn(arguments[r],n);return e}const Zm=(t,e,n,{allOwnKeys:r}={})=>(hn(e,(o,i)=>{n&&Me(o)?t[i]=ds(o,n):t[i]=o},{allOwnKeys:r}),t),Qm=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ep=(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)},tp=(t,e,n,r)=>{let o,i,s;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=n!==!1&&Kr(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},np=(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},rp=t=>{if(!t)return null;if($t(t))return t;let e=t.length;if(!ms(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},op=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Kr(Uint8Array)),ip=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},sp=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},ap=Ye("HTMLFormElement"),lp=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),gs=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),cp=Ye("RegExp"),ys=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};hn(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},up=t=>{ys(t,(e,n)=>{if(Me(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Me(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=o=>{o.forEach(i=>{n[i]=!0})};return $t(t)?r(t):r(String(t).split(e)),n},fp=()=>{},mp=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,qr="abcdefghijklmnopqrstuvwxyz",bs="0123456789",vs={DIGIT:bs,ALPHA:qr,ALPHA_DIGIT:qr+qr.toUpperCase()+bs},pp=(t=16,e=vs.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function hp(t){return!!(t&&Me(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const gp=t=>{const e=new Array(10),n=(r,o)=>{if(Wn(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=$t(r)?[]:{};return hn(r,(s,c)=>{const a=n(s,o+1);!pn(a)&&(i[c]=a)}),e[o]=void 0,i}}return r};return n(t,0)},yp=Ye("AsyncFunction"),bp=t=>t&&(Wn(t)||Me(t))&&Me(t.then)&&Me(t.catch),ws=((t,e)=>t?setImmediate:e?((n,r)=>(bt.addEventListener("message",({source:o,data:i})=>{o===bt&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Me(bt.postMessage)),vp=typeof queueMicrotask<"u"?queueMicrotask.bind(bt):typeof process<"u"&&process.nextTick||ws,g={isArray:$t,isArrayBuffer:fs,isBuffer:Bm,isFormData:Km,isArrayBufferView:Dm,isString:Fm,isNumber:ms,isBoolean:Mm,isObject:Wn,isPlainObject:qn,isReadableStream:qm,isRequest:Gm,isResponse:Jm,isHeaders:Ym,isUndefined:pn,isDate:Um,isFile:Hm,isBlob:jm,isRegExp:cp,isFunction:Me,isStream:zm,isURLSearchParams:Wm,isTypedArray:op,isFileList:Vm,forEach:hn,merge:Wr,extend:Zm,trim:Xm,stripBOM:Qm,inherits:ep,toFlatObject:tp,kindOf:zn,kindOfTest:Ye,endsWith:np,toArray:rp,forEachEntry:ip,matchAll:sp,isHTMLForm:ap,hasOwnProperty:gs,hasOwnProp:gs,reduceDescriptors:ys,freezeMethods:up,toObjectSet:dp,toCamelCase:lp,noop:fp,toFiniteNumber:mp,findKey:ps,global:bt,isContextDefined:hs,ALPHABET:vs,generateString:pp,isSpecCompliantForm:hp,toJSONObject:gp,isAsyncFn:yp,isThenable:bp,setImmediate:ws,asap:vp};function J(t,e,n,r,o){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),o&&(this.response=o)}g.inherits(J,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:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _s=J.prototype,Ss={};["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=>{Ss[t]={value:t}}),Object.defineProperties(J,Ss),Object.defineProperty(_s,"isAxiosError",{value:!0}),J.from=(t,e,n,r,o,i)=>{const s=Object.create(_s);return g.toFlatObject(t,s,function(a){return a!==Error.prototype},c=>c!=="isAxiosError"),J.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const wp=null;function Gr(t){return g.isPlainObject(t)||g.isArray(t)}function ks(t){return g.endsWith(t,"[]")?t.slice(0,-2):t}function Cs(t,e,n){return t?t.concat(e).map(function(o,i){return o=ks(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function _p(t){return g.isArray(t)&&!t.some(Gr)}const Sp=g.toFlatObject(g,{},null,function(e){return/^is[A-Z]/.test(e)});function Gn(t,e,n){if(!g.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function($,_){return!g.isUndefined(_[$])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(e);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(g.isDate(v))return v.toISOString();if(!a&&g.isBlob(v))throw new J("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(v)||g.isTypedArray(v)?a&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,$,_){let j=v;if(v&&!_&&typeof v=="object"){if(g.endsWith($,"{}"))$=r?$:$.slice(0,-2),v=JSON.stringify(v);else if(g.isArray(v)&&_p(v)||(g.isFileList(v)||g.endsWith($,"[]"))&&(j=g.toArray(v)))return $=ks($),j.forEach(function(E,G){!(g.isUndefined(E)||E===null)&&e.append(s===!0?Cs([$],G,i):s===null?$:$+"[]",u(E))}),!1}return Gr(v)?!0:(e.append(Cs(_,$,i),u(v)),!1)}const m=[],y=Object.assign(Sp,{defaultVisitor:d,convertValue:u,isVisitable:Gr});function S(v,$){if(!g.isUndefined(v)){if(m.indexOf(v)!==-1)throw Error("Circular reference detected in "+$.join("."));m.push(v),g.forEach(v,function(j,A){(!(g.isUndefined(j)||j===null)&&o.call(e,j,g.isString(A)?A.trim():A,$,y))===!0&&S(j,$?$.concat(A):[A])}),m.pop()}}if(!g.isObject(t))throw new TypeError("data must be an object");return S(t),e}function Es(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Jr(t,e){this._pairs=[],t&&Gn(t,this,e)}const As=Jr.prototype;As.append=function(e,n){this._pairs.push([e,n])},As.toString=function(e){const n=e?function(r){return e.call(this,r,Es)}:Es;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function kp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ts(t,e,n){if(!e)return t;const r=n&&n.encode||kp,o=n&&n.serialize;let i;if(o?i=o(e,n):i=g.isURLSearchParams(e)?e.toString():new Jr(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class xs{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){g.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Ps={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cp={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Jr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",Ep=(t=>Yr&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tp=Yr&&window.location.href||"http://localhost",Xe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:Ep,hasStandardBrowserWebWorkerEnv:Ap,origin:Tp},Symbol.toStringTag,{value:"Module"})),...Cp};function xp(t,e){return Gn(t,new Xe.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Xe.isNode&&g.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Pp(t){return g.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ip(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function Is(t){function e(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),a=i>=n.length;return s=!s&&g.isArray(o)?o.length:s,a?(g.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!c):((!o[s]||!g.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&g.isArray(o[s])&&(o[s]=Ip(o[s])),!c)}if(g.isFormData(t)&&g.isFunction(t.entries)){const n={};return g.forEachEntry(t,(r,o)=>{e(Pp(r),o,n,0)}),n}return null}function Op(t,e,n){if(g.isString(t))try{return(e||JSON.parse)(t),g.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const gn={transitional:Ps,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=g.isObject(e);if(i&&g.isHTMLForm(e)&&(e=new FormData(e)),g.isFormData(e))return o?JSON.stringify(Is(e)):e;if(g.isArrayBuffer(e)||g.isBuffer(e)||g.isStream(e)||g.isFile(e)||g.isBlob(e)||g.isReadableStream(e))return e;if(g.isArrayBufferView(e))return e.buffer;if(g.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return xp(e,this.formSerializer).toString();if((c=g.isFileList(e))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Gn(c?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Op(e)):e}],transformResponse:[function(e){const n=this.transitional||gn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(g.isResponse(e)||g.isReadableStream(e))return e;if(e&&g.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(s)throw c.name==="SyntaxError"?J.from(c,J.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xe.classes.FormData,Blob:Xe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],t=>{gn.headers[t]={}});const Lp=g.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"]),Rp=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
417
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pm(t,e){if(t){if(typeof t=="string")return as(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?as(t,e):void 0}}function as(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function hm(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,o,i,s,c=[],a=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);a=!0);}catch(d){u=!0,o=d}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return c}}function gm(t){if(Array.isArray(t))return t}var ls={name:"PanelMenuList",hostName:"PanelMenu",extends:Vn,emits:["item-toggle","header-focus"],props:{panelId:{type:String,default:null},items:{type:Array,default:null},templates:{type:Object,default:null},expandedKeys:{type:Object,default:null}},searchTimeout:null,searchValue:null,data:function(){return{focused:!1,focusedItem:null,activeItemPath:[]}},watch:{expandedKeys:function(e){this.autoUpdateActiveItemPath(e)}},mounted:function(){this.autoUpdateActiveItemPath(this.expandedKeys)},methods:{getItemProp:function(e,n){return e&&e.item?Fe(e.item[n]):void 0},getItemLabel:function(e){return this.getItemProp(e,"label")},isItemVisible:function(e){return this.getItemProp(e,"visible")!==!1},isItemDisabled:function(e){return this.getItemProp(e,"disabled")},isItemActive:function(e){return this.activeItemPath.some(function(n){return n.key===e.parentKey})},isItemGroup:function(e){return le(e.items)},onFocus:function(e){this.focused=!0,this.focusedItem=this.focusedItem||(this.isElementInPanel(e,e.relatedTarget)?this.findFirstItem():this.findLastItem())},onBlur:function(){this.focused=!1,this.focusedItem=null,this.searchValue=""},onKeyDown:function(e){var n=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"ArrowRight":this.onArrowRightKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"Space":this.onSpaceKey(e);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":case"Tab":case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!n&&qd(e.key)&&this.searchItems(e,e.key);break}},onArrowDownKey:function(e){var n=le(this.focusedItem)?this.findNextItem(this.focusedItem):this.findFirstItem();this.changeFocusedItem({originalEvent:e,processedItem:n,focusOnNext:!0}),e.preventDefault()},onArrowUpKey:function(e){var n=le(this.focusedItem)?this.findPrevItem(this.focusedItem):this.findLastItem();this.changeFocusedItem({originalEvent:e,processedItem:n,selfCheck:!0}),e.preventDefault()},onArrowLeftKey:function(e){var n=this;if(le(this.focusedItem)){var r=this.activeItemPath.some(function(o){return o.key===n.focusedItem.key});r?this.activeItemPath=this.activeItemPath.filter(function(o){return o.key!==n.focusedItem.key}):this.focusedItem=le(this.focusedItem.parent)?this.focusedItem.parent:this.focusedItem,e.preventDefault()}},onArrowRightKey:function(e){var n=this;if(le(this.focusedItem)){var r=this.isItemGroup(this.focusedItem);if(r){var o=this.activeItemPath.some(function(i){return i.key===n.focusedItem.key});o?this.onArrowDownKey(e):(this.activeItemPath=this.activeItemPath.filter(function(i){return i.parentKey!==n.focusedItem.parentKey}),this.activeItemPath.push(this.focusedItem))}e.preventDefault()}},onHomeKey:function(e){this.changeFocusedItem({originalEvent:e,processedItem:this.findFirstItem(),allowHeaderFocus:!1}),e.preventDefault()},onEndKey:function(e){this.changeFocusedItem({originalEvent:e,processedItem:this.findLastItem(),focusOnNext:!0,allowHeaderFocus:!1}),e.preventDefault()},onEnterKey:function(e){if(le(this.focusedItem)){var n=qe(this.$el,'li[id="'.concat("".concat(this.focusedItemId),'"]')),r=n&&(qe(n,'[data-pc-section="itemlink"]')||qe(n,"a,button"));r?r.click():n&&n.click()}e.preventDefault()},onSpaceKey:function(e){this.onEnterKey(e)},onItemToggle:function(e){var n=e.processedItem,r=e.expanded;this.expandedKeys?this.$emit("item-toggle",{item:n.item,expanded:r}):(this.activeItemPath=this.activeItemPath.filter(function(o){return o.parentKey!==n.parentKey}),r&&this.activeItemPath.push(n)),this.focusedItem=n,en(this.$el)},onItemMouseMove:function(e){this.focused&&(this.focusedItem=e.processedItem)},isElementInPanel:function(e,n){var r=e.currentTarget.closest('[data-pc-section="panel"]');return r&&r.contains(n)},isItemMatched:function(e){var n;return this.isValidItem(e)&&((n=this.getItemLabel(e))===null||n===void 0?void 0:n.toLocaleLowerCase(this.searchLocale).startsWith(this.searchValue.toLocaleLowerCase(this.searchLocale)))},isVisibleItem:function(e){return!!e&&(e.level===0||this.isItemActive(e))&&this.isItemVisible(e)},isValidItem:function(e){return!!e&&!this.isItemDisabled(e)&&!this.getItemProp(e,"separator")},findFirstItem:function(){var e=this;return this.visibleItems.find(function(n){return e.isValidItem(n)})},findLastItem:function(){var e=this;return Ii(this.visibleItems,function(n){return e.isValidItem(n)})},findNextItem:function(e){var n=this,r=this.visibleItems.findIndex(function(i){return i.key===e.key}),o=r<this.visibleItems.length-1?this.visibleItems.slice(r+1).find(function(i){return n.isValidItem(i)}):void 0;return o||e},findPrevItem:function(e){var n=this,r=this.visibleItems.findIndex(function(i){return i.key===e.key}),o=r>0?Ii(this.visibleItems.slice(0,r),function(i){return n.isValidItem(i)}):void 0;return o||e},searchItems:function(e,n){var r=this;this.searchValue=(this.searchValue||"")+n;var o=null,i=!1;if(le(this.focusedItem)){var s=this.visibleItems.findIndex(function(c){return c.key===r.focusedItem.key});o=this.visibleItems.slice(s).find(function(c){return r.isItemMatched(c)}),o=yt(o)?this.visibleItems.slice(0,s).find(function(c){return r.isItemMatched(c)}):o}else o=this.visibleItems.find(function(c){return r.isItemMatched(c)});return le(o)&&(i=!0),yt(o)&&yt(this.focusedItem)&&(o=this.findFirstItem()),le(o)&&this.changeFocusedItem({originalEvent:e,processedItem:o,allowHeaderFocus:!1}),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),i},changeFocusedItem:function(e){var n=e.originalEvent,r=e.processedItem,o=e.focusOnNext,i=e.selfCheck,s=e.allowHeaderFocus,c=s===void 0?!0:s;le(this.focusedItem)&&this.focusedItem.key!==r.key?(this.focusedItem=r,this.scrollInView()):c&&this.$emit("header-focus",{originalEvent:n,focusOnNext:o,selfCheck:i})},scrollInView:function(){var e=qe(this.$el,'li[id="'.concat("".concat(this.focusedItemId),'"]'));e&&e.scrollIntoView&&e.scrollIntoView({block:"nearest",inline:"start"})},autoUpdateActiveItemPath:function(e){var n=this;this.activeItemPath=Object.entries(e||{}).reduce(function(r,o){var i=fm(o,2),s=i[0],c=i[1];if(c){var a=n.findProcessedItemByItemKey(s);a&&r.push(a)}return r},[])},findProcessedItemByItemKey:function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(n=n||r===0&&this.processedItems,!n)return null;for(var o=0;o<n.length;o++){var i=n[o];if(this.getItemProp(i,"key")===e)return i;var s=this.findProcessedItemByItemKey(e,i.items,r+1);if(s)return s}},createProcessedItems:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",s=[];return e&&e.forEach(function(c,a){var u=(i!==""?i+"_":"")+a,d={item:c,index:a,level:r,key:u,parent:o,parentKey:i};d.items=n.createProcessedItems(c.items,r+1,d,u),s.push(d)}),s},flatItems:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e&&e.forEach(function(o){n.isVisibleItem(o)&&(r.push(o),n.flatItems(o.items,r))}),r}},computed:{processedItems:function(){return this.createProcessedItems(this.items||[])},visibleItems:function(){return this.flatItems(this.processedItems)},focusedItemId:function(){return le(this.focusedItem)?"".concat(this.panelId,"_").concat(this.focusedItem.key):null}},components:{PanelMenuSub:ss}};function ym(t,e,n,r,o,i){var s=l.resolveComponent("PanelMenuSub");return l.openBlock(),l.createBlock(s,l.mergeProps({id:n.panelId+"_list",class:t.cx("rootList"),role:"tree",tabindex:-1,"aria-activedescendant":o.focused?i.focusedItemId:void 0,panelId:n.panelId,focusedItemId:o.focused?i.focusedItemId:void 0,items:i.processedItems,templates:n.templates,activeItemPath:o.activeItemPath,onFocus:i.onFocus,onBlur:i.onBlur,onKeydown:i.onKeyDown,onItemToggle:i.onItemToggle,onItemMousemove:i.onItemMouseMove,pt:t.pt,unstyled:t.unstyled},t.ptm("rootList")),null,16,["id","class","aria-activedescendant","panelId","focusedItemId","items","templates","activeItemPath","onFocus","onBlur","onKeydown","onItemToggle","onItemMousemove","pt","unstyled"])}ls.render=ym;function mn(t){"@babel/helpers - typeof";return mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mn(t)}function cs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function bm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cs(Object(n),!0).forEach(function(r){vm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cs(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function vm(t,e,n){return(e=wm(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wm(t){var e=_m(t,"string");return mn(e)=="symbol"?e:e+""}function _m(t,e){if(mn(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(mn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var us={name:"PanelMenu",extends:sm,inheritAttrs:!1,emits:["update:expandedKeys","panel-open","panel-close"],data:function(){return{id:this.$attrs.id,activeItem:null,activeItems:[]}},watch:{"$attrs.id":function(e){this.id=e||Mn()}},mounted:function(){this.id=this.id||Mn()},methods:{getItemProp:function(e,n){return e?Fe(e[n]):void 0},getItemLabel:function(e){return this.getItemProp(e,"label")},getPTOptions:function(e,n,r){return this.ptm(e,{context:{index:r,active:this.isItemActive(n),focused:this.isItemFocused(n),disabled:this.isItemDisabled(n)}})},isItemActive:function(e){return this.expandedKeys?this.expandedKeys[this.getItemProp(e,"key")]:this.multiple?this.activeItems.some(function(n){return Rt(e,n)}):Rt(e,this.activeItem)},isItemVisible:function(e){return this.getItemProp(e,"visible")!==!1},isItemDisabled:function(e){return this.getItemProp(e,"disabled")},isItemFocused:function(e){return Rt(e,this.activeItem)},getPanelId:function(e){return"".concat(this.id,"_").concat(e)},getPanelKey:function(e){return this.getPanelId(e)},getHeaderId:function(e){return"".concat(this.getPanelId(e),"_header")},getContentId:function(e){return"".concat(this.getPanelId(e),"_content")},onHeaderClick:function(e,n){if(this.isItemDisabled(n)){e.preventDefault();return}n.command&&n.command({originalEvent:e,item:n}),this.changeActiveItem(e,n),en(e.currentTarget)},onHeaderKeyDown:function(e,n){switch(e.code){case"ArrowDown":this.onHeaderArrowDownKey(e);break;case"ArrowUp":this.onHeaderArrowUpKey(e);break;case"Home":this.onHeaderHomeKey(e);break;case"End":this.onHeaderEndKey(e);break;case"Enter":case"NumpadEnter":case"Space":this.onHeaderEnterKey(e,n);break}},onHeaderArrowDownKey:function(e){var n=tn(e.currentTarget,"data-p-active")===!0?qe(e.currentTarget.nextElementSibling,'[data-pc-section="rootlist"]'):null;n?en(n):this.updateFocusedHeader({originalEvent:e,focusOnNext:!0}),e.preventDefault()},onHeaderArrowUpKey:function(e){var n=this.findPrevHeader(e.currentTarget.parentElement)||this.findLastHeader(),r=tn(n,"data-p-active")===!0?qe(n.nextElementSibling,'[data-pc-section="rootlist"]'):null;r?en(r):this.updateFocusedHeader({originalEvent:e,focusOnNext:!1}),e.preventDefault()},onHeaderHomeKey:function(e){this.changeFocusedHeader(e,this.findFirstHeader()),e.preventDefault()},onHeaderEndKey:function(e){this.changeFocusedHeader(e,this.findLastHeader()),e.preventDefault()},onHeaderEnterKey:function(e,n){var r=qe(e.currentTarget,'[data-pc-section="headerlink"]');r?r.click():this.onHeaderClick(e,n),e.preventDefault()},findNextHeader:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?e:e.nextElementSibling,o=qe(r,'[data-pc-section="header"]');return o?tn(o,"data-p-disabled")?this.findNextHeader(o.parentElement):o:null},findPrevHeader:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?e:e.previousElementSibling,o=qe(r,'[data-pc-section="header"]');return o?tn(o,"data-p-disabled")?this.findPrevHeader(o.parentElement):o:null},findFirstHeader:function(){return this.findNextHeader(this.$el.firstElementChild,!0)},findLastHeader:function(){return this.findPrevHeader(this.$el.lastElementChild,!0)},updateFocusedHeader:function(e){var n=e.originalEvent,r=e.focusOnNext,o=e.selfCheck,i=n.currentTarget.closest('[data-pc-section="panel"]'),s=o?qe(i,'[data-pc-section="header"]'):r?this.findNextHeader(i):this.findPrevHeader(i);s?this.changeFocusedHeader(n,s):r?this.onHeaderHomeKey(n):this.onHeaderEndKey(n)},changeActiveItem:function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!this.isItemDisabled(n)){var o=this.isItemActive(n),i=o?"panel-close":"panel-open";this.activeItem=r?n:this.activeItem&&Rt(n,this.activeItem)?null:n,this.multiple&&(this.activeItems.some(function(s){return Rt(n,s)})?this.activeItems=this.activeItems.filter(function(s){return!Rt(n,s)}):this.activeItems.push(n)),this.changeExpandedKeys({item:n,expanded:!o}),this.$emit(i,{originalEvent:e,item:n})}},changeExpandedKeys:function(e){var n=e.item,r=e.expanded,o=r===void 0?!1:r;if(this.expandedKeys){var i=bm({},this.expandedKeys);o?i[n.key]=!0:delete i[n.key],this.$emit("update:expandedKeys",i)}},changeFocusedHeader:function(e,n){n&&en(n)},getMenuItemProps:function(e,n){return{icon:l.mergeProps({class:[this.cx("headerIcon"),this.getItemProp(e,"icon")]},this.getPTOptions("headerIcon",e,n)),label:l.mergeProps({class:this.cx("headerLabel")},this.getPTOptions("headerLabel",e,n))}}},components:{PanelMenuList:ls,ChevronRightIcon:Hr,ChevronDownIcon:Ur}},Sm=["id"],km=["id","tabindex","aria-label","aria-expanded","aria-controls","aria-disabled","onClick","onKeydown","data-p-active","data-p-disabled"],Cm=["href"],Em=["id","aria-labelledby"];function Am(t,e,n,r,o,i){var s=l.resolveComponent("PanelMenuList");return l.openBlock(),l.createElementBlock("div",l.mergeProps({id:o.id,class:t.cx("root")},t.ptmi("root")),[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.model,function(c,a){return l.openBlock(),l.createElementBlock(l.Fragment,{key:i.getPanelKey(a)},[i.isItemVisible(c)?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,style:i.getItemProp(c,"style"),class:[t.cx("panel"),i.getItemProp(c,"class")],ref_for:!0},t.ptm("panel")),[l.createElementVNode("div",l.mergeProps({id:i.getHeaderId(a),class:[t.cx("header",{item:c}),i.getItemProp(c,"headerClass")],tabindex:i.isItemDisabled(c)?-1:t.tabindex,role:"button","aria-label":i.getItemLabel(c),"aria-expanded":i.isItemActive(c),"aria-controls":i.getContentId(a),"aria-disabled":i.isItemDisabled(c),onClick:function(d){return i.onHeaderClick(d,c)},onKeydown:function(d){return i.onHeaderKeyDown(d,c)},ref_for:!0},i.getPTOptions("header",c,a),{"data-p-active":i.isItemActive(c),"data-p-disabled":i.isItemDisabled(c)}),[l.createElementVNode("div",l.mergeProps({class:t.cx("headerContent"),ref_for:!0},i.getPTOptions("headerContent",c,a)),[t.$slots.item?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.$slots.item),{key:1,item:c,root:!0,active:i.isItemActive(c),hasSubmenu:i.getItemProp(c,"items"),label:i.getItemLabel(c),props:i.getMenuItemProps(c,a)},null,8,["item","active","hasSubmenu","label","props"])):(l.openBlock(),l.createElementBlock("a",l.mergeProps({key:0,href:i.getItemProp(c,"url"),class:t.cx("headerLink"),tabindex:-1,ref_for:!0},i.getPTOptions("headerLink",c,a)),[i.getItemProp(c,"items")?l.renderSlot(t.$slots,"submenuicon",{key:0,active:i.isItemActive(c)},function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(i.isItemActive(c)?"ChevronDownIcon":"ChevronRightIcon"),l.mergeProps({class:t.cx("submenuIcon"),ref_for:!0},i.getPTOptions("submenuIcon",c,a)),null,16,["class"]))]}):l.createCommentVNode("",!0),t.$slots.headericon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.$slots.headericon),{key:1,item:c,class:l.normalizeClass([t.cx("headerIcon"),i.getItemProp(c,"icon")])},null,8,["item","class"])):i.getItemProp(c,"icon")?(l.openBlock(),l.createElementBlock("span",l.mergeProps({key:2,class:[t.cx("headerIcon"),i.getItemProp(c,"icon")],ref_for:!0},i.getPTOptions("headerIcon",c,a)),null,16)):l.createCommentVNode("",!0),l.createElementVNode("span",l.mergeProps({class:t.cx("headerLabel"),ref_for:!0},i.getPTOptions("headerLabel",c,a)),l.toDisplayString(i.getItemLabel(c)),17)],16,Cm))],16)],16,km),l.createVNode(l.Transition,l.mergeProps({name:"p-toggleable-content",ref_for:!0},t.ptm("transition")),{default:l.withCtx(function(){return[l.withDirectives(l.createElementVNode("div",l.mergeProps({id:i.getContentId(a),class:t.cx("contentContainer"),role:"region","aria-labelledby":i.getHeaderId(a),ref_for:!0},t.ptm("contentContainer")),[i.getItemProp(c,"items")?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,class:t.cx("content"),ref_for:!0},t.ptm("content")),[l.createVNode(s,{panelId:i.getPanelId(a),items:i.getItemProp(c,"items"),templates:t.$slots,expandedKeys:t.expandedKeys,onItemToggle:i.changeExpandedKeys,onHeaderFocus:i.updateFocusedHeader,pt:t.pt,unstyled:t.unstyled},null,8,["panelId","items","templates","expandedKeys","onItemToggle","onHeaderFocus","pt","unstyled"])],16)):l.createCommentVNode("",!0)],16,Em),[[l.vShow,i.isItemActive(c)]])]}),_:2},1040)],16)):l.createCommentVNode("",!0)],64)}),128))],16,Sm)}us.render=Am;const Tm=t=>(l.pushScopeId("data-v-74bc83ee"),t=t(),l.popScopeId(),t),xm={class:"panel-menu-wrapper"},Pm=["data-active","href","onClick"],Im={class:"material-symbols-outlined item-menu-icon-left"},Om={key:1,class:"item-menu sf-ripple"},Lm={key:0,class:"material-symbols-outlined item-menu-icon-left"},Rm=Tm(()=>l.createElementVNode("div",{class:"sf-flex-grow-1"},null,-1)),$m=_n(l.defineComponent({__name:"NavMenu",props:{items:{}},setup(t){const e=t,n=tr();function r(o,i){o.preventDefault();const c=o.target.closest(".panel-menu-wrapper");c&&c.clientWidth+10>document.body.clientWidth&&n.Close(),i()}return(o,i)=>{const s=l.resolveComponent("router-link");return l.openBlock(),l.createElementBlock("div",xm,[l.createVNode(l.unref(us),{model:e.items,unstyled:!0},{item:l.withCtx(({item:c,active:a})=>[c.href?(l.openBlock(),l.createBlock(s,{key:0,to:{path:c.href,params:c.params??{},query:c.query??{}},custom:""},{default:l.withCtx(({navigate:u,isActive:d})=>[l.createElementVNode("a",{class:"item-menu sf-ripple","data-active":d,href:c.href,onClick:m=>r(m,u)},[l.createElementVNode("span",Im,l.toDisplayString(c.icon??"chevron_right"),1),l.createElementVNode("span",null,l.toDisplayString(c.text),1)],8,Pm)]),_:2},1032,["to"])):(l.openBlock(),l.createElementBlock("a",Om,[c.icon?(l.openBlock(),l.createElementBlock("span",Lm,l.toDisplayString(c.icon),1)):l.createCommentVNode("",!0),l.createElementVNode("span",null,l.toDisplayString(c.text),1),Rm,l.createElementVNode("span",{class:l.normalizeClass(["material-symbols-outlined arrow",{"--expand":a}])}," chevron_right ",2)]))]),_:1},8,["model"])])}}}),[["__scopeId","data-v-74bc83ee"]]);class zr{constructor(e=null){Ve(this,"errors",[]);Ve(this,"_value",null);Ve(this,"_httpStatusCode");this._value=e,this._httpStatusCode=200}get value(){return this._value}set value(e){this._value=e}get hasSuccess(){return!this.hasError}get hasError(){return this.errors.length>0}get httpStatusCode(){return this._httpStatusCode}set httpStatusCode(e){this._httpStatusCode=e}WithError(e){this.errors.push(e),this._httpStatusCode===200&&(this._httpStatusCode=400)}WithErrors(e){e.forEach(n=>this.WithError(n))}}function ds(t,e){return function(){return t.apply(e,arguments)}}const{toString:Nm}=Object.prototype,{getPrototypeOf:Kr}=Object,zn=(t=>e=>{const n=Nm.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ye=t=>(t=t.toLowerCase(),e=>zn(e)===t),Kn=t=>e=>typeof e===t,{isArray:$t}=Array,pn=Kn("undefined");function Bm(t){return t!==null&&!pn(t)&&t.constructor!==null&&!pn(t.constructor)&&Me(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const fs=Ye("ArrayBuffer");function Dm(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&fs(t.buffer),e}const Fm=Kn("string"),Me=Kn("function"),ms=Kn("number"),Wn=t=>t!==null&&typeof t=="object",Mm=t=>t===!0||t===!1,qn=t=>{if(zn(t)!=="object")return!1;const e=Kr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Um=Ye("Date"),Hm=Ye("File"),jm=Ye("Blob"),Vm=Ye("FileList"),zm=t=>Wn(t)&&Me(t.pipe),Km=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Me(t.append)&&((e=zn(t))==="formdata"||e==="object"&&Me(t.toString)&&t.toString()==="[object FormData]"))},Wm=Ye("URLSearchParams"),[qm,Gm,Jm,Ym]=["ReadableStream","Request","Response","Headers"].map(Ye),Xm=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function hn(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),$t(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let c;for(r=0;r<s;r++)c=i[r],e.call(null,t[c],c,t)}}function ps(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hs=t=>!pn(t)&&t!==bt;function Wr(){const{caseless:t}=hs(this)&&this||{},e={},n=(r,o)=>{const i=t&&ps(e,o)||o;qn(e[i])&&qn(r)?e[i]=Wr(e[i],r):qn(r)?e[i]=Wr({},r):$t(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&hn(arguments[r],n);return e}const Zm=(t,e,n,{allOwnKeys:r}={})=>(hn(e,(o,i)=>{n&&Me(o)?t[i]=ds(o,n):t[i]=o},{allOwnKeys:r}),t),Qm=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ep=(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)},tp=(t,e,n,r)=>{let o,i,s;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=n!==!1&&Kr(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},np=(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},rp=t=>{if(!t)return null;if($t(t))return t;let e=t.length;if(!ms(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},op=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Kr(Uint8Array)),ip=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},sp=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},ap=Ye("HTMLFormElement"),lp=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),gs=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),cp=Ye("RegExp"),ys=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};hn(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},up=t=>{ys(t,(e,n)=>{if(Me(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Me(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=o=>{o.forEach(i=>{n[i]=!0})};return $t(t)?r(t):r(String(t).split(e)),n},fp=()=>{},mp=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,qr="abcdefghijklmnopqrstuvwxyz",bs="0123456789",vs={DIGIT:bs,ALPHA:qr,ALPHA_DIGIT:qr+qr.toUpperCase()+bs},pp=(t=16,e=vs.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function hp(t){return!!(t&&Me(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const gp=t=>{const e=new Array(10),n=(r,o)=>{if(Wn(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=$t(r)?[]:{};return hn(r,(s,c)=>{const a=n(s,o+1);!pn(a)&&(i[c]=a)}),e[o]=void 0,i}}return r};return n(t,0)},yp=Ye("AsyncFunction"),bp=t=>t&&(Wn(t)||Me(t))&&Me(t.then)&&Me(t.catch),ws=((t,e)=>t?setImmediate:e?((n,r)=>(bt.addEventListener("message",({source:o,data:i})=>{o===bt&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Me(bt.postMessage)),vp=typeof queueMicrotask<"u"?queueMicrotask.bind(bt):typeof process<"u"&&process.nextTick||ws,g={isArray:$t,isArrayBuffer:fs,isBuffer:Bm,isFormData:Km,isArrayBufferView:Dm,isString:Fm,isNumber:ms,isBoolean:Mm,isObject:Wn,isPlainObject:qn,isReadableStream:qm,isRequest:Gm,isResponse:Jm,isHeaders:Ym,isUndefined:pn,isDate:Um,isFile:Hm,isBlob:jm,isRegExp:cp,isFunction:Me,isStream:zm,isURLSearchParams:Wm,isTypedArray:op,isFileList:Vm,forEach:hn,merge:Wr,extend:Zm,trim:Xm,stripBOM:Qm,inherits:ep,toFlatObject:tp,kindOf:zn,kindOfTest:Ye,endsWith:np,toArray:rp,forEachEntry:ip,matchAll:sp,isHTMLForm:ap,hasOwnProperty:gs,hasOwnProp:gs,reduceDescriptors:ys,freezeMethods:up,toObjectSet:dp,toCamelCase:lp,noop:fp,toFiniteNumber:mp,findKey:ps,global:bt,isContextDefined:hs,ALPHABET:vs,generateString:pp,isSpecCompliantForm:hp,toJSONObject:gp,isAsyncFn:yp,isThenable:bp,setImmediate:ws,asap:vp};function J(t,e,n,r,o){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),o&&(this.response=o)}g.inherits(J,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:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _s=J.prototype,Ss={};["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=>{Ss[t]={value:t}}),Object.defineProperties(J,Ss),Object.defineProperty(_s,"isAxiosError",{value:!0}),J.from=(t,e,n,r,o,i)=>{const s=Object.create(_s);return g.toFlatObject(t,s,function(a){return a!==Error.prototype},c=>c!=="isAxiosError"),J.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const wp=null;function Gr(t){return g.isPlainObject(t)||g.isArray(t)}function ks(t){return g.endsWith(t,"[]")?t.slice(0,-2):t}function Cs(t,e,n){return t?t.concat(e).map(function(o,i){return o=ks(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function _p(t){return g.isArray(t)&&!t.some(Gr)}const Sp=g.toFlatObject(g,{},null,function(e){return/^is[A-Z]/.test(e)});function Gn(t,e,n){if(!g.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function($,_){return!g.isUndefined(_[$])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(e);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(g.isDate(v))return v.toISOString();if(!a&&g.isBlob(v))throw new J("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(v)||g.isTypedArray(v)?a&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,$,_){let j=v;if(v&&!_&&typeof v=="object"){if(g.endsWith($,"{}"))$=r?$:$.slice(0,-2),v=JSON.stringify(v);else if(g.isArray(v)&&_p(v)||(g.isFileList(v)||g.endsWith($,"[]"))&&(j=g.toArray(v)))return $=ks($),j.forEach(function(E,G){!(g.isUndefined(E)||E===null)&&e.append(s===!0?Cs([$],G,i):s===null?$:$+"[]",u(E))}),!1}return Gr(v)?!0:(e.append(Cs(_,$,i),u(v)),!1)}const m=[],y=Object.assign(Sp,{defaultVisitor:d,convertValue:u,isVisitable:Gr});function S(v,$){if(!g.isUndefined(v)){if(m.indexOf(v)!==-1)throw Error("Circular reference detected in "+$.join("."));m.push(v),g.forEach(v,function(j,A){(!(g.isUndefined(j)||j===null)&&o.call(e,j,g.isString(A)?A.trim():A,$,y))===!0&&S(j,$?$.concat(A):[A])}),m.pop()}}if(!g.isObject(t))throw new TypeError("data must be an object");return S(t),e}function Es(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Jr(t,e){this._pairs=[],t&&Gn(t,this,e)}const As=Jr.prototype;As.append=function(e,n){this._pairs.push([e,n])},As.toString=function(e){const n=e?function(r){return e.call(this,r,Es)}:Es;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function kp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ts(t,e,n){if(!e)return t;const r=n&&n.encode||kp,o=n&&n.serialize;let i;if(o?i=o(e,n):i=g.isURLSearchParams(e)?e.toString():new Jr(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class xs{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){g.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Ps={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cp={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Jr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",Ep=(t=>Yr&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tp=Yr&&window.location.href||"http://localhost",Xe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:Ep,hasStandardBrowserWebWorkerEnv:Ap,origin:Tp},Symbol.toStringTag,{value:"Module"})),...Cp};function xp(t,e){return Gn(t,new Xe.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Xe.isNode&&g.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Pp(t){return g.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ip(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function Is(t){function e(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),a=i>=n.length;return s=!s&&g.isArray(o)?o.length:s,a?(g.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!c):((!o[s]||!g.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&g.isArray(o[s])&&(o[s]=Ip(o[s])),!c)}if(g.isFormData(t)&&g.isFunction(t.entries)){const n={};return g.forEachEntry(t,(r,o)=>{e(Pp(r),o,n,0)}),n}return null}function Op(t,e,n){if(g.isString(t))try{return(e||JSON.parse)(t),g.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const gn={transitional:Ps,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=g.isObject(e);if(i&&g.isHTMLForm(e)&&(e=new FormData(e)),g.isFormData(e))return o?JSON.stringify(Is(e)):e;if(g.isArrayBuffer(e)||g.isBuffer(e)||g.isStream(e)||g.isFile(e)||g.isBlob(e)||g.isReadableStream(e))return e;if(g.isArrayBufferView(e))return e.buffer;if(g.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return xp(e,this.formSerializer).toString();if((c=g.isFileList(e))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Gn(c?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Op(e)):e}],transformResponse:[function(e){const n=this.transitional||gn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(g.isResponse(e)||g.isReadableStream(e))return e;if(e&&g.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(s)throw c.name==="SyntaxError"?J.from(c,J.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xe.classes.FormData,Blob:Xe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],t=>{gn.headers[t]={}});const Lp=g.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"]),Rp=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
418
418
|
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&Lp[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Os=Symbol("internals");function yn(t){return t&&String(t).trim().toLowerCase()}function Jn(t){return t===!1||t==null?t:g.isArray(t)?t.map(Jn):String(t)}function $p(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 Np=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xr(t,e,n,r,o){if(g.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!g.isString(e)){if(g.isString(r))return e.indexOf(r)!==-1;if(g.isRegExp(r))return r.test(e)}}function Bp(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Dp(t,e){const n=g.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class Ie{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(c,a,u){const d=yn(a);if(!d)throw new Error("header name must be a non-empty string");const m=g.findKey(o,d);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||a]=Jn(c))}const s=(c,a)=>g.forEach(c,(u,d)=>i(u,d,a));if(g.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(g.isString(e)&&(e=e.trim())&&!Np(e))s(Rp(e),n);else if(g.isHeaders(e))for(const[c,a]of e.entries())i(a,c,r);else e!=null&&i(n,e,r);return this}get(e,n){if(e=yn(e),e){const r=g.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return $p(o);if(g.isFunction(n))return n.call(this,o,r);if(g.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=yn(e),e){const r=g.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Xr(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=yn(s),s){const c=g.findKey(r,s);c&&(!n||Xr(r,r[c],c,n))&&(delete r[c],o=!0)}}return g.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Xr(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return g.forEach(this,(o,i)=>{const s=g.findKey(r,i);if(s){n[s]=Jn(o),delete n[i];return}const c=e?Bp(i):String(i).trim();c!==i&&delete n[i],n[c]=Jn(o),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return g.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&g.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(`
|
|
419
419
|
`)}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(o=>r.set(o)),r}static accessor(e){const r=(this[Os]=this[Os]={accessors:{}}).accessors,o=this.prototype;function i(s){const c=yn(s);r[c]||(Dp(o,s),r[c]=!0)}return g.isArray(e)?e.forEach(i):i(e),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),g.reduceDescriptors(Ie.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),g.freezeMethods(Ie);function Zr(t,e){const n=this||gn,r=e||n,o=Ie.from(r.headers);let i=r.data;return g.forEach(t,function(c){i=c.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Ls(t){return!!(t&&t.__CANCEL__)}function Nt(t,e,n){J.call(this,t??"canceled",J.ERR_CANCELED,e,n),this.name="CanceledError"}g.inherits(Nt,J,{__CANCEL__:!0});function Rs(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Fp(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Mp(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(a){const u=Date.now(),d=r[i];s||(s=u),n[o]=a,r[o]=u;let m=i,y=0;for(;m!==o;)y+=n[m++],m=m%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-s<e)return;const S=d&&u-d;return S?Math.round(y*1e3/S):void 0}}function Up(t,e){let n=0,r=1e3/e,o,i;const s=(u,d=Date.now())=>{n=d,o=null,i&&(clearTimeout(i),i=null),t.apply(null,u)};return[(...u)=>{const d=Date.now(),m=d-n;m>=r?s(u,d):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},r-m)))},()=>o&&s(o)]}const Yn=(t,e,n=3)=>{let r=0;const o=Mp(50,250);return Up(i=>{const s=i.loaded,c=i.lengthComputable?i.total:void 0,a=s-r,u=o(a),d=s<=c;r=s;const m={loaded:s,total:c,progress:c?s/c:void 0,bytes:a,rate:u||void 0,estimated:u&&c&&d?(c-s)/u:void 0,event:i,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(m)},n)},$s=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Ns=t=>(...e)=>g.asap(()=>t(...e)),Hp=Xe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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=o(window.location.href),function(s){const c=g.isString(s)?o(s):s;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}(),jp=Xe.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];g.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),g.isString(r)&&s.push("path="+r),g.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.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 Vp(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function zp(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Bs(t,e){return t&&!Vp(e)?zp(t,e):e}const Ds=t=>t instanceof Ie?{...t}:t;function vt(t,e){e=e||{};const n={};function r(u,d,m){return g.isPlainObject(u)&&g.isPlainObject(d)?g.merge.call({caseless:m},u,d):g.isPlainObject(d)?g.merge({},d):g.isArray(d)?d.slice():d}function o(u,d,m){if(g.isUndefined(d)){if(!g.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function i(u,d){if(!g.isUndefined(d))return r(void 0,d)}function s(u,d){if(g.isUndefined(d)){if(!g.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function c(u,d,m){if(m in e)return r(u,d);if(m in t)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(u,d)=>o(Ds(u),Ds(d),!0)};return g.forEach(Object.keys(Object.assign({},t,e)),function(d){const m=a[d]||o,y=m(t[d],e[d],d);g.isUndefined(y)&&m!==c||(n[d]=y)}),n}const Fs=t=>{const e=vt({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:c}=e;e.headers=s=Ie.from(s),e.url=Ts(Bs(e.baseURL,e.url),t.params,t.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let a;if(g.isFormData(n)){if(Xe.hasStandardBrowserEnv||Xe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((a=s.getContentType())!==!1){const[u,...d]=a?a.split(";").map(m=>m.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(Xe.hasStandardBrowserEnv&&(r&&g.isFunction(r)&&(r=r(e)),r||r!==!1&&Hp(e.url))){const u=o&&i&&jp.read(i);u&&s.set(o,u)}return e},Kp=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){const o=Fs(t);let i=o.data;const s=Ie.from(o.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:u}=o,d,m,y,S,v;function $(){S&&S(),v&&v(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let _=new XMLHttpRequest;_.open(o.method.toUpperCase(),o.url,!0),_.timeout=o.timeout;function j(){if(!_)return;const E=Ie.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),te={data:!c||c==="text"||c==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:E,config:t,request:_};Rs(function(T){n(T),$()},function(T){r(T),$()},te),_=null}"onloadend"in _?_.onloadend=j:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(j)},_.onabort=function(){_&&(r(new J("Request aborted",J.ECONNABORTED,t,_)),_=null)},_.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,t,_)),_=null},_.ontimeout=function(){let G=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const te=o.transitional||Ps;o.timeoutErrorMessage&&(G=o.timeoutErrorMessage),r(new J(G,te.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,_)),_=null},i===void 0&&s.setContentType(null),"setRequestHeader"in _&&g.forEach(s.toJSON(),function(G,te){_.setRequestHeader(te,G)}),g.isUndefined(o.withCredentials)||(_.withCredentials=!!o.withCredentials),c&&c!=="json"&&(_.responseType=o.responseType),u&&([y,v]=Yn(u,!0),_.addEventListener("progress",y)),a&&_.upload&&([m,S]=Yn(a),_.upload.addEventListener("progress",m),_.upload.addEventListener("loadend",S)),(o.cancelToken||o.signal)&&(d=E=>{_&&(r(!E||E.type?new Nt(null,t,_):E),_.abort(),_=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const A=Fp(o.url);if(A&&Xe.protocols.indexOf(A)===-1){r(new J("Unsupported protocol "+A+":",J.ERR_BAD_REQUEST,t));return}_.send(i||null)})},Wp=(t,e)=>{let n=new AbortController,r;const o=function(a){if(!r){r=!0,s();const u=a instanceof Error?a:this.reason;n.abort(u instanceof J?u:new Nt(u instanceof Error?u.message:u))}};let i=e&&setTimeout(()=>{o(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))},e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(a=>{a&&(a.removeEventListener?a.removeEventListener("abort",o):a.unsubscribe(o))}),t=null)};t.forEach(a=>a&&a.addEventListener&&a.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=s,[c,()=>{i&&clearTimeout(i),i=null}]},qp=function*(t,e){let n=t.byteLength;if(!e||n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},Gp=async function*(t,e,n){for await(const r of t)yield*qp(ArrayBuffer.isView(r)?r:await n(String(r)),e)},Ms=(t,e,n,r,o)=>{const i=Gp(t,e,o);let s=0,c,a=u=>{c||(c=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:d,value:m}=await i.next();if(d){a(),u.close();return}let y=m.byteLength;if(n){let S=s+=y;n(S)}u.enqueue(new Uint8Array(m))}catch(d){throw a(d),d}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},Xn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Us=Xn&&typeof ReadableStream=="function",Qr=Xn&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Hs=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Jp=Us&&Hs(()=>{let t=!1;const e=new Request(Xe.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),js=64*1024,eo=Us&&Hs(()=>g.isReadableStream(new Response("").body)),Zn={stream:eo&&(t=>t.body)};Xn&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Zn[e]&&(Zn[e]=g.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);const Yp=async t=>{if(t==null)return 0;if(g.isBlob(t))return t.size;if(g.isSpecCompliantForm(t))return(await new Request(t).arrayBuffer()).byteLength;if(g.isArrayBufferView(t)||g.isArrayBuffer(t))return t.byteLength;if(g.isURLSearchParams(t)&&(t=t+""),g.isString(t))return(await Qr(t)).byteLength},Xp=async(t,e)=>{const n=g.toFiniteNumber(t.getContentLength());return n??Yp(e)},to={http:wp,xhr:Kp,fetch:Xn&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:c,onUploadProgress:a,responseType:u,headers:d,withCredentials:m="same-origin",fetchOptions:y}=Fs(t);u=u?(u+"").toLowerCase():"text";let[S,v]=o||i||s?Wp([o,i],s):[],$,_;const j=()=>{!$&&setTimeout(()=>{S&&S.unsubscribe()}),$=!0};let A;try{if(a&&Jp&&n!=="get"&&n!=="head"&&(A=await Xp(d,r))!==0){let w=new Request(e,{method:"POST",body:r,duplex:"half"}),T;if(g.isFormData(r)&&(T=w.headers.get("content-type"))&&d.setContentType(T),w.body){const[M,I]=$s(A,Yn(Ns(a)));r=Ms(w.body,js,M,I,Qr)}}g.isString(m)||(m=m?"include":"omit"),_=new Request(e,{...y,signal:S,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:m});let E=await fetch(_);const G=eo&&(u==="stream"||u==="response");if(eo&&(c||G)){const w={};["status","statusText","headers"].forEach(O=>{w[O]=E[O]});const T=g.toFiniteNumber(E.headers.get("content-length")),[M,I]=c&&$s(T,Yn(Ns(c),!0))||[];E=new Response(Ms(E.body,js,M,()=>{I&&I(),G&&j()},Qr),w)}u=u||"text";let te=await Zn[g.findKey(Zn,u)||"text"](E,t);return!G&&j(),v&&v(),await new Promise((w,T)=>{Rs(w,T,{data:te,headers:Ie.from(E.headers),status:E.status,statusText:E.statusText,config:t,request:_})})}catch(E){throw j(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,t,_),{cause:E.cause||E}):J.from(E,E&&E.code,t,_)}})};g.forEach(to,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Vs=t=>`- ${t}`,Zp=t=>g.isFunction(t)||t===null||t===!1,zs={getAdapter:t=>{t=g.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let s;if(r=n,!Zp(n)&&(r=to[(s=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([c,a])=>`adapter ${c} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
|
|
420
420
|
`+i.map(Vs).join(`
|