@simoncomputing/mui-bueno-v3 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.sort-icon-asc{-moz-transform:scale(1,-1);-o-transform:scale(1,-1);-webkit-transform:scale(1,-1);transform:scaleY(-1)}.loading-page{width:100%;height:80%;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-page .text-content{display:flex;flex-direction:column}.citation-link,.selected-citation-link{vertical-align:super;font-size:smaller;padding:0 4px}.selected-citation-link{background-color:#e6e6e6}.citation-link:hover,.selected-citation-link:hover{cursor:pointer}.MuiTiptap-ControlledBubbleMenu-root{z-index:1300!important}
|
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Be,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("@mui/material"),require("react/jsx-runtime"),require("react"),require("react-router-dom"),require("@emotion/styled"),require("@emotion/react"),require("formik"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","@mui/material","react/jsx-runtime","react","react-router-dom","@emotion/styled","@emotion/react","formik","react-dom"],$):(Be=typeof globalThis<"u"?globalThis:Be||self,$(Be["mui-bueno-v3"]={},Be.MaterialUI,Be["react/jsx-runtime"],Be.React,Be.ReactRouterDom,Be.EmotionStyled,Be.EmotionReact,Be.Formik,Be.ReactDom))})(this,function(Be,$,v,q,vo,dB,xo,Na,Ls){"use strict";var Qhe=Object.defineProperty;var ege=(Be,$,v)=>$ in Be?Qhe(Be,$,{enumerable:!0,configurable:!0,writable:!0,value:v}):Be[$]=v;var fd=(Be,$,v)=>ege(Be,typeof $!="symbol"?$+"":$,v);var p$,h$,g$,m$,y$,b$,v$,x$,S$,w$,C$,_$,T$,k$,E$,O$,M$,A$,I$,D$,P$,N$,L$,$$;var Cw=document.createElement("style");Cw.textContent
|
|
1
|
+
(function(Be,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("@mui/material"),require("react/jsx-runtime"),require("react"),require("react-router-dom"),require("@emotion/styled"),require("@emotion/react"),require("formik"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","@mui/material","react/jsx-runtime","react","react-router-dom","@emotion/styled","@emotion/react","formik","react-dom"],$):(Be=typeof globalThis<"u"?globalThis:Be||self,$(Be["mui-bueno-v3"]={},Be.MaterialUI,Be["react/jsx-runtime"],Be.React,Be.ReactRouterDom,Be.EmotionStyled,Be.EmotionReact,Be.Formik,Be.ReactDom))})(this,function(Be,$,v,q,vo,dB,xo,Na,Ls){"use strict";var Qhe=Object.defineProperty;var ege=(Be,$,v)=>$ in Be?Qhe(Be,$,{enumerable:!0,configurable:!0,writable:!0,value:v}):Be[$]=v;var fd=(Be,$,v)=>ege(Be,typeof $!="symbol"?$+"":$,v);var p$,h$,g$,m$,y$,b$,v$,x$,S$,w$,C$,_$,T$,k$,E$,O$,M$,A$,I$,D$,P$,N$,L$,$$;var Cw=document.createElement("style");Cw.textContent=`.sort-icon-asc{-moz-transform:scale(1,-1);-o-transform:scale(1,-1);-webkit-transform:scale(1,-1);transform:scaleY(-1)}.loading-page{width:100%;height:80%;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-page .text-content{display:flex;flex-direction:column}.citation-link,.selected-citation-link{vertical-align:super;font-size:smaller;padding:0 4px}.selected-citation-link{background-color:#e6e6e6}.citation-link:hover,.selected-citation-link:hover{cursor:pointer}.MuiTiptap-ControlledBubbleMenu-root{z-index:1300!important}
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(Cw);function _w(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const P=_w(q),fB=_w(Ls),ue={breakpoints_xs:"0px",breakpoints_sm:"600px",breakpoints_md:"960px",breakpoints_lg:"1100px",breakpoints_xl:"1536px",light_palette_primary_light:"#4c98d7",light_palette_primary_main:"#005ea2",light_palette_primary_dark:"#1a4480",light_palette_secondary_light:"#9bb672",light_palette_secondary_main:"#607f35",light_palette_secondary_dark:"#3c4a29",light_palette_text_primary:"rgba(0, 0, 0, 0.8705882353)",light_palette_text_secondary:"rgba(0, 0, 0, 0.6)",light_palette_text_disabled:"rgba(0, 0, 0, 0.3803921569)",light_palette_error_light:"#dc5b52",light_palette_error_main:"#d83933",light_palette_error_dark:"#b50909",light_palette_warning_light:"#ffbe2e",light_palette_warning_main:"#e5a000",light_palette_warning_dark:"#c2850c",light_palette_info_light:"#4c98d7",light_palette_info_main:"#005ea2",light_palette_info_dark:"#1a4480",light_palette_success_light:"#9bb672",light_palette_success_main:"#607f35",light_palette_success_dark:"#3c4a29",light_palette_background_default:"#f9f9f9",light_palette_background_paper:"#fff",light_palette_background_appBar:"#252f3e",light_palette_divider_default:"#c9c9c9",dark_palette_primary_light:"#98cbfb",dark_palette_primary_main:"#4c98d7",dark_palette_primary_dark:"#005ea2",dark_palette_secondary_light:"#b8d293",dark_palette_secondary_main:"#9bb672",dark_palette_secondary_dark:"#607f35",dark_palette_text_primary:"#fff",dark_palette_text_secondary:"rgba(255, 255, 255, 0.7019607843)",dark_palette_text_disabled:"rgba(255, 255, 255, 0.5019607843)",dark_palette_error_light:"#f1928b",dark_palette_error_main:"#dc5b52",dark_palette_error_dark:"#d83933",dark_palette_warning_light:"#ffe396",dark_palette_warning_main:"#ffbe2e",dark_palette_warning_dark:"#e5a000",dark_palette_info_light:"#98cbfb",dark_palette_info_main:"#4c98d7",dark_palette_info_dark:"#005ea2",dark_palette_success_light:"#b8d293",dark_palette_success_main:"#9bb672",dark_palette_success_dark:"#607f35",dark_palette_background_default:"#121212",dark_palette_background_paper:"#1b1b1b",dark_palette_background_appBar:"#252f3e",dark_palette_divider_default:"#2e2e2e",common_palette_grey_50:"#f0f0f0",common_palette_grey_100:"#e6e6e6",common_palette_grey_200:"#c9c9c9",common_palette_grey_300:"#adadad",common_palette_grey_400:"#919191",common_palette_grey_500:"#757575",common_palette_grey_600:"#5c5c5c",common_palette_grey_700:"#454545",common_palette_grey_800:"#2e2e2e",common_palette_grey_900:"#1b1b1b",common_palette_grey_A100:"#e6e6e6",common_palette_grey_A200:"#c9c9c9",common_palette_grey_A400:"#919191",common_palette_grey_A700:"#454545",common_palette_common_white:"#fff",common_palette_common_black:"#000",shadows_1:"2px 2px 5px 0px rgba(0, 0, 0, 0.05)",shadows_2:"2px 2px 7px 0px rgba(0, 0, 0, 0.075)",shadows_3:"2px 3px 7px 0px rgba(0, 0, 0, 0.075), 0px 1px 10px 0px rgba(0, 0, 0, 0.05)",shadows_4:"2px 4px 8px 0px rgba(0, 0, 0, 0.075), 0px 1px 12px 0px rgba(0, 0, 0, 0.075)",shadows_5:"2px 5px 8px 0px rgba(0, 0, 0, 0.075), 0px 2px 14px 0px rgba(0, 0, 0, 0.1)",shadows_6:"2px 6px 10px 0px rgba(0, 0, 0, 0.1), 0px 2px 18px 0px rgba(0, 0, 0, 0.1)",shadows_7:"2px 7px 10px 1px rgba(0, 0, 0, 0.1), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)",shadows_8:"2px 8px 10px 1px rgba(0, 0, 0, 0.1), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)",shadows_9:"2px 9px 12px 1px rgba(0, 0, 0, 0.1), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)",shadows_10:"2px 10px 14px 1px rgba(0, 0, 0, 0.12), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)",shadows_11:"2px 11px 15px 1px rgba(0, 0, 0, 0.12), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)",shadows_12:"2px 12px 17px 2px rgba(0, 0, 0, 0.12), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)",shadows_13:"2px 13px 19px 2px rgba(0, 0, 0, 0.12), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)",shadows_14:"2px 14px 21px 2px rgba(0, 0, 0, 0.12), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)",shadows_15:"2px 15px 22px 2px rgba(0, 0, 0, 0.12), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)",shadows_16:"2px 16px 24px 2px rgba(0, 0, 0, 0.12), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)",shadows_17:"2px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)",shadows_18:"2px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)",shadows_19:"2px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)",shadows_20:"2px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)",shadows_21:"2px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)",shadows_22:"2px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)",shadows_23:"2px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)",shadows_24:"2px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12)",shape_borderRadius:"3px",shape_borderWidth:"1px",shape_buttonBorderWidth:"2px",typography_fontFamily_default:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h1_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h1_fontWeight:"700",typography_h1_fontSize:"2rem",typography_h1_lineHeight:"normal",typography_h1_letterSpacing:"normal",typography_h2_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h2_fontWeight:"700",typography_h2_fontSize:"1.75rem",typography_h2_lineHeight:"normal",typography_h2_letterSpacing:"normal",typography_h3_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h3_fontWeight:"700",typography_h3_fontSize:"1.5rem",typography_h3_lineHeight:"normal",typography_h3_letterSpacing:"normal",typography_h4_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h4_fontWeight:"700",typography_h4_fontSize:"1.35rem",typography_h4_lineHeight:"normal",typography_h4_letterSpacing:"normal",typography_h5_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h5_fontWeight:"700",typography_h5_fontSize:"1.25rem",typography_h5_lineHeight:"normal",typography_h5_letterSpacing:"normal",typography_h6_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_h6_fontWeight:"700",typography_h6_fontSize:"1.1rem",typography_h6_lineHeight:"normal",typography_h6_letterSpacing:"normal",typography_subtitle1_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_subtitle1_fontWeight:"600",typography_subtitle1_fontSize:"1.25rem",typography_subtitle1_lineHeight:"normal",typography_subtitle1_letterSpacing:"normal",typography_subtitle2_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_subtitle2_fontWeight:"600",typography_subtitle2_fontSize:"1.125rem",typography_subtitle2_lineHeight:"normal",typography_subtitle2_letterSpacing:"normal",typography_body1_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_body1_fontWeight:"400",typography_body1_fontSize:"1.125rem",typography_body1_lineHeight:"normal",typography_body1_letterSpacing:"normal",typography_body2_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_body2_fontWeight:"400",typography_body2_fontSize:"1rem",typography_body2_lineHeight:"normal",typography_body2_letterSpacing:"normal",typography_button_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_button_fontWeight:"600",typography_button_fontSize:"1rem",typography_button_lineHeight:"normal",typography_button_letterSpacing:"normal",typography_caption_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_caption_fontWeight:"400",typography_caption_fontSize:"0.75rem",typography_caption_lineHeight:"normal",typography_caption_letterSpacing:"normal",typography_overline_fontFamily:'"source-sans-pro", "helvetica", "arial", sans-serif',typography_overline_fontWeight:"400",typography_overline_fontSize:"0.75rem",typography_overline_lineHeight:"normal",typography_overline_letterSpacing:"normal"},In={breakpoints:{values:{xs:parseInt(ue.breakpoints_xs),sm:parseInt(ue.breakpoints_sm),md:parseInt(ue.breakpoints_md),lg:parseInt(ue.breakpoints_lg),xl:parseInt(ue.breakpoints_xl)}},shadows:["none",ue.shadows_1,ue.shadows_2,ue.shadows_3,ue.shadows_4,ue.shadows_5,ue.shadows_6,ue.shadows_7,ue.shadows_8,ue.shadows_9,ue.shadows_10,ue.shadows_11,ue.shadows_12,ue.shadows_13,ue.shadows_14,ue.shadows_15,ue.shadows_16,ue.shadows_17,ue.shadows_18,ue.shadows_19,ue.shadows_20,ue.shadows_21,ue.shadows_22,ue.shadows_23,ue.shadows_24],shape:{borderRadius:parseInt(ue.shape_borderRadius)},typography:{fontFamily:ue.typography_fontFamily_default,h1:{fontFamily:ue.typography_h1_fontFamily,fontWeight:parseInt(ue.typography_h1_fontWeight),fontSize:ue.typography_h1_fontSize,lineHeight:ue.typography_h1_lineHeight,letterSpacing:ue.typography_h1_letterSpacing},h2:{fontFamily:ue.typography_h2_fontFamily,fontWeight:parseInt(ue.typography_h2_fontWeight),fontSize:ue.typography_h2_fontSize,lineHeight:ue.typography_h2_lineHeight,letterSpacing:ue.typography_h2_letterSpacing},h3:{fontFamily:ue.typography_h3_fontFamily,fontWeight:parseInt(ue.typography_h3_fontWeight),fontSize:ue.typography_h3_fontSize,lineHeight:ue.typography_h3_lineHeight,letterSpacing:ue.typography_h3_letterSpacing},h4:{fontFamily:ue.typography_h4_fontFamily,fontWeight:parseInt(ue.typography_h4_fontWeight),fontSize:ue.typography_h4_fontSize,lineHeight:ue.typography_h4_lineHeight,letterSpacing:ue.typography_h4_letterSpacing},h5:{fontFamily:ue.typography_h5_fontFamily,fontWeight:parseInt(ue.typography_h5_fontWeight),fontSize:ue.typography_h5_fontSize,lineHeight:ue.typography_h5_lineHeight,letterSpacing:ue.typography_h5_letterSpacing},h6:{fontFamily:ue.typography_h6_fontFamily,fontWeight:parseInt(ue.typography_h6_fontWeight),fontSize:ue.typography_h6_fontSize,lineHeight:ue.typography_h6_lineHeight,letterSpacing:ue.typography_h6_letterSpacing},subtitle1:{fontFamily:ue.typography_subtitle1_fontFamily,fontWeight:parseInt(ue.typography_subtitle1_fontWeight),fontSize:ue.typography_subtitle1_fontSize,lineHeight:ue.typography_subtitle1_lineHeight,letterSpacing:ue.typography_subtitle1_letterSpacing},subtitle2:{fontFamily:ue.typography_subtitle2_fontFamily,fontWeight:parseInt(ue.typography_subtitle2_fontWeight),fontSize:ue.typography_subtitle2_fontSize,lineHeight:ue.typography_subtitle2_lineHeight,letterSpacing:ue.typography_subtitle2_letterSpacing},body1:{fontFamily:ue.typography_body1_fontFamily,fontWeight:parseInt(ue.typography_body1_fontWeight),fontSize:ue.typography_body1_fontSize,lineHeight:ue.typography_body1_lineHeight,letterSpacing:ue.typography_body1_letterSpacing},body2:{fontFamily:ue.typography_body2_fontFamily,fontWeight:parseInt(ue.typography_body2_fontWeight),fontSize:ue.typography_body2_fontSize,lineHeight:ue.typography_body2_lineHeight,letterSpacing:ue.typography_body2_letterSpacing},button:{fontFamily:ue.typography_button_fontFamily,fontWeight:parseInt(ue.typography_button_fontWeight),fontSize:ue.typography_button_fontSize,lineHeight:ue.typography_button_lineHeight,letterSpacing:ue.typography_button_letterSpacing,textTransform:"none"},caption:{fontFamily:ue.typography_caption_fontFamily,fontWeight:parseInt(ue.typography_caption_fontWeight),fontSize:ue.typography_caption_fontSize,lineHeight:ue.typography_caption_lineHeight,letterSpacing:ue.typography_caption_letterSpacing},overline:{fontFamily:ue.typography_overline_fontFamily,fontWeight:parseInt(ue.typography_overline_fontWeight),fontSize:ue.typography_overline_fontSize,lineHeight:ue.typography_overline_lineHeight,letterSpacing:ue.typography_overline_letterSpacing}},palette:{grey:{50:ue.common_palette_grey_50,100:ue.common_palette_grey_100,200:ue.common_palette_grey_200,300:ue.common_palette_grey_300,400:ue.common_palette_grey_400,500:ue.common_palette_grey_500,600:ue.common_palette_grey_600,700:ue.common_palette_grey_700,800:ue.common_palette_grey_800,900:ue.common_palette_grey_900,A100:ue.common_palette_grey_A100,A200:ue.common_palette_grey_A200,A400:ue.common_palette_grey_A400,A700:ue.common_palette_grey_A700},common:{black:ue.common_palette_common_black,white:ue.common_palette_common_white},white:ue.common_palette_common_white},components:{MuiCard:{defaultProps:{elevation:0},styleOverrides:{root:{borderStyle:"solid",borderWidth:ue.shape_borderWidth}}},MuiAppBar:{styleOverrides:{root:{backgroundImage:"none"}}},MuiButton:{styleOverrides:{outlined:{borderWidth:ue.shape_buttonBorderWidth,":hover":{borderWidth:ue.shape_buttonBorderWidth}}}},MuiTable:{styleOverrides:{root:({ownerState:t})=>({...t.size==="x-small"&&{"& .MuiTableCell-root":{padding:"0px 16px"}}})}}}},pB=$.createTheme({...In,palette:{...In.palette,mode:"light",primary:{light:ue.light_palette_primary_light,main:ue.light_palette_primary_main,dark:ue.light_palette_primary_dark},secondary:{light:ue.light_palette_secondary_light,main:ue.light_palette_secondary_main,dark:ue.light_palette_secondary_dark},text:{primary:ue.light_palette_text_primary,secondary:ue.light_palette_text_secondary,disabled:ue.light_palette_text_disabled},background:{default:ue.light_palette_background_default,paper:ue.light_palette_background_paper},error:{light:ue.light_palette_error_light,main:ue.light_palette_error_main,dark:ue.light_palette_error_dark},success:{light:ue.light_palette_success_light,main:ue.light_palette_success_main,dark:ue.light_palette_success_dark},info:{light:ue.light_palette_info_light,main:ue.light_palette_info_main,dark:ue.light_palette_info_dark},warning:{light:ue.light_palette_warning_light,main:ue.light_palette_warning_main,dark:ue.light_palette_warning_dark}},components:{...In.components,MuiAppBar:{...(p$=In.components)==null?void 0:p$.MuiAppBar,styleOverrides:{...(g$=(h$=In.components)==null?void 0:h$.MuiAppBar)==null?void 0:g$.styleOverrides,root:{...(b$=(y$=(m$=In.components)==null?void 0:m$.MuiAppBar)==null?void 0:y$.styleOverrides)==null?void 0:b$.root,backgroundColor:ue.light_palette_background_appBar}}},MuiCard:{...(v$=In.components)==null?void 0:v$.MuiCard,styleOverrides:{...(S$=(x$=In.components)==null?void 0:x$.MuiCard)==null?void 0:S$.styleOverrides,root:{...(_$=(C$=(w$=In.components)==null?void 0:w$.MuiCard)==null?void 0:C$.styleOverrides)==null?void 0:_$.root,borderColor:ue.light_palette_divider_default}}}}}),hB=$.createTheme({...In,palette:{...In.palette,mode:"dark",primary:{light:ue.dark_palette_primary_light,main:ue.dark_palette_primary_main,dark:ue.dark_palette_primary_dark},secondary:{light:ue.dark_palette_secondary_light,main:ue.dark_palette_secondary_main,dark:ue.dark_palette_secondary_dark},text:{primary:ue.dark_palette_text_primary,secondary:ue.dark_palette_text_secondary,disabled:ue.dark_palette_text_disabled},background:{default:ue.dark_palette_background_default,paper:ue.dark_palette_background_paper},error:{light:ue.dark_palette_error_light,main:ue.dark_palette_error_main,dark:ue.dark_palette_error_dark},success:{light:ue.dark_palette_success_light,main:ue.dark_palette_success_main,dark:ue.dark_palette_success_dark},info:{light:ue.dark_palette_info_light,main:ue.dark_palette_info_main,dark:ue.dark_palette_info_dark},warning:{light:ue.dark_palette_warning_light,main:ue.dark_palette_warning_main,dark:ue.dark_palette_warning_dark}},components:{...In.components,MuiAppBar:{...(T$=In.components)==null?void 0:T$.MuiAppBar,styleOverrides:{...(E$=(k$=In.components)==null?void 0:k$.MuiAppBar)==null?void 0:E$.styleOverrides,root:{...(A$=(M$=(O$=In.components)==null?void 0:O$.MuiAppBar)==null?void 0:M$.styleOverrides)==null?void 0:A$.root,backgroundColor:ue.dark_palette_background_appBar,backgroundImage:"none"}}},MuiCard:{...(I$=In.components)==null?void 0:I$.MuiCard,styleOverrides:{...(P$=(D$=In.components)==null?void 0:D$.MuiCard)==null?void 0:P$.styleOverrides,root:{...($$=(L$=(N$=In.components)==null?void 0:N$.MuiCard)==null?void 0:L$.styleOverrides)==null?void 0:$$.root,borderColor:ue.dark_palette_divider_default}}}}});var ec=t=>t.type==="checkbox",$s=t=>t instanceof Date,sr=t=>t==null;const Tw=t=>typeof t=="object";var xn=t=>!sr(t)&&!Array.isArray(t)&&Tw(t)&&!$s(t),kw=t=>xn(t)&&t.target?ec(t.target)?t.target.checked:t.target.value:t,gB=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,Ew=(t,e)=>t.has(gB(e)),mB=t=>{const e=t.constructor&&t.constructor.prototype;return xn(e)&&e.hasOwnProperty("isPrototypeOf")},Dg=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Jt(t){let e;const n=Array.isArray(t),r=typeof FileList<"u"?t instanceof FileList:!1;if(t instanceof Date)e=new Date(t);else if(!(Dg&&(t instanceof Blob||r))&&(n||xn(t)))if(e=n?[]:{},!n&&!mB(t))e=t;else for(const o in t)t.hasOwnProperty(o)&&(e[o]=Jt(t[o]));else return t;return e}var pd=t=>/^\w*$/.test(t),Xt=t=>t===void 0,hd=t=>Array.isArray(t)?t.filter(Boolean):[],Pg=t=>hd(t.replace(/["|']|\]/g,"").split(/\.|\[/)),Fe=(t,e,n)=>{if(!e||!xn(t))return n;const r=(pd(e)?[e]:Pg(e)).reduce((o,i)=>sr(o)?o:o[i],t);return Xt(r)||r===t?Xt(t[e])?n:t[e]:r},Pr=t=>typeof t=="boolean",Ot=(t,e,n)=>{let r=-1;const o=pd(e)?[e]:Pg(e),i=o.length,s=i-1;for(;++r<i;){const a=o[r];let l=n;if(r!==s){const u=t[a];l=xn(u)||Array.isArray(u)?u:isNaN(+o[r+1])?{}:[]}if(a==="__proto__"||a==="constructor"||a==="prototype")return;t[a]=l,t=t[a]}};const gd={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Kr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ii={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Ng=q.createContext(null);Ng.displayName="HookFormContext";const an=()=>q.useContext(Ng),yB=t=>{const{children:e,...n}=t;return q.createElement(Ng.Provider,{value:n},e)};var Ow=(t,e,n,r=!0)=>{const o={defaultValues:e._defaultValues};for(const i in t)Object.defineProperty(o,i,{get:()=>{const s=i;return e._proxyFormState[s]!==Kr.all&&(e._proxyFormState[s]=!r||Kr.all),n&&(n[s]=!0),t[s]}});return o};const md=typeof window<"u"?P.useLayoutEffect:P.useEffect;function bB(t){const e=an(),{control:n=e.control,disabled:r,name:o,exact:i}=t||{},[s,a]=q.useState(n._formState),l=q.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return md(()=>n._subscribe({name:o,formState:l.current,exact:i,callback:u=>{!r&&a({...n._formState,...u})}}),[o,r,i]),q.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),q.useMemo(()=>Ow(s,n,l.current,!1),[s,n])}var $o=t=>typeof t=="string",Mw=(t,e,n,r,o)=>$o(t)?(r&&e.watch.add(t),Fe(n,t,o)):Array.isArray(t)?t.map(i=>(r&&e.watch.add(i),Fe(n,i))):(r&&(e.watchAll=!0),n);function yd(t){const e=an(),{control:n=e.control,name:r,defaultValue:o,disabled:i,exact:s}=t||{},a=q.useRef(o),[l,u]=q.useState(n._getWatch(r,a.current));return md(()=>n._subscribe({name:r,formState:{values:!0},exact:s,callback:f=>!i&&u(Mw(r,n._names,f.values||n._formValues,!1,a.current))}),[r,n,i,s]),q.useEffect(()=>n._removeUnmounted()),l}function vB(t){const e=an(),{name:n,disabled:r,control:o=e.control,shouldUnregister:i}=t,s=Ew(o._names.array,n),a=yd({control:o,name:n,defaultValue:Fe(o._formValues,n,Fe(o._defaultValues,n,t.defaultValue)),exact:!0}),l=bB({control:o,name:n,exact:!0}),u=q.useRef(t),f=q.useRef(o.register(n,{...t.rules,value:a,...Pr(t.disabled)?{disabled:t.disabled}:{}})),p=q.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Fe(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!Fe(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Fe(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Fe(l.validatingFields,n)},error:{enumerable:!0,get:()=>Fe(l.errors,n)}}),[l,n]),g=q.useCallback(x=>f.current.onChange({target:{value:kw(x),name:n},type:gd.CHANGE}),[n]),m=q.useCallback(()=>f.current.onBlur({target:{value:Fe(o._formValues,n),name:n},type:gd.BLUR}),[n,o._formValues]),b=q.useCallback(x=>{const w=Fe(o._fields,n);w&&x&&(w._f.ref={focus:()=>x.focus&&x.focus(),select:()=>x.select&&x.select(),setCustomValidity:T=>x.setCustomValidity(T),reportValidity:()=>x.reportValidity()})},[o._fields,n]),y=q.useMemo(()=>({name:n,value:a,...Pr(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:g,onBlur:m,ref:b}),[n,r,l.disabled,g,m,b,a]);return q.useEffect(()=>{const x=o._options.shouldUnregister||i;o.register(n,{...u.current.rules,...Pr(u.current.disabled)?{disabled:u.current.disabled}:{}});const w=(T,_)=>{const C=Fe(o._fields,T);C&&C._f&&(C._f.mount=_)};if(w(n,!0),x){const T=Jt(Fe(o._options.defaultValues,n));Ot(o._defaultValues,n,T),Xt(Fe(o._formValues,n))&&Ot(o._formValues,n,T)}return!s&&o.register(n),()=>{(s?x&&!o._state.action:x)?o.unregister(n):w(n,!1)}},[n,o,s,i]),q.useEffect(()=>{o._setDisabledField({disabled:r,name:n})},[r,n,o]),q.useMemo(()=>({field:y,formState:l,fieldState:p}),[y,l,p])}const Xn=t=>t.render(vB(t));var Aw=(t,e,n,r,o)=>e?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[r]:o||!0}}:{},vr=t=>Array.isArray(t)?t:[t],Iw=()=>{let t=[];return{get observers(){return t},next:o=>{for(const i of t)i.next&&i.next(o)},subscribe:o=>(t.push(o),{unsubscribe:()=>{t=t.filter(i=>i!==o)}}),unsubscribe:()=>{t=[]}}},Lg=t=>sr(t)||!Tw(t);function ji(t,e,n=new WeakSet){if(Lg(t)||Lg(e))return t===e;if($s(t)&&$s(e))return t.getTime()===e.getTime();const r=Object.keys(t),o=Object.keys(e);if(r.length!==o.length)return!1;if(n.has(t)||n.has(e))return!0;n.add(t),n.add(e);for(const i of r){const s=t[i];if(!o.includes(i))return!1;if(i!=="ref"){const a=e[i];if($s(s)&&$s(a)||xn(s)&&xn(a)||Array.isArray(s)&&Array.isArray(a)?!ji(s,a,n):s!==a)return!1}}return!0}var ar=t=>xn(t)&&!Object.keys(t).length,$g=t=>t.type==="file",So=t=>typeof t=="function",bd=t=>{if(!Dg)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},Dw=t=>t.type==="select-multiple",Fg=t=>t.type==="radio",xB=t=>Fg(t)||ec(t),Rg=t=>bd(t)&&t.isConnected;function SB(t,e){const n=e.slice(0,-1).length;let r=0;for(;r<n;)t=Xt(t)?r++:t[e[r++]];return t}function wB(t){for(const e in t)if(t.hasOwnProperty(e)&&!Xt(t[e]))return!1;return!0}function Sn(t,e){const n=Array.isArray(e)?e:pd(e)?[e]:Pg(e),r=n.length===1?t:SB(t,n),o=n.length-1,i=n[o];return r&&delete r[i],o!==0&&(xn(r)&&ar(r)||Array.isArray(r)&&wB(r))&&Sn(t,n.slice(0,-1)),t}var Pw=t=>{for(const e in t)if(So(t[e]))return!0;return!1};function vd(t,e={}){const n=Array.isArray(t);if(xn(t)||n)for(const r in t)Array.isArray(t[r])||xn(t[r])&&!Pw(t[r])?(e[r]=Array.isArray(t[r])?[]:{},vd(t[r],e[r])):sr(t[r])||(e[r]=!0);return e}function Nw(t,e,n){const r=Array.isArray(t);if(xn(t)||r)for(const o in t)Array.isArray(t[o])||xn(t[o])&&!Pw(t[o])?Xt(e)||Lg(n[o])?n[o]=Array.isArray(t[o])?vd(t[o],[]):{...vd(t[o])}:Nw(t[o],sr(e)?{}:e[o],n[o]):n[o]=!ji(t[o],e[o]);return n}var tc=(t,e)=>Nw(t,e,vd(e));const Lw={value:!1,isValid:!1},$w={value:!0,isValid:!0};var Fw=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!Xt(t[0].attributes.value)?Xt(t[0].value)||t[0].value===""?$w:{value:t[0].value,isValid:!0}:$w:Lw}return Lw},Rw=(t,{valueAsNumber:e,valueAsDate:n,setValueAs:r})=>Xt(t)?t:e?t===""?NaN:t&&+t:n&&$o(t)?new Date(t):r?r(t):t;const Bw={isValid:!1,value:null};var Vw=t=>Array.isArray(t)?t.reduce((e,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:e,Bw):Bw;function zw(t){const e=t.ref;return $g(e)?e.files:Fg(e)?Vw(t.refs).value:Dw(e)?[...e.selectedOptions].map(({value:n})=>n):ec(e)?Fw(t.refs).value:Rw(Xt(e.value)?t.ref.value:e.value,t)}var CB=(t,e,n,r)=>{const o={};for(const i of t){const s=Fe(e,i);s&&Ot(o,i,s._f)}return{criteriaMode:n,names:[...t],fields:o,shouldUseNativeValidation:r}},xd=t=>t instanceof RegExp,nc=t=>Xt(t)?t:xd(t)?t.source:xn(t)?xd(t.value)?t.value.source:t.value:t,La=t=>({isOnSubmit:!t||t===Kr.onSubmit,isOnBlur:t===Kr.onBlur,isOnChange:t===Kr.onChange,isOnAll:t===Kr.all,isOnTouch:t===Kr.onTouched});const Hw="AsyncFunction";var _B=t=>!!t&&!!t.validate&&!!(So(t.validate)&&t.validate.constructor.name===Hw||xn(t.validate)&&Object.values(t.validate).find(e=>e.constructor.name===Hw)),TB=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate),Bg=(t,e,n)=>!n&&(e.watchAll||e.watch.has(t)||[...e.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));const $a=(t,e,n,r)=>{for(const o of n||Object.keys(t)){const i=Fe(t,o);if(i){const{_f:s,...a}=i;if(s){if(s.refs&&s.refs[0]&&e(s.refs[0],o)&&!r)return!0;if(s.ref&&e(s.ref,s.name)&&!r)return!0;if($a(a,e))break}else if(xn(a)&&$a(a,e))break}}};function jw(t,e,n){const r=Fe(t,n);if(r||pd(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const i=o.join("."),s=Fe(e,i),a=Fe(t,i);if(s&&!Array.isArray(s)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};if(a&&a.root&&a.root.type)return{name:`${i}.root`,error:a.root};o.pop()}return{name:n}}var kB=(t,e,n,r)=>{n(t);const{name:o,...i}=t;return ar(i)||Object.keys(i).length>=Object.keys(e).length||Object.keys(i).find(s=>e[s]===(!r||Kr.all))},EB=(t,e,n)=>!t||!e||t===e||vr(t).some(r=>r&&(n?r===e:r.startsWith(e)||e.startsWith(r))),OB=(t,e,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(e||t):(n?r.isOnBlur:o.isOnBlur)?!t:(n?r.isOnChange:o.isOnChange)?t:!0,MB=(t,e)=>!hd(Fe(t,e)).length&&Sn(t,e),Ww=(t,e,n)=>{const r=vr(Fe(t,n));return Ot(r,"root",e[n]),Ot(t,n,r),t},Sd=t=>$o(t);function qw(t,e,n="validate"){if(Sd(t)||Array.isArray(t)&&t.every(Sd)||Pr(t)&&!t)return{type:n,message:Sd(t)?t:"",ref:e}}var Fa=t=>xn(t)&&!xd(t)?t:{value:t,message:""},Vg=async(t,e,n,r,o,i)=>{const{ref:s,refs:a,required:l,maxLength:u,minLength:f,min:p,max:g,pattern:m,validate:b,name:y,valueAsNumber:x,mount:w}=t._f,T=Fe(n,y);if(!w||e.has(y))return{};const _=a?a[0]:s,C=F=>{o&&_.reportValidity&&(_.setCustomValidity(Pr(F)?"":F||""),_.reportValidity())},E={},M=Fg(s),A=ec(s),I=M||A,L=(x||$g(s))&&Xt(s.value)&&Xt(T)||bd(s)&&s.value===""||T===""||Array.isArray(T)&&!T.length,O=Aw.bind(null,y,r,E),D=(F,V,z,R=ii.maxLength,B=ii.minLength)=>{const U=F?V:z;E[y]={type:F?R:B,message:U,ref:s,...O(F?R:B,U)}};if(i?!Array.isArray(T)||!T.length:l&&(!I&&(L||sr(T))||Pr(T)&&!T||A&&!Fw(a).isValid||M&&!Vw(a).isValid)){const{value:F,message:V}=Sd(l)?{value:!!l,message:l}:Fa(l);if(F&&(E[y]={type:ii.required,message:V,ref:_,...O(ii.required,V)},!r))return C(V),E}if(!L&&(!sr(p)||!sr(g))){let F,V;const z=Fa(g),R=Fa(p);if(!sr(T)&&!isNaN(T)){const B=s.valueAsNumber||T&&+T;sr(z.value)||(F=B>z.value),sr(R.value)||(V=B<R.value)}else{const B=s.valueAsDate||new Date(T),U=G=>new Date(new Date().toDateString()+" "+G),K=s.type=="time",Y=s.type=="week";$o(z.value)&&T&&(F=K?U(T)>U(z.value):Y?T>z.value:B>new Date(z.value)),$o(R.value)&&T&&(V=K?U(T)<U(R.value):Y?T<R.value:B<new Date(R.value))}if((F||V)&&(D(!!F,z.message,R.message,ii.max,ii.min),!r))return C(E[y].message),E}if((u||f)&&!L&&($o(T)||i&&Array.isArray(T))){const F=Fa(u),V=Fa(f),z=!sr(F.value)&&T.length>+F.value,R=!sr(V.value)&&T.length<+V.value;if((z||R)&&(D(z,F.message,V.message),!r))return C(E[y].message),E}if(m&&!L&&$o(T)){const{value:F,message:V}=Fa(m);if(xd(F)&&!T.match(F)&&(E[y]={type:ii.pattern,message:V,ref:s,...O(ii.pattern,V)},!r))return C(V),E}if(b){if(So(b)){const F=await b(T,n),V=qw(F,_);if(V&&(E[y]={...V,...O(ii.validate,V.message)},!r))return C(V.message),E}else if(xn(b)){let F={};for(const V in b){if(!ar(F)&&!r)break;const z=qw(await b[V](T,n),_,V);z&&(F={...z,...O(V,z.message)},C(z.message),r&&(E[y]=F))}if(!ar(F)&&(E[y]={ref:_,...F},!r))return E}}return C(!0),E};const AB={mode:Kr.onSubmit,reValidateMode:Kr.onChange,shouldFocusError:!0};function IB(t={}){let e={...AB,...t},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:So(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},r={},o=xn(e.defaultValues)||xn(e.values)?Jt(e.defaultValues||e.values)||{}:{},i=e.shouldUnregister?{}:Jt(o),s={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let p={...f};const g={array:Iw(),state:Iw()},m=e.criteriaMode===Kr.all,b=W=>te=>{clearTimeout(u),u=setTimeout(W,te)},y=async W=>{if(!e.disabled&&(f.isValid||p.isValid||W)){const te=e.resolver?ar((await A()).errors):await L(r,!0);te!==n.isValid&&g.state.next({isValid:te})}},x=(W,te)=>{!e.disabled&&(f.isValidating||f.validatingFields||p.isValidating||p.validatingFields)&&((W||Array.from(a.mount)).forEach(re=>{re&&(te?Ot(n.validatingFields,re,te):Sn(n.validatingFields,re))}),g.state.next({validatingFields:n.validatingFields,isValidating:!ar(n.validatingFields)}))},w=(W,te=[],re,Me,Ie=!0,De=!0)=>{if(Me&&re&&!e.disabled){if(s.action=!0,De&&Array.isArray(Fe(r,W))){const je=re(Fe(r,W),Me.argA,Me.argB);Ie&&Ot(r,W,je)}if(De&&Array.isArray(Fe(n.errors,W))){const je=re(Fe(n.errors,W),Me.argA,Me.argB);Ie&&Ot(n.errors,W,je),MB(n.errors,W)}if((f.touchedFields||p.touchedFields)&&De&&Array.isArray(Fe(n.touchedFields,W))){const je=re(Fe(n.touchedFields,W),Me.argA,Me.argB);Ie&&Ot(n.touchedFields,W,je)}(f.dirtyFields||p.dirtyFields)&&(n.dirtyFields=tc(o,i)),g.state.next({name:W,isDirty:D(W,te),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ot(i,W,te)},T=(W,te)=>{Ot(n.errors,W,te),g.state.next({errors:n.errors})},_=W=>{n.errors=W,g.state.next({errors:n.errors,isValid:!1})},C=(W,te,re,Me)=>{const Ie=Fe(r,W);if(Ie){const De=Fe(i,W,Xt(re)?Fe(o,W):re);Xt(De)||Me&&Me.defaultChecked||te?Ot(i,W,te?De:zw(Ie._f)):z(W,De),s.mount&&y()}},E=(W,te,re,Me,Ie)=>{let De=!1,je=!1;const ot={name:W};if(!e.disabled){if(!re||Me){(f.isDirty||p.isDirty)&&(je=n.isDirty,n.isDirty=ot.isDirty=D(),De=je!==ot.isDirty);const nt=ji(Fe(o,W),te);je=!!Fe(n.dirtyFields,W),nt?Sn(n.dirtyFields,W):Ot(n.dirtyFields,W,!0),ot.dirtyFields=n.dirtyFields,De=De||(f.dirtyFields||p.dirtyFields)&&je!==!nt}if(re){const nt=Fe(n.touchedFields,W);nt||(Ot(n.touchedFields,W,re),ot.touchedFields=n.touchedFields,De=De||(f.touchedFields||p.touchedFields)&&nt!==re)}De&&Ie&&g.state.next(ot)}return De?ot:{}},M=(W,te,re,Me)=>{const Ie=Fe(n.errors,W),De=(f.isValid||p.isValid)&&Pr(te)&&n.isValid!==te;if(e.delayError&&re?(l=b(()=>T(W,re)),l(e.delayError)):(clearTimeout(u),l=null,re?Ot(n.errors,W,re):Sn(n.errors,W)),(re?!ji(Ie,re):Ie)||!ar(Me)||De){const je={...Me,...De&&Pr(te)?{isValid:te}:{},errors:n.errors,name:W};n={...n,...je},g.state.next(je)}},A=async W=>{x(W,!0);const te=await e.resolver(i,e.context,CB(W||a.mount,r,e.criteriaMode,e.shouldUseNativeValidation));return x(W),te},I=async W=>{const{errors:te}=await A(W);if(W)for(const re of W){const Me=Fe(te,re);Me?Ot(n.errors,re,Me):Sn(n.errors,re)}else n.errors=te;return te},L=async(W,te,re={valid:!0})=>{for(const Me in W){const Ie=W[Me];if(Ie){const{_f:De,...je}=Ie;if(De){const ot=a.array.has(De.name),nt=Ie._f&&_B(Ie._f);nt&&f.validatingFields&&x([Me],!0);const At=await Vg(Ie,a.disabled,i,m,e.shouldUseNativeValidation&&!te,ot);if(nt&&f.validatingFields&&x([Me]),At[De.name]&&(re.valid=!1,te))break;!te&&(Fe(At,De.name)?ot?Ww(n.errors,At,De.name):Ot(n.errors,De.name,At[De.name]):Sn(n.errors,De.name))}!ar(je)&&await L(je,te,re)}}return re.valid},O=()=>{for(const W of a.unMount){const te=Fe(r,W);te&&(te._f.refs?te._f.refs.every(re=>!Rg(re)):!Rg(te._f.ref))&&de(W)}a.unMount=new Set},D=(W,te)=>!e.disabled&&(W&&te&&Ot(i,W,te),!ji(G(),o)),F=(W,te,re)=>Mw(W,a,{...s.mount?i:Xt(te)?o:$o(W)?{[W]:te}:te},re,te),V=W=>hd(Fe(s.mount?i:o,W,e.shouldUnregister?Fe(o,W,[]):[])),z=(W,te,re={})=>{const Me=Fe(r,W);let Ie=te;if(Me){const De=Me._f;De&&(!De.disabled&&Ot(i,W,Rw(te,De)),Ie=bd(De.ref)&&sr(te)?"":te,Dw(De.ref)?[...De.ref.options].forEach(je=>je.selected=Ie.includes(je.value)):De.refs?ec(De.ref)?De.refs.forEach(je=>{(!je.defaultChecked||!je.disabled)&&(Array.isArray(Ie)?je.checked=!!Ie.find(ot=>ot===je.value):je.checked=Ie===je.value||!!Ie)}):De.refs.forEach(je=>je.checked=je.value===Ie):$g(De.ref)?De.ref.value="":(De.ref.value=Ie,De.ref.type||g.state.next({name:W,values:Jt(i)})))}(re.shouldDirty||re.shouldTouch)&&E(W,Ie,re.shouldTouch,re.shouldDirty,!0),re.shouldValidate&&Y(W)},R=(W,te,re)=>{for(const Me in te){if(!te.hasOwnProperty(Me))return;const Ie=te[Me],De=W+"."+Me,je=Fe(r,De);(a.array.has(W)||xn(Ie)||je&&!je._f)&&!$s(Ie)?R(De,Ie,re):z(De,Ie,re)}},B=(W,te,re={})=>{const Me=Fe(r,W),Ie=a.array.has(W),De=Jt(te);Ot(i,W,De),Ie?(g.array.next({name:W,values:Jt(i)}),(f.isDirty||f.dirtyFields||p.isDirty||p.dirtyFields)&&re.shouldDirty&&g.state.next({name:W,dirtyFields:tc(o,i),isDirty:D(W,De)})):Me&&!Me._f&&!sr(De)?R(W,De,re):z(W,De,re),Bg(W,a)&&g.state.next({...n}),g.state.next({name:s.mount?W:void 0,values:Jt(i)})},U=async W=>{s.mount=!0;const te=W.target;let re=te.name,Me=!0;const Ie=Fe(r,re),De=nt=>{Me=Number.isNaN(nt)||$s(nt)&&isNaN(nt.getTime())||ji(nt,Fe(i,re,nt))},je=La(e.mode),ot=La(e.reValidateMode);if(Ie){let nt,At;const _n=te.type?zw(Ie._f):kw(W),ut=W.type===gd.BLUR||W.type===gd.FOCUS_OUT,Pn=!TB(Ie._f)&&!e.resolver&&!Fe(n.errors,re)&&!Ie._f.deps||OB(ut,Fe(n.touchedFields,re),n.isSubmitted,ot,je),$t=Bg(re,a,ut);Ot(i,re,_n),ut?(Ie._f.onBlur&&Ie._f.onBlur(W),l&&l(0)):Ie._f.onChange&&Ie._f.onChange(W);const pe=E(re,_n,ut),We=!ar(pe)||$t;if(!ut&&g.state.next({name:re,type:W.type,values:Jt(i)}),Pn)return(f.isValid||p.isValid)&&(e.mode==="onBlur"?ut&&y():ut||y()),We&&g.state.next({name:re,...$t?{}:pe});if(!ut&&$t&&g.state.next({...n}),e.resolver){const{errors:Ae}=await A([re]);if(De(_n),Me){const qe=jw(n.errors,r,re),Xe=jw(Ae,r,qe.name||re);nt=Xe.error,re=Xe.name,At=ar(Ae)}}else x([re],!0),nt=(await Vg(Ie,a.disabled,i,m,e.shouldUseNativeValidation))[re],x([re]),De(_n),Me&&(nt?At=!1:(f.isValid||p.isValid)&&(At=await L(r,!0)));Me&&(Ie._f.deps&&Y(Ie._f.deps),M(re,At,nt,pe))}},K=(W,te)=>{if(Fe(n.errors,te)&&W.focus)return W.focus(),1},Y=async(W,te={})=>{let re,Me;const Ie=vr(W);if(e.resolver){const De=await I(Xt(W)?W:Ie);re=ar(De),Me=W?!Ie.some(je=>Fe(De,je)):re}else W?(Me=(await Promise.all(Ie.map(async De=>{const je=Fe(r,De);return await L(je&&je._f?{[De]:je}:je)}))).every(Boolean),!(!Me&&!n.isValid)&&y()):Me=re=await L(r);return g.state.next({...!$o(W)||(f.isValid||p.isValid)&&re!==n.isValid?{}:{name:W},...e.resolver||!W?{isValid:re}:{},errors:n.errors}),te.shouldFocus&&!Me&&$a(r,K,W?Ie:a.mount),Me},G=W=>{const te={...s.mount?i:o};return Xt(W)?te:$o(W)?Fe(te,W):W.map(re=>Fe(te,re))},Z=(W,te)=>({invalid:!!Fe((te||n).errors,W),isDirty:!!Fe((te||n).dirtyFields,W),error:Fe((te||n).errors,W),isValidating:!!Fe(n.validatingFields,W),isTouched:!!Fe((te||n).touchedFields,W)}),ge=W=>{W&&vr(W).forEach(te=>Sn(n.errors,te)),g.state.next({errors:W?n.errors:{}})},he=(W,te,re)=>{const Me=(Fe(r,W,{_f:{}})._f||{}).ref,Ie=Fe(n.errors,W)||{},{ref:De,message:je,type:ot,...nt}=Ie;Ot(n.errors,W,{...nt,...te,ref:Me}),g.state.next({name:W,errors:n.errors,isValid:!1}),re&&re.shouldFocus&&Me&&Me.focus&&Me.focus()},me=(W,te)=>So(W)?g.state.subscribe({next:re=>W(F(void 0,te),re)}):F(W,te,!0),oe=W=>g.state.subscribe({next:te=>{EB(W.name,te.name,W.exact)&&kB(te,W.formState||f,_e,W.reRenderRoot)&&W.callback({values:{...i},...n,...te})}}).unsubscribe,ye=W=>(s.mount=!0,p={...p,...W.formState},oe({...W,formState:p})),de=(W,te={})=>{for(const re of W?vr(W):a.mount)a.mount.delete(re),a.array.delete(re),te.keepValue||(Sn(r,re),Sn(i,re)),!te.keepError&&Sn(n.errors,re),!te.keepDirty&&Sn(n.dirtyFields,re),!te.keepTouched&&Sn(n.touchedFields,re),!te.keepIsValidating&&Sn(n.validatingFields,re),!e.shouldUnregister&&!te.keepDefaultValue&&Sn(o,re);g.state.next({values:Jt(i)}),g.state.next({...n,...te.keepDirty?{isDirty:D()}:{}}),!te.keepIsValid&&y()},X=({disabled:W,name:te})=>{(Pr(W)&&s.mount||W||a.disabled.has(te))&&(W?a.disabled.add(te):a.disabled.delete(te))},Q=(W,te={})=>{let re=Fe(r,W);const Me=Pr(te.disabled)||Pr(e.disabled);return Ot(r,W,{...re||{},_f:{...re&&re._f?re._f:{ref:{name:W}},name:W,mount:!0,...te}}),a.mount.add(W),re?X({disabled:Pr(te.disabled)?te.disabled:e.disabled,name:W}):C(W,!0,te.value),{...Me?{disabled:te.disabled||e.disabled}:{},...e.progressive?{required:!!te.required,min:nc(te.min),max:nc(te.max),minLength:nc(te.minLength),maxLength:nc(te.maxLength),pattern:nc(te.pattern)}:{},name:W,onChange:U,onBlur:U,ref:Ie=>{if(Ie){Q(W,te),re=Fe(r,W);const De=Xt(Ie.value)&&Ie.querySelectorAll&&Ie.querySelectorAll("input,select,textarea")[0]||Ie,je=xB(De),ot=re._f.refs||[];if(je?ot.find(nt=>nt===De):De===re._f.ref)return;Ot(r,W,{_f:{...re._f,...je?{refs:[...ot.filter(Rg),De,...Array.isArray(Fe(o,W))?[{}]:[]],ref:{type:De.type,name:W}}:{ref:De}}}),C(W,!1,void 0,De)}else re=Fe(r,W,{}),re._f&&(re._f.mount=!1),(e.shouldUnregister||te.shouldUnregister)&&!(Ew(a.array,W)&&s.action)&&a.unMount.add(W)}}},ae=()=>e.shouldFocusError&&$a(r,K,a.mount),ve=W=>{Pr(W)&&(g.state.next({disabled:W}),$a(r,(te,re)=>{const Me=Fe(r,re);Me&&(te.disabled=Me._f.disabled||W,Array.isArray(Me._f.refs)&&Me._f.refs.forEach(Ie=>{Ie.disabled=Me._f.disabled||W}))},0,!1))},ne=(W,te)=>async re=>{let Me;re&&(re.preventDefault&&re.preventDefault(),re.persist&&re.persist());let Ie=Jt(i);if(g.state.next({isSubmitting:!0}),e.resolver){const{errors:De,values:je}=await A();n.errors=De,Ie=Jt(je)}else await L(r);if(a.disabled.size)for(const De of a.disabled)Sn(Ie,De);if(Sn(n.errors,"root"),ar(n.errors)){g.state.next({errors:{}});try{await W(Ie,re)}catch(De){Me=De}}else te&&await te({...n.errors},re),ae(),setTimeout(ae);if(g.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ar(n.errors)&&!Me,submitCount:n.submitCount+1,errors:n.errors}),Me)throw Me},ce=(W,te={})=>{Fe(r,W)&&(Xt(te.defaultValue)?B(W,Jt(Fe(o,W))):(B(W,te.defaultValue),Ot(o,W,Jt(te.defaultValue))),te.keepTouched||Sn(n.touchedFields,W),te.keepDirty||(Sn(n.dirtyFields,W),n.isDirty=te.defaultValue?D(W,Jt(Fe(o,W))):D()),te.keepError||(Sn(n.errors,W),f.isValid&&y()),g.state.next({...n}))},fe=(W,te={})=>{const re=W?Jt(W):o,Me=Jt(re),Ie=ar(W),De=Ie?o:Me;if(te.keepDefaultValues||(o=re),!te.keepValues){if(te.keepDirtyValues){const je=new Set([...a.mount,...Object.keys(tc(o,i))]);for(const ot of Array.from(je))Fe(n.dirtyFields,ot)?Ot(De,ot,Fe(i,ot)):B(ot,Fe(De,ot))}else{if(Dg&&Xt(W))for(const je of a.mount){const ot=Fe(r,je);if(ot&&ot._f){const nt=Array.isArray(ot._f.refs)?ot._f.refs[0]:ot._f.ref;if(bd(nt)){const At=nt.closest("form");if(At){At.reset();break}}}}if(te.keepFieldsRef)for(const je of a.mount)B(je,Fe(De,je));else r={}}i=e.shouldUnregister?te.keepDefaultValues?Jt(o):{}:Jt(De),g.array.next({values:{...De}}),g.state.next({values:{...De}})}a={mount:te.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!f.isValid||!!te.keepIsValid||!!te.keepDirtyValues,s.watch=!!e.shouldUnregister,g.state.next({submitCount:te.keepSubmitCount?n.submitCount:0,isDirty:Ie?!1:te.keepDirty?n.isDirty:!!(te.keepDefaultValues&&!ji(W,o)),isSubmitted:te.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ie?{}:te.keepDirtyValues?te.keepDefaultValues&&i?tc(o,i):n.dirtyFields:te.keepDefaultValues&&W?tc(o,W):te.keepDirty?n.dirtyFields:{},touchedFields:te.keepTouched?n.touchedFields:{},errors:te.keepErrors?n.errors:{},isSubmitSuccessful:te.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},xe=(W,te)=>fe(So(W)?W(i):W,te),Te=(W,te={})=>{const re=Fe(r,W),Me=re&&re._f;if(Me){const Ie=Me.refs?Me.refs[0]:Me.ref;Ie.focus&&(Ie.focus(),te.shouldSelect&&So(Ie.select)&&Ie.select())}},_e=W=>{n={...n,...W}},He={control:{register:Q,unregister:de,getFieldState:Z,handleSubmit:ne,setError:he,_subscribe:oe,_runSchema:A,_focusError:ae,_getWatch:F,_getDirty:D,_setValid:y,_setFieldArray:w,_setDisabledField:X,_setErrors:_,_getFieldArray:V,_reset:fe,_resetDefaultValues:()=>So(e.defaultValues)&&e.defaultValues().then(W=>{xe(W,e.resetOptions),g.state.next({isLoading:!1})}),_removeUnmounted:O,_disableForm:ve,_subjects:g,_proxyFormState:f,get _fields(){return r},get _formValues(){return i},get _state(){return s},set _state(W){s=W},get _defaultValues(){return o},get _names(){return a},set _names(W){a=W},get _formState(){return n},get _options(){return e},set _options(W){e={...e,...W}}},subscribe:ye,trigger:Y,register:Q,handleSubmit:ne,watch:me,setValue:B,getValues:G,reset:xe,resetField:ce,clearErrors:ge,unregister:de,setError:he,setFocus:Te,getFieldState:Z};return{...He,formControl:He}}var Wi=()=>{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const t=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const n=(Math.random()*16+t)%16|0;return(e=="x"?n:n&3|8).toString(16)})},zg=(t,e,n={})=>n.shouldFocus||Xt(n.shouldFocus)?n.focusName||`${t}.${Xt(n.focusIndex)?e:n.focusIndex}.`:"",Hg=(t,e)=>[...t,...vr(e)],jg=t=>Array.isArray(t)?t.map(()=>{}):void 0;function Wg(t,e,n){return[...t.slice(0,e),...vr(n),...t.slice(e)]}var qg=(t,e,n)=>Array.isArray(t)?(Xt(t[n])&&(t[n]=void 0),t.splice(n,0,t.splice(e,1)[0]),t):[],Ug=(t,e)=>[...vr(e),...vr(t)];function DB(t,e){let n=0;const r=[...t];for(const o of e)r.splice(o-n,1),n++;return hd(r).length?r:[]}var Kg=(t,e)=>Xt(e)?[]:DB(t,vr(e).sort((n,r)=>n-r)),Gg=(t,e,n)=>{[t[e],t[n]]=[t[n],t[e]]},Uw=(t,e,n)=>(t[e]=n,t);function PB(t){const e=an(),{control:n=e.control,name:r,keyName:o="id",shouldUnregister:i,rules:s}=t,[a,l]=q.useState(n._getFieldArray(r)),u=q.useRef(n._getFieldArray(r).map(Wi)),f=q.useRef(a),p=q.useRef(r),g=q.useRef(!1);p.current=r,f.current=a,n._names.array.add(r),s&&n.register(r,s),md(()=>n._subjects.array.subscribe({next:({values:M,name:A})=>{if(A===p.current||!A){const I=Fe(M,p.current);Array.isArray(I)&&(l(I),u.current=I.map(Wi))}}}).unsubscribe,[n]);const m=q.useCallback(M=>{g.current=!0,n._setFieldArray(r,M)},[n,r]),b=(M,A)=>{const I=vr(Jt(M)),L=Hg(n._getFieldArray(r),I);n._names.focus=zg(r,L.length-1,A),u.current=Hg(u.current,I.map(Wi)),m(L),l(L),n._setFieldArray(r,L,Hg,{argA:jg(M)})},y=(M,A)=>{const I=vr(Jt(M)),L=Ug(n._getFieldArray(r),I);n._names.focus=zg(r,0,A),u.current=Ug(u.current,I.map(Wi)),m(L),l(L),n._setFieldArray(r,L,Ug,{argA:jg(M)})},x=M=>{const A=Kg(n._getFieldArray(r),M);u.current=Kg(u.current,M),m(A),l(A),!Array.isArray(Fe(n._fields,r))&&Ot(n._fields,r,void 0),n._setFieldArray(r,A,Kg,{argA:M})},w=(M,A,I)=>{const L=vr(Jt(A)),O=Wg(n._getFieldArray(r),M,L);n._names.focus=zg(r,M,I),u.current=Wg(u.current,M,L.map(Wi)),m(O),l(O),n._setFieldArray(r,O,Wg,{argA:M,argB:jg(A)})},T=(M,A)=>{const I=n._getFieldArray(r);Gg(I,M,A),Gg(u.current,M,A),m(I),l(I),n._setFieldArray(r,I,Gg,{argA:M,argB:A},!1)},_=(M,A)=>{const I=n._getFieldArray(r);qg(I,M,A),qg(u.current,M,A),m(I),l(I),n._setFieldArray(r,I,qg,{argA:M,argB:A},!1)},C=(M,A)=>{const I=Jt(A),L=Uw(n._getFieldArray(r),M,I);u.current=[...L].map((O,D)=>!O||D===M?Wi():u.current[D]),m(L),l([...L]),n._setFieldArray(r,L,Uw,{argA:M,argB:I},!0,!1)},E=M=>{const A=vr(Jt(M));u.current=A.map(Wi),m([...A]),l([...A]),n._setFieldArray(r,[...A],I=>I,{},!0,!1)};return q.useEffect(()=>{if(n._state.action=!1,Bg(r,n._names)&&n._subjects.state.next({...n._formState}),g.current&&(!La(n._options.mode).isOnSubmit||n._formState.isSubmitted)&&!La(n._options.reValidateMode).isOnSubmit)if(n._options.resolver)n._runSchema([r]).then(M=>{const A=Fe(M.errors,r),I=Fe(n._formState.errors,r);(I?!A&&I.type||A&&(I.type!==A.type||I.message!==A.message):A&&A.type)&&(A?Ot(n._formState.errors,r,A):Sn(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const M=Fe(n._fields,r);M&&M._f&&!(La(n._options.reValidateMode).isOnSubmit&&La(n._options.mode).isOnSubmit)&&Vg(M,n._names.disabled,n._formValues,n._options.criteriaMode===Kr.all,n._options.shouldUseNativeValidation,!0).then(A=>!ar(A)&&n._subjects.state.next({errors:Ww(n._formState.errors,A,r)}))}n._subjects.state.next({name:r,values:Jt(n._formValues)}),n._names.focus&&$a(n._fields,(M,A)=>{if(n._names.focus&&A.startsWith(n._names.focus)&&M.focus)return M.focus(),1}),n._names.focus="",n._setValid(),g.current=!1},[a,r,n]),q.useEffect(()=>(!Fe(n._formValues,r)&&n._setFieldArray(r),()=>{const M=(A,I)=>{const L=Fe(n._fields,A);L&&L._f&&(L._f.mount=I)};n._options.shouldUnregister||i?n.unregister(r):M(r,!1)}),[r,n,o,i]),{swap:q.useCallback(T,[m,r,n]),move:q.useCallback(_,[m,r,n]),prepend:q.useCallback(y,[m,r,n]),append:q.useCallback(b,[m,r,n]),remove:q.useCallback(x,[m,r,n]),insert:q.useCallback(w,[m,r,n]),update:q.useCallback(C,[m,r,n]),replace:q.useCallback(E,[m,r,n]),fields:q.useMemo(()=>a.map((M,A)=>({...M,[o]:u.current[A]||Wi()})),[a,o])}}function NB(t={}){const e=q.useRef(void 0),n=q.useRef(void 0),[r,o]=q.useState({isDirty:!1,isValidating:!1,isLoading:So(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,isReady:!1,defaultValues:So(t.defaultValues)?void 0:t.defaultValues});if(!e.current)if(t.formControl)e.current={...t.formControl,formState:r},t.defaultValues&&!So(t.defaultValues)&&t.formControl.reset(t.defaultValues,t.resetOptions);else{const{formControl:s,...a}=IB(t);e.current={...a,formState:r}}const i=e.current.control;return i._options=t,md(()=>{const s=i._subscribe({formState:i._proxyFormState,callback:()=>o({...i._formState}),reRenderRoot:!0});return o(a=>({...a,isReady:!0})),i._formState.isReady=!0,s},[i]),q.useEffect(()=>i._disableForm(t.disabled),[i,t.disabled]),q.useEffect(()=>{t.mode&&(i._options.mode=t.mode),t.reValidateMode&&(i._options.reValidateMode=t.reValidateMode)},[i,t.mode,t.reValidateMode]),q.useEffect(()=>{t.errors&&(i._setErrors(t.errors),i._focusError())},[i,t.errors]),q.useEffect(()=>{t.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,t.shouldUnregister]),q.useEffect(()=>{if(i._proxyFormState.isDirty){const s=i._getDirty();s!==r.isDirty&&i._subjects.state.next({isDirty:s})}},[i,r.isDirty]),q.useEffect(()=>{t.values&&!ji(t.values,n.current)?(i._reset(t.values,{keepFieldsRef:!0,...i._options.resetOptions}),n.current=t.values,o(s=>({...s}))):i._resetDefaultValues()},[i,t.values]),q.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),e.current.formState=Ow(r,i),e.current}const LB=["w","xs","sm","md","lg","xl","alignment","justify","noMP","noGrid","gridClassName","gridStyle"],Kw=t=>t>47&&t<58,Gw=t=>t>64&&t<123&&(t<91||t>96),$B=(t,e,n,r)=>{let o="",i=0,s=0,a=0,l=0;const u=r.selectionStart;let f=!1;if(t.length<=e.length){for(let _=0;_<t.length&&_<e.length;_++){for(;i<e.length&&e[i]!=="X"&&e[i]!=="9";)a++,s++,i++;(Kw(t.charCodeAt(_))&&e[i]==="9"||Gw(t.charCodeAt(_))&&e[i]==="X")&&(a>0&&(l=a,a=0),o+=t[_],i++)}const p=Kw(t.charCodeAt(u-1))?"number":Gw(t.charCodeAt(u-1))?"letter":"something else",g=p!=="number"&&e[u-1]==="9",m=p!=="letter"&&e[u-1]==="X";(g||m||p==="something else")&&(f=!0);let y="",x=0;Math.abs(n.length-t.length)<=1&&(s=0);let w=u+s;for(let _=0;_<o.length;_++){for(;x<e.length&&e[x]!=="X"&&e[x]!=="9";)y+=e[x],x++;y+=o[_],x++}t.length<n.length?window.requestAnimationFrame(()=>{r.selectionStart=w,r.selectionEnd=w}):e[w-1]!=="X"&&e[w-1]!=="9"?window.requestAnimationFrame(()=>{r.selectionStart=w+l,r.selectionEnd=w+l}):(f&&(w-=1),window.requestAnimationFrame(()=>{r.selectionStart=w,r.selectionEnd=w}));const T=e.slice(x);return T.indexOf("X")===-1&&T.indexOf("9")===-1&&(y+=T),y}return window.requestAnimationFrame(()=>{r.selectionStart=u-1,r.selectionEnd=u-1}),n};function lr(t,e){const r=Object.keys(t).filter(i=>e.includes(i)),o={...t};for(const i of LB)delete o[i];for(const i of r)delete o[i];return o}const Wn=t=>t.split(/(?=[A-Z])|[.\-_\s]+/).map(n=>n.charAt(0).toUpperCase()+n.slice(1).toLowerCase()).filter(Boolean).join(" ");function FB(t,e,n=!1,r=""){let o="";if(e==null||e.length==0)return r;if(n){let i="";const s=e.toString().split(",");let a=0;t.forEach(l=>{s.includes(String(l.value).toString())&&(i+=l.label,a<s.length-1&&(i+=", "),a++)}),o=i}else{const i=t.find(s=>e==s.value);i!=null&&(o=i.label)}return o}function rc(t,e,n){return t.onClick?{onClick:()=>{t.onClick(),t.path&&e(t.path),t.externalLink&&window.open(t.externalLink,"_blank","noopener"),n&&n()}}:t.path?{component:vo.Link,to:t.path}:t.externalLink?{href:t.externalLink}:{}}function si(t,e){return process.env.NODE_ENV==="production"?()=>null:function(...r){return t(...r)||e(...r)}}var qi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wd={exports:{}},Rt={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-is.production.js
|