ados-rcm 1.0.105 → 1.0.106

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.
@@ -248,6 +248,6 @@ export type TADialogActions<T extends string> = {
248
248
  };
249
249
  export declare const useADialogCores: <T extends string>(...dlgNames: T[]) => TADialogCores<T>;
250
250
  export declare const useADialogCore: () => IADialogCore;
251
- export declare const createADC: <P extends {
251
+ export declare const CreateADC: <P extends {
252
252
  dlgCore: IADialogCore;
253
253
  }>(Builder: (props: P) => JSX.Element) => (props: P) => import("react/jsx-runtime").JSX.Element;
package/dist/index.cjs.js CHANGED
@@ -55,4 +55,4 @@ function print() { __p += __j.call(arguments, '') }
55
55
  `);return r.map((o,a)=>l.jsxs(f.Fragment,{children:[o,a!==r.length-1&&l.jsx("br",{})]},a))}const ix="_Base_uehjm_1",ox="_ATextArea_uehjm_5",ax="_Primary_uehjm_33",sx="_UnAvailable_uehjm_38",lx="_Secondary_uehjm_46",$o={Base:ix,ATextArea:ox,Primary:ax,UnAvailable:sx,Secondary:lx,Error:"_Error_uehjm_58"},cx=n=>{let{onEnterPress:r,type:o="Primary",textAreaRef:a,useValue:c,rows:d,readonly:h,placeholder:y,maxLength:v,tabIndex:_,autoFocus:C,textAreaProps:m,wrapProps:S,helperText:w,label:R,wrapType:M,...P}=n;const j=f.useMemo(()=>P.isDisabled||P.isLoading,[P.isDisabled,P.isLoading]),[W,I]=St(c,""),te=f.useCallback(E=>{I&&I(E)},[I]),L=f.useCallback(E=>{var O;j||(te(E.target.value),(O=m==null?void 0:m.onChange)==null||O.call(m,E))},[j,te,m]),N=f.useCallback(E=>{var O;if(!j&&(r==null||r(E.currentTarget.value),(O=m==null?void 0:m.onKeyDown)==null||O.call(m,E),E.key==="Tab")){const X=E.currentTarget.selectionStart,oe=E.currentTarget.selectionEnd;E.currentTarget.value=E.currentTarget.value.substring(0,X)+" "+E.currentTarget.value.substring(oe),E.currentTarget.selectionStart=E.currentTarget.selectionEnd=X+1,E.preventDefault()}},[j,r,m]);return l.jsx(Gn,{wrapProps:S,label:R,helperText:w,wrapType:M??o==="Error"?"Error":"Default",children:l.jsx(ct,{...P,className:re.clsx($o.Base,P.className),children:l.jsx("textarea",{...m,className:re.clsx($o.ATextArea,$o[o],j&&$o.UnAvailable,m==null?void 0:m.className),value:W,rows:d,readOnly:h,onChange:L,onKeyDown:N,placeholder:y,maxLength:v,tabIndex:P.isDisabled||P.isLoading?-1:_,autoFocus:C,ref:a})})})},Yn=[],Gs={"--Font":"400 14px Malgun Gothic","--Body-transition":"background-color 0.3s, color 0.3s","--black_and_white-black":"#000000","--black_and_white-white":"#ffffff","--black_and_white-white-02":"#f5f5f5","--black_and_white-white-03":"#ebebeb","--gray-deep-gray":"#161616","--gray-deep-gray2":"#27292a","--gray-gray-01":"#f3f3f3","--gray-gray-02":"#dfdfdf","--gray-gray-03":"#cacaca","--gray-gray-04":"#b6b6b6","--gray-gray-05":"#a1a1a1","--gray-gray-06":"#8b8c8d","--gray-gray-07":"#757679","--gray-gray-08":"#5f6164","--gray-gray-09":"#4b4d50","--gray-gray-10":"#37393b","--gray-l_add_d-gray":"#888888","--orange-orange-01":"#fff0e7","--orange-orange-02":"#ffd4bc","--orange-orange-03":"#ffb991","--orange-orange-04":"#ff9e65","--orange-orange-05":"#ff823a","--orange-orange-06":"#ff670f","--orange-orange-07":"#d64f00","--orange-orange-08":"#ad4000","--orange-orange-09":"#853100","--orange-orange-10":"#5c2200","--red-red-01":"#ffebeb","--red-red-02":"#ffbebe","--red-red-03":"#ff9191","--red-red-04":"#ff6464","--red-red-05":"#ef3333","--red-red-06":"#cd1f1f","--red-red-07":"#ab0f0f","--red-red-08":"#890303","--red-red-09":"#670000","--red-red-10":"#450000","--d-blue-blue-01":"#d9e4ec","--d-blue-blue-02":"#a3bed1","--d-blue-blue-03":"#6d99b6","--d-blue-blue-04":"#3e93b0","--d-blue-blue-05":"#187b99","--d-blue-blue-06":"#0f6c82","--d-blue-blue-07":"#075d6b","--d-blue-blue-08":"#03505b","--d-blue-blue-09":"#01424a","--d-blue-blue-10":"#003339","--l-blue-blue-01":"#eef2ff","--l-blue-blue-02":"#c9d5ff","--l-blue-blue-03":"#a3b8ff","--l-blue-blue-04":"#7e9cff","--l-blue-blue-05":"#557af6","--l-blue-blue-06":"#3d60d4","--l-blue-blue-07":"#2848b2","--l-blue-blue-08":"#183390","--l-blue-blue-09":"#0b226e","--l-blue-blue-10":"#03144c","--yellow-yellow-01":"#ebcc3440","--Scrollbar-border-radius":"6px","--Scrollbar-width":"12px","--ATheme":"Light","--Body-background-color":"#ffffff","--Body-color":"#5f6164","--action-fill-hover-primary":"var(--l-blue-blue-06)","--action-fill-press-primary":"var(--l-blue-blue-09)","--action-fill-hover-secondary":"var(--gray-gray-01)","--action-fill-press-secondary":"var(--gray-gray-03)","--action-fill-hover-tertiary":"var(--black_and_white-white-02)","--action-fill-press-tertiary":"var(--black_and_white-white)","--action-fill-rest-primary":"var(--l-blue-blue-07)","--action-fill-rest-secondary":"var(--black_and_white-white)","--action-fill-rest-tertiary":"var(--black_and_white-white-02)","--action-storke-primary":"var(--l-blue-blue-04)","--action-stroke-secondary":"var(--gray-gray-03)","--action-text-primary":"var(--black_and_white-white)","--action-text-secondary":"var(--content-secondary)","--action-text-tertiary":"var(--l-blue-blue-04)","--action-text-quaternary":"var(--black_and_white-white)","--button-fill-hover-primary":"var(--action-fill-hover-primary)","--button-fill-hover-secondary":"var(--action-fill-hover-secondary)","--button-fill-inactive-secondary":"var(--opacity-secondary)","--button-fill-press-primary":"var(--action-fill-press-primary)","--button-fill-press-secondary":"var(--action-fill-press-secondary)","--button-fill-rest-primary":"var(--action-fill-rest-primary)","--button-fill-rest-secondary":"var(--action-fill-rest-secondary)","--button-stroke-secondary":"var(--action-stroke-secondary)","--button-text-primary":"var(--black_and_white-white)","--button-text-secondary":"var(--content-secondary)","--checkbox-stroke":"var(--content-primary)","--content-primary":"var(--l-blue-blue-07)","--content-secondary":"var(--gray-gray-08)","--content-tertiary":"var(--gray-gray-04)","--content-quaternary":"var(--gray-gray-02)","--error-text":"var(--red-red-05)","--error-background":"var(--red-red-02)","--error-highlight":"var(--red-red-04)","--dialog-background":"var(--fill-background)","--dialog-content":"var(--content-secondary)","--dialog-depth":"var(--ui-depth)","--dialog-stroke":"var(--stroke-secondary)","--fill-background":"var(--black_and_white-white)","--fill-header":"var(--l-blue-blue-07)","--highlight-primary":"var(--l-blue-blue-02)","--highlight-secondary":"var(--l-blue-blue-01)","--invisible":"#ff00ff00","--menuitem-content":"var(--content-quaternary)","--menuitem-fill-select":"var(--ui-elevation)","--menuitem-text":"var(--content-tertiary)","--opacity-primary":"#2848b266","--opacity-secondary":"#ffffff66","--Scrollbar-handle":"var(--gray-gray-06)","--Scrollbar-handle-hover":"var(--gray-gray-07)","--Scrollbar-handle-active":"var(--gray-gray-08)","--Scrollbar-track":"var(--gray-gray-02)","--search-content":"var(--content-tertiary)","--search-fill-active":"var(--fill-background)","--search-fill-rest":"var(--ui-elevation)","--search-stroke-active":"var(--action-storke-primary)","--search-text-hint":"var(--content-quaternary)","--search-text-placeholder":"var(--content-tertiary)","--stepper-connect":"var(--content-quaternary)","--stepper-fill-active":"var(--action-fill-rest-primary)","--stepper-fill-inactive":"var(--content-quaternary)","--stepper-stroke-active":"var(--opacity-primary)","--stepper-stroke-inactive":"var(--invisible)","--stroke-primary":"var(--l-blue-blue-07)","--stroke-secondary":"var(--gray-gray-02)","--switch-fill-handle":"var(--ui-elevation)","--switch-fill-track-off":"var(--content-tertiary)","--switch-fill-track-on":"var(--action-fill-rest-primary)","--switch-stroke-handle-off":"var(--content-tertiary)","--switch-stroke-handle-on":"var(--action-fill-rest-primary)","--table-depth":"var(--ui-depth)","--table-elevation":"var(--black_and_white-white-02)","--table-header-content":"var(--gray-l_add_d-gray)","--table-stroke-primary":"var(--stroke-primary)","--table-stroke-secondary":"var(--stroke-secondary)","--table-text-primary":"var(--content-primary)","--table-text-secondary":"var(--content-secondary)","--tapbutton-stroke-active":"var(--action-storke-primary)","--tapbutton-stroke-rest":"var(--action-stroke-secondary)","--tapbutton-text":"var(--content-tertiary)","--textinput-content":"var(--content-tertiary)","--textinput-fill-active":"var(--fill-background)","--textinput-fill-rest":"var(--ui-elevation)","--textinput-stroke-active":"var(--action-storke-primary)","--textinput-stroke-error":"var(--red-red-05)","--textinput-text-hint":"var(--content-quaternary)","--textinput-text-placeholder":"var(--content-tertiary)","--ui-depth":"var(--gray-gray-01)","--ui-elevation":"var(--black_and_white-white-02)","--CDialog-background":"#00000000","--CDialog-background2":"#00000060","--CDialog-background3":"#ffffffb0","--CTableBody-linear":"#2848b220","--CTableWidthChanger-background":"#2848b220","--CTableWidthChanger-background2":"#2848b240","--ABase_Dimming_background-color":"var(--fill-background)","--ATooltip_background-color":"var(--content-secondary)","--ATooltip_color":"var(--ui-elevation)","--AButton_Primary_border":"none","--AButton_Primary_background-color":"var(--button-fill-rest-primary)","--AButton_Primary_color":"var(--button-text-primary)","--AButton_Primary_hover_background-color":"var(--button-fill-hover-primary)","--AButton_Primary_active_background-color":"var(--button-fill-press-primary)","--AButton_Secondary_border":"1px solid var(--button-stroke-secondary)","--AButton_Secondary_background-color":"var(--button-fill-rest-secondary)","--AButton_Secondary_color":"var(--button-text-secondary)","--AButton_Secondary_hover_background-color":"var(--button-fill-hover-secondary)","--AButton_Secondary_active_background-color":"var(--button-fill-press-secondary)","--AInput_Primary_background-color":"var(--textinput-fill-rest)","--AInput_Primary_border":"1px solid var(--textinput-fill-rest)","--AInput_Primary_color":"var(--content-secondary)","--AInput_Primary_hover_border":"1px solid var(--textinput-stroke-active)","--AInput_Primary_focus_background-color":"var(--textinput-fill-active)","--AInput_Primary_focus_border":"1px solid var(--textinput-stroke-active)","--AInput_Secondary_background-color":"inherit","--AInput_Secondary_border":"1px solid var(--content-tertiary)","--AInput_Secondary_color":"var(--content-secondary)","--AInput_Secondary_hover_border":"1px solid var(--textinput-stroke-active)","--AInput_Secondary_focus_border":"1px solid var(--textinput-stroke-active)","--AInput_Error_HelperText_color":"var(--error-text)","--AInput_Error_background-color":"inherit","--AInput_Error_border":"1px solid var(--textinput-stroke-error)","--AInput_Error_color":"var(--error-text)","--AInput_Error_placeholder_color":"var(--error-text)","--ATextArea_Primary_background-color":"var(--textinput-fill-rest)","--ATextArea_Primary_border":"1px solid var(--textinput-fill-rest)","--ATextArea_Primary_color":"var(--content-secondary)","--ATextArea_Primary_hover_border":"1px solid var(--textinput-stroke-active)","--ATextArea_Primary_focus_background-color":"var(--textinput-fill-active)","--ATextArea_Primary_focus_border":"1px solid var(--textinput-stroke-active)","--ATextArea_Secondary_background-color":"inherit","--ATextArea_Secondary_border":"1px solid var(--content-tertiary)","--ATextArea_Secondary_color":"var(--content-secondary)","--ATextArea_Secondary_hover_border":"1px solid var(--textinput-stroke-active)","--ATextArea_Secondary_focus_border":"1px solid var(--textinput-stroke-active)","--ATextArea_Error_background-color":"inherit","--ATextArea_Error_border":"1px solid var(--textinput-stroke-error)","--ATextArea_Error_color":"var(--error-text)","--ATextArea_Error_placeholder_color":"var(--error-text)","--ACheckBox_color":"var(--content-primary)","--ADialog_Paper_background-color":"#00000060","--ADialog_background-color":"var(--dialog-background)","--ADialog_border":"1px solid var(--dialog-stroke)","--ADialog_Body_Title_font":"700 20px pretendard","--ADialog_Action_background-color":"var(--dialog-depth)","--ASelect_Primary_border":"1px solid var(--content-tertiary)","--ASelect_Primary_hover_border":"1px solid var(--stroke-primary)","--ASelect_Primary_Arrow_color":"var(--content-primary)","--ASelect_Primary_Options_background-color":"var(--ui-elevation)","--ASelect_Primary_Options_border":"1px solid var(--content-primary)","--ASelect_Primary_Option_hover_background-color":"var(--content-quaternary)","--ASelect_Primary_Option_active_background-color":"var(--content-quaternary)","--ASelect_Primary_Option_Selected_background-color":"var(--highlight-primary)","--ASelect_Secondary_background-color":"var(--content-quaternary)","--ASelect_Secondary_Arrow_color":"var(--Body-color)","--ASelect_Secondary_Options_background-color":"var(--ui-elevation)","--ASelect_Secondary_Options_border":"1px solid var(--gray-gray-02)","--ASelect_Secondary_Option_hover_background-color":"var(--content-quaternary)","--ASelect_Secondary_Option_active_background-color":"var(--content-quaternary)","--ASelect_Secondary_Option_Selected_background-color":"var(--highlight-primary)","--AMultiSelect_Primary_border":"1px solid var(--content-tertiary)","--AMultiSelect_Primary_hover_border":"1px solid var(--stroke-primary)","--AMultiSelect_Primary_Arrow_color":"var(--content-primary)","--AMultiSelect_Primary_Options_background-color":"var(--ui-elevation)","--AMultiSelect_Primary_Options_border":"1px solid var(--content-primary)","--AMultiSelect_Primary_Option_hover_background-color":"var(--content-quaternary)","--AMultiSelect_Primary_Option_active_background-color":"var(--content-quaternary)","--AMultiSelect_Primary_Option_Selected_background-color":"var(--highlight-primary)","--AMultiSelect_Secondary_background-color":"var(--content-quaternary)","--AMultiSelect_Secondary_Arrow_color":"var(--Body-color)","--AMultiSelect_Secondary_Options_background-color":"var(--ui-elevation)","--AMultiSelect_Secondary_Options_border":"1px solid var(--gray-gray-02)","--AMultiSelect_Secondary_Option_hover_background-color":"var(--content-quaternary)","--AMultiSelect_Secondary_Option_active_background-color":"var(--content-quaternary)","--AMultiSelect_Secondary_Option_Selected_background-color":"var(--highlight-primary)","--ATree_background-color":"var(--fill-background)","--ATree_Indent_border":"1px solid var(--table-stroke-secondary)","--ATreeHeader_border-top":"2px solid var(--stroke-primary)","--ATreeHeader_border-bottom":"1px solid var(--table-stroke-secondary)","--ATreeItem_hover_background-color":"var(--ui-elevation)","--ATreeItem_active_background-color":"var(--ui-elevation)","--ATreeItem_select_background-color":"var(--content-quaternary)","--ATreeItem_search_background-color":"yellow","--ATreeItem_search_border-top":"1px dashed var(--content-primary)","--ATreeItem_search_border-bottom":"1px dashed var(--content-primary)","--ATreeItem_select_color":"var(--content-primary)","--ASwitch_Track_Falsy_border-color":"var(--switch-fill-track-off)","--ASwitch_Track_Truthy_border-color":"var(--switch-fill-track-on)","--ATab_font":"500 16px pretendard","--ATab_Option_IsSelected_font":"700 16px pretendard","--ATab_IndicatorTrack_Primary_border-bottom":"1px solid var(--tapbutton-stroke-rest)","--ATab_Indicator_Primary_background-color":"var(--content-primary)","--ATab_Option_Secondary_border":"2px solid var(--content-primary)","--ATab_Option_Secondary_IsSelected_border-bottom":"2px solid var(--Body-background-color)","--AFileBox_border":"1px dashed var(--content-primary)","--AFileBox_background-color":"var(--ui-elevation)","--AFileBox_SelectedFile_color":"var(--content-primary)","--AFileBox_Dropping_color":"var(--content-primary)","--AFileBox_Dropping_font":"500 16px pretendard","--AListView_border-top":"1px solid var(--content-tertiary)","--AListView_Row_border-bottom":"1px solid var(--content-tertiary)","--AListView_Label_border-left":"3px solid var(--content-tertiary)","--AListView_Label_font":"700 14px pretendard","--AListView_Rendered_border-left":"3px solid var(--content-tertiary)","--AStepper_OutCircle_background-color":"transparent","--AStepper_OutCircle_IsOver_background-color":"var(--l-blue-blue-03)","--AStepper_InCircle_background-color":"var(--content-quaternary)","--AStepper_InCircle_IsOver_background-color":"var(--content-primary)","--AStepper_Line_background-color":"var(--content-tertiary)","--AStepper_Line_IsOver_background-color":"var(--content-primary)","--ADatePicker_Anchor_border":"1px solid var(--content-tertiary)","--ADatePicker_Anchor_color":"var(--content-secondary)","--ADatePicker_Anchor_hover_border":"1px solid var(--textinput-stroke-active)","--ADatePicker_Anchor_focus_border":"1px solid var(--textinput-stroke-active)","--ADatePicker_Anchor_Icon_color":"var(--content-primary)","--ADatePicker_background-color":"var(--AInput_Primary_background-color)","--ADatePicker_border":"1px solid var(--content-tertiary)","--ADatePicker_StringInputContainer_background-color":"var(--content-quaternary)","--ADatePicker_String_border":"1px solid var(--content-primary)","--ADatePicker_Prev_background-color":"var(--content-quaternary)","--ADatePicker_Prev_border-right":"6px solid var(--Body-color)","--ADatePicker_Next_background-color":"var(--content-quaternary)","--ADatePicker_Next_border-left":"6px solid var(--Body-color)","--ADatePicker_Cell_color":"var(--Body-color)","--ADatePicker_Cell_IsNotCurrentMonth_color":"var(--content-quaternary)","--ADatePicker_Cell_IsDisabled_color":"var(--content-quaternary)","--ADatePicker_Cell_IsSelected_background-color":"var(--content-primary)","--ADatePicker_Cell_IsSelected_color":"var(--black_and_white-white)","--ADatePicker_Cell_IsHovered_background-color":"var(--highlight-primary)","--ADateRangePicker_Anchor_border":"1px solid var(--content-tertiary)","--ADateRangePicker_Anchor_color":"var(--content-secondary)","--ADateRangePicker_Anchor_hover_border":"1px solid var(--textinput-stroke-active)","--ADateRangePicker_Anchor_focus_border":"1px solid var(--textinput-stroke-active)","--ADateRangePicker_Anchor_Icon_color":"var(--content-primary)","--ADateRangePicker_background-color":"var(--AInput_Primary_background-color)","--ADateRangePicker_border":"1px solid var(--content-tertiary)","--ADateRangePicker_StringInputContainer_background-color":"var(--content-quaternary)","--ADateRangePicker_String_border":"1px solid var(--content-primary)","--ADateRangePicker_Prev_background-color":"var(--content-quaternary)","--ADateRangePicker_Prev_border-right":"6px solid var(--Body-color)","--ADateRangePicker_Next_background-color":"var(--content-quaternary)","--ADateRangePicker_Next_border-left":"6px solid var(--Body-color)","--ADateRangePicker_Cell_color":"var(--Body-color)","--ADateRangePicker_Cell_IsNotCurrentMonth_color":"var(--content-quaternary)","--ADateRangePicker_Cell_IsDisabled_color":"var(--content-quaternary)","--ADateRangePicker_Cell_IsSelected_background-color":"var(--content-primary)","--ADateRangePicker_Cell_IsSelected_color":"var(--black_and_white-white)","--ADateRangePicker_Cell_IsHovered_background-color":"var(--highlight-primary)","--AIconButton_Primary_color":"var(--content-primary)","--AIconButton_Primary_background-color":"var(--button-fill-rest-secondary)","--AIconButton_Primary_border":"1px solid var(--content-tertiary)","--AIconButton_Primary_hover_border":"1px solid var(--content-primary)","--ATableBody_BodyHeader_border-top":"2px solid var(--stroke-primary)","--ATableBody_TRow_border-bottom":"1px solid var(--table-stroke-secondary)","--ATableBody_TRow_IsSelected_background-color":"var(--ui-elevation)","--ATableBody_TRow_IsSelectable_hover_background-color":"var(--ui-elevation)","--ATableBody_TH_color":"var(--gray-gray-06)","--ATableBody_TH_font-size":"12px","--ATableBody_TD_font-size":"12px","--ATableBody_TD_IsMarked_background-color":"yellow","--ATableBody_Resizer_hover_ResizerCenter_background-color":"var(--stroke-secondary)","--ATableBody_Resizer_active_ResizerCenter_background-color":"var(--stroke-primary)","--ATableBody_Resizer_active_ResizerOut_background-color":"var(--stroke-primary)","--ATableBody_Resizer_active_ResizerIn_background-color":"var(--stroke-primary)","--ATableFooter_Button_IsSelected_background-color":"var(--content-primary)","--ATableFooter_Button_IsSelected_color":"var(--action-text-primary)","--ATableFooter_Button_IsDisabled_color":"var(--content-tertiary)","--ATableFilter_SubFilters_background-color":"var(--fill-background)","--ATableFilter_SubFilters_border":"1px solid var(--stroke-secondary)","--ATableFilter_Icon_color":"var(--content-primary)","--ADivideFrame_DividerInner_background-color":"var(--action-storke-primary)"},ux=Ne.keys(Gs);Yn.push(Gs);const fx={...Gs,"--ATheme":"Dark","--Body-background-color":"#161616","--Body-color":"#b6b6b6","--action-fill-hover-primary":"var(--d-blue-blue-05)","--action-fill-press-primary":"var(--d-blue-blue-06)","--action-fill-hover-secondary":"var(--gray-gray-09)","--action-fill-press-secondary":"var(--gray-gray-08)","--action-fill-hover-tertiary":"var(--d-blue-blue-05)","--action-fill-press-tertiary":"var(--d-blue-blue-04)","--action-fill-rest-primary":"var(--d-blue-blue-04)","--action-fill-rest-secondary":"var(--gray-gray-10)","--action-fill-rest-tertiary":"var(--gray-deep-gray2)","--action-storke-primary":"var(--d-blue-blue-04)","--action-stroke-secondary":"var(--gray-gray-10)","--action-text-primary":"var(--black_and_white-white)","--action-text-secondary":"var(--content-secondary)","--action-text-tertiary":"var(--black_and_white-white02)","--action-text-quaternary":"var(--gray-gray-04)","--button-fill-hover-primary":"var(--action-fill-hover-primary)","--button-fill-hover-secondary":"var(--action-fill-hover-secondary)","--button-fill-inactive-secondary":"var(--opacity-secondary)","--button-fill-press-primary":"var(--action-fill-press-primary)","--button-fill-press-secondary":"var(--action-fill-press-secondary)","--button-fill-rest-primary":"var(--action-fill-rest-primary)","--button-fill-rest-secondary":"var(--action-fill-rest-secondary)","--button-stroke-secondary":"var(--action-stroke-secondary)","--button-text-primary":"var(--black_and_white-white-03)","--button-text-secondary":"var(--content-secondary)","--checkbox-stroke":"var(--content-primary)","--content-primary":"var(--d-blue-blue-04)","--content-secondary":"var(--gray-gray-04)","--content-tertiary":"var(--gray-gray-08)","--content-quaternary":"var(--gray-gray-09)","--error-text":"var(--red-red-04)","--error-background":"var(--orange-orange-09)","--error-highlight":"var(--red-red-07)","--dialog-background":"var(--fill-background)","--dialog-content":"var(--content-secondary)","--dialog-depth":"var(--ui-depth)","--dialog-stroke":"var(--stroke-secondary)","--fill-background":"var(--gray-deep-gray)","--fill-header":"var(--gray-deep-gray)","--highlight-primary":"var(--d-blue-blue-08)","--highlight-secondary":"var(--d-blue-blue-09)","--invisible":" #ff00ff","--menuitem-content":"var(--content-quaternary)","--menuitem-fill-select":"var(--ui-elevation)","--menuitem-text":"var(--content-tertiary)","--opacity-primary":" #7998ff66","--opacity-secondary":" #37393b66","--Scrollbar-handle":"var(--gray-gray-10)","--Scrollbar-handle-hover":"var(--gray-gray-09)","--Scrollbar-handle-active":"var(--gray-gray-08)","--Scrollbar-track":"var(--gray-gray-06)","--search-content":"var(--content-tertiary)","--search-fill-active":"var(--fill-background)","--search-fill-rest":"var(--ui-elevation)","--search-stroke-active":"var(--action-storke-primary)","--search-text-hint":"var(--content-quaternary)","--search-text-placeholder":"var(--content-tertiary)","--stepper-connect":"var(--content-quaternary)","--stepper-fill-active":"var(--action-fill-rest-primary)","--stepper-fill-inactive":"var(--content-quaternary)","--stepper-stroke-active":"var(--opacity-primary)","--stepper-stroke-inactive":"var(--invisible)","--stroke-primary":"var(--d-blue-blue-04)","--stroke-secondary":"var(--gray-deep-gray2)","--switch-fill-handle":"var(--ui-elevation)","--switch-fill-track-off":"var(--content-tertiary)","--switch-fill-track-on":"var(--action-fill-rest-primary)","--switch-stroke-handle-off":"var(--content-tertiary)","--switch-stroke-handle-on":"var(--action-fill-rest-primary)","--table-depth":"var(--ui-depth)","--table-elevation":"var(--gray-gray-10)","--table-header-content":"var(--gray-l_add_d-gray)","--table-stroke-primary":"var(--stroke-primary)","--table-stroke-secondary":"var(--stroke-secondary)","--table-text-primary":"var(--content-primary)","--table-text-secondary":"var(--content-secondary)","--tapbutton-stroke-active":"var(--action-storke-primary)","--tapbutton-stroke-rest":"var(--action-stroke-secondary)","--tapbutton-text":"var(--content-tertiary)","--textinput-content":"var(--content-tertiary)","--textinput-fill-active":"var(--fill-background)","--textinput-fill-rest":"var(--ui-elevation)","--textinput-stroke-active":"var(--action-storke-primary)","--textinput-stroke-error":"var(--red-red-04)","--textinput-text-hint":"var(--content-quaternary)","--textinput-text-placeholder":"var(--content-tertiary)","--ui-depth":"var(--gray-deep-gray2)","--ui-elevation":"var(--gray-deep-gray2)","--CDialog-background":" #00000000","--CDialog-background2":" #00000060","--CDialog-background3":" #37393bb0","--CTableBody-linear":" #3e93b020","--CTableWidthChanger-background":" #3e93b020","--CTableWidthChanger-background2":" #3e93b040"};Yn.push(fx);const dx=n=>{Yn.push(n)},hx=n=>{const r=Yn.findIndex(o=>o["--ATheme"]===n);r>0&&Yn.splice(r,1)},gx=n=>Yn.find(r=>r["--ATheme"]===n),vx=(n,r,o)=>{const a=Yn.find(c=>c["--ATheme"]===n);a&&(a[r]=o)},px=(n,r)=>{let o=Yn.find(a=>a["--ATheme"]===n);if(o)return o[r]},yx=n=>{const r=document.documentElement;return getComputedStyle(r).getPropertyValue(n)};let Ps="Light";const _x=()=>Ps,mx=(n,r)=>{Ne.keys(r).forEach(o=>{n.style.removeProperty(o.toString())})},bx=(n,r)=>{Ne.keys(r).forEach(o=>{n.style.setProperty(o.toString(),r[o])})},mf=n=>{const r=document.documentElement,o=js.Get(n);if(!o){console.error("SetColorMode: theme not found",n);return}const a=js.Get(Ps);a&&mx(r,a),bx(r,o),Ps=n},xx=()=>{mf("Light")},js={Add:dx,Remove:hx,Get:gx,GetCurrent:_x,Apply:mf,Init:xx,SetVar:vx,GetVar:px,GetDeepVar:yx};function Qo(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 a=Qo(o.children,r);if(a)return a}}function oa(n,r){Array.isArray(n)||(n=[n]);for(const o of n)r(o),!(!o.children||o.children.length<1)&&oa(o.children,r)}function Sx(n,r){const o=[];return oa(n,(a,c)=>o.push(r(a,c))),o}function bf(n,r){Array.isArray(n)||(n=[n]);for(const o of n){if(!r(o))return!1;if(!(!o.children||o.children.length<1)&&!bf(o.children,r))return!1}return!0}function wx(n,r){const o=[];return oa(n,(a,c)=>{r(a,c)&&o.push(a)}),o}function xf(n){return Array.isArray(n)||(n=[n]),n.reduce((r,o)=>r+1+(o.children?xf(o.children):0),0)}function Cx(n,r,o,a){if(a(r,o))return null;Array.isArray(n)||(n=[n]);const c=Qo(n,h=>{var y;return(y=h.children)==null?void 0:y.some(v=>a(v,r))}),d=Qo(n,h=>{var y;return(y=h.children)==null?void 0:y.some(v=>a(v,o))});if(c===void 0&&d===void 0){const h=n.findIndex(v=>a(v,r)),y=n.findIndex(v=>a(v,o));return n.splice(h,1),n.splice(y,0,r),[...n]}else if(c!==void 0&&d!==void 0&&a(c,d)&&c.children){const h=c.children.findIndex(v=>a(v,r)),y=c.children.findIndex(v=>a(v,o));return h===void 0||y===void 0?null:(c.children.splice(h,1),c.children.splice(y,0,r),c.children=[...c.children],[...n])}return null}const dr={find:Qo,forEach:oa,map:Sx,every:bf,filter:wx,length:xf,replace:Cx},Ax="_AWrap_1dsn0_1",kx="_AContainer_1dsn0_10",Dx="_ATree_1dsn0_18",Ix="_ATreeHeader_1dsn0_31",Rx="_ATreeItem_1dsn0_41",Ex="_IsSelected_1dsn0_58",Tx="_IsSearched_1dsn0_62",Mx="_IsSearchSelected_1dsn0_65",Lx="_IsHovered_1dsn0_75",Ox="_CheckBox_1dsn0_79",Px="_Indents_1dsn0_91",jx="_IndentExpanded_1dsn0_98",Fx="_IndentIsLast_1dsn0_102",Nx="_ExpandIcon_1dsn0_106",Bx="_Content_1dsn0_116",$x="_RightSticky_1dsn0_125",Hx="_SearchInputWrap_1dsn0_135",Wx="_SearchInput_1dsn0_135",zx="_RightAddon_1dsn0_149",Ux="_RightAddonIcon_1dsn0_159",pt={AWrap:Ax,AContainer:kx,ATree:Dx,ATreeHeader:Ix,ATreeItem:Rx,IsSelected:Ex,IsSearched:Tx,IsSearchSelected:Mx,IsHovered:Lx,CheckBox:Ox,Indents:Px,IndentExpanded:jx,IndentIsLast:Fx,ExpandIcon:Nx,Content:Bx,RightSticky:$x,SearchInputWrap:Hx,SearchInput:Wx,RightAddon:zx,RightAddonIcon:Ux},Sf=n=>{const{isEqual:r,item:o,selectDisabled:a,isParentDisabled:c,indents:d,ItemRenderer:h,useExpand:y,useSelect:v,useSearch:_,onDragStart:C,onDragOver:m,onDragEnd:S,showCheckbox:w,icons:R,iconWidth:M,isSelectMulti:P,enableDrag:j,isParentCheckHovered:W,RightStickyRenderer:I,resources:te}=n,{children:L}=f.useMemo(()=>o,[o]),[N,E]=f.useMemo(()=>y,[y]),[O,X]=f.useMemo(()=>v,[v]),[oe,K]=f.useMemo(()=>_,[_]),[le,ce]=f.useMemo(()=>{if(!a||c)return[!1,""];const Z=a(o);return Z===!0?[!0,""]:typeof Z=="string"?[!0,Z]:[!1,""]},[a,c,o]),se=f.useMemo(()=>N.some(Z=>r(Z,o)),[N,r,o]),ae=f.useMemo(()=>!L||L.length<1?"noChild":se?"expanded":"collapsed",[L,se]),He=f.useCallback(Z=>{!E||ae==="noChild"||(E(se?N.filter(Y=>!r(Y,o)):[...N,o]),Z.stopPropagation())},[E,N,se,o,r,ae]),Se=f.useMemo(()=>O.some(Z=>r(Z,o)),[O,r,o]),U=f.useCallback(()=>{!X||le||(X(P?Se?O.filter(Z=>!r(Z,o)):[...O,o]:[o]),oe&&K&&oe.items.some(Z=>r(Z,o))&&K({...oe,item:o}))},[P,le,Se,oe,K,X,r,O,o]),ne=f.useMemo(()=>oe==null?void 0:oe.items.some(Z=>r(Z,o)),[oe,r,o]),_e=f.useMemo(()=>ne&&(oe==null?void 0:oe.item)&&r(oe.item,o),[ne,oe,r,o]),we=f.useRef(null);f.useEffect(()=>{_e&&we.current&&we.current.scrollIntoView({behavior:"smooth",block:"center"})},[_e]);const[Le,nt]=f.useState(!1),xt=f.useCallback(()=>!le&&nt(!0),[le]),et=f.useCallback(()=>!le&&nt(!1),[le]),Ce=f.useMemo(()=>a?dr.map(o,Z=>Z).filter(Z=>!a(Z)):dr.map(o,Z=>Z),[a,o]),ot=f.useMemo(()=>!w||!P?!1:Se&&Ce.some(Z=>O.some(Y=>r(Z,Y)))&&Ce.some(Z=>!O.some(Y=>r(Z,Y))),[w,P,Se,Ce,r,O]),Q=f.useMemo(()=>w?P?Ce.every(Z=>O.some(Y=>r(Z,Y))):O.some(Z=>r(Z,o)):!1,[w,P,Ce,o,r,O]),V=f.useCallback(()=>{if(!(!X||le))if(P)if(Se){const Z=O.filter(Y=>!(a!=null&&a(Y))&&Ce.some(ie=>r(ie,Y)));Z.length>0&&X(O.filter(Y=>!Z.some(ie=>r(Y,ie))))}else{const Z=Ce.filter(Y=>!(a!=null&&a(Y))&&!O.some(ie=>r(ie,Y)));Z.length>0&&X([...O,...Z])}else X([o])},[le,a,P,X,r,Se,O,Ce,o]),H=f.useCallback(Z=>{le||V(),Z.stopPropagation()},[le,V]),be=f.useMemo(()=>{if(!w||!P||le)return"";if(Se){const Y=O.filter(ie=>!(a!=null&&a(ie))&&Ce.some(ve=>r(ve,ie)));if(Y.length>0)return te["deselect n"](Y.length)}const Z=Ce.filter(Y=>!(a!=null&&a(Y))&&!O.some(ie=>r(ie,Y)));return te["select n"](Z.length)},[a,te,le,w,P,Se,Ce,r,O]);return l.jsxs(f.Fragment,{children:[l.jsxs(ct,{className:re.clsx(pt.ATreeItem,Se&&pt.IsSelected,!le&&(Le||W)&&pt.IsHovered,ne&&pt.IsSearched,_e&&pt.IsSearchSelected,jt.UnSelectable),draggable:j,onDragStart:()=>C==null?void 0:C(o),onDragEnter:Z=>m==null?void 0:m(Z,o),onDragEnd:Z=>S==null?void 0:S(Z,o),onClick:U,abaseRef:we,isDisabled:le,tooltip:ce,children:[w&&l.jsx(ui,{style:{visibility:le?"hidden":"visible",zIndex:le?0:2},className:pt.CheckBox,useCheck:[+Q,V],onClick:H,isIndeterminate:ot,onMouseOver:xt,onMouseOut:et,tooltip:be,isDisabled:le}),l.jsx("div",{className:pt.Indents,style:{paddingLeft:w?0:12},children:d.map((Z,Y)=>l.jsx("div",{className:pt[`Indent${Z}`],style:{width:Z==="Collapsed"?M:M/2,height:Z==="IsLast"?"50%":"100%",borderLeft:Z==="Collapsed"?"none":"var(--ATree_Indent_border)",borderBottom:Z==="IsLast"?"var(--ATree_Indent_border)":"none",marginLeft:Z==="Collapsed"?0:M/2}},Y))}),R&&l.jsx("div",{className:pt.ExpandIcon,onClick:He,children:L===void 0||L.length<1?R.noChild&&l.jsx(bt,{icon:R.noChild}):se?R.expanded&&l.jsx(bt,{icon:R.expanded}):R.collapsed&&l.jsx(bt,{icon:R.collapsed})}),l.jsx("div",{className:re.clsx(pt.Content),children:l.jsx(h,{isEqual:r,item:o,indents:d,ItemRenderer:h,useExpand:y,useSelect:v,useSearch:_,onDragStart:C,onDragOver:m,onDragEnd:S,showCheckbox:w,icons:R,iconWidth:M,isSelectMulti:P,enableDrag:j,isParentCheckHovered:P&&(Le||W),RightStickyRenderer:I,resources:te})}),I&&l.jsx("div",{className:pt.RightSticky,children:l.jsx(I,{isEqual:r,item:o,indents:d,ItemRenderer:h,useExpand:y,useSelect:v,useSearch:_,onDragStart:C,onDragOver:m,onDragEnd:S,showCheckbox:w,icons:R,iconWidth:M,isSelectMulti:P,enableDrag:j,isParentCheckHovered:P&&(Le||W),RightStickyRenderer:I,resources:te})})]}),se&&(L==null?void 0:L.map((Z,Y)=>l.jsx(Sf,{isEqual:r,item:Z,selectDisabled:a,indents:[...d.map(ie=>ie==="IsLast"?"Collapsed":ie),Y===L.length-1?"IsLast":"Expanded"],ItemRenderer:h,useExpand:y,useSelect:v,useSearch:_,onDragStart:C,onDragOver:m,onDragEnd:S,showCheckbox:w,icons:R,iconWidth:M,isSelectMulti:P,enableDrag:j,isParentCheckHovered:P&&(Le||W),RightStickyRenderer:I,resources:te},Y)))]})},Vx=n=>{const{isEqual:r,searchResult:o,initSearch:a,searchUp:c,searchDown:d,isDisabled:h,isLoading:y,resources:v}=n,_=f.useCallback(S=>{S.key==="Enter"||S.key==="ArrowDown"?(d(),S.preventDefault()):S.key==="ArrowUp"&&(c(),S.preventDefault())},[d,c]),C=f.useCallback(S=>{a(S)},[a]),m=f.useMemo(()=>h||y?-1:void 0,[h,y]);return l.jsx(jr,{className:pt.SearchInput,wrapProps:{className:pt.SearchInputWrap},isDisabled:h,tabIndex:m,useValue:[(o==null?void 0:o.keyword)??"",C],onKeyDown:_,placeholder:v.Search,RightAddon:l.jsx(qx,{isEqual:r,searchResult:o,searchUp:c,searchDown:d})})},qx=n=>{const{isEqual:r,searchResult:o,searchUp:a,searchDown:c}=n,d=f.useMemo(()=>!o||o.items.length<1?0:o.items.findIndex(S=>o.item&&r(S,o.item))+1,[o,r]),h=f.useMemo(()=>!o||o.items.length<1?0:o.items.length,[o]),y=f.useMemo(()=>d<2,[d]),v=f.useMemo(()=>d>=h,[d,h]),_=f.useCallback(S=>{S.stopPropagation(),!y&&a()},[a,y]),C=f.useCallback(S=>{S.stopPropagation(),!v&&c()},[c,v]),m=f.useCallback(S=>{S.stopPropagation(),c()},[c]);return l.jsx("div",{className:re.clsx(pt.RightAddon,jt.UnSelectable),children:o?l.jsxs(l.Fragment,{children:[d,"/",h,l.jsx(ct,{onClick:_,isDisabled:y,children:l.jsx(bt,{className:pt.RightAddonIcon,icon:"ArrowUp",mask:""})}),l.jsx(ct,{onClick:C,isDisabled:v,children:l.jsx(bt,{className:pt.RightAddonIcon,icon:"ArrowDown"})})]}):l.jsx(bt,{className:pt.RightAddonIcon,icon:"Search",onClick:m})})},Gx=n=>{const{pk:r,selectDisabled:o,ItemRenderer:a=Yx,useItems:c,useExpand:d,useSelect:h,useSearch:y,showCheckbox:v,iconWidth:_=24,icons:C={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},isSelectMulti:m=!1,noSearch:S=!1,enableDrag:w=!1,syncSearchSelect:R=!1,actionRef:M,RightStickyRenderer:P,resources:j,searchPredicate:W=Kx,isDisabled:I,...te}=n,L=f.useMemo(()=>({...Pn.ATree,...j}),[j]),N=f.useCallback((ee,pe)=>r!==void 0?Array.isArray(r)?r.every(Re=>Lr.isEqual(ee[Re],pe[Re])):Lr.isEqual(ee[r],pe[r]):Lr.isEqual(ee,pe),[r]),E=f.useRef(null),[O,X]=St(c,[]),[oe,K]=St(d,[]),[le,ce]=St(h,[]),[se,ae]=St(y,void 0),He=f.useCallback(ee=>{I||!K||oe.some(pe=>N(pe,ee))||ee.children===void 0||ee.children.length<1||K([...oe,ee])},[oe,I,N,K]),Se=f.useCallback(()=>{!K||I||K([...O])},[O,I,K]),U=f.useCallback(()=>{!K||I||K([])},[K,I]),ne=f.useCallback(ee=>{!ce||I||(ce([ee]),He(ee))},[ce,I,He]),_e=f.useCallback(ee=>{if(!ae||I)return;if(!ee||S){ae(void 0),R&&(ce==null||ce([]));return}const pe=dr.filter(O,rt=>W(ee,rt));let Re;if(pe.find(rt=>(se==null?void 0:se.item)&&N(rt,se.item))?Re=se==null?void 0:se.item:pe.length>0&&(Re=pe[0]),ae({keyword:ee,items:pe,item:Re}),ce&&R)if(m)ce(pe);else{const rt=pe.find(yn=>Re&&N(yn,Re));ce(rt?[rt]:[])}},[O,I,N,W,ae,ce,R,S,m,se]),we=f.useRef(!1);f.useEffect(()=>{we.current=!0},[O]),f.useEffect(()=>{se&&we.current&&(_e(se.keyword),we.current=!1)},[_e,se]);const Le=f.useCallback(()=>{if(!se||!ae||I)return;let ee=se.items.findIndex(pe=>se.item&&N(pe,se.item))-1;ee<0||(ae({...se,item:se.items[ee]}),R&&ne(se.items[ee]))},[se,ae,I,ne,N,R]),nt=f.useCallback(()=>{if(!se||!ae||I)return;let ee=se.items.findIndex(pe=>se.item&&N(pe,se.item))+1;ee>=se.items.length||(ae({...se,item:se.items[ee]}),R&&ne(se.items[ee]))},[se,I,ae,ne,N,R]),[xt,et]=f.useState(!1),Ce=f.useCallback(()=>et(!0),[]),ot=f.useCallback(()=>et(!1),[]),Q=f.useMemo(()=>o?dr.map(O,ee=>ee).filter(ee=>!o(ee)):dr.map(O,ee=>ee),[o,O]),V=f.useMemo(()=>!v||!m?!1:le.length>0&&Q.length>le.length,[v,m,le,Q]),H=f.useMemo(()=>!v||!m?!1:le.length>0&&Q.length===le.length,[v,m,le,Q]),be=f.useCallback(()=>{if(!ce||!m||I)return;const ee=le.filter(pe=>!(o!=null&&o(pe))&&Q.some(Re=>N(Re,pe)));if(ee.length>0)ce(le.filter(pe=>!ee.some(Re=>N(pe,Re))));else{const pe=Q.filter(Re=>!(o!=null&&o(Re))&&!le.some(rt=>N(rt,Re)));pe.length>0&&ce([...le,...pe])}},[m,I,o,ce,le,Q,N]),Z=f.useMemo(()=>{if(!v||!m||I)return"";const ee=le.filter(pe=>!(o!=null&&o(pe))&&Q.some(Re=>N(Re,pe)));if(ee.length>0)return L["deselect n"](ee.length);{const pe=Q.filter(Re=>!(o!=null&&o(Re))&&!le.some(rt=>N(rt,Re)));return L["select n"](pe.length)}},[o,I,L,v,m,Q,le,N]),[Y,ie]=f.useState(null),[ve,q]=f.useState(null),J=f.useCallback(ee=>{!w||I||ie(ee)},[I,w]),Ee=f.useCallback((ee,pe)=>{if(!w||I||!Y||(ee.preventDefault(),ee.stopPropagation(),q(pe),!X))return;const Re=dr.replace(O,Y,pe,N);Re&&X(Re)},[w,O,Y,I,X,N]),Ge=f.useCallback(()=>{if(!w||I||!Y||!ve||!X||N(Y,ve))return;const ee=dr.replace(O,Y,ve,N);ee&&(X(ee),ie(null))},[w,X,O,Y,ve,N,I]);f.useEffect(()=>{var ee;v||(ee=E.current)==null||ee.scrollTo(0,0)},[v,E]),f.useEffect(()=>{!m&&le.length>1&&(ce==null||ce([le[le.length-1]]))},[m,ce,le]),f.useEffect(()=>{M&&(M.current={expandAll:Se,collapseAll:U})},[M,Se,U]),f.useEffect(()=>{if(!o||!ce)return;const ee=le.filter(pe=>!o(pe));le.length!==ee.length&&ce(ee)},[o,le,ce]),f.useEffect(()=>{ae&&ae(void 0)},[ae]);const[he,xe]=f.useState(!1);return f.useEffect(()=>{xe(ee=>!ee)},[O]),l.jsxs(ct,{...te,isDisabled:I,className:re.clsx(te.className,pt.AWrap),children:[!S&&l.jsx(Vx,{isEqual:N,searchResult:se,initSearch:_e,searchUp:Le,searchDown:nt,isLoading:te.isLoading,isDisabled:I,resources:L}),v&&m&&l.jsxs("div",{className:pt.ATreeHeader,children:[l.jsx(ui,{className:pt.CheckBox,useCheck:[+H,()=>be()],isIndeterminate:V,onMouseOver:Ce,onMouseOut:ot,isDisabled:I,tooltip:Z}),L.Items,l.jsx(Ui,{}),L["*Click row for single select"]]}),l.jsx("div",{ref:E,className:re.clsx(te.className,pt.AContainer),children:l.jsx("div",{className:pt.ATree,children:O.map((ee,pe)=>l.jsx(Sf,{isEqual:N,indents:[],item:ee,selectDisabled:o,isParentDisabled:I,ItemRenderer:a,useExpand:[oe,K],useSelect:[le,ce],useSearch:[se,ae],onDragStart:J,onDragOver:Ee,onDragEnd:Ge,showCheckbox:v,icons:C,iconWidth:_,isSelectMulti:m,enableDrag:w,isParentCheckHovered:m&&xt,RightStickyRenderer:P,resources:L},`${pe}${he}`))})})]})},Yx=n=>{let{item:r}=n;const o={};return Ne.keys(r).forEach(a=>{a!=="children"&&(o[a]=r[a])}),JSON.stringify(o)};function Kx(n,r){return Ne.some(r,(o,a)=>{var c;return(c=Ne.stringify(a))==null?void 0:c.toLowerCase().includes(n.toLowerCase())})}var Zx=Error,Jx=EvalError,Xx=RangeError,Qx=ReferenceError,wf=SyntaxError,Vi=TypeError,e3=URIError,t3=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var c=42;r[o]=c;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!==c||h.enumerable!==!0)return!1}return!0},Wu=typeof Symbol<"u"&&Symbol,n3=t3,r3=function(){return typeof Wu!="function"||typeof Symbol!="function"||typeof Wu("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n3()},Ss={__proto__:null,foo:{}},i3=Object,o3=function(){return{__proto__:Ss}.foo===Ss.foo&&!(Ss instanceof i3)},a3="Function.prototype.bind called on incompatible ",s3=Object.prototype.toString,l3=Math.max,c3="[object Function]",zu=function(r,o){for(var a=[],c=0;c<r.length;c+=1)a[c]=r[c];for(var d=0;d<o.length;d+=1)a[d+r.length]=o[d];return a},u3=function(r,o){for(var a=[],c=o||0,d=0;c<r.length;c+=1,d+=1)a[d]=r[c];return a},f3=function(n,r){for(var o="",a=0;a<n.length;a+=1)o+=n[a],a+1<n.length&&(o+=r);return o},d3=function(r){var o=this;if(typeof o!="function"||s3.apply(o)!==c3)throw new TypeError(a3+o);for(var a=u3(arguments,1),c,d=function(){if(this instanceof c){var C=o.apply(this,zu(a,arguments));return Object(C)===C?C:this}return o.apply(r,zu(a,arguments))},h=l3(0,o.length-a.length),y=[],v=0;v<h;v++)y[v]="$"+v;if(c=Function("binder","return function ("+f3(y,",")+"){ return binder.apply(this,arguments); }")(d),o.prototype){var _=function(){};_.prototype=o.prototype,c.prototype=new _,_.prototype=null}return c},h3=d3,Ys=Function.prototype.bind||h3,g3=Function.prototype.call,v3=Object.prototype.hasOwnProperty,p3=Ys,y3=p3.call(g3,v3),Ue,_3=Zx,m3=Jx,b3=Xx,x3=Qx,fi=wf,ci=Vi,S3=e3,Cf=Function,ws=function(n){try{return Cf('"use strict"; return ('+n+").constructor;")()}catch{}},Or=Object.getOwnPropertyDescriptor;if(Or)try{Or({},"")}catch{Or=null}var Cs=function(){throw new ci},w3=Or?function(){try{return arguments.callee,Cs}catch{try{return Or(arguments,"callee").get}catch{return Cs}}}():Cs,ii=r3(),C3=o3(),It=Object.getPrototypeOf||(C3?function(n){return n.__proto__}:null),si={},A3=typeof Uint8Array>"u"||!It?Ue:It(Uint8Array),Pr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Ue:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ue:ArrayBuffer,"%ArrayIteratorPrototype%":ii&&It?It([][Symbol.iterator]()):Ue,"%AsyncFromSyncIteratorPrototype%":Ue,"%AsyncFunction%":si,"%AsyncGenerator%":si,"%AsyncGeneratorFunction%":si,"%AsyncIteratorPrototype%":si,"%Atomics%":typeof Atomics>"u"?Ue:Atomics,"%BigInt%":typeof BigInt>"u"?Ue:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ue:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ue:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ue:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":_3,"%eval%":eval,"%EvalError%":m3,"%Float32Array%":typeof Float32Array>"u"?Ue:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ue:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ue:FinalizationRegistry,"%Function%":Cf,"%GeneratorFunction%":si,"%Int8Array%":typeof Int8Array>"u"?Ue:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ue:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ue:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ii&&It?It(It([][Symbol.iterator]())):Ue,"%JSON%":typeof JSON=="object"?JSON:Ue,"%Map%":typeof Map>"u"?Ue:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ii||!It?Ue:It(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ue:Promise,"%Proxy%":typeof Proxy>"u"?Ue:Proxy,"%RangeError%":b3,"%ReferenceError%":x3,"%Reflect%":typeof Reflect>"u"?Ue:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ue:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ii||!It?Ue:It(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ue:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ii&&It?It(""[Symbol.iterator]()):Ue,"%Symbol%":ii?Symbol:Ue,"%SyntaxError%":fi,"%ThrowTypeError%":w3,"%TypedArray%":A3,"%TypeError%":ci,"%Uint8Array%":typeof Uint8Array>"u"?Ue:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ue:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ue:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ue:Uint32Array,"%URIError%":S3,"%WeakMap%":typeof WeakMap>"u"?Ue:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ue:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ue:WeakSet};if(It)try{null.error}catch(n){var k3=It(It(n));Pr["%Error.prototype%"]=k3}var D3=function n(r){var o;if(r==="%AsyncFunction%")o=ws("async function () {}");else if(r==="%GeneratorFunction%")o=ws("function* () {}");else if(r==="%AsyncGeneratorFunction%")o=ws("async function* () {}");else if(r==="%AsyncGenerator%"){var a=n("%AsyncGeneratorFunction%");a&&(o=a.prototype)}else if(r==="%AsyncIteratorPrototype%"){var c=n("%AsyncGenerator%");c&&It&&(o=It(c.prototype))}return Pr[r]=o,o},Uu={__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"]},qi=Ys,ea=y3,I3=qi.call(Function.call,Array.prototype.concat),R3=qi.call(Function.apply,Array.prototype.splice),Vu=qi.call(Function.call,String.prototype.replace),ta=qi.call(Function.call,String.prototype.slice),E3=qi.call(Function.call,RegExp.prototype.exec),T3=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M3=/\\(\\)?/g,L3=function(r){var o=ta(r,0,1),a=ta(r,-1);if(o==="%"&&a!=="%")throw new fi("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&o!=="%")throw new fi("invalid intrinsic syntax, expected opening `%`");var c=[];return Vu(r,T3,function(d,h,y,v){c[c.length]=y?Vu(v,M3,"$1"):h||d}),c},O3=function(r,o){var a=r,c;if(ea(Uu,a)&&(c=Uu[a],a="%"+c[0]+"%"),ea(Pr,a)){var d=Pr[a];if(d===si&&(d=D3(a)),typeof d>"u"&&!o)throw new ci("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:c,name:a,value:d}}throw new fi("intrinsic "+r+" does not exist!")},gi=function(r,o){if(typeof r!="string"||r.length===0)throw new ci("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new ci('"allowMissing" argument must be a boolean');if(E3(/^%?[^%]*%?$/,r)===null)throw new fi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=L3(r),c=a.length>0?a[0]:"",d=O3("%"+c+"%",o),h=d.name,y=d.value,v=!1,_=d.alias;_&&(c=_[0],R3(a,I3([0,1],_)));for(var C=1,m=!0;C<a.length;C+=1){var S=a[C],w=ta(S,0,1),R=ta(S,-1);if((w==='"'||w==="'"||w==="`"||R==='"'||R==="'"||R==="`")&&w!==R)throw new fi("property names with quotes must have matching quotes");if((S==="constructor"||!m)&&(v=!0),c+="."+S,h="%"+c+"%",ea(Pr,h))y=Pr[h];else if(y!=null){if(!(S in y)){if(!o)throw new ci("base intrinsic for "+r+" exists, but the property is not available.");return}if(Or&&C+1>=a.length){var M=Or(y,S);m=!!M,m&&"get"in M&&!("originalValue"in M.get)?y=M.get:y=y[S]}else m=ea(y,S),y=y[S];m&&!v&&(Pr[h]=y)}}return y},Af={exports:{}},As,qu;function Ks(){if(qu)return As;qu=1;var n=gi,r=n("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return As=r,As}var P3=gi,Vo=P3("%Object.getOwnPropertyDescriptor%",!0);if(Vo)try{Vo([],"length")}catch{Vo=null}var kf=Vo,Gu=Ks(),j3=wf,oi=Vi,Yu=kf,F3=function(r,o,a){if(!r||typeof r!="object"&&typeof r!="function")throw new oi("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new oi("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new oi("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new oi("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new oi("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new oi("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,v=!!Yu&&Yu(r,o);if(Gu)Gu(r,o,{configurable:h===null&&v?v.configurable:!h,enumerable:c===null&&v?v.enumerable:!c,value:a,writable:d===null&&v?v.writable:!d});else if(y||!c&&!d&&!h)r[o]=a;else throw new j3("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Fs=Ks(),Df=function(){return!!Fs};Df.hasArrayLengthDefineBug=function(){if(!Fs)return null;try{return Fs([],"length",{value:1}).length!==1}catch{return!0}};var N3=Df,B3=gi,Ku=F3,$3=N3(),Zu=kf,Ju=Vi,H3=B3("%Math.floor%"),W3=function(r,o){if(typeof r!="function")throw new Ju("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||H3(o)!==o)throw new Ju("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],c=!0,d=!0;if("length"in r&&Zu){var h=Zu(r,"length");h&&!h.configurable&&(c=!1),h&&!h.writable&&(d=!1)}return(c||d||!a)&&($3?Ku(r,"length",o,!0,!0):Ku(r,"length",o)),r};(function(n){var r=Ys,o=gi,a=W3,c=Vi,d=o("%Function.prototype.apply%"),h=o("%Function.prototype.call%"),y=o("%Reflect.apply%",!0)||r.call(h,d),v=Ks(),_=o("%Math.max%");n.exports=function(S){if(typeof S!="function")throw new c("a function is required");var w=y(r,h,arguments);return a(w,1+_(0,S.length-(arguments.length-1)),!0)};var C=function(){return y(r,d,arguments)};v?v(n.exports,"apply",{value:C}):n.exports.apply=C})(Af);var z3=Af.exports,If=gi,Rf=z3,U3=Rf(If("String.prototype.indexOf")),V3=function(r,o){var a=If(r,!!o);return typeof a=="function"&&U3(r,".prototype.")>-1?Rf(a):a};const q3={},G3=Object.freeze(Object.defineProperty({__proto__:null,default:q3},Symbol.toStringTag,{value:"Module"})),Y3=J0(G3);var Zs=typeof Map=="function"&&Map.prototype,ks=Object.getOwnPropertyDescriptor&&Zs?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,na=Zs&&ks&&typeof ks.get=="function"?ks.get:null,Xu=Zs&&Map.prototype.forEach,Js=typeof Set=="function"&&Set.prototype,Ds=Object.getOwnPropertyDescriptor&&Js?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ra=Js&&Ds&&typeof Ds.get=="function"?Ds.get:null,Qu=Js&&Set.prototype.forEach,K3=typeof WeakMap=="function"&&WeakMap.prototype,$i=K3?WeakMap.prototype.has:null,Z3=typeof WeakSet=="function"&&WeakSet.prototype,Hi=Z3?WeakSet.prototype.has:null,J3=typeof WeakRef=="function"&&WeakRef.prototype,ef=J3?WeakRef.prototype.deref:null,X3=Boolean.prototype.valueOf,Q3=Object.prototype.toString,e4=Function.prototype.toString,t4=String.prototype.match,Xs=String.prototype.slice,hr=String.prototype.replace,n4=String.prototype.toUpperCase,tf=String.prototype.toLowerCase,Ef=RegExp.prototype.test,nf=Array.prototype.concat,Ln=Array.prototype.join,r4=Array.prototype.slice,rf=Math.floor,Ns=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Is=Object.getOwnPropertySymbols,Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,di=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ft=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===di||!0)?Symbol.toStringTag:null,Tf=Object.prototype.propertyIsEnumerable,of=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function af(n,r){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||Ef.call(/e/,r))return r;var o=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var a=n<0?-rf(-n):rf(n);if(a!==n){var c=String(a),d=Xs.call(r,c.length+1);return hr.call(c,o,"$&_")+"."+hr.call(hr.call(d,/([0-9]{3})/g,"$&_"),/_$/,"")}}return hr.call(r,o,"$&_")}var $s=Y3,sf=$s.custom,lf=Lf(sf)?sf:null,i4=function n(r,o,a,c){var d=o||{};if(fr(d,"quoteStyle")&&d.quoteStyle!=="single"&&d.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(fr(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=fr(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(fr(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(fr(d,"numericSeparator")&&typeof d.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=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 Pf(r,d);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var v=String(r);return y?af(r,v):v}if(typeof r=="bigint"){var _=String(r)+"n";return y?af(r,_):_}var C=typeof d.depth>"u"?5:d.depth;if(typeof a>"u"&&(a=0),a>=C&&C>0&&typeof r=="object")return Hs(r)?"[Array]":"[Object]";var m=S4(d,a);if(typeof c>"u")c=[];else if(Of(c,r)>=0)return"[Circular]";function S(ce,se,ae){if(se&&(c=r4.call(c),c.push(se)),ae){var He={depth:d.depth};return fr(d,"quoteStyle")&&(He.quoteStyle=d.quoteStyle),n(ce,He,a+1,c)}return n(ce,d,a+1,c)}if(typeof r=="function"&&!cf(r)){var w=h4(r),R=Ho(r,S);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(R.length>0?" { "+Ln.call(R,", ")+" }":"")}if(Lf(r)){var M=di?hr.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):Bs.call(r);return typeof r=="object"&&!di?Fi(M):M}if(m4(r)){for(var P="<"+tf.call(String(r.nodeName)),j=r.attributes||[],W=0;W<j.length;W++)P+=" "+j[W].name+"="+Mf(o4(j[W].value),"double",d);return P+=">",r.childNodes&&r.childNodes.length&&(P+="..."),P+="</"+tf.call(String(r.nodeName))+">",P}if(Hs(r)){if(r.length===0)return"[]";var I=Ho(r,S);return m&&!x4(I)?"["+Ws(I,m)+"]":"[ "+Ln.call(I,", ")+" ]"}if(s4(r)){var te=Ho(r,S);return!("cause"in Error.prototype)&&"cause"in r&&!Tf.call(r,"cause")?"{ ["+String(r)+"] "+Ln.call(nf.call("[cause]: "+S(r.cause),te),", ")+" }":te.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+Ln.call(te,", ")+" }"}if(typeof r=="object"&&h){if(lf&&typeof r[lf]=="function"&&$s)return $s(r,{depth:C-a});if(h!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(g4(r)){var L=[];return Xu&&Xu.call(r,function(ce,se){L.push(S(se,r,!0)+" => "+S(ce,r))}),uf("Map",na.call(r),L,m)}if(y4(r)){var N=[];return Qu&&Qu.call(r,function(ce){N.push(S(ce,r))}),uf("Set",ra.call(r),N,m)}if(v4(r))return Rs("WeakMap");if(_4(r))return Rs("WeakSet");if(p4(r))return Rs("WeakRef");if(c4(r))return Fi(S(Number(r)));if(f4(r))return Fi(S(Ns.call(r)));if(u4(r))return Fi(X3.call(r));if(l4(r))return Fi(S(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(r===ai)return"{ [object globalThis] }";if(!a4(r)&&!cf(r)){var E=Ho(r,S),O=of?of(r)===Object.prototype:r instanceof Object||r.constructor===Object,X=r instanceof Object?"":"null prototype",oe=!O&&Ft&&Object(r)===r&&Ft in r?Xs.call(gr(r),8,-1):X?"Object":"",K=O||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",le=K+(oe||X?"["+Ln.call(nf.call([],oe||[],X||[]),": ")+"] ":"");return E.length===0?le+"{}":m?le+"{"+Ws(E,m)+"}":le+"{ "+Ln.call(E,", ")+" }"}return String(r)};function Mf(n,r,o){var a=(o.quoteStyle||r)==="double"?'"':"'";return a+n+a}function o4(n){return hr.call(String(n),/"/g,"&quot;")}function Hs(n){return gr(n)==="[object Array]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function a4(n){return gr(n)==="[object Date]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function cf(n){return gr(n)==="[object RegExp]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function s4(n){return gr(n)==="[object Error]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function l4(n){return gr(n)==="[object String]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function c4(n){return gr(n)==="[object Number]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function u4(n){return gr(n)==="[object Boolean]"&&(!Ft||!(typeof n=="object"&&Ft in n))}function Lf(n){if(di)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Bs)return!1;try{return Bs.call(n),!0}catch{}return!1}function f4(n){if(!n||typeof n!="object"||!Ns)return!1;try{return Ns.call(n),!0}catch{}return!1}var d4=Object.prototype.hasOwnProperty||function(n){return n in this};function fr(n,r){return d4.call(n,r)}function gr(n){return Q3.call(n)}function h4(n){if(n.name)return n.name;var r=t4.call(e4.call(n),/^function\s*([\w$]+)/);return r?r[1]:null}function Of(n,r){if(n.indexOf)return n.indexOf(r);for(var o=0,a=n.length;o<a;o++)if(n[o]===r)return o;return-1}function g4(n){if(!na||!n||typeof n!="object")return!1;try{na.call(n);try{ra.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function v4(n){if(!$i||!n||typeof n!="object")return!1;try{$i.call(n,$i);try{Hi.call(n,Hi)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function p4(n){if(!ef||!n||typeof n!="object")return!1;try{return ef.call(n),!0}catch{}return!1}function y4(n){if(!ra||!n||typeof n!="object")return!1;try{ra.call(n);try{na.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function _4(n){if(!Hi||!n||typeof n!="object")return!1;try{Hi.call(n,Hi);try{$i.call(n,$i)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function m4(n){return!n||typeof n!="object"?!1:typeof HTMLElement<"u"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Pf(n,r){if(n.length>r.maxStringLength){var o=n.length-r.maxStringLength,a="... "+o+" more character"+(o>1?"s":"");return Pf(Xs.call(n,0,r.maxStringLength),r)+a}var c=hr.call(hr.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,b4);return Mf(c,"single",r)}function b4(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":"")+n4.call(r.toString(16))}function Fi(n){return"Object("+n+")"}function Rs(n){return n+" { ? }"}function uf(n,r,o,a){var c=a?Ws(o,a):Ln.call(o,", ");return n+" ("+r+") {"+c+"}"}function x4(n){for(var r=0;r<n.length;r++)if(Of(n[r],`
56
56
  `)>=0)return!1;return!0}function S4(n,r){var o;if(n.indent===" ")o=" ";else if(typeof n.indent=="number"&&n.indent>0)o=Ln.call(Array(n.indent+1)," ");else return null;return{base:o,prev:Ln.call(Array(r+1),o)}}function Ws(n,r){if(n.length===0)return"";var o=`
57
57
  `+r.prev+r.base;return o+Ln.call(n,","+o)+`
58
- `+r.prev}function Ho(n,r){var o=Hs(n),a=[];if(o){a.length=n.length;for(var c=0;c<n.length;c++)a[c]=fr(n,c)?r(n[c],n):""}var d=typeof Is=="function"?Is(n):[],h;if(di){h={};for(var y=0;y<d.length;y++)h["$"+d[y]]=d[y]}for(var v in n)fr(n,v)&&(o&&String(Number(v))===v&&v<n.length||di&&h["$"+v]instanceof Symbol||(Ef.call(/[^\w$]/,v)?a.push(r(v,n)+": "+r(n[v],n)):a.push(v+": "+r(n[v],n))));if(typeof Is=="function")for(var _=0;_<d.length;_++)Tf.call(n,d[_])&&a.push("["+r(d[_])+"]: "+r(n[d[_]],n));return a}var jf=gi,vi=V3,w4=i4,C4=Vi,Wo=jf("%WeakMap%",!0),zo=jf("%Map%",!0),A4=vi("WeakMap.prototype.get",!0),k4=vi("WeakMap.prototype.set",!0),D4=vi("WeakMap.prototype.has",!0),I4=vi("Map.prototype.get",!0),R4=vi("Map.prototype.set",!0),E4=vi("Map.prototype.has",!0),Qs=function(n,r){for(var o=n,a;(a=o.next)!==null;o=a)if(a.key===r)return o.next=a.next,a.next=n.next,n.next=a,a},T4=function(n,r){var o=Qs(n,r);return o&&o.value},M4=function(n,r,o){var a=Qs(n,r);a?a.value=o:n.next={key:r,next:n.next,value:o}},L4=function(n,r){return!!Qs(n,r)},O4=function(){var r,o,a,c={assert:function(d){if(!c.has(d))throw new C4("Side channel does not contain "+w4(d))},get:function(d){if(Wo&&d&&(typeof d=="object"||typeof d=="function")){if(r)return A4(r,d)}else if(zo){if(o)return I4(o,d)}else if(a)return T4(a,d)},has:function(d){if(Wo&&d&&(typeof d=="object"||typeof d=="function")){if(r)return D4(r,d)}else if(zo){if(o)return E4(o,d)}else if(a)return L4(a,d);return!1},set:function(d,h){Wo&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new Wo),k4(r,d,h)):zo?(o||(o=new zo),R4(o,d,h)):(a||(a={key:{},next:null}),M4(a,d,h))}};return c},P4=String.prototype.replace,j4=/%20/g,Es={RFC1738:"RFC1738",RFC3986:"RFC3986"},el={default:Es.RFC3986,formatters:{RFC1738:function(n){return P4.call(n,j4,"+")},RFC3986:function(n){return String(n)}},RFC1738:Es.RFC1738,RFC3986:Es.RFC3986},F4=el,Ts=Object.prototype.hasOwnProperty,Mr=Array.isArray,Tn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),N4=function(r){for(;r.length>1;){var o=r.pop(),a=o.obj[o.prop];if(Mr(a)){for(var c=[],d=0;d<a.length;++d)typeof a[d]<"u"&&c.push(a[d]);o.obj[o.prop]=c}}},Ff=function(r,o){for(var a=o&&o.plainObjects?Object.create(null):{},c=0;c<r.length;++c)typeof r[c]<"u"&&(a[c]=r[c]);return a},B4=function n(r,o,a){if(!o)return r;if(typeof o!="object"){if(Mr(r))r.push(o);else if(r&&typeof r=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Ts.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var c=r;return Mr(r)&&!Mr(o)&&(c=Ff(r,a)),Mr(r)&&Mr(o)?(o.forEach(function(d,h){if(Ts.call(r,h)){var y=r[h];y&&typeof y=="object"&&d&&typeof d=="object"?r[h]=n(y,d,a):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var y=o[h];return Ts.call(d,h)?d[h]=n(d[h],y,a):d[h]=y,d},c)},$4=function(r,o){return Object.keys(o).reduce(function(a,c){return a[c]=o[c],a},r)},H4=function(n,r,o){var a=n.replace(/\+/g," ");if(o==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch{return a}},W4=function(r,o,a,c,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)),a==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var y="",v=0;v<h.length;++v){var _=h.charCodeAt(v);if(_===45||_===46||_===95||_===126||_>=48&&_<=57||_>=65&&_<=90||_>=97&&_<=122||d===F4.RFC1738&&(_===40||_===41)){y+=h.charAt(v);continue}if(_<128){y=y+Tn[_];continue}if(_<2048){y=y+(Tn[192|_>>6]+Tn[128|_&63]);continue}if(_<55296||_>=57344){y=y+(Tn[224|_>>12]+Tn[128|_>>6&63]+Tn[128|_&63]);continue}v+=1,_=65536+((_&1023)<<10|h.charCodeAt(v)&1023),y+=Tn[240|_>>18]+Tn[128|_>>12&63]+Tn[128|_>>6&63]+Tn[128|_&63]}return y},z4=function(r){for(var o=[{obj:{o:r},prop:"o"}],a=[],c=0;c<o.length;++c)for(var d=o[c],h=d.obj[d.prop],y=Object.keys(h),v=0;v<y.length;++v){var _=y[v],C=h[_];typeof C=="object"&&C!==null&&a.indexOf(C)===-1&&(o.push({obj:h,prop:_}),a.push(C))}return N4(o),r},U4=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},V4=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},q4=function(r,o){return[].concat(r,o)},G4=function(r,o){if(Mr(r)){for(var a=[],c=0;c<r.length;c+=1)a.push(o(r[c]));return a}return o(r)},Nf={arrayToObject:Ff,assign:$4,combine:q4,compact:z4,decode:H4,encode:W4,isBuffer:V4,isRegExp:U4,maybeMap:G4,merge:B4},Bf=O4,qo=Nf,Wi=el,Y4=Object.prototype.hasOwnProperty,$f={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Mn=Array.isArray,K4=Array.prototype.push,Hf=function(n,r){K4.apply(n,Mn(r)?r:[r])},Z4=Date.prototype.toISOString,ff=Wi.default,kt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qo.encode,encodeValuesOnly:!1,format:ff,formatter:Wi.formatters[ff],indices:!1,serializeDate:function(r){return Z4.call(r)},skipNulls:!1,strictNullHandling:!1},J4=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},Ms={},X4=function n(r,o,a,c,d,h,y,v,_,C,m,S,w,R,M,P,j,W){for(var I=r,te=W,L=0,N=!1;(te=te.get(Ms))!==void 0&&!N;){var E=te.get(r);if(L+=1,typeof E<"u"){if(E===L)throw new RangeError("Cyclic object value");N=!0}typeof te.get(Ms)>"u"&&(L=0)}if(typeof C=="function"?I=C(o,I):I instanceof Date?I=w(I):a==="comma"&&Mn(I)&&(I=qo.maybeMap(I,function(_e){return _e instanceof Date?w(_e):_e})),I===null){if(h)return _&&!P?_(o,kt.encoder,j,"key",R):o;I=""}if(J4(I)||qo.isBuffer(I)){if(_){var O=P?o:_(o,kt.encoder,j,"key",R);return[M(O)+"="+M(_(I,kt.encoder,j,"value",R))]}return[M(o)+"="+M(String(I))]}var X=[];if(typeof I>"u")return X;var oe;if(a==="comma"&&Mn(I))P&&_&&(I=qo.maybeMap(I,_)),oe=[{value:I.length>0?I.join(",")||null:void 0}];else if(Mn(C))oe=C;else{var K=Object.keys(I);oe=m?K.sort(m):K}var le=v?o.replace(/\./g,"%2E"):o,ce=c&&Mn(I)&&I.length===1?le+"[]":le;if(d&&Mn(I)&&I.length===0)return ce+"[]";for(var se=0;se<oe.length;++se){var ae=oe[se],He=typeof ae=="object"&&typeof ae.value<"u"?ae.value:I[ae];if(!(y&&He===null)){var Se=S&&v?ae.replace(/\./g,"%2E"):ae,U=Mn(I)?typeof a=="function"?a(ce,Se):ce:ce+(S?"."+Se:"["+Se+"]");W.set(r,L);var ne=Bf();ne.set(Ms,W),Hf(X,n(He,U,a,c,d,h,y,v,a==="comma"&&P&&Mn(I)?null:_,C,m,S,w,R,M,P,j,ne))}}return X},Q4=function(r){if(!r)return kt;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||kt.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 a=Wi.default;if(typeof r.format<"u"){if(!Y4.call(Wi.formatters,r.format))throw new TypeError("Unknown format option provided.");a=r.format}var c=Wi.formatters[a],d=kt.filter;(typeof r.filter=="function"||Mn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in $f?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=kt.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:kt.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:kt.addQueryPrefix,allowDots:y,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:kt.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:kt.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?kt.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:kt.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:kt.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:kt.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:kt.encodeValuesOnly,filter:d,format:a,formatter:c,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:kt.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:kt.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:kt.strictNullHandling}},e6=function(n,r){var o=n,a=Q4(r),c,d;typeof a.filter=="function"?(d=a.filter,o=d("",o)):Mn(a.filter)&&(d=a.filter,c=d);var h=[];if(typeof o!="object"||o===null)return"";var y=$f[a.arrayFormat],v=y==="comma"&&a.commaRoundTrip;c||(c=Object.keys(o)),a.sort&&c.sort(a.sort);for(var _=Bf(),C=0;C<c.length;++C){var m=c[C];a.skipNulls&&o[m]===null||Hf(h,X4(o[m],m,y,v,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,_))}var S=h.join(a.delimiter),w=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),S.length>0?w+S:""},hi=Nf,zs=Object.prototype.hasOwnProperty,t6=Array.isArray,mt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:hi.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},n6=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Wf=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},r6="utf8=%26%2310003%3B",i6="utf8=%E2%9C%93",o6=function(r,o){var a={__proto__:null},c=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=c.split(o.delimiter,d),y=-1,v,_=o.charset;if(o.charsetSentinel)for(v=0;v<h.length;++v)h[v].indexOf("utf8=")===0&&(h[v]===i6?_="utf-8":h[v]===r6&&(_="iso-8859-1"),y=v,v=h.length);for(v=0;v<h.length;++v)if(v!==y){var C=h[v],m=C.indexOf("]="),S=m===-1?C.indexOf("="):m+1,w,R;S===-1?(w=o.decoder(C,mt.decoder,_,"key"),R=o.strictNullHandling?null:""):(w=o.decoder(C.slice(0,S),mt.decoder,_,"key"),R=hi.maybeMap(Wf(C.slice(S+1),o),function(P){return o.decoder(P,mt.decoder,_,"value")})),R&&o.interpretNumericEntities&&_==="iso-8859-1"&&(R=n6(R)),C.indexOf("[]=")>-1&&(R=t6(R)?[R]:R);var M=zs.call(a,w);M&&o.duplicates==="combine"?a[w]=hi.combine(a[w],R):(!M||o.duplicates==="last")&&(a[w]=R)}return a},a6=function(n,r,o,a){for(var c=a?r:Wf(r,o),d=n.length-1;d>=0;--d){var h,y=n[d];if(y==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&c===""?[]:[].concat(c);else{h=o.plainObjects?Object.create(null):{};var v=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,_=o.decodeDotInKeys?v.replace(/%2E/g,"."):v,C=parseInt(_,10);!o.parseArrays&&_===""?h={0:c}:!isNaN(C)&&y!==_&&String(C)===_&&C>=0&&o.parseArrays&&C<=o.arrayLimit?(h=[],h[C]=c):_!=="__proto__"&&(h[_]=c)}c=h}return c},s6=function(r,o,a,c){if(r){var d=a.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,v=a.depth>0&&h.exec(d),_=v?d.slice(0,v.index):d,C=[];if(_){if(!a.plainObjects&&zs.call(Object.prototype,_)&&!a.allowPrototypes)return;C.push(_)}for(var m=0;a.depth>0&&(v=y.exec(d))!==null&&m<a.depth;){if(m+=1,!a.plainObjects&&zs.call(Object.prototype,v[1].slice(1,-1))&&!a.allowPrototypes)return;C.push(v[1])}return v&&C.push("["+d.slice(v.index)+"]"),a6(C,o,a,c)}},l6=function(r){if(!r)return mt;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"?mt.charset:r.charset,a=typeof r.duplicates>"u"?mt.duplicates:r.duplicates;if(a!=="combine"&&a!=="first"&&a!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var c=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:mt.allowDots:!!r.allowDots;return{allowDots:c,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:mt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:mt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:mt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:mt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:mt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:mt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:mt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:mt.decoder,delimiter:typeof r.delimiter=="string"||hi.isRegExp(r.delimiter)?r.delimiter:mt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:mt.depth,duplicates:a,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:mt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:mt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:mt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:mt.strictNullHandling}},c6=function(n,r){var o=l6(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?o6(n,o):n,c=o.plainObjects?Object.create(null):{},d=Object.keys(a),h=0;h<d.length;++h){var y=d[h],v=s6(y,a[y],o,typeof n=="string");c=hi.merge(c,v,o)}return o.allowSparse===!0?c:hi.compact(c)},u6=e6,f6=c6,d6=el,h6={formats:d6,parse:f6,stringify:u6};const g6=df(h6),Us={StoredContexts:{},defaultHandler:n=>{console.log(n)}},zf={Init:()=>{},Create:n=>{const r=n.method+n.url;return Us.StoredContexts[r]=n,v6(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Us.defaultHandler=n}};function v6(n){const r=`[${n.method}] ${n.url}`;return{Call:async a=>{let{url:c,method:d,stream:h,paramType:y}=n,{po:v,onStream:_,onStreamEnd:C,noDefaultHandle:m=[]}=a??{};(y==="query"||d==="GET")&&v!==void 0&&(c+="?"+g6.stringify(v,{arrayFormat:"comma"}));const S={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(y==="form"){const M=new FormData;if(v!==void 0)for(const P in v){const j=v[P];M.append(P,j)}S.body=M}else(y==="body"||y===void 0&&n.method!=="GET")&&(S.body=JSON.stringify(v),S.headers["Content-Type"]="application/json;charset=UTF-8");let w={errorCode:0,message:""};const R=Date.now();c=zf.FetchBaseUrl()+c;try{let M=await fetch(c,S);if(M.ok===!1)return w.errorCode=M.status,w.message=M.statusText,w;{const P=new TextDecoder("utf-8");if(h){if(M.body){let j=M.body.getReader(),W="";for(;;){const I=await j.read();if(I.done)break;const te=P.decode(I.value).trim();W+=te;let L=null;try{const N=te.split("\0");let E=N[N.length-1];for(let O=N.length-2;O>=0;O--)if(N[O].trim().length!==0){E=N[O];break}L=await JSON.parse(E)}catch{try{const E=W.split("\0");let O=E[E.length-1];for(let X=E.length-2;X>=0;X--)if(E[X].trim().length!==0){O=E[X];break}L=await JSON.parse(O)}catch{}}if(L!=null&&(Object.keys(L).includes("err_code")?w.errorCode=L.err_code:(w.errorCode=0,w.data=L,W="",I.done?C==null||C(w.data):_==null||_(w.data))),I.done)break}}}else if(M.body){const W=await M.body.getReader().read(),I=P.decode(W.value);if(I==="null")return w;{let te=await JSON.parse(I.replaceAll("\0",""));Object.keys(te).includes("err_code")?(w.errorCode=te.err_code,w.message=te.err_msg):w.data=te}}}}catch(M){console.warn(M),w.errorCode=-1,w.message=M.message}return console.debug(`${r} ${Date.now()-R}ms`),m!==!0&&await Us.defaultHandler(w,m),w}}}async function p6(n){const r=new Promise((o,a)=>{const c=new FileReader;c.onloadend=()=>{c.result?typeof c.result=="string"?o(c.result.split(",")[1]):a(new Error("Failed to convert file to Base64: Invalid result type.")):a(new Error("Failed to convert file to Base64: Empty result."))},c.onerror=d=>{a(d)},c.readAsDataURL(n)});try{return await r}catch{return}}const y6={toBase64:p6};exports.ABase=ct;exports.AButton=Wt;exports.ACheckBox=ui;exports.AClock=zy;exports.AColFrame=yf;exports.ADatePicker=Vs;exports.ADateRangePicker=qs;exports.ADialog=zm;exports.ADivideFrame=i_;exports.AFileBox=Qm;exports.AFloatMenu=o2;exports.AGrow=Ui;exports.AIcon=bt;exports.AIconButton=Bi;exports.AIcons=yy;exports.AInput=jr;exports.AListView=f2;exports.AMultiSelect=k2;exports.AOverflowFrame=Xo;exports.ARowFrame=Br;exports.ASelect=Fr;exports.ASpace=Mt;exports.AStepper=H2;exports.ASwitch=q2;exports.ATab=Q2;exports.ATable=Jb;exports.AText=rx;exports.ATextArea=cx;exports.AThemeKeys=ux;exports.AThemes=js;exports.ATooltip=vf;exports.ATree=Gx;exports.AWrap=Gn;exports.ApiContext=zf;exports.EDir12=zi;exports.EDir4=On;exports.Resources=Pn;exports.SetResources=D_;exports.Themes=Yn;exports.bound=Ni;exports.cbF=Ke;exports.classF=re;exports.createADC=Km;exports.createEvent=Er;exports.dateF=ye;exports.defaultPredicate=Os;exports.fileF=y6;exports.objF=Ne;exports.setDir12Style=ia;exports.strF=pf;exports.tableF=Tr;exports.treeF=dr;exports.useADialogCore=Gm;exports.useADialogCores=qm;exports.useValues=St;
58
+ `+r.prev}function Ho(n,r){var o=Hs(n),a=[];if(o){a.length=n.length;for(var c=0;c<n.length;c++)a[c]=fr(n,c)?r(n[c],n):""}var d=typeof Is=="function"?Is(n):[],h;if(di){h={};for(var y=0;y<d.length;y++)h["$"+d[y]]=d[y]}for(var v in n)fr(n,v)&&(o&&String(Number(v))===v&&v<n.length||di&&h["$"+v]instanceof Symbol||(Ef.call(/[^\w$]/,v)?a.push(r(v,n)+": "+r(n[v],n)):a.push(v+": "+r(n[v],n))));if(typeof Is=="function")for(var _=0;_<d.length;_++)Tf.call(n,d[_])&&a.push("["+r(d[_])+"]: "+r(n[d[_]],n));return a}var jf=gi,vi=V3,w4=i4,C4=Vi,Wo=jf("%WeakMap%",!0),zo=jf("%Map%",!0),A4=vi("WeakMap.prototype.get",!0),k4=vi("WeakMap.prototype.set",!0),D4=vi("WeakMap.prototype.has",!0),I4=vi("Map.prototype.get",!0),R4=vi("Map.prototype.set",!0),E4=vi("Map.prototype.has",!0),Qs=function(n,r){for(var o=n,a;(a=o.next)!==null;o=a)if(a.key===r)return o.next=a.next,a.next=n.next,n.next=a,a},T4=function(n,r){var o=Qs(n,r);return o&&o.value},M4=function(n,r,o){var a=Qs(n,r);a?a.value=o:n.next={key:r,next:n.next,value:o}},L4=function(n,r){return!!Qs(n,r)},O4=function(){var r,o,a,c={assert:function(d){if(!c.has(d))throw new C4("Side channel does not contain "+w4(d))},get:function(d){if(Wo&&d&&(typeof d=="object"||typeof d=="function")){if(r)return A4(r,d)}else if(zo){if(o)return I4(o,d)}else if(a)return T4(a,d)},has:function(d){if(Wo&&d&&(typeof d=="object"||typeof d=="function")){if(r)return D4(r,d)}else if(zo){if(o)return E4(o,d)}else if(a)return L4(a,d);return!1},set:function(d,h){Wo&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new Wo),k4(r,d,h)):zo?(o||(o=new zo),R4(o,d,h)):(a||(a={key:{},next:null}),M4(a,d,h))}};return c},P4=String.prototype.replace,j4=/%20/g,Es={RFC1738:"RFC1738",RFC3986:"RFC3986"},el={default:Es.RFC3986,formatters:{RFC1738:function(n){return P4.call(n,j4,"+")},RFC3986:function(n){return String(n)}},RFC1738:Es.RFC1738,RFC3986:Es.RFC3986},F4=el,Ts=Object.prototype.hasOwnProperty,Mr=Array.isArray,Tn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),N4=function(r){for(;r.length>1;){var o=r.pop(),a=o.obj[o.prop];if(Mr(a)){for(var c=[],d=0;d<a.length;++d)typeof a[d]<"u"&&c.push(a[d]);o.obj[o.prop]=c}}},Ff=function(r,o){for(var a=o&&o.plainObjects?Object.create(null):{},c=0;c<r.length;++c)typeof r[c]<"u"&&(a[c]=r[c]);return a},B4=function n(r,o,a){if(!o)return r;if(typeof o!="object"){if(Mr(r))r.push(o);else if(r&&typeof r=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Ts.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var c=r;return Mr(r)&&!Mr(o)&&(c=Ff(r,a)),Mr(r)&&Mr(o)?(o.forEach(function(d,h){if(Ts.call(r,h)){var y=r[h];y&&typeof y=="object"&&d&&typeof d=="object"?r[h]=n(y,d,a):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var y=o[h];return Ts.call(d,h)?d[h]=n(d[h],y,a):d[h]=y,d},c)},$4=function(r,o){return Object.keys(o).reduce(function(a,c){return a[c]=o[c],a},r)},H4=function(n,r,o){var a=n.replace(/\+/g," ");if(o==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch{return a}},W4=function(r,o,a,c,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)),a==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var y="",v=0;v<h.length;++v){var _=h.charCodeAt(v);if(_===45||_===46||_===95||_===126||_>=48&&_<=57||_>=65&&_<=90||_>=97&&_<=122||d===F4.RFC1738&&(_===40||_===41)){y+=h.charAt(v);continue}if(_<128){y=y+Tn[_];continue}if(_<2048){y=y+(Tn[192|_>>6]+Tn[128|_&63]);continue}if(_<55296||_>=57344){y=y+(Tn[224|_>>12]+Tn[128|_>>6&63]+Tn[128|_&63]);continue}v+=1,_=65536+((_&1023)<<10|h.charCodeAt(v)&1023),y+=Tn[240|_>>18]+Tn[128|_>>12&63]+Tn[128|_>>6&63]+Tn[128|_&63]}return y},z4=function(r){for(var o=[{obj:{o:r},prop:"o"}],a=[],c=0;c<o.length;++c)for(var d=o[c],h=d.obj[d.prop],y=Object.keys(h),v=0;v<y.length;++v){var _=y[v],C=h[_];typeof C=="object"&&C!==null&&a.indexOf(C)===-1&&(o.push({obj:h,prop:_}),a.push(C))}return N4(o),r},U4=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},V4=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},q4=function(r,o){return[].concat(r,o)},G4=function(r,o){if(Mr(r)){for(var a=[],c=0;c<r.length;c+=1)a.push(o(r[c]));return a}return o(r)},Nf={arrayToObject:Ff,assign:$4,combine:q4,compact:z4,decode:H4,encode:W4,isBuffer:V4,isRegExp:U4,maybeMap:G4,merge:B4},Bf=O4,qo=Nf,Wi=el,Y4=Object.prototype.hasOwnProperty,$f={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Mn=Array.isArray,K4=Array.prototype.push,Hf=function(n,r){K4.apply(n,Mn(r)?r:[r])},Z4=Date.prototype.toISOString,ff=Wi.default,kt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qo.encode,encodeValuesOnly:!1,format:ff,formatter:Wi.formatters[ff],indices:!1,serializeDate:function(r){return Z4.call(r)},skipNulls:!1,strictNullHandling:!1},J4=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},Ms={},X4=function n(r,o,a,c,d,h,y,v,_,C,m,S,w,R,M,P,j,W){for(var I=r,te=W,L=0,N=!1;(te=te.get(Ms))!==void 0&&!N;){var E=te.get(r);if(L+=1,typeof E<"u"){if(E===L)throw new RangeError("Cyclic object value");N=!0}typeof te.get(Ms)>"u"&&(L=0)}if(typeof C=="function"?I=C(o,I):I instanceof Date?I=w(I):a==="comma"&&Mn(I)&&(I=qo.maybeMap(I,function(_e){return _e instanceof Date?w(_e):_e})),I===null){if(h)return _&&!P?_(o,kt.encoder,j,"key",R):o;I=""}if(J4(I)||qo.isBuffer(I)){if(_){var O=P?o:_(o,kt.encoder,j,"key",R);return[M(O)+"="+M(_(I,kt.encoder,j,"value",R))]}return[M(o)+"="+M(String(I))]}var X=[];if(typeof I>"u")return X;var oe;if(a==="comma"&&Mn(I))P&&_&&(I=qo.maybeMap(I,_)),oe=[{value:I.length>0?I.join(",")||null:void 0}];else if(Mn(C))oe=C;else{var K=Object.keys(I);oe=m?K.sort(m):K}var le=v?o.replace(/\./g,"%2E"):o,ce=c&&Mn(I)&&I.length===1?le+"[]":le;if(d&&Mn(I)&&I.length===0)return ce+"[]";for(var se=0;se<oe.length;++se){var ae=oe[se],He=typeof ae=="object"&&typeof ae.value<"u"?ae.value:I[ae];if(!(y&&He===null)){var Se=S&&v?ae.replace(/\./g,"%2E"):ae,U=Mn(I)?typeof a=="function"?a(ce,Se):ce:ce+(S?"."+Se:"["+Se+"]");W.set(r,L);var ne=Bf();ne.set(Ms,W),Hf(X,n(He,U,a,c,d,h,y,v,a==="comma"&&P&&Mn(I)?null:_,C,m,S,w,R,M,P,j,ne))}}return X},Q4=function(r){if(!r)return kt;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||kt.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 a=Wi.default;if(typeof r.format<"u"){if(!Y4.call(Wi.formatters,r.format))throw new TypeError("Unknown format option provided.");a=r.format}var c=Wi.formatters[a],d=kt.filter;(typeof r.filter=="function"||Mn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in $f?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=kt.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:kt.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:kt.addQueryPrefix,allowDots:y,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:kt.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:kt.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?kt.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:kt.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:kt.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:kt.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:kt.encodeValuesOnly,filter:d,format:a,formatter:c,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:kt.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:kt.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:kt.strictNullHandling}},e6=function(n,r){var o=n,a=Q4(r),c,d;typeof a.filter=="function"?(d=a.filter,o=d("",o)):Mn(a.filter)&&(d=a.filter,c=d);var h=[];if(typeof o!="object"||o===null)return"";var y=$f[a.arrayFormat],v=y==="comma"&&a.commaRoundTrip;c||(c=Object.keys(o)),a.sort&&c.sort(a.sort);for(var _=Bf(),C=0;C<c.length;++C){var m=c[C];a.skipNulls&&o[m]===null||Hf(h,X4(o[m],m,y,v,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,_))}var S=h.join(a.delimiter),w=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),S.length>0?w+S:""},hi=Nf,zs=Object.prototype.hasOwnProperty,t6=Array.isArray,mt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:hi.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},n6=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Wf=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},r6="utf8=%26%2310003%3B",i6="utf8=%E2%9C%93",o6=function(r,o){var a={__proto__:null},c=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=c.split(o.delimiter,d),y=-1,v,_=o.charset;if(o.charsetSentinel)for(v=0;v<h.length;++v)h[v].indexOf("utf8=")===0&&(h[v]===i6?_="utf-8":h[v]===r6&&(_="iso-8859-1"),y=v,v=h.length);for(v=0;v<h.length;++v)if(v!==y){var C=h[v],m=C.indexOf("]="),S=m===-1?C.indexOf("="):m+1,w,R;S===-1?(w=o.decoder(C,mt.decoder,_,"key"),R=o.strictNullHandling?null:""):(w=o.decoder(C.slice(0,S),mt.decoder,_,"key"),R=hi.maybeMap(Wf(C.slice(S+1),o),function(P){return o.decoder(P,mt.decoder,_,"value")})),R&&o.interpretNumericEntities&&_==="iso-8859-1"&&(R=n6(R)),C.indexOf("[]=")>-1&&(R=t6(R)?[R]:R);var M=zs.call(a,w);M&&o.duplicates==="combine"?a[w]=hi.combine(a[w],R):(!M||o.duplicates==="last")&&(a[w]=R)}return a},a6=function(n,r,o,a){for(var c=a?r:Wf(r,o),d=n.length-1;d>=0;--d){var h,y=n[d];if(y==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&c===""?[]:[].concat(c);else{h=o.plainObjects?Object.create(null):{};var v=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,_=o.decodeDotInKeys?v.replace(/%2E/g,"."):v,C=parseInt(_,10);!o.parseArrays&&_===""?h={0:c}:!isNaN(C)&&y!==_&&String(C)===_&&C>=0&&o.parseArrays&&C<=o.arrayLimit?(h=[],h[C]=c):_!=="__proto__"&&(h[_]=c)}c=h}return c},s6=function(r,o,a,c){if(r){var d=a.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,v=a.depth>0&&h.exec(d),_=v?d.slice(0,v.index):d,C=[];if(_){if(!a.plainObjects&&zs.call(Object.prototype,_)&&!a.allowPrototypes)return;C.push(_)}for(var m=0;a.depth>0&&(v=y.exec(d))!==null&&m<a.depth;){if(m+=1,!a.plainObjects&&zs.call(Object.prototype,v[1].slice(1,-1))&&!a.allowPrototypes)return;C.push(v[1])}return v&&C.push("["+d.slice(v.index)+"]"),a6(C,o,a,c)}},l6=function(r){if(!r)return mt;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"?mt.charset:r.charset,a=typeof r.duplicates>"u"?mt.duplicates:r.duplicates;if(a!=="combine"&&a!=="first"&&a!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var c=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:mt.allowDots:!!r.allowDots;return{allowDots:c,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:mt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:mt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:mt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:mt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:mt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:mt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:mt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:mt.decoder,delimiter:typeof r.delimiter=="string"||hi.isRegExp(r.delimiter)?r.delimiter:mt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:mt.depth,duplicates:a,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:mt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:mt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:mt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:mt.strictNullHandling}},c6=function(n,r){var o=l6(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?o6(n,o):n,c=o.plainObjects?Object.create(null):{},d=Object.keys(a),h=0;h<d.length;++h){var y=d[h],v=s6(y,a[y],o,typeof n=="string");c=hi.merge(c,v,o)}return o.allowSparse===!0?c:hi.compact(c)},u6=e6,f6=c6,d6=el,h6={formats:d6,parse:f6,stringify:u6};const g6=df(h6),Us={StoredContexts:{},defaultHandler:n=>{console.log(n)}},zf={Init:()=>{},Create:n=>{const r=n.method+n.url;return Us.StoredContexts[r]=n,v6(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Us.defaultHandler=n}};function v6(n){const r=`[${n.method}] ${n.url}`;return{Call:async a=>{let{url:c,method:d,stream:h,paramType:y}=n,{po:v,onStream:_,onStreamEnd:C,noDefaultHandle:m=[]}=a??{};(y==="query"||d==="GET")&&v!==void 0&&(c+="?"+g6.stringify(v,{arrayFormat:"comma"}));const S={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(y==="form"){const M=new FormData;if(v!==void 0)for(const P in v){const j=v[P];M.append(P,j)}S.body=M}else(y==="body"||y===void 0&&n.method!=="GET")&&(S.body=JSON.stringify(v),S.headers["Content-Type"]="application/json;charset=UTF-8");let w={errorCode:0,message:""};const R=Date.now();c=zf.FetchBaseUrl()+c;try{let M=await fetch(c,S);if(M.ok===!1)return w.errorCode=M.status,w.message=M.statusText,w;{const P=new TextDecoder("utf-8");if(h){if(M.body){let j=M.body.getReader(),W="";for(;;){const I=await j.read();if(I.done)break;const te=P.decode(I.value).trim();W+=te;let L=null;try{const N=te.split("\0");let E=N[N.length-1];for(let O=N.length-2;O>=0;O--)if(N[O].trim().length!==0){E=N[O];break}L=await JSON.parse(E)}catch{try{const E=W.split("\0");let O=E[E.length-1];for(let X=E.length-2;X>=0;X--)if(E[X].trim().length!==0){O=E[X];break}L=await JSON.parse(O)}catch{}}if(L!=null&&(Object.keys(L).includes("err_code")?w.errorCode=L.err_code:(w.errorCode=0,w.data=L,W="",I.done?C==null||C(w.data):_==null||_(w.data))),I.done)break}}}else if(M.body){const W=await M.body.getReader().read(),I=P.decode(W.value);if(I==="null")return w;{let te=await JSON.parse(I.replaceAll("\0",""));Object.keys(te).includes("err_code")?(w.errorCode=te.err_code,w.message=te.err_msg):w.data=te}}}}catch(M){console.warn(M),w.errorCode=-1,w.message=M.message}return console.debug(`${r} ${Date.now()-R}ms`),m!==!0&&await Us.defaultHandler(w,m),w}}}async function p6(n){const r=new Promise((o,a)=>{const c=new FileReader;c.onloadend=()=>{c.result?typeof c.result=="string"?o(c.result.split(",")[1]):a(new Error("Failed to convert file to Base64: Invalid result type.")):a(new Error("Failed to convert file to Base64: Empty result."))},c.onerror=d=>{a(d)},c.readAsDataURL(n)});try{return await r}catch{return}}const y6={toBase64:p6};exports.ABase=ct;exports.AButton=Wt;exports.ACheckBox=ui;exports.AClock=zy;exports.AColFrame=yf;exports.ADatePicker=Vs;exports.ADateRangePicker=qs;exports.ADialog=zm;exports.ADivideFrame=i_;exports.AFileBox=Qm;exports.AFloatMenu=o2;exports.AGrow=Ui;exports.AIcon=bt;exports.AIconButton=Bi;exports.AIcons=yy;exports.AInput=jr;exports.AListView=f2;exports.AMultiSelect=k2;exports.AOverflowFrame=Xo;exports.ARowFrame=Br;exports.ASelect=Fr;exports.ASpace=Mt;exports.AStepper=H2;exports.ASwitch=q2;exports.ATab=Q2;exports.ATable=Jb;exports.AText=rx;exports.ATextArea=cx;exports.AThemeKeys=ux;exports.AThemes=js;exports.ATooltip=vf;exports.ATree=Gx;exports.AWrap=Gn;exports.ApiContext=zf;exports.CreateADC=Km;exports.EDir12=zi;exports.EDir4=On;exports.Resources=Pn;exports.SetResources=D_;exports.Themes=Yn;exports.bound=Ni;exports.cbF=Ke;exports.classF=re;exports.createEvent=Er;exports.dateF=ye;exports.defaultPredicate=Os;exports.fileF=y6;exports.objF=Ne;exports.setDir12Style=ia;exports.strF=pf;exports.tableF=Tr;exports.treeF=dr;exports.useADialogCore=Gm;exports.useADialogCores=qm;exports.useValues=St;
package/dist/index.es.js CHANGED
@@ -5197,7 +5197,10 @@ const Zy = "_ARowFrame_1mf7g_1", Jy = "_AColFrame_1mf7g_7", Xy = "_AOverflowFram
5197
5197
  {
5198
5198
  ...d,
5199
5199
  className: oe.clsx(xn.ChildFrame, d == null ? void 0 : d.className),
5200
- style: { ...d == null ? void 0 : d.style, ...u_(o, _, Q) },
5200
+ style: {
5201
+ ...d == null ? void 0 : d.style,
5202
+ ...u_(o, _, Q)
5203
+ },
5201
5204
  children: T
5202
5205
  }
5203
5206
  ),
@@ -10548,6 +10551,7 @@ export {
10548
10551
  C6 as ATree,
10549
10552
  yr as AWrap,
10550
10553
  t6 as ApiContext,
10554
+ h6 as CreateADC,
10551
10555
  sa as EDir12,
10552
10556
  Kn as EDir4,
10553
10557
  Xn as Resources,
@@ -10556,7 +10560,6 @@ export {
10556
10560
  No as bound,
10557
10561
  Xe as cbF,
10558
10562
  oe as classF,
10559
- h6 as createADC,
10560
10563
  ii as createEvent,
10561
10564
  _e as dateF,
10562
10565
  Hu as defaultPredicate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",