ados-rcm 1.0.598 → 1.0.599
Sign up to get free protection for your applications and to get access to all the features.
@@ -70,7 +70,7 @@ interface IInitParams {
|
|
70
70
|
declare function init({ themeName, save, followDeviceSetting }: IInitParams): void;
|
71
71
|
declare function getCurrentPaletteMode(): "mode-1";
|
72
72
|
declare function getCurrentSemanticMode(): "light" | "dark";
|
73
|
-
export declare const
|
73
|
+
export declare const AThemes: {
|
74
74
|
init: typeof init;
|
75
75
|
fetchToken: typeof fetchToken;
|
76
76
|
applyPaletteMode: typeof applyPaletteMode;
|
package/dist/index.cjs.js
CHANGED
@@ -56,4 +56,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
56
56
|
`);return r.map((o,s)=>c.jsxs(u.Fragment,{children:[o,s!==r.length-1&&c.jsx("br",{})]},s))}const Eb="_Base_e2dvy_1",Mb="_ATextArea_e2dvy_5",Pb="_Primary_e2dvy_33",Lb="_UnAvailable_e2dvy_38",Ob="_Secondary_e2dvy_46",Nb="_ReadOnly_e2dvy_58",Xi={Base:Eb,ATextArea:Mb,Primary:Pb,UnAvailable:Lb,Secondary:Ob,ReadOnly:Nb,Error:"_Error_e2dvy_65"},Fb=["Primary","Secondary","ReadOnly","Error"],jb=n=>{const{onEnterPress:r,errorMessage:o,type:s="Primary",textAreaRef:l,useValue:d,rows:h,isReadonly:v,placeholder:m,maxLength:g,tabIndex:y,autoFocus:b,textAreaProps:w,wrapProps:x,helperText:k,label:E,wrapType:M,...C}=n,T=u.useMemo(()=>Bb(o)?"Error":s,[o,s]),j=u.useMemo(()=>T==="ReadOnly"?!0:v,[T,v]),ue=u.useMemo(()=>C.isDisabled||C.isLoading,[C.isDisabled,C.isLoading]),[P,Y]=Lt(d,""),K=u.useCallback(O=>{Y&&Y(O)},[Y]),oe=u.useCallback(O=>{var se;ue||(K(O.target.value),(se=w==null?void 0:w.onChange)==null||se.call(w,O))},[ue,K,w]),U=u.useCallback(O=>{var se;if(!ue){if((se=w==null?void 0:w.onKeyDown)==null||se.call(w,O),O.key==="Tab"){const ee=O.currentTarget.selectionStart,Q=O.currentTarget.selectionEnd;O.currentTarget.value=O.currentTarget.value.substring(0,ee)+" "+O.currentTarget.value.substring(Q),O.currentTarget.selectionStart=O.currentTarget.selectionEnd=ee+1,O.preventDefault()}else O.key==="Enter"&&(r==null||r(O.currentTarget.value),O.stopPropagation());O.key!=="Escape"&&O.stopPropagation()}},[ue,r,w]);return c.jsx(bo,{wrapProps:x,label:E,helperText:k,errorMessage:o,wrapType:M??T==="Error"?"Error":"Default",children:c.jsx(mt,{...C,className:X.clsx(Xi.Base,C.className),children:c.jsx("textarea",{...w,className:X.clsx(Xi.ATextArea,Xi[T],ue&&Xi.UnAvailable,w==null?void 0:w.className),value:P,rows:h,readOnly:j,onChange:oe,onKeyDown:U,placeholder:m,maxLength:g,tabIndex:C.isDisabled||C.isLoading?-1:y,autoFocus:b,ref:l})})})};function Bb(n){return Array.isArray(n)?n.filter(Boolean).length>0:!!n}function ua(n,r){Array.isArray(n)||(n=[n]);for(const o of n){if(r(o))return o;if(!o.children||o.children.length<1)continue;const s=ua(o.children,r);if(s)return s}}function va(n,r){Array.isArray(n)||(n=[n]);for(const o of n)r(o),!(!o.children||o.children.length<1)&&va(o.children,r)}function $b(n,r){const o=[];return va(n,(s,l)=>o.push(r(s,l))),o}function _d(n,r){Array.isArray(n)||(n=[n]);for(const o of n){if(!r(o))return!1;if(!(!o.children||o.children.length<1)&&!_d(o.children,r))return!1}return!0}function Wb(n,r){const o=[];return va(n,(s,l)=>{r(s,l)&&o.push(s)}),o}function vd(n){return Array.isArray(n)||(n=[n]),n.reduce((r,o)=>r+1+(o.children?vd(o.children):0),0)}function Hb(n,r,o,s){if(s(r,o))return null;Array.isArray(n)||(n=[n]);const l=ua(n,h=>{var v;return(v=h.children)==null?void 0:v.some(m=>s(m,r))}),d=ua(n,h=>{var v;return(v=h.children)==null?void 0:v.some(m=>s(m,o))});if(l===void 0&&d===void 0){const h=n.findIndex(m=>s(m,r)),v=n.findIndex(m=>s(m,o));return n.splice(h,1),n.splice(v,0,r),[...n]}else if(l!==void 0&&d!==void 0&&s(l,d)&&l.children){const h=l.children.findIndex(m=>s(m,r)),v=l.children.findIndex(m=>s(m,o));return h===void 0||v===void 0?null:(l.children.splice(h,1),l.children.splice(v,0,r),l.children=[...l.children],[...n])}return null}const ar={find:ua,forEach:va,map:$b,every:_d,filter:Wb,length:vd,replace:Hb},zb="_AWrap_tapyx_1",Ub="_AContainer_tapyx_10",Vb="_ATree_tapyx_18",Kb="_ATreeHeader_tapyx_31",qb="_ATreeBodyHeader_tapyx_37",Gb="_ATreeItem_tapyx_46",Yb="_IsSelected_tapyx_63",Zb="_IsSearchSelected_tapyx_68",Jb="_IsHovered_tapyx_79",Xb="_CheckBox_tapyx_83",Qb="_Indents_tapyx_95",e6="_ExpandIcon_tapyx_102",t6="_Content_tapyx_115",n6="_RightSticky_tapyx_124",r6="_SearchInputWrap_tapyx_136",o6="_SearchInput_tapyx_136",i6="_RightAddon_tapyx_148",a6="_RightAddonIcon_tapyx_158",It={AWrap:zb,AContainer:Ub,ATree:Vb,ATreeHeader:Kb,ATreeBodyHeader:qb,ATreeItem:Gb,IsSelected:Yb,IsSearchSelected:Zb,IsHovered:Jb,CheckBox:Xb,Indents:Qb,ExpandIcon:e6,Content:t6,RightSticky:n6,SearchInputWrap:r6,SearchInput:o6,RightAddon:i6,RightAddonIcon:a6},s6=n=>{const{isEqual:r,item:o,selectDisabled:s,isParentDisabled:l,indents:d,useExpand:h,useSelect:v,useSearch:m,onDragStart:g,onDragOver:y,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:k,isSelectMulti:E,isDraggable:M,isParentCheckHovered:C,ContentRenderer:T,TreeItemRenderer:j,RightStickyAddon:ue,resources:P,containerRef:Y,TreeItemStyle:K,TreeItemClassName:oe}=n,{children:U}=u.useMemo(()=>o,[o]),[O,se]=u.useMemo(()=>h,[h]),[ee,Q]=u.useMemo(()=>v,[v]),[H,z]=u.useMemo(()=>m,[m]),ie=u.useMemo(()=>!s||l?l:s(o),[s,l,o]),B=u.useMemo(()=>O.some(q=>r(q,o)),[O,r,o]),ve=u.useMemo(()=>!U||U.length<1?"noChild":B?"expanded":"collapsed",[U,B]),Le=u.useMemo(()=>{const q=x[ve];return Js.includes(q)?c.jsx(Tt,{style:{width:k,height:k},icon:q}):q},[x,k,ve]),Se=u.useCallback(q=>{!se||ve==="noChild"||(se(B?O.filter(V=>!r(V,o)):[...O,o]),q.stopPropagation())},[se,O,B,o,r,ve]),Ie=u.useMemo(()=>ee.some(q=>r(q,o)),[ee,r,o]),Me=u.useCallback(()=>{!Q||ie||(Q(E?Ie?ee.filter(q=>!r(q,o)):[...ee,o]:[o]),H&&z&&H.items.some(q=>r(q,o))&&z({...H,item:o}))},[E,ie,Ie,H,z,Q,r,ee,o]),ke=u.useMemo(()=>H==null?void 0:H.items.some(q=>r(q,o)),[H,r,o]),re=u.useMemo(()=>ke&&(H==null?void 0:H.item)&&r(H.item,o),[ke,H,r,o]),Ae=u.useRef(null);u.useEffect(()=>{setTimeout(()=>{if(re&&Ae.current&&Y.current){const{top:q,bottom:V}=Ae.current.getBoundingClientRect(),{top:ce,bottom:Ue}=Y.current.getBoundingClientRect();(q<ce||V>Ue)&&Ae.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[Y,re]);const[je,et]=u.useState(!1),ae=u.useCallback(()=>!ie&&et(!0),[ie]),Re=u.useCallback(()=>!ie&&et(!1),[ie]),pe=u.useMemo(()=>s?ar.map(o,q=>q).filter(q=>!s(q)):ar.map(o,q=>q),[s,o]),ze=u.useMemo(()=>!w||!E?!1:Ie&&pe.some(q=>ee.some(V=>r(q,V)))&&pe.some(q=>!ee.some(V=>r(q,V))),[w,E,Ie,pe,r,ee]),Ce=u.useMemo(()=>w?E?pe.every(q=>ee.some(V=>r(q,V))):ee.some(q=>r(q,o)):!1,[w,E,pe,o,r,ee]),Ye=u.useCallback(()=>{if(!(!Q||ie))if(E)if(Ie){const q=ee.filter(V=>!(s!=null&&s(V))&&pe.some(ce=>r(ce,V)));q.length>0&&Q(ee.filter(V=>!q.some(ce=>r(V,ce))))}else{const q=pe.filter(V=>!(s!=null&&s(V))&&!ee.some(ce=>r(ce,V)));q.length>0&&Q([...ee,...q])}else Q([o])},[ie,s,E,Q,r,Ie,ee,pe,o]),Be=u.useCallback(q=>{ie||Ye(),q.stopPropagation()},[ie,Ye]),be=u.useMemo(()=>{if(!w||!E||ie)return"";if(Ie){const V=ee.filter(ce=>!(s!=null&&s(ce))&&pe.some(Ue=>r(Ue,ce)));if(V.length>0)return P["deselect n"](V.length)}const q=pe.filter(V=>!(s!=null&&s(V))&&!ee.some(ce=>r(ce,V)));return P["select n"](q.length)},[s,P,ie,w,E,Ie,pe,r,ee]),te=u.useMemo(()=>ft.getContent(ue,n),[ue,n]),ne=u.useMemo(()=>ft.getContent(K,n),[n,K]),xe=u.useMemo(()=>ft.getContent(oe,n),[n,oe]);return c.jsxs(u.Fragment,{children:[c.jsxs(mt,{className:X.clsx(It.ATreeItem,Ie&&It.IsSelected,!ie&&(je||C)&&It.IsHovered,ke&&It.IsSearched,re&&It.IsSearchSelected,"NoSelect",xe),style:ne,draggable:M,onDragStart:()=>g==null?void 0:g(o),onDragEnter:q=>y==null?void 0:y(q,o),onDragEnd:q=>b==null?void 0:b(q,o),onClick:Me,abaseRef:Ae,isDisabled:ie,children:[w&&c.jsx(yo,{style:{visibility:ie?"hidden":"visible",zIndex:ie?0:2},className:It.CheckBox,useCheck:[+Ce,Ye],onClick:Be,isIndeterminate:ze,onMouseOver:ae,onMouseOut:Re,tooltip:be,isDisabled:ie}),c.jsx("div",{className:It.Indents,style:{paddingLeft:w?0:n.icons.noChild?12:0},children:d.map((q,V)=>{const ce=V===d.length-1;return c.jsx(ld,{value:q,map:{Collapsed:c.jsx(c6,{iconWidth:k}),Expanded:c.jsx(l6,{iconWidth:k,isLast:ce}),IsLast:c.jsx(u6,{iconWidth:k})}},V)})}),Le&&c.jsx("div",{className:It.ExpandIcon,style:{width:k,minWidth:k,maxWidth:k},onClick:Se,children:Le}),c.jsx("div",{className:X.clsx(It.Content,"NoSelect"),children:c.jsx(T,{isEqual:r,item:o,indents:d,useExpand:h,useSelect:v,useSearch:m,onDragStart:g,onDragOver:y,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:k,isSelectMulti:E,isDraggable:M,isParentCheckHovered:E&&(je||C),ContentRenderer:T,TreeItemRenderer:j,RightStickyAddon:ue,resources:P,containerRef:Y,TreeItemStyle:K,TreeItemClassName:oe})}),te&&c.jsx("div",{className:It.RightSticky,children:te})]}),B&&(U==null?void 0:U.map((q,V)=>c.jsx(j,{isEqual:r,item:q,selectDisabled:s,indents:[...d.map(ce=>ce==="IsLast"?"Collapsed":ce),V===U.length-1?"IsLast":"Expanded"],ContentRenderer:T,useExpand:h,useSelect:v,useSearch:m,onDragStart:g,onDragOver:y,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:k,isSelectMulti:E,isDraggable:M,isParentCheckHovered:E&&(je||C),TreeItemRenderer:j,RightStickyAddon:ue,resources:P,containerRef:Y,TreeItemStyle:K,TreeItemClassName:oe},V)))]})},l6=({iconWidth:n,isLast:r})=>c.jsx("div",{style:{width:n/8*3,height:"100%",borderLeft:"1px solid var(--ATree_Indent_border-color)",marginLeft:n/2,marginRight:n/8,boxSizing:"border-box",transition:"border-color 0.3s"},children:r&&c.jsx("div",{style:{borderBottom:"1px solid var(--ATree_Indent_border-color)",height:"50%",transition:"border-color 0.3s"}})}),c6=({iconWidth:n})=>c.jsx("div",{style:{width:n,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color 0.3s"}}),u6=({iconWidth:n})=>c.jsx("div",{style:{width:n/8*3,height:"50%",borderLeft:"1px solid var(--ATree_Indent_border-color)",borderBottom:"1px solid var(--ATree_Indent_border-color)",marginLeft:n/2,marginRight:n/8,boxSizing:"border-box",transition:"border-color 0.3s"}}),f6=n=>{const{isEqual:r,searchResult:o,initSearch:s,searchUp:l,searchDown:d,isDisabled:h,isLoading:v,resources:m,maxLength:g,autoFocus:y}=n,b=u.useCallback(k=>{k.key==="Enter"||k.key==="ArrowDown"?(d(),k.preventDefault(),k.stopPropagation()):k.key==="ArrowUp"&&(l(),k.preventDefault(),k.stopPropagation())},[d,l]),w=u.useCallback(k=>{s(k)},[s]),x=u.useMemo(()=>h||v?-1:void 0,[h,v]);return c.jsx(Sr,{className:It.SearchInput,wrapProps:{className:It.SearchInputWrap},isDisabled:h,tabIndex:x,useValue:[(o==null?void 0:o.keyword)??"",w],onKeyDown:b,placeholder:m.Search,RightAddon:c.jsx(d6,{isEqual:r,searchResult:o,searchUp:l,searchDown:d}),maxLength:g,autoFocus:y})},d6=n=>{const{isEqual:r,searchResult:o,searchUp:s,searchDown:l}=n,d=u.useMemo(()=>!o||o.items.length<1?0:o.items.findIndex(w=>o.item&&r(w,o.item))+1,[o,r]),h=u.useMemo(()=>!o||o.items.length<1?0:o.items.length,[o]),v=u.useMemo(()=>d<2,[d]),m=u.useMemo(()=>d>=h,[d,h]),g=u.useCallback(w=>{w.stopPropagation(),!v&&s()},[s,v]),y=u.useCallback(w=>{w.stopPropagation(),!m&&l()},[l,m]),b=u.useCallback(w=>{w.stopPropagation(),l()},[l]);return c.jsx("div",{className:X.clsx(It.RightAddon,"NoSelect"),children:o?c.jsxs(c.Fragment,{children:[d,"/",h,c.jsx(mt,{onClick:g,isDisabled:v,children:c.jsx(Tt,{className:It.RightAddonIcon,icon:"ArrowUp",mask:""})}),c.jsx(mt,{onClick:y,isDisabled:m,children:c.jsx(Tt,{className:It.RightAddonIcon,icon:"ArrowDown"})})]}):c.jsx(Tt,{className:It.RightAddonIcon,icon:"Search",onClick:b})})},h6=n=>{const{pk:r,selectDisabled:o,useItems:s,useExpand:l,useSelect:d,useSearch:h,showCheckbox:v,iconWidth:m=24,icons:g={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},isSelectMulti:y=!1,noSearch:b=!1,isDraggable:w=!1,noSyncSearchSelect:x=!1,actionRef:k,placeholder:E,searchPredicate:M=_6,isDisabled:C,isLoading:T,ContentRenderer:j=g6,TreeItemRenderer:ue=s6,RightStickyAddon:P,TopRightAddon:Y,TreeTopAddon:K,resources:oe,maxLength:U,autoFocus:O,TreeItemStyle:se,TreeItemClassName:ee,...Q}=n,H=u.useMemo(()=>({...Zn.ATree,...oe}),[oe]),z=u.useCallback((F,le)=>r!==void 0?Array.isArray(r)?r.every(We=>Gn.isEqual(F[We],le[We])):Gn.isEqual(F[r],le[r]):Gn.isEqual(F,le),[r]),ie=u.useRef(null),[B,ve]=Lt(s,[]),Le=u.useMemo(()=>ar.map(B,F=>F),[B]),[Se,Ie]=Lt(l,[]),[Me,ke]=Lt(d,[]),[re,Ae]=Lt(h,void 0),je=u.useCallback(F=>{if(C||!Ie||Se.some(rt=>z(rt,F)))return;const le=[];let We=F;for(;We;){const rt=We;Se.find(yt=>z(yt,rt))||le.push(rt),We=Le.find(yt=>{var at;return(at=yt.children)==null?void 0:at.some(ot=>z(ot,rt))})}Ie([...Se,...le])},[Se,C,z,Ie,Le]),et=u.useCallback(()=>{!Ie||C||Ie([...Le])},[Le,C,Ie]),ae=u.useCallback(()=>{!Ie||C||Ie([])},[Ie,C]),Re=u.useCallback(F=>{!ke||C||(ke([F]),je(F))},[ke,C,je]),pe=u.useCallback(F=>{if(!Ae||C)return;if(!F||b){Ae(void 0),x||ke==null||ke([]);return}const le=ar.filter(B,rt=>M(F,rt));let We;if(le.find(rt=>(re==null?void 0:re.item)&&z(rt,re.item))?We=re==null?void 0:re.item:le.length>0&&(We=le[0]),Ae({keyword:F,items:le,item:We}),ke&&!x)if(y)ke(le);else{const rt=le.find(yt=>We&&z(yt,We));ke(rt?[rt]:[])}},[B,C,z,M,Ae,ke,x,b,y,re]),ze=u.useRef(!1);u.useEffect(()=>{ze.current=!0},[B]),u.useEffect(()=>{re&&ze.current&&(pe(re.keyword),ze.current=!1)},[pe,re]);const Ce=u.useCallback(()=>{if(!re||!Ae||C)return;let F=re.items.findIndex(le=>re.item&&z(le,re.item))-1;F<0||(Ae({...re,item:re.items[F]}),je(re.items[F]),x||Re(re.items[F]))},[re,je,Ae,C,Re,z,x]),Ye=u.useCallback(()=>{if(!re||!Ae||C)return;let F=re.items.findIndex(le=>re.item&&z(le,re.item))+1;F>=re.items.length||(Ae({...re,item:re.items[F]}),je(re.items[F]),x||Re(re.items[F]))},[re,je,C,Ae,Re,z,x]),[Be,be]=u.useState(!1),te=u.useCallback(()=>be(!0),[]),ne=u.useCallback(()=>be(!1),[]),xe=u.useMemo(()=>o?ar.map(B,F=>F).filter(F=>!o(F)):ar.map(B,F=>F),[o,B]),q=u.useMemo(()=>!v||!y?!1:Me.length>0&&xe.length>Me.length,[v,y,Me,xe]),V=u.useMemo(()=>!v||!y?!1:Me.length>0&&xe.length===Me.length,[v,y,Me,xe]),ce=u.useCallback(()=>{if(!ke||!y||C)return;const F=Me.filter(le=>!(o!=null&&o(le))&&xe.some(We=>z(We,le)));if(F.length>0)ke(Me.filter(le=>!F.some(We=>z(le,We))));else{const le=xe.filter(We=>!(o!=null&&o(We))&&!Me.some(rt=>z(rt,We)));le.length>0&&ke([...Me,...le])}},[y,C,o,ke,Me,xe,z]),Ue=u.useMemo(()=>{if(!v||!y||C)return"";const F=Me.filter(le=>!(o!=null&&o(le))&&xe.some(We=>z(We,le)));if(F.length>0)return H["deselect n"](F.length);{const le=xe.filter(We=>!(o!=null&&o(We))&&!Me.some(rt=>z(rt,We)));return H["select n"](le.length)}},[o,C,H,v,y,xe,Me,z]),[me,lt]=u.useState(null),[kt,Ot]=u.useState(null),_t=u.useCallback(F=>{!w||C||lt(F)},[C,w]),Bt=u.useCallback((F,le)=>{if(!w||C||!me||(F.preventDefault(),F.stopPropagation(),Ot(le),!ve))return;const We=ar.replace(B,me,le,z);We&&ve(We)},[w,B,me,C,ve,z]),dn=u.useCallback(()=>{if(!w||C||!me||!kt||!ve||z(me,kt))return;const F=ar.replace(B,me,kt,z);F&&(ve(F),lt(null))},[w,ve,B,me,kt,z,C]);u.useEffect(()=>{var F;v||(F=ie.current)==null||F.scrollTo(0,0)},[v,ie]),u.useEffect(()=>{!y&&Me.length>1&&(ke==null||ke([Me[Me.length-1]]))},[y,ke,Me]),u.useEffect(()=>{k&&(k.current={expandAll:et,collapseAll:ae})},[k,et,ae]),u.useEffect(()=>{if(!o||!ke)return;const F=Me.filter(le=>!o(le));Me.length!==F.length&&ke(F)},[o,Me,ke]),u.useEffect(()=>{Ae&&Ae(void 0)},[Ae]);const[hn,Z]=u.useState(!1);return u.useEffect(()=>{Z(F=>!F)},[B]),c.jsxs(mt,{...Q,isDisabled:C,className:X.clsx(Q.className,It.AWrap),children:[(!b||Y)&&c.jsxs(Yn,{className:It.ATreeHeader,children:[!b&&c.jsx(f6,{isEqual:z,searchResult:re,initSearch:pe,searchUp:Ce,searchDown:Ye,isLoading:T,isDisabled:C,resources:H,maxLength:U,autoFocus:O}),!b&&Y&&c.jsx(Ut,{w:8}),Y]}),(!b||Y||v&&y)&&c.jsx(il,{isLoading:T&&B.length!==0}),v&&y&&c.jsxs("div",{className:It.ATreeBodyHeader,children:[c.jsx(yo,{className:It.CheckBox,useCheck:[+V,()=>ce()],isIndeterminate:q,onMouseOver:te,onMouseOut:ne,isDisabled:C,tooltip:Ue}),H.Items,c.jsx(Kr,{}),H["*Click row for single select"]]}),c.jsx("div",{ref:ie,className:X.clsx(Q.className,It.AContainer),children:c.jsxs("div",{className:It.ATree,children:[B.length===0?T?c.jsx(v6,{text:H["Loading Contents..."]}):E:K,B.map((F,le)=>c.jsx(ue,{isEqual:z,indents:[],item:F,selectDisabled:o,isParentDisabled:C,useExpand:[Se,Ie],useSelect:[Me,ke],useSearch:[re,Ae],onDragStart:_t,onDragOver:Bt,onDragEnd:dn,showCheckbox:v,icons:g,iconWidth:m,isSelectMulti:y,isDraggable:w,isParentCheckHovered:y&&Be,ContentRenderer:j,TreeItemRenderer:ue,RightStickyAddon:P,resources:H,containerRef:ie,TreeItemStyle:se,TreeItemClassName:ee},`${le}${hn}`))]})})]})},g6=n=>{const{item:r}=n,o={};return Ne.keys(r).forEach(s=>{s!=="children"&&(o[s]=r[s])}),JSON.stringify(o)};function _6(n,r){return Ne.some(r,(o,s)=>{var l;return(l=Ne.stringify(s))==null?void 0:l.toLowerCase().includes(n.toLowerCase())})}const v6=n=>{const{text:r}=n;return c.jsxs(Yn,{className:It.Loader,children:[c.jsx(Tt,{icon:"Spinner",style:{height:40},height:40,width:40}),c.jsx(gd,{text:r})]})};function p6(n,r){u.useEffect(()=>{if(n.current)for(const o in r){const s=r[o];s!==void 0&&n.current.style.setProperty(o,s)}},[n,r])}var m6=Error,y6=EvalError,b6=RangeError,x6=ReferenceError,pd=SyntaxError,oi=TypeError,A6=URIError,S6=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var l=42;r[o]=l;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var d=Object.getOwnPropertySymbols(r);if(d.length!==1||d[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(r,o);if(h.value!==l||h.enumerable!==!0)return!1}return!0},Ju=typeof Symbol<"u"&&Symbol,w6=S6,C6=function(){return typeof Ju!="function"||typeof Symbol!="function"||typeof Ju("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:w6()},Ts={__proto__:null,foo:{}},I6=Object,k6=function(){return{__proto__:Ts}.foo===Ts.foo&&!(Ts instanceof I6)},D6="Function.prototype.bind called on incompatible ",R6=Object.prototype.toString,T6=Math.max,E6="[object Function]",Xu=function(r,o){for(var s=[],l=0;l<r.length;l+=1)s[l]=r[l];for(var d=0;d<o.length;d+=1)s[d+r.length]=o[d];return s},M6=function(r,o){for(var s=[],l=o||0,d=0;l<r.length;l+=1,d+=1)s[d]=r[l];return s},P6=function(n,r){for(var o="",s=0;s<n.length;s+=1)o+=n[s],s+1<n.length&&(o+=r);return o},L6=function(r){var o=this;if(typeof o!="function"||R6.apply(o)!==E6)throw new TypeError(D6+o);for(var s=M6(arguments,1),l,d=function(){if(this instanceof l){var y=o.apply(this,Xu(s,arguments));return Object(y)===y?y:this}return o.apply(r,Xu(s,arguments))},h=T6(0,o.length-s.length),v=[],m=0;m<h;m++)v[m]="$"+m;if(l=Function("binder","return function ("+P6(v,",")+"){ return binder.apply(this,arguments); }")(d),o.prototype){var g=function(){};g.prototype=o.prototype,l.prototype=new g,g.prototype=null}return l},O6=L6,al=Function.prototype.bind||O6,N6=Function.prototype.call,F6=Object.prototype.hasOwnProperty,j6=al,B6=j6.call(N6,F6),Xe,$6=m6,W6=y6,H6=b6,z6=x6,xo=pd,po=oi,U6=A6,md=Function,Es=function(n){try{return md('"use strict"; return ('+n+").constructor;")()}catch{}},Ur=Object.getOwnPropertyDescriptor;if(Ur)try{Ur({},"")}catch{Ur=null}var Ms=function(){throw new po},V6=Ur?function(){try{return arguments.callee,Ms}catch{try{return Ur(arguments,"callee").get}catch{return Ms}}}():Ms,uo=C6(),K6=k6(),Ht=Object.getPrototypeOf||(K6?function(n){return n.__proto__}:null),go={},q6=typeof Uint8Array>"u"||!Ht?Xe:Ht(Uint8Array),Vr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Xe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Xe:ArrayBuffer,"%ArrayIteratorPrototype%":uo&&Ht?Ht([][Symbol.iterator]()):Xe,"%AsyncFromSyncIteratorPrototype%":Xe,"%AsyncFunction%":go,"%AsyncGenerator%":go,"%AsyncGeneratorFunction%":go,"%AsyncIteratorPrototype%":go,"%Atomics%":typeof Atomics>"u"?Xe:Atomics,"%BigInt%":typeof BigInt>"u"?Xe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Xe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Xe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Xe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$6,"%eval%":eval,"%EvalError%":W6,"%Float32Array%":typeof Float32Array>"u"?Xe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Xe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Xe:FinalizationRegistry,"%Function%":md,"%GeneratorFunction%":go,"%Int8Array%":typeof Int8Array>"u"?Xe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Xe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Xe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":uo&&Ht?Ht(Ht([][Symbol.iterator]())):Xe,"%JSON%":typeof JSON=="object"?JSON:Xe,"%Map%":typeof Map>"u"?Xe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!uo||!Ht?Xe:Ht(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Xe:Promise,"%Proxy%":typeof Proxy>"u"?Xe:Proxy,"%RangeError%":H6,"%ReferenceError%":z6,"%Reflect%":typeof Reflect>"u"?Xe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Xe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!uo||!Ht?Xe:Ht(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Xe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":uo&&Ht?Ht(""[Symbol.iterator]()):Xe,"%Symbol%":uo?Symbol:Xe,"%SyntaxError%":xo,"%ThrowTypeError%":V6,"%TypedArray%":q6,"%TypeError%":po,"%Uint8Array%":typeof Uint8Array>"u"?Xe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Xe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Xe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Xe:Uint32Array,"%URIError%":U6,"%WeakMap%":typeof WeakMap>"u"?Xe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Xe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Xe:WeakSet};if(Ht)try{null.error}catch(n){var G6=Ht(Ht(n));Vr["%Error.prototype%"]=G6}var Y6=function n(r){var o;if(r==="%AsyncFunction%")o=Es("async function () {}");else if(r==="%GeneratorFunction%")o=Es("function* () {}");else if(r==="%AsyncGeneratorFunction%")o=Es("async function* () {}");else if(r==="%AsyncGenerator%"){var s=n("%AsyncGeneratorFunction%");s&&(o=s.prototype)}else if(r==="%AsyncIteratorPrototype%"){var l=n("%AsyncGenerator%");l&&Ht&&(o=Ht(l.prototype))}return Vr[r]=o,o},Qu={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ii=al,fa=B6,Z6=ii.call(Function.call,Array.prototype.concat),J6=ii.call(Function.apply,Array.prototype.splice),ef=ii.call(Function.call,String.prototype.replace),da=ii.call(Function.call,String.prototype.slice),X6=ii.call(Function.call,RegExp.prototype.exec),Q6=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ex=/\\(\\)?/g,tx=function(r){var o=da(r,0,1),s=da(r,-1);if(o==="%"&&s!=="%")throw new xo("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&o!=="%")throw new xo("invalid intrinsic syntax, expected opening `%`");var l=[];return ef(r,Q6,function(d,h,v,m){l[l.length]=v?ef(m,ex,"$1"):h||d}),l},nx=function(r,o){var s=r,l;if(fa(Qu,s)&&(l=Qu[s],s="%"+l[0]+"%"),fa(Vr,s)){var d=Vr[s];if(d===go&&(d=Y6(s)),typeof d>"u"&&!o)throw new po("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:l,name:s,value:d}}throw new xo("intrinsic "+r+" does not exist!")},wo=function(r,o){if(typeof r!="string"||r.length===0)throw new po("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new po('"allowMissing" argument must be a boolean');if(X6(/^%?[^%]*%?$/,r)===null)throw new xo("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=tx(r),l=s.length>0?s[0]:"",d=nx("%"+l+"%",o),h=d.name,v=d.value,m=!1,g=d.alias;g&&(l=g[0],J6(s,Z6([0,1],g)));for(var y=1,b=!0;y<s.length;y+=1){var w=s[y],x=da(w,0,1),k=da(w,-1);if((x==='"'||x==="'"||x==="`"||k==='"'||k==="'"||k==="`")&&x!==k)throw new xo("property names with quotes must have matching quotes");if((w==="constructor"||!b)&&(m=!0),l+="."+w,h="%"+l+"%",fa(Vr,h))v=Vr[h];else if(v!=null){if(!(w in v)){if(!o)throw new po("base intrinsic for "+r+" exists, but the property is not available.");return}if(Ur&&y+1>=s.length){var E=Ur(v,w);b=!!E,b&&"get"in E&&!("originalValue"in E.get)?v=E.get:v=v[w]}else b=fa(v,w),v=v[w];b&&!m&&(Vr[h]=v)}}return v},yd={exports:{}},Ps,tf;function sl(){if(tf)return Ps;tf=1;var n=wo,r=n("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return Ps=r,Ps}var rx=wo,oa=rx("%Object.getOwnPropertyDescriptor%",!0);if(oa)try{oa([],"length")}catch{oa=null}var bd=oa,nf=sl(),ox=pd,fo=oi,rf=bd,ix=function(r,o,s){if(!r||typeof r!="object"&&typeof r!="function")throw new fo("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new fo("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new fo("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new fo("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new fo("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new fo("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,v=arguments.length>6?arguments[6]:!1,m=!!rf&&rf(r,o);if(nf)nf(r,o,{configurable:h===null&&m?m.configurable:!h,enumerable:l===null&&m?m.enumerable:!l,value:s,writable:d===null&&m?m.writable:!d});else if(v||!l&&!d&&!h)r[o]=s;else throw new ox("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Hs=sl(),xd=function(){return!!Hs};xd.hasArrayLengthDefineBug=function(){if(!Hs)return null;try{return Hs([],"length",{value:1}).length!==1}catch{return!0}};var ax=xd,sx=wo,of=ix,lx=ax(),af=bd,sf=oi,cx=sx("%Math.floor%"),ux=function(r,o){if(typeof r!="function")throw new sf("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||cx(o)!==o)throw new sf("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],l=!0,d=!0;if("length"in r&&af){var h=af(r,"length");h&&!h.configurable&&(l=!1),h&&!h.writable&&(d=!1)}return(l||d||!s)&&(lx?of(r,"length",o,!0,!0):of(r,"length",o)),r};(function(n){var r=al,o=wo,s=ux,l=oi,d=o("%Function.prototype.apply%"),h=o("%Function.prototype.call%"),v=o("%Reflect.apply%",!0)||r.call(h,d),m=sl(),g=o("%Math.max%");n.exports=function(w){if(typeof w!="function")throw new l("a function is required");var x=v(r,h,arguments);return s(x,1+g(0,w.length-(arguments.length-1)),!0)};var y=function(){return v(r,d,arguments)};m?m(n.exports,"apply",{value:y}):n.exports.apply=y})(yd);var fx=yd.exports,Ad=wo,Sd=fx,dx=Sd(Ad("String.prototype.indexOf")),hx=function(r,o){var s=Ad(r,!!o);return typeof s=="function"&&dx(r,".prototype.")>-1?Sd(s):s};const gx={},_x=Object.freeze(Object.defineProperty({__proto__:null,default:gx},Symbol.toStringTag,{value:"Module"})),vx=Vp(_x);var ll=typeof Map=="function"&&Map.prototype,Ls=Object.getOwnPropertyDescriptor&&ll?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ha=ll&&Ls&&typeof Ls.get=="function"?Ls.get:null,lf=ll&&Map.prototype.forEach,cl=typeof Set=="function"&&Set.prototype,Os=Object.getOwnPropertyDescriptor&&cl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ga=cl&&Os&&typeof Os.get=="function"?Os.get:null,cf=cl&&Set.prototype.forEach,px=typeof WeakMap=="function"&&WeakMap.prototype,Jo=px?WeakMap.prototype.has:null,mx=typeof WeakSet=="function"&&WeakSet.prototype,Xo=mx?WeakSet.prototype.has:null,yx=typeof WeakRef=="function"&&WeakRef.prototype,uf=yx?WeakRef.prototype.deref:null,bx=Boolean.prototype.valueOf,xx=Object.prototype.toString,Ax=Function.prototype.toString,Sx=String.prototype.match,ul=String.prototype.slice,xr=String.prototype.replace,wx=String.prototype.toUpperCase,ff=String.prototype.toLowerCase,wd=RegExp.prototype.test,df=Array.prototype.concat,qn=Array.prototype.join,Cx=Array.prototype.slice,hf=Math.floor,zs=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ns=Object.getOwnPropertySymbols,Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ao=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Jt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ao||!0)?Symbol.toStringTag:null,Cd=Object.prototype.propertyIsEnumerable,gf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function _f(n,r){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||wd.call(/e/,r))return r;var o=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var s=n<0?-hf(-n):hf(n);if(s!==n){var l=String(s),d=ul.call(r,l.length+1);return xr.call(l,o,"$&_")+"."+xr.call(xr.call(d,/([0-9]{3})/g,"$&_"),/_$/,"")}}return xr.call(r,o,"$&_")}var Vs=vx,vf=Vs.custom,pf=kd(vf)?vf:null,Ix=function n(r,o,s,l){var d=o||{};if(yr(d,"quoteStyle")&&d.quoteStyle!=="single"&&d.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yr(d,"maxStringLength")&&(typeof d.maxStringLength=="number"?d.maxStringLength<0&&d.maxStringLength!==1/0:d.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=yr(d,"customInspect")?d.customInspect:!0;if(typeof h!="boolean"&&h!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yr(d,"indent")&&d.indent!==null&&d.indent!==" "&&!(parseInt(d.indent,10)===d.indent&&d.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yr(d,"numericSeparator")&&typeof d.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=d.numericSeparator;if(typeof r>"u")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return Rd(r,d);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var m=String(r);return v?_f(r,m):m}if(typeof r=="bigint"){var g=String(r)+"n";return v?_f(r,g):g}var y=typeof d.depth>"u"?5:d.depth;if(typeof s>"u"&&(s=0),s>=y&&y>0&&typeof r=="object")return Ks(r)?"[Array]":"[Object]";var b=Ux(d,s);if(typeof l>"u")l=[];else if(Dd(l,r)>=0)return"[Circular]";function w(Q,H,z){if(H&&(l=Cx.call(l),l.push(H)),z){var ie={depth:d.depth};return yr(d,"quoteStyle")&&(ie.quoteStyle=d.quoteStyle),n(Q,ie,s+1,l)}return n(Q,d,s+1,l)}if(typeof r=="function"&&!mf(r)){var x=Ox(r),k=Qi(r,w);return"[Function"+(x?": "+x:" (anonymous)")+"]"+(k.length>0?" { "+qn.call(k,", ")+" }":"")}if(kd(r)){var E=Ao?xr.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):Us.call(r);return typeof r=="object"&&!Ao?Yo(E):E}if(Wx(r)){for(var M="<"+ff.call(String(r.nodeName)),C=r.attributes||[],T=0;T<C.length;T++)M+=" "+C[T].name+"="+Id(kx(C[T].value),"double",d);return M+=">",r.childNodes&&r.childNodes.length&&(M+="..."),M+="</"+ff.call(String(r.nodeName))+">",M}if(Ks(r)){if(r.length===0)return"[]";var j=Qi(r,w);return b&&!zx(j)?"["+qs(j,b)+"]":"[ "+qn.call(j,", ")+" ]"}if(Rx(r)){var ue=Qi(r,w);return!("cause"in Error.prototype)&&"cause"in r&&!Cd.call(r,"cause")?"{ ["+String(r)+"] "+qn.call(df.call("[cause]: "+w(r.cause),ue),", ")+" }":ue.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+qn.call(ue,", ")+" }"}if(typeof r=="object"&&h){if(pf&&typeof r[pf]=="function"&&Vs)return Vs(r,{depth:y-s});if(h!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(Nx(r)){var P=[];return lf&&lf.call(r,function(Q,H){P.push(w(H,r,!0)+" => "+w(Q,r))}),yf("Map",ha.call(r),P,b)}if(Bx(r)){var Y=[];return cf&&cf.call(r,function(Q){Y.push(w(Q,r))}),yf("Set",ga.call(r),Y,b)}if(Fx(r))return Fs("WeakMap");if($x(r))return Fs("WeakSet");if(jx(r))return Fs("WeakRef");if(Ex(r))return Yo(w(Number(r)));if(Px(r))return Yo(w(zs.call(r)));if(Mx(r))return Yo(bx.call(r));if(Tx(r))return Yo(w(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(r===ho)return"{ [object globalThis] }";if(!Dx(r)&&!mf(r)){var K=Qi(r,w),oe=gf?gf(r)===Object.prototype:r instanceof Object||r.constructor===Object,U=r instanceof Object?"":"null prototype",O=!oe&&Jt&&Object(r)===r&&Jt in r?ul.call(wr(r),8,-1):U?"Object":"",se=oe||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",ee=se+(O||U?"["+qn.call(df.call([],O||[],U||[]),": ")+"] ":"");return K.length===0?ee+"{}":b?ee+"{"+qs(K,b)+"}":ee+"{ "+qn.call(K,", ")+" }"}return String(r)};function Id(n,r,o){var s=(o.quoteStyle||r)==="double"?'"':"'";return s+n+s}function kx(n){return xr.call(String(n),/"/g,""")}function Ks(n){return wr(n)==="[object Array]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function Dx(n){return wr(n)==="[object Date]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function mf(n){return wr(n)==="[object RegExp]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function Rx(n){return wr(n)==="[object Error]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function Tx(n){return wr(n)==="[object String]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function Ex(n){return wr(n)==="[object Number]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function Mx(n){return wr(n)==="[object Boolean]"&&(!Jt||!(typeof n=="object"&&Jt in n))}function kd(n){if(Ao)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Us)return!1;try{return Us.call(n),!0}catch{}return!1}function Px(n){if(!n||typeof n!="object"||!zs)return!1;try{return zs.call(n),!0}catch{}return!1}var Lx=Object.prototype.hasOwnProperty||function(n){return n in this};function yr(n,r){return Lx.call(n,r)}function wr(n){return xx.call(n)}function Ox(n){if(n.name)return n.name;var r=Sx.call(Ax.call(n),/^function\s*([\w$]+)/);return r?r[1]:null}function Dd(n,r){if(n.indexOf)return n.indexOf(r);for(var o=0,s=n.length;o<s;o++)if(n[o]===r)return o;return-1}function Nx(n){if(!ha||!n||typeof n!="object")return!1;try{ha.call(n);try{ga.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Fx(n){if(!Jo||!n||typeof n!="object")return!1;try{Jo.call(n,Jo);try{Xo.call(n,Xo)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function jx(n){if(!uf||!n||typeof n!="object")return!1;try{return uf.call(n),!0}catch{}return!1}function Bx(n){if(!ga||!n||typeof n!="object")return!1;try{ga.call(n);try{ha.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function $x(n){if(!Xo||!n||typeof n!="object")return!1;try{Xo.call(n,Xo);try{Jo.call(n,Jo)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function Wx(n){return!n||typeof n!="object"?!1:typeof HTMLElement<"u"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Rd(n,r){if(n.length>r.maxStringLength){var o=n.length-r.maxStringLength,s="... "+o+" more character"+(o>1?"s":"");return Rd(ul.call(n,0,r.maxStringLength),r)+s}var l=xr.call(xr.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Hx);return Id(l,"single",r)}function Hx(n){var r=n.charCodeAt(0),o={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return o?"\\"+o:"\\x"+(r<16?"0":"")+wx.call(r.toString(16))}function Yo(n){return"Object("+n+")"}function Fs(n){return n+" { ? }"}function yf(n,r,o,s){var l=s?qs(o,s):qn.call(o,", ");return n+" ("+r+") {"+l+"}"}function zx(n){for(var r=0;r<n.length;r++)if(Dd(n[r],`
|
57
57
|
`)>=0)return!1;return!0}function Ux(n,r){var o;if(n.indent===" ")o=" ";else if(typeof n.indent=="number"&&n.indent>0)o=qn.call(Array(n.indent+1)," ");else return null;return{base:o,prev:qn.call(Array(r+1),o)}}function qs(n,r){if(n.length===0)return"";var o=`
|
58
58
|
`+r.prev+r.base;return o+qn.call(n,","+o)+`
|
59
|
-
`+r.prev}function Qi(n,r){var o=Ks(n),s=[];if(o){s.length=n.length;for(var l=0;l<n.length;l++)s[l]=yr(n,l)?r(n[l],n):""}var d=typeof Ns=="function"?Ns(n):[],h;if(Ao){h={};for(var v=0;v<d.length;v++)h["$"+d[v]]=d[v]}for(var m in n)yr(n,m)&&(o&&String(Number(m))===m&&m<n.length||Ao&&h["$"+m]instanceof Symbol||(wd.call(/[^\w$]/,m)?s.push(r(m,n)+": "+r(n[m],n)):s.push(m+": "+r(n[m],n))));if(typeof Ns=="function")for(var g=0;g<d.length;g++)Cd.call(n,d[g])&&s.push("["+r(d[g])+"]: "+r(n[d[g]],n));return s}var Td=wo,Co=hx,Vx=Ix,Kx=oi,ea=Td("%WeakMap%",!0),ta=Td("%Map%",!0),qx=Co("WeakMap.prototype.get",!0),Gx=Co("WeakMap.prototype.set",!0),Yx=Co("WeakMap.prototype.has",!0),Zx=Co("Map.prototype.get",!0),Jx=Co("Map.prototype.set",!0),Xx=Co("Map.prototype.has",!0),fl=function(n,r){for(var o=n,s;(s=o.next)!==null;o=s)if(s.key===r)return o.next=s.next,s.next=n.next,n.next=s,s},Qx=function(n,r){var o=fl(n,r);return o&&o.value},eA=function(n,r,o){var s=fl(n,r);s?s.value=o:n.next={key:r,next:n.next,value:o}},tA=function(n,r){return!!fl(n,r)},nA=function(){var r,o,s,l={assert:function(d){if(!l.has(d))throw new Kx("Side channel does not contain "+Vx(d))},get:function(d){if(ea&&d&&(typeof d=="object"||typeof d=="function")){if(r)return qx(r,d)}else if(ta){if(o)return Zx(o,d)}else if(s)return Qx(s,d)},has:function(d){if(ea&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Yx(r,d)}else if(ta){if(o)return Xx(o,d)}else if(s)return tA(s,d);return!1},set:function(d,h){ea&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new ea),Gx(r,d,h)):ta?(o||(o=new ta),Jx(o,d,h)):(s||(s={key:{},next:null}),eA(s,d,h))}};return l},rA=String.prototype.replace,oA=/%20/g,js={RFC1738:"RFC1738",RFC3986:"RFC3986"},dl={default:js.RFC3986,formatters:{RFC1738:function(n){return rA.call(n,oA,"+")},RFC3986:function(n){return String(n)}},RFC1738:js.RFC1738,RFC3986:js.RFC3986},iA=dl,Bs=Object.prototype.hasOwnProperty,zr=Array.isArray,Vn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),aA=function(r){for(;r.length>1;){var o=r.pop(),s=o.obj[o.prop];if(zr(s)){for(var l=[],d=0;d<s.length;++d)typeof s[d]<"u"&&l.push(s[d]);o.obj[o.prop]=l}}},Ed=function(r,o){for(var s=o&&o.plainObjects?Object.create(null):{},l=0;l<r.length;++l)typeof r[l]<"u"&&(s[l]=r[l]);return s},sA=function n(r,o,s){if(!o)return r;if(typeof o!="object"){if(zr(r))r.push(o);else if(r&&typeof r=="object")(s&&(s.plainObjects||s.allowPrototypes)||!Bs.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var l=r;return zr(r)&&!zr(o)&&(l=Ed(r,s)),zr(r)&&zr(o)?(o.forEach(function(d,h){if(Bs.call(r,h)){var v=r[h];v&&typeof v=="object"&&d&&typeof d=="object"?r[h]=n(v,d,s):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var v=o[h];return Bs.call(d,h)?d[h]=n(d[h],v,s):d[h]=v,d},l)},lA=function(r,o){return Object.keys(o).reduce(function(s,l){return s[l]=o[l],s},r)},cA=function(n,r,o){var s=n.replace(/\+/g," ");if(o==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch{return s}},uA=function(r,o,s,l,d){if(r.length===0)return r;var h=r;if(typeof r=="symbol"?h=Symbol.prototype.toString.call(r):typeof r!="string"&&(h=String(r)),s==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(y){return"%26%23"+parseInt(y.slice(2),16)+"%3B"});for(var v="",m=0;m<h.length;++m){var g=h.charCodeAt(m);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||d===iA.RFC1738&&(g===40||g===41)){v+=h.charAt(m);continue}if(g<128){v=v+Vn[g];continue}if(g<2048){v=v+(Vn[192|g>>6]+Vn[128|g&63]);continue}if(g<55296||g>=57344){v=v+(Vn[224|g>>12]+Vn[128|g>>6&63]+Vn[128|g&63]);continue}m+=1,g=65536+((g&1023)<<10|h.charCodeAt(m)&1023),v+=Vn[240|g>>18]+Vn[128|g>>12&63]+Vn[128|g>>6&63]+Vn[128|g&63]}return v},fA=function(r){for(var o=[{obj:{o:r},prop:"o"}],s=[],l=0;l<o.length;++l)for(var d=o[l],h=d.obj[d.prop],v=Object.keys(h),m=0;m<v.length;++m){var g=v[m],y=h[g];typeof y=="object"&&y!==null&&s.indexOf(y)===-1&&(o.push({obj:h,prop:g}),s.push(y))}return aA(o),r},dA=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},hA=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},gA=function(r,o){return[].concat(r,o)},_A=function(r,o){if(zr(r)){for(var s=[],l=0;l<r.length;l+=1)s.push(o(r[l]));return s}return o(r)},Md={arrayToObject:Ed,assign:lA,combine:gA,compact:fA,decode:cA,encode:uA,isBuffer:hA,isRegExp:dA,maybeMap:_A,merge:sA},Pd=nA,ia=Md,Qo=dl,vA=Object.prototype.hasOwnProperty,Ld={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Kn=Array.isArray,pA=Array.prototype.push,Od=function(n,r){pA.apply(n,Kn(r)?r:[r])},mA=Date.prototype.toISOString,bf=Qo.default,jt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ia.encode,encodeValuesOnly:!1,format:bf,formatter:Qo.formatters[bf],indices:!1,serializeDate:function(r){return mA.call(r)},skipNulls:!1,strictNullHandling:!1},yA=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},$s={},bA=function n(r,o,s,l,d,h,v,m,g,y,b,w,x,k,E,M,C,T){for(var j=r,ue=T,P=0,Y=!1;(ue=ue.get($s))!==void 0&&!Y;){var K=ue.get(r);if(P+=1,typeof K<"u"){if(K===P)throw new RangeError("Cyclic object value");Y=!0}typeof ue.get($s)>"u"&&(P=0)}if(typeof y=="function"?j=y(o,j):j instanceof Date?j=x(j):s==="comma"&&Kn(j)&&(j=ia.maybeMap(j,function(Se){return Se instanceof Date?x(Se):Se})),j===null){if(h)return g&&!M?g(o,jt.encoder,C,"key",k):o;j=""}if(yA(j)||ia.isBuffer(j)){if(g){var oe=M?o:g(o,jt.encoder,C,"key",k);return[E(oe)+"="+E(g(j,jt.encoder,C,"value",k))]}return[E(o)+"="+E(String(j))]}var U=[];if(typeof j>"u")return U;var O;if(s==="comma"&&Kn(j))M&&g&&(j=ia.maybeMap(j,g)),O=[{value:j.length>0?j.join(",")||null:void 0}];else if(Kn(y))O=y;else{var se=Object.keys(j);O=b?se.sort(b):se}var ee=m?o.replace(/\./g,"%2E"):o,Q=l&&Kn(j)&&j.length===1?ee+"[]":ee;if(d&&Kn(j)&&j.length===0)return Q+"[]";for(var H=0;H<O.length;++H){var z=O[H],ie=typeof z=="object"&&typeof z.value<"u"?z.value:j[z];if(!(v&&ie===null)){var B=w&&m?z.replace(/\./g,"%2E"):z,ve=Kn(j)?typeof s=="function"?s(Q,B):Q:Q+(w?"."+B:"["+B+"]");T.set(r,P);var Le=Pd();Le.set($s,T),Od(U,n(ie,ve,s,l,d,h,v,m,s==="comma"&&M&&Kn(j)?null:g,y,b,w,x,k,E,M,C,Le))}}return U},xA=function(r){if(!r)return jt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.encodeDotInKeys<"u"&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var o=r.charset||jt.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=Qo.default;if(typeof r.format<"u"){if(!vA.call(Qo.formatters,r.format))throw new TypeError("Unknown format option provided.");s=r.format}var l=Qo.formatters[s],d=jt.filter;(typeof r.filter=="function"||Kn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in Ld?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=jt.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:jt.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:jt.addQueryPrefix,allowDots:v,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:jt.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:jt.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?jt.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:jt.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:jt.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:jt.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:jt.encodeValuesOnly,filter:d,format:s,formatter:l,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:jt.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:jt.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:jt.strictNullHandling}},AA=function(n,r){var o=n,s=xA(r),l,d;typeof s.filter=="function"?(d=s.filter,o=d("",o)):Kn(s.filter)&&(d=s.filter,l=d);var h=[];if(typeof o!="object"||o===null)return"";var v=Ld[s.arrayFormat],m=v==="comma"&&s.commaRoundTrip;l||(l=Object.keys(o)),s.sort&&l.sort(s.sort);for(var g=Pd(),y=0;y<l.length;++y){var b=l[y];s.skipNulls&&o[b]===null||Od(h,bA(o[b],b,v,m,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,g))}var w=h.join(s.delimiter),x=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),w.length>0?x+w:""},So=Md,Gs=Object.prototype.hasOwnProperty,SA=Array.isArray,Pt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:So.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},wA=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Nd=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},CA="utf8=%26%2310003%3B",IA="utf8=%E2%9C%93",kA=function(r,o){var s={__proto__:null},l=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=l.split(o.delimiter,d),v=-1,m,g=o.charset;if(o.charsetSentinel)for(m=0;m<h.length;++m)h[m].indexOf("utf8=")===0&&(h[m]===IA?g="utf-8":h[m]===CA&&(g="iso-8859-1"),v=m,m=h.length);for(m=0;m<h.length;++m)if(m!==v){var y=h[m],b=y.indexOf("]="),w=b===-1?y.indexOf("="):b+1,x,k;w===-1?(x=o.decoder(y,Pt.decoder,g,"key"),k=o.strictNullHandling?null:""):(x=o.decoder(y.slice(0,w),Pt.decoder,g,"key"),k=So.maybeMap(Nd(y.slice(w+1),o),function(M){return o.decoder(M,Pt.decoder,g,"value")})),k&&o.interpretNumericEntities&&g==="iso-8859-1"&&(k=wA(k)),y.indexOf("[]=")>-1&&(k=SA(k)?[k]:k);var E=Gs.call(s,x);E&&o.duplicates==="combine"?s[x]=So.combine(s[x],k):(!E||o.duplicates==="last")&&(s[x]=k)}return s},DA=function(n,r,o,s){for(var l=s?r:Nd(r,o),d=n.length-1;d>=0;--d){var h,v=n[d];if(v==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&l===""?[]:[].concat(l);else{h=o.plainObjects?Object.create(null):{};var m=v.charAt(0)==="["&&v.charAt(v.length-1)==="]"?v.slice(1,-1):v,g=o.decodeDotInKeys?m.replace(/%2E/g,"."):m,y=parseInt(g,10);!o.parseArrays&&g===""?h={0:l}:!isNaN(y)&&v!==g&&String(y)===g&&y>=0&&o.parseArrays&&y<=o.arrayLimit?(h=[],h[y]=l):g!=="__proto__"&&(h[g]=l)}l=h}return l},RA=function(r,o,s,l){if(r){var d=s.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,v=/(\[[^[\]]*])/g,m=s.depth>0&&h.exec(d),g=m?d.slice(0,m.index):d,y=[];if(g){if(!s.plainObjects&&Gs.call(Object.prototype,g)&&!s.allowPrototypes)return;y.push(g)}for(var b=0;s.depth>0&&(m=v.exec(d))!==null&&b<s.depth;){if(b+=1,!s.plainObjects&&Gs.call(Object.prototype,m[1].slice(1,-1))&&!s.allowPrototypes)return;y.push(m[1])}return m&&y.push("["+d.slice(m.index)+"]"),DA(y,o,s,l)}},TA=function(r){if(!r)return Pt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.decodeDotInKeys<"u"&&typeof r.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(r.decoder!==null&&typeof r.decoder<"u"&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=typeof r.charset>"u"?Pt.charset:r.charset,s=typeof r.duplicates>"u"?Pt.duplicates:r.duplicates;if(s!=="combine"&&s!=="first"&&s!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var l=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:Pt.allowDots:!!r.allowDots;return{allowDots:l,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Pt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Pt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Pt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Pt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Pt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Pt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:Pt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:Pt.decoder,delimiter:typeof r.delimiter=="string"||So.isRegExp(r.delimiter)?r.delimiter:Pt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Pt.depth,duplicates:s,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Pt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Pt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Pt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Pt.strictNullHandling}},EA=function(n,r){var o=TA(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var s=typeof n=="string"?kA(n,o):n,l=o.plainObjects?Object.create(null):{},d=Object.keys(s),h=0;h<d.length;++h){var v=d[h],m=RA(v,s[v],o,typeof n=="string");l=So.merge(l,m,o)}return o.allowSparse===!0?l:So.compact(l)},MA=AA,PA=EA,LA=dl,OA={formats:LA,parse:PA,stringify:MA};const NA=xf(OA),Ys={StoredContexts:{},defaultHandler:()=>{}},Fd={Init:()=>{},Create:n=>{const r=n.method+n.url;return Ys.StoredContexts[r]=n,FA(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Ys.defaultHandler=n}};function FA(n){const r=`[${n.method}] ${n.url}`;return{Call:async s=>{let{url:l,method:d,stream:h,paramType:v}=n;const{po:m,onStream:g,onStreamEnd:y,noDefaultHandle:b=[]}=s??{};(v==="query"||d==="GET")&&m!==void 0&&(l+="?"+NA.stringify(m,{arrayFormat:"comma"}));const w={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(v==="form"){const E=new FormData;if(m!==void 0)for(const M in m){const C=m[M];E.append(M,C)}w.body=E}else(v==="body"||v===void 0&&n.method!=="GET")&&(w.body=JSON.stringify(m),w.headers["Content-Type"]="application/json;charset=UTF-8");let x={errorCode:0,message:""};const k=Date.now();l=Fd.FetchBaseUrl()+l;try{let E=await fetch(l,w);if(E.ok===!1)return x.errorCode=E.status,x.message=E.statusText,x;{const M=new TextDecoder("utf-8");if(h){if(E.body){let C=E.body.getReader(),T="";for(;;){const j=await C.read();if(j.done)break;const ue=M.decode(j.value).trim();T+=ue;let P=null;try{const Y=ue.split("\0");let K=Y[Y.length-1];for(let oe=Y.length-2;oe>=0;oe--)if(Y[oe].trim().length!==0){K=Y[oe];break}P=await JSON.parse(K)}catch{try{const K=T.split("\0");let oe=K[K.length-1];for(let U=K.length-2;U>=0;U--)if(K[U].trim().length!==0){oe=K[U];break}P=await JSON.parse(oe)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?x.errorCode=P.err_code:(x.errorCode=0,x.data=P,T="",j.done?y==null||y(x.data):g==null||g(x.data))),j.done)break}}}else if(E.body){const T=await E.body.getReader().read(),j=M.decode(T.value);if(j==="null")return x;{let ue=await JSON.parse(j.replaceAll("\0",""));Object.keys(ue).includes("err_code")?(x.errorCode=ue.err_code,x.message=ue.err_msg):x.data=ue}}}}catch(E){console.warn(E),x.errorCode=-1,x.message=E.message}return console.debug(`${r} ${Date.now()-k}ms`),b!==!0&&await Ys.defaultHandler(x,b),x}}}async function jA(n){const r=new Promise((o,s)=>{const l=new FileReader;l.onloadend=()=>{l.result?typeof l.result=="string"?o(l.result):s(new Error("Failed to convert file to Base64: Invalid result type.")):s(new Error("Failed to convert file to Base64: Empty result."))},l.onerror=s,l.readAsDataURL(n)});try{return await r}catch{return}}function BA(n,r){var v,m;const o=n.split(","),s=(m=(v=o[0])==null?void 0:v.match(/:(.*?);/))==null?void 0:m[1],l=atob(o[1]);let d=l.length;const h=new Uint8Array(d);for(;d--;)h[d]=l.charCodeAt(d);return new File([h],r,{type:s})}const $A={toBase64:jA,toFile:BA};exports.ABase=mt;exports.ABaseStyleKeys=Nf;exports.AButton=rn;exports.AButtonStyleKeys=jf;exports.AButtonTypes=Dm;exports.ACheckBox=yo;exports.ACheckBoxStyleKeys=Wf;exports.AClock=Km;exports.AColFrame=sd;exports.ADatePicker=ol;exports.ADatePickerStyleKeys=Jf;exports.ADatePickerTypes=K2;exports.ADateRangePicker=nl;exports.ADateRangePickerStyleKeys=Xf;exports.ADialog=t3;exports.ADialogStyleKeys=Hf;exports.ADialogTypes=e3;exports.ADivideFrame=ly;exports.AFileBox=f3;exports.AFileBoxStyleKeys=Gf;exports.AFloatMenu=p3;exports.AFloatMenuKeys=nd;exports.AFrameStyleKeys=td;exports.AGrow=Kr;exports.AIcon=Tt;exports.AIconButton=_o;exports.AIconButtonStyleKeys=Qf;exports.AIconButtonTypes=Rm;exports.AIconHOC=dm;exports.AIcons=Js;exports.AInput=Sr;exports.AInputStyleKeys=Bf;exports.AInputTypes=Sy;exports.AListView=I3;exports.AListViewStyleKeys=Yf;exports.ALoadingBorder=il;exports.ALoadingBorderKeys=rd;exports.AMultiSelect=K3;exports.AMultiSelectStyleKeys=Uf;exports.ANumInput=x3;exports.AOverflowFrame=ti;exports.ARowFrame=Yn;exports.ASelect=qr;exports.ASelectStyleKeys=zf;exports.ASelectTypes=qy;exports.ASpace=Ut;exports.AStepper=s4;exports.AStepperStyleKeys=Zf;exports.ASwitch=d4;exports.ASwitchFrame=ld;exports.ASwitchStyleKeys=Kf;exports.ATab=A4;exports.ATabStyleKeys=qf;exports.ATabTypes=x4;exports.ATable=Cb;exports.ATableStyleKeys=ed;exports.AText=gd;exports.ATextArea=jb;exports.ATextAreaStyleKeys=$f;exports.ATextAreaTypes=Fb;exports.ATheme=na;exports.AThemeButton=Nm;exports.ATooltip=Ef;exports.ATooltipStyleKeys=Ff;exports.ATree=h6;exports.ATreeStyleKeys=Vf;exports.AWrap=bo;exports.AWrapTypes=Vm;exports.ApiContext=Fd;exports.ComponentStyleKeys=Tm;exports.CreateADC=s3;exports.Dummy=Sf;exports.EDir12=ri;exports.EDir4=zt;exports.IsCursorPointer=If;exports.IsFixedShape=Cf;exports.IsInteractive=kf;exports.NoSelect=wf;exports.Resources=Zn;exports.SetResources=Ly;exports.applySemanticMode=el;exports.bound=Zo;exports.cbF=ft;exports.createEvent=Hr;exports.dateF=we;exports.defaultPredicate=fd;exports.fetchToken=Of;exports.fileF=$A;exports.getMonthsOptions=ni;exports.getYearsOptions=rl;exports.numF=cd;exports.objF=Ne;exports.paletteColors=Mf;exports.paletteModes=Qs;exports.sF=X;exports.semanticColors=Lf;exports.semanticModes=mo;exports.setDir12Style=Xs;exports.setDir12StyleElem=Rf;exports.strF=ad;exports.tableF=mr;exports.treeF=ar;exports.useADialogCore=i3;exports.useADialogCores=o3;exports.useEvent=hd;exports.useInit=ud;exports.useTheme=p6;exports.useValues=Lt;
|
59
|
+
`+r.prev}function Qi(n,r){var o=Ks(n),s=[];if(o){s.length=n.length;for(var l=0;l<n.length;l++)s[l]=yr(n,l)?r(n[l],n):""}var d=typeof Ns=="function"?Ns(n):[],h;if(Ao){h={};for(var v=0;v<d.length;v++)h["$"+d[v]]=d[v]}for(var m in n)yr(n,m)&&(o&&String(Number(m))===m&&m<n.length||Ao&&h["$"+m]instanceof Symbol||(wd.call(/[^\w$]/,m)?s.push(r(m,n)+": "+r(n[m],n)):s.push(m+": "+r(n[m],n))));if(typeof Ns=="function")for(var g=0;g<d.length;g++)Cd.call(n,d[g])&&s.push("["+r(d[g])+"]: "+r(n[d[g]],n));return s}var Td=wo,Co=hx,Vx=Ix,Kx=oi,ea=Td("%WeakMap%",!0),ta=Td("%Map%",!0),qx=Co("WeakMap.prototype.get",!0),Gx=Co("WeakMap.prototype.set",!0),Yx=Co("WeakMap.prototype.has",!0),Zx=Co("Map.prototype.get",!0),Jx=Co("Map.prototype.set",!0),Xx=Co("Map.prototype.has",!0),fl=function(n,r){for(var o=n,s;(s=o.next)!==null;o=s)if(s.key===r)return o.next=s.next,s.next=n.next,n.next=s,s},Qx=function(n,r){var o=fl(n,r);return o&&o.value},eA=function(n,r,o){var s=fl(n,r);s?s.value=o:n.next={key:r,next:n.next,value:o}},tA=function(n,r){return!!fl(n,r)},nA=function(){var r,o,s,l={assert:function(d){if(!l.has(d))throw new Kx("Side channel does not contain "+Vx(d))},get:function(d){if(ea&&d&&(typeof d=="object"||typeof d=="function")){if(r)return qx(r,d)}else if(ta){if(o)return Zx(o,d)}else if(s)return Qx(s,d)},has:function(d){if(ea&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Yx(r,d)}else if(ta){if(o)return Xx(o,d)}else if(s)return tA(s,d);return!1},set:function(d,h){ea&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new ea),Gx(r,d,h)):ta?(o||(o=new ta),Jx(o,d,h)):(s||(s={key:{},next:null}),eA(s,d,h))}};return l},rA=String.prototype.replace,oA=/%20/g,js={RFC1738:"RFC1738",RFC3986:"RFC3986"},dl={default:js.RFC3986,formatters:{RFC1738:function(n){return rA.call(n,oA,"+")},RFC3986:function(n){return String(n)}},RFC1738:js.RFC1738,RFC3986:js.RFC3986},iA=dl,Bs=Object.prototype.hasOwnProperty,zr=Array.isArray,Vn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),aA=function(r){for(;r.length>1;){var o=r.pop(),s=o.obj[o.prop];if(zr(s)){for(var l=[],d=0;d<s.length;++d)typeof s[d]<"u"&&l.push(s[d]);o.obj[o.prop]=l}}},Ed=function(r,o){for(var s=o&&o.plainObjects?Object.create(null):{},l=0;l<r.length;++l)typeof r[l]<"u"&&(s[l]=r[l]);return s},sA=function n(r,o,s){if(!o)return r;if(typeof o!="object"){if(zr(r))r.push(o);else if(r&&typeof r=="object")(s&&(s.plainObjects||s.allowPrototypes)||!Bs.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var l=r;return zr(r)&&!zr(o)&&(l=Ed(r,s)),zr(r)&&zr(o)?(o.forEach(function(d,h){if(Bs.call(r,h)){var v=r[h];v&&typeof v=="object"&&d&&typeof d=="object"?r[h]=n(v,d,s):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var v=o[h];return Bs.call(d,h)?d[h]=n(d[h],v,s):d[h]=v,d},l)},lA=function(r,o){return Object.keys(o).reduce(function(s,l){return s[l]=o[l],s},r)},cA=function(n,r,o){var s=n.replace(/\+/g," ");if(o==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch{return s}},uA=function(r,o,s,l,d){if(r.length===0)return r;var h=r;if(typeof r=="symbol"?h=Symbol.prototype.toString.call(r):typeof r!="string"&&(h=String(r)),s==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(y){return"%26%23"+parseInt(y.slice(2),16)+"%3B"});for(var v="",m=0;m<h.length;++m){var g=h.charCodeAt(m);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||d===iA.RFC1738&&(g===40||g===41)){v+=h.charAt(m);continue}if(g<128){v=v+Vn[g];continue}if(g<2048){v=v+(Vn[192|g>>6]+Vn[128|g&63]);continue}if(g<55296||g>=57344){v=v+(Vn[224|g>>12]+Vn[128|g>>6&63]+Vn[128|g&63]);continue}m+=1,g=65536+((g&1023)<<10|h.charCodeAt(m)&1023),v+=Vn[240|g>>18]+Vn[128|g>>12&63]+Vn[128|g>>6&63]+Vn[128|g&63]}return v},fA=function(r){for(var o=[{obj:{o:r},prop:"o"}],s=[],l=0;l<o.length;++l)for(var d=o[l],h=d.obj[d.prop],v=Object.keys(h),m=0;m<v.length;++m){var g=v[m],y=h[g];typeof y=="object"&&y!==null&&s.indexOf(y)===-1&&(o.push({obj:h,prop:g}),s.push(y))}return aA(o),r},dA=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},hA=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},gA=function(r,o){return[].concat(r,o)},_A=function(r,o){if(zr(r)){for(var s=[],l=0;l<r.length;l+=1)s.push(o(r[l]));return s}return o(r)},Md={arrayToObject:Ed,assign:lA,combine:gA,compact:fA,decode:cA,encode:uA,isBuffer:hA,isRegExp:dA,maybeMap:_A,merge:sA},Pd=nA,ia=Md,Qo=dl,vA=Object.prototype.hasOwnProperty,Ld={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Kn=Array.isArray,pA=Array.prototype.push,Od=function(n,r){pA.apply(n,Kn(r)?r:[r])},mA=Date.prototype.toISOString,bf=Qo.default,jt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ia.encode,encodeValuesOnly:!1,format:bf,formatter:Qo.formatters[bf],indices:!1,serializeDate:function(r){return mA.call(r)},skipNulls:!1,strictNullHandling:!1},yA=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},$s={},bA=function n(r,o,s,l,d,h,v,m,g,y,b,w,x,k,E,M,C,T){for(var j=r,ue=T,P=0,Y=!1;(ue=ue.get($s))!==void 0&&!Y;){var K=ue.get(r);if(P+=1,typeof K<"u"){if(K===P)throw new RangeError("Cyclic object value");Y=!0}typeof ue.get($s)>"u"&&(P=0)}if(typeof y=="function"?j=y(o,j):j instanceof Date?j=x(j):s==="comma"&&Kn(j)&&(j=ia.maybeMap(j,function(Se){return Se instanceof Date?x(Se):Se})),j===null){if(h)return g&&!M?g(o,jt.encoder,C,"key",k):o;j=""}if(yA(j)||ia.isBuffer(j)){if(g){var oe=M?o:g(o,jt.encoder,C,"key",k);return[E(oe)+"="+E(g(j,jt.encoder,C,"value",k))]}return[E(o)+"="+E(String(j))]}var U=[];if(typeof j>"u")return U;var O;if(s==="comma"&&Kn(j))M&&g&&(j=ia.maybeMap(j,g)),O=[{value:j.length>0?j.join(",")||null:void 0}];else if(Kn(y))O=y;else{var se=Object.keys(j);O=b?se.sort(b):se}var ee=m?o.replace(/\./g,"%2E"):o,Q=l&&Kn(j)&&j.length===1?ee+"[]":ee;if(d&&Kn(j)&&j.length===0)return Q+"[]";for(var H=0;H<O.length;++H){var z=O[H],ie=typeof z=="object"&&typeof z.value<"u"?z.value:j[z];if(!(v&&ie===null)){var B=w&&m?z.replace(/\./g,"%2E"):z,ve=Kn(j)?typeof s=="function"?s(Q,B):Q:Q+(w?"."+B:"["+B+"]");T.set(r,P);var Le=Pd();Le.set($s,T),Od(U,n(ie,ve,s,l,d,h,v,m,s==="comma"&&M&&Kn(j)?null:g,y,b,w,x,k,E,M,C,Le))}}return U},xA=function(r){if(!r)return jt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.encodeDotInKeys<"u"&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var o=r.charset||jt.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=Qo.default;if(typeof r.format<"u"){if(!vA.call(Qo.formatters,r.format))throw new TypeError("Unknown format option provided.");s=r.format}var l=Qo.formatters[s],d=jt.filter;(typeof r.filter=="function"||Kn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in Ld?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=jt.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:jt.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:jt.addQueryPrefix,allowDots:v,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:jt.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:jt.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?jt.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:jt.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:jt.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:jt.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:jt.encodeValuesOnly,filter:d,format:s,formatter:l,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:jt.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:jt.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:jt.strictNullHandling}},AA=function(n,r){var o=n,s=xA(r),l,d;typeof s.filter=="function"?(d=s.filter,o=d("",o)):Kn(s.filter)&&(d=s.filter,l=d);var h=[];if(typeof o!="object"||o===null)return"";var v=Ld[s.arrayFormat],m=v==="comma"&&s.commaRoundTrip;l||(l=Object.keys(o)),s.sort&&l.sort(s.sort);for(var g=Pd(),y=0;y<l.length;++y){var b=l[y];s.skipNulls&&o[b]===null||Od(h,bA(o[b],b,v,m,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,g))}var w=h.join(s.delimiter),x=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),w.length>0?x+w:""},So=Md,Gs=Object.prototype.hasOwnProperty,SA=Array.isArray,Pt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:So.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},wA=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Nd=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},CA="utf8=%26%2310003%3B",IA="utf8=%E2%9C%93",kA=function(r,o){var s={__proto__:null},l=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=l.split(o.delimiter,d),v=-1,m,g=o.charset;if(o.charsetSentinel)for(m=0;m<h.length;++m)h[m].indexOf("utf8=")===0&&(h[m]===IA?g="utf-8":h[m]===CA&&(g="iso-8859-1"),v=m,m=h.length);for(m=0;m<h.length;++m)if(m!==v){var y=h[m],b=y.indexOf("]="),w=b===-1?y.indexOf("="):b+1,x,k;w===-1?(x=o.decoder(y,Pt.decoder,g,"key"),k=o.strictNullHandling?null:""):(x=o.decoder(y.slice(0,w),Pt.decoder,g,"key"),k=So.maybeMap(Nd(y.slice(w+1),o),function(M){return o.decoder(M,Pt.decoder,g,"value")})),k&&o.interpretNumericEntities&&g==="iso-8859-1"&&(k=wA(k)),y.indexOf("[]=")>-1&&(k=SA(k)?[k]:k);var E=Gs.call(s,x);E&&o.duplicates==="combine"?s[x]=So.combine(s[x],k):(!E||o.duplicates==="last")&&(s[x]=k)}return s},DA=function(n,r,o,s){for(var l=s?r:Nd(r,o),d=n.length-1;d>=0;--d){var h,v=n[d];if(v==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&l===""?[]:[].concat(l);else{h=o.plainObjects?Object.create(null):{};var m=v.charAt(0)==="["&&v.charAt(v.length-1)==="]"?v.slice(1,-1):v,g=o.decodeDotInKeys?m.replace(/%2E/g,"."):m,y=parseInt(g,10);!o.parseArrays&&g===""?h={0:l}:!isNaN(y)&&v!==g&&String(y)===g&&y>=0&&o.parseArrays&&y<=o.arrayLimit?(h=[],h[y]=l):g!=="__proto__"&&(h[g]=l)}l=h}return l},RA=function(r,o,s,l){if(r){var d=s.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,v=/(\[[^[\]]*])/g,m=s.depth>0&&h.exec(d),g=m?d.slice(0,m.index):d,y=[];if(g){if(!s.plainObjects&&Gs.call(Object.prototype,g)&&!s.allowPrototypes)return;y.push(g)}for(var b=0;s.depth>0&&(m=v.exec(d))!==null&&b<s.depth;){if(b+=1,!s.plainObjects&&Gs.call(Object.prototype,m[1].slice(1,-1))&&!s.allowPrototypes)return;y.push(m[1])}return m&&y.push("["+d.slice(m.index)+"]"),DA(y,o,s,l)}},TA=function(r){if(!r)return Pt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.decodeDotInKeys<"u"&&typeof r.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(r.decoder!==null&&typeof r.decoder<"u"&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=typeof r.charset>"u"?Pt.charset:r.charset,s=typeof r.duplicates>"u"?Pt.duplicates:r.duplicates;if(s!=="combine"&&s!=="first"&&s!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var l=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:Pt.allowDots:!!r.allowDots;return{allowDots:l,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Pt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Pt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Pt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Pt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Pt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Pt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:Pt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:Pt.decoder,delimiter:typeof r.delimiter=="string"||So.isRegExp(r.delimiter)?r.delimiter:Pt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Pt.depth,duplicates:s,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Pt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Pt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Pt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Pt.strictNullHandling}},EA=function(n,r){var o=TA(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var s=typeof n=="string"?kA(n,o):n,l=o.plainObjects?Object.create(null):{},d=Object.keys(s),h=0;h<d.length;++h){var v=d[h],m=RA(v,s[v],o,typeof n=="string");l=So.merge(l,m,o)}return o.allowSparse===!0?l:So.compact(l)},MA=AA,PA=EA,LA=dl,OA={formats:LA,parse:PA,stringify:MA};const NA=xf(OA),Ys={StoredContexts:{},defaultHandler:()=>{}},Fd={Init:()=>{},Create:n=>{const r=n.method+n.url;return Ys.StoredContexts[r]=n,FA(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Ys.defaultHandler=n}};function FA(n){const r=`[${n.method}] ${n.url}`;return{Call:async s=>{let{url:l,method:d,stream:h,paramType:v}=n;const{po:m,onStream:g,onStreamEnd:y,noDefaultHandle:b=[]}=s??{};(v==="query"||d==="GET")&&m!==void 0&&(l+="?"+NA.stringify(m,{arrayFormat:"comma"}));const w={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(v==="form"){const E=new FormData;if(m!==void 0)for(const M in m){const C=m[M];E.append(M,C)}w.body=E}else(v==="body"||v===void 0&&n.method!=="GET")&&(w.body=JSON.stringify(m),w.headers["Content-Type"]="application/json;charset=UTF-8");let x={errorCode:0,message:""};const k=Date.now();l=Fd.FetchBaseUrl()+l;try{let E=await fetch(l,w);if(E.ok===!1)return x.errorCode=E.status,x.message=E.statusText,x;{const M=new TextDecoder("utf-8");if(h){if(E.body){let C=E.body.getReader(),T="";for(;;){const j=await C.read();if(j.done)break;const ue=M.decode(j.value).trim();T+=ue;let P=null;try{const Y=ue.split("\0");let K=Y[Y.length-1];for(let oe=Y.length-2;oe>=0;oe--)if(Y[oe].trim().length!==0){K=Y[oe];break}P=await JSON.parse(K)}catch{try{const K=T.split("\0");let oe=K[K.length-1];for(let U=K.length-2;U>=0;U--)if(K[U].trim().length!==0){oe=K[U];break}P=await JSON.parse(oe)}catch{}}if(P!=null&&(Object.keys(P).includes("err_code")?x.errorCode=P.err_code:(x.errorCode=0,x.data=P,T="",j.done?y==null||y(x.data):g==null||g(x.data))),j.done)break}}}else if(E.body){const T=await E.body.getReader().read(),j=M.decode(T.value);if(j==="null")return x;{let ue=await JSON.parse(j.replaceAll("\0",""));Object.keys(ue).includes("err_code")?(x.errorCode=ue.err_code,x.message=ue.err_msg):x.data=ue}}}}catch(E){console.warn(E),x.errorCode=-1,x.message=E.message}return console.debug(`${r} ${Date.now()-k}ms`),b!==!0&&await Ys.defaultHandler(x,b),x}}}async function jA(n){const r=new Promise((o,s)=>{const l=new FileReader;l.onloadend=()=>{l.result?typeof l.result=="string"?o(l.result):s(new Error("Failed to convert file to Base64: Invalid result type.")):s(new Error("Failed to convert file to Base64: Empty result."))},l.onerror=s,l.readAsDataURL(n)});try{return await r}catch{return}}function BA(n,r){var v,m;const o=n.split(","),s=(m=(v=o[0])==null?void 0:v.match(/:(.*?);/))==null?void 0:m[1],l=atob(o[1]);let d=l.length;const h=new Uint8Array(d);for(;d--;)h[d]=l.charCodeAt(d);return new File([h],r,{type:s})}const $A={toBase64:jA,toFile:BA};exports.ABase=mt;exports.ABaseStyleKeys=Nf;exports.AButton=rn;exports.AButtonStyleKeys=jf;exports.AButtonTypes=Dm;exports.ACheckBox=yo;exports.ACheckBoxStyleKeys=Wf;exports.AClock=Km;exports.AColFrame=sd;exports.ADatePicker=ol;exports.ADatePickerStyleKeys=Jf;exports.ADatePickerTypes=K2;exports.ADateRangePicker=nl;exports.ADateRangePickerStyleKeys=Xf;exports.ADialog=t3;exports.ADialogStyleKeys=Hf;exports.ADialogTypes=e3;exports.ADivideFrame=ly;exports.AFileBox=f3;exports.AFileBoxStyleKeys=Gf;exports.AFloatMenu=p3;exports.AFloatMenuKeys=nd;exports.AFrameStyleKeys=td;exports.AGrow=Kr;exports.AIcon=Tt;exports.AIconButton=_o;exports.AIconButtonStyleKeys=Qf;exports.AIconButtonTypes=Rm;exports.AIconHOC=dm;exports.AIcons=Js;exports.AInput=Sr;exports.AInputStyleKeys=Bf;exports.AInputTypes=Sy;exports.AListView=I3;exports.AListViewStyleKeys=Yf;exports.ALoadingBorder=il;exports.ALoadingBorderKeys=rd;exports.AMultiSelect=K3;exports.AMultiSelectStyleKeys=Uf;exports.ANumInput=x3;exports.AOverflowFrame=ti;exports.ARowFrame=Yn;exports.ASelect=qr;exports.ASelectStyleKeys=zf;exports.ASelectTypes=qy;exports.ASpace=Ut;exports.AStepper=s4;exports.AStepperStyleKeys=Zf;exports.ASwitch=d4;exports.ASwitchFrame=ld;exports.ASwitchStyleKeys=Kf;exports.ATab=A4;exports.ATabStyleKeys=qf;exports.ATabTypes=x4;exports.ATable=Cb;exports.ATableStyleKeys=ed;exports.AText=gd;exports.ATextArea=jb;exports.ATextAreaStyleKeys=$f;exports.ATextAreaTypes=Fb;exports.AThemeButton=Nm;exports.AThemes=na;exports.ATooltip=Ef;exports.ATooltipStyleKeys=Ff;exports.ATree=h6;exports.ATreeStyleKeys=Vf;exports.AWrap=bo;exports.AWrapTypes=Vm;exports.ApiContext=Fd;exports.ComponentStyleKeys=Tm;exports.CreateADC=s3;exports.Dummy=Sf;exports.EDir12=ri;exports.EDir4=zt;exports.IsCursorPointer=If;exports.IsFixedShape=Cf;exports.IsInteractive=kf;exports.NoSelect=wf;exports.Resources=Zn;exports.SetResources=Ly;exports.applySemanticMode=el;exports.bound=Zo;exports.cbF=ft;exports.createEvent=Hr;exports.dateF=we;exports.defaultPredicate=fd;exports.fetchToken=Of;exports.fileF=$A;exports.getMonthsOptions=ni;exports.getYearsOptions=rl;exports.numF=cd;exports.objF=Ne;exports.paletteColors=Mf;exports.paletteModes=Qs;exports.sF=X;exports.semanticColors=Lf;exports.semanticModes=mo;exports.setDir12Style=Xs;exports.setDir12StyleElem=Rf;exports.strF=ad;exports.tableF=mr;exports.treeF=ar;exports.useADialogCore=i3;exports.useADialogCores=o3;exports.useEvent=hd;exports.useInit=ud;exports.useTheme=p6;exports.useValues=Lt;
|
package/dist/index.es.js
CHANGED
@@ -11283,8 +11283,8 @@ export {
|
|
11283
11283
|
q5 as ATextArea,
|
11284
11284
|
sy as ATextAreaStyleKeys,
|
11285
11285
|
K5 as ATextAreaTypes,
|
11286
|
-
Pl as ATheme,
|
11287
11286
|
S5 as AThemeButton,
|
11287
|
+
Pl as AThemes,
|
11288
11288
|
Wp as ATooltip,
|
11289
11289
|
iy as ATooltipStyleKeys,
|
11290
11290
|
G5 as ATree,
|