define(["require","exports","@core/material-ui-components","dojo/cookie"],function(require,exports,material_ui_components_1,cookie){Object.defineProperty(exports,"__esModule",{value:true});exports.hexToRgb=function(hex){var shorthandRegex=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;hex=hex.replace(shorthandRegex,function(m,r,g,b){return r+r+g+g+b+b;});var result=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);return result?{r:parseInt(result[1],16),g:parseInt(result[2],16),b:parseInt(result[3],16)}:null;};function cssImportant(value,unit){if(unit===void 0){unit="px";} if(typeof value==="number") return ""+value+unit+" !important";return value+" !important";} exports.cssImportant=cssImportant;var colors;(function(colors){colors["transparent"]="transparent";colors["platinum"]="#d3d6d8";colors["gold"]="#dbac34";colors["silver"]="#aaa9ad";colors["bronze"]="#b08d57";colors["paper_yellow"]="#fff2ce";colors["purple_light"]="rgb(249 241 249)";colors["paper_yellow_light"]="rgb(255 253 241)";colors["primary"]="#2580d8";colors["primary_alt"]="#0662b9";colors["primary_alt_dark"]="#034b92";colors["color_1_5H"]="#ecf3fb";colors["color_1_25"]="#f5faff";colors["color_1_50"]="#e3f1fb";colors["color_1_100"]="#daeeff";colors["color_1_150"]="#92daff";colors["_color_1_150"]="#84cbf3";colors["color_1_200"]="#65afec";colors["color_1_300"]="#469fe9";colors["color_1_400"]="#298fe6";colors["color_1_500"]="#2580d8";colors["color_1_600"]="#1f70c5";colors["color_1_700"]="#1a5fb3";colors["color_1_800"]="#114294";colors["color_1_900"]="#1F56A4";colors["color_1_1000"]="#034b92";colors["color_1_A100"]="#deebff";colors["color_1_A200"]="#abcbff";colors["color_1_A400"]="#78acff";colors["color_1_A700"]="#5e9cff";colors["secondary"]="#783076";colors["color_2_25"]="#f3e9f3";colors["color_2_50"]="#EFE6EF";colors["color_2_100"]="#D7C1D6";colors["color_2_200"]="#BC98BB";colors["color_2_300"]="#A16E9F";colors["color_2_400"]="#8C4F8B";colors["color_2_500"]="#783076";colors["color_2_600"]="#702B6E";colors["color_2_700"]="#652463";colors["color_2_800"]="#5B1E59";colors["color_2_900"]="#481346";colors["color_2_A100"]="#ff84fa";colors["color_2_A200"]="#ff51f8";colors["color_2_A400"]="#ff1ef5";colors["color_2_A700"]="#ff04f4";colors["alt_1"]="#008768";colors["color_3_25"]="#e0f3ef";colors["color_3_50"]="#e0f3ef";colors["color_3_100"]="#b2e2d6";colors["color_3_200"]="#7fd0bc";colors["color_3_300"]="#4abda1";colors["color_3_400"]="#19ae8e";colors["color_3_500"]="#009f7b";colors["color_3_600"]="#00926f";colors["color_3_700"]="#008160";colors["color_3_800"]="#007152";colors["color_3_900"]="#005537";colors["color_3_A100"]="#b4ffe4";colors["color_3_A200"]="#81ffd2";colors["color_3_A400"]="#4effc0";colors["color_3_A700"]="#35ffb7";colors["alt_2"]="#ffa41d";colors["color_4_50"]="#fdf2e7";colors["color_4_100"]="#f9ddc2";colors["color_4_200"]="#f5c799";colors["color_4_300"]="#f1b170";colors["color_4_400"]="#eea052";colors["color_4_500"]="#eb8f33";colors["color_4_600"]="#e9872e";colors["color_4_700"]="#e57c27";colors["color_4_800"]="#e27220";colors["color_4_900"]="#dd6014";colors["color_4_A100"]="#ffffff";colors["color_4_A200"]="#ffe6da";colors["color_4_A400"]="#ffc5a7";colors["color_4_A700"]="#ffb48d";colors["text_grey"]="#575858";colors["text_medium_grey"]="#777777";colors["text_light_grey"]="#9e9e9f";colors["text_very_light"]="#b2b2b2";colors["text_light_placeholder"]="#e4e4e4";colors["text_50"]="#ebebeb";colors["text_100"]="#cccccc";colors["text_150"]="#c0c0c0";colors["text_200"]="#aaaaaa";colors["text_300"]="#888888";colors["text_400"]="#6f6f6f";colors["text_500"]="#525257";colors["text_600"]="#4e4e4e";colors["text_700"]="#444444";colors["text_800"]="#3b3b3b";colors["text_900"]="#2a2a2a";colors["grey"]="#eeeeee";colors["grey_50"]="#FDFDFD";colors["grey_100"]="#FAFAFA";colors["grey_125"]="#F9F9F9";colors["grey_150"]="#F6F6F6";colors["grey_200"]="#F7F7F7";colors["grey_300"]="#F3F3F3";colors["grey_400"]="#F1F1F1";colors["grey_500"]="#EEEEEE";colors["grey_600"]="#f8f8f8";colors["grey_700"]="#E9E9E9";colors["grey_800"]="#E7E7E7";colors["grey_900"]="#E2E2E2";colors["grey_1000"]="#dadada";colors["accent_1"]="#e4f1ff";colors["accent_1_alt_light"]="#f4f9ff";colors["accent_1_alt_dark"]="#daeeff";colors["accent_1_text"]="#66aaec";colors["accent_1_nav_text"]="#2784da";colors["accent_1_nav_text_dark"]="#1d71da";colors["container_background"]="#FBFDFE";colors["red"]="#ff6060";colors["danger"]="#f44336";colors["danger_hover"]="#a91a12";colors["danger_text"]="#d32f2f";colors["info"]="#f4f9ff";colors["info_text"]="#2580d8";colors["warning"]="#fff9f0";colors["warning_text"]="#ff992e";colors["yellow"]="#f57c00";colors["light_yellow"]="#ffedd3";colors["yellow_light_v2"]="rgb(255 253 241)";colors["medium_yellow"]="#fbe3bd";colors["yellow_natural"]="#ffeb4b";colors["light_grey"]="#F3F3F3";colors["light_grey_alt"]="#F1F1F1";colors["primary_light"]="#469fe9";colors["primary_light_hover"]="#78acff";colors["primary_hover"]="#5e9cff";colors["color_1"]="#2580d8";colors["color_1_light_background"]="#f4f9ff";colors["color_1_light_background_hover"]="#deebff";colors["color_2"]="#783076";colors["color_2_light_background"]="#EFE6EF";colors["color_2_light_background_hover"]="#ff84fa";colors["color_3"]="#008768";colors["color_3_light_background"]="#e0f3ef";colors["color_3_light_background_hover"]="#b4ffe4";colors["color_4"]="#ffa41d";colors["black"]="#000000";colors["white"]="#FFFFFF";colors["error_text"]="#d32f2f";colors["error_alt_text"]="#a94442";colors["error_background"]="#f2dede";colors["error_border"]="#ebccd1";})(colors=exports.colors||(exports.colors={}));exports.color_list=[colors.primary,colors.color_1_900,colors.color_3,colors.yellow,colors.color_2,colors.color_1_300,];function arrowGenerator(color){return{'&[x-placement*="bottom"] .arrow':{top:0,left:'50%',marginLeft:-8,marginTop:'-0.95em',width:'3em',height:'1em','&::before':{borderWidth:'0 1em 1em 1em',borderColor:"transparent transparent "+color+" transparent",},},'&[x-placement*="top"] .arrow':{bottom:0,left:0,marginBottom:'-0.95em',width:'3em',height:'1em','&::before':{borderWidth:'1em 1em 0 1em',borderColor:color+" transparent transparent transparent",},},'&[x-placement*="right"] .arrow':{left:0,marginLeft:'-0.95em',height:'3em',width:'1em','&::before':{borderWidth:'1em 1em 1em 0',borderColor:"transparent "+color+" transparent transparent",},},'&[x-placement*="left"] .arrow':{right:0,marginRight:'-0.95em',height:'3em',width:'1em','&::before':{borderWidth:'1em 0 1em 1em',borderColor:"transparent transparent transparent "+color,},},};} var dark_theme=cookie("theme")==="dark";exports.base_css={body:{color:colors.text_500,$nest:{'& p':{fontSize:14},'& h1, & h2, & h3, & h4, & h5':{color:'#1c1c1c'},'& h5':{fontSize:24,fontWeight:300},'& h6':{fontSize:20,fontWeight:500}}},section:{paddingTop:12,paddingBottom:12},divider:{marginTop:24,marginBottom:12}};exports.theme=cookie("theme")==="dark"?material_ui_components_1.createMuiTheme({overrides:{MuiButton:{root:{textTransform:"uppercase"}},MuiPaper:{root:{backgroundColor:'#3e3e3e !important',color:'#f1f1f1'}},MuiCard:{root:{backgroundColor:'#3e3e3e !important',color:'#f1f1f1'}},MuiTypography:{root:{color:colors.grey_500},h1:{color:'#1c1c1c'},h2:{color:'#1c1c1c'},h3:{color:'#1c1c1c'},h4:{color:'#1c1c1c'},h5:{color:'#1c1c1c'},h6:{color:'#1c1c1c'},subtitle1:{color:colors.grey_500},subtitle2:{color:colors.grey_500},body1:{color:colors.grey_500},body2:{color:colors.grey_500},caption:{color:colors.grey_500},overline:{color:colors.grey_500}},MuiFormControlLabel:{root:{overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'}},MuiInput:{root:{overflow:'hidden',borderRadius:'4px','& input':{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out'},'.has_start_adornment & input':{paddingLeft:12},'&:hover input':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&.focused input, & input:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #e2f1ff'},'&.error input':{background:dark_theme?'#333333':'#fff3fb',border:'solid 1px red'},'&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:after':{height:4,borderRadius:'4px',borderBottomColor:colors.primary+" !important"},'&.error:after':{borderRadius:'4px',borderBottomColor:"red !important"},'& .adornment-container':{position:'relative',height:38,minWidth:33,userSelect:'none',pointerEvents:'none'},'& .right-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',left:0,top:0,bottom:0,transition:'all .3s ease-out'},'& .right-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',left:-2,background:colors.grey_300,color:colors.text_300,borderTopRightRadius:4,borderBottomRightRadius:4,border:"solid thin "+colors.grey_300,borderLeft:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'&:hover .right-adornment-inner':{background:colors.white,},'&.focused .right-adornment-inner':{border:"solid 1px "+colors.color_1_A100,background:colors.color_1_50,color:colors.primary},'&.error .right-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'&.focused .right-adornment-inner-separator, &.error .right-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'& .left-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',right:-2,background:colors.grey_300,color:'#797979',borderTopLeftRadius:4,borderBottomLeftRadius:4,border:"solid thin "+colors.grey_300,borderRight:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'& .left-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',right:0,top:0,bottom:0,transition:'all .3s ease-out'},'&.focused .left-adornment-inner-separator, &.error .left-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'&:hover .left-adornment-inner':{background:colors.white,},'&.focused .left-adornment-inner':{border:'solid 1px #e2f1ff',background:'#e2f1ff',color:colors.primary},'&.error .left-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'& label':{overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'}},multiline:{background:colors.grey_200,borderRadius:4,padding:12,boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out','&:hover':{background:colors.white,borderColor:colors.color_1_50},'&.focused, & input:focus':{background:colors.white,borderColor:colors.color_1_100}},},MuiSelect:{select:{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:'solid 1px #f9f9f9','&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:hover, &:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&:after':{borderRadius:'4px'},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'}},selectMenu:{zIndex:5}},MuiChip:{root:{borderRadius:6,backgroundColor:colors.grey_500,color:colors.text_500,'&:hover':{backgroundColor:colors.grey_500}},colorPrimary:{backgroundColor:colors.color_1_50,color:colors.color_1_500,'&:hover':{backgroundColor:colors.color_1_50}},colorSecondary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},avatarChildren:{},avatarColorPrimary:{backgroundColor:colors.color_1_50+" !important",color:colors.color_1_500},avatarColorSecondary:{backgroundColor:colors.color_2_100+" !important",color:colors.color_2_500},avatar:{height:30,marginLeft:1,borderRadius:6,border:'solid 2px transparent',boxSizing:'border-box','& i':{height:'1em !important',width:'1em !important'}},deleteIconColorPrimary:{color:colors.color_1_500,'&:hover':{color:colors.color_1_400}}},MuiAvatar:{},MuiInputLabel:{root:{zIndex:1,left:'0','& label':{pointerEvents:'none',userSelect:'none',zIndex:1,color:dark_theme?'#838383':''},color:dark_theme?'#838383':'',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap',maxWidth:'calc(100% + 12px)'},animated:{left:8,pointerEvents:'none',userSelect:'none','.has_start_adornment &':{left:46}},formControl:{left:'0',transform:'translate(0, 27px) scale(1)'},shrink:{left:'0px !important'}}},palette:{primary:{main:colors.primary,},secondary:{main:colors.secondary}}}):material_ui_components_1.createMuiTheme({overrides:{MuiTooltip:{tooltip:{backgroundColor:'#f4f9ff !important',background:'#f4f9ff !important',opacity:1,color:colors.accent_1_nav_text_dark+" !important",fontSize:"13px !important",boxShadow:'0px 1px 5px 0px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 3px 1px -2px rgba(0,0,0,0.12)',$nest:{'& .arrow':{position:'absolute',fontSize:6,width:'3em',height:'3em'},'& .arrow::before':{content:'""',margin:'auto',display:'block',width:0,height:0,borderStyle:'solid',},}},popper:{zIndex:10000,opacity:1,$nest:arrowGenerator('#f4f9ff')}},MuiButton:{root:{textTransform:"capitalize"}},MuiTypography:{root:{color:colors.grey_500},h1:{color:'#525257',fontWeight:800,},h2:{color:'#525257',fontWeight:600,},h3:{color:'#525257',fontWeight:600,},h4:{color:'#525257',fontWeight:600,},h5:{color:'#525257',fontWeight:500,fontSize:'1.2rem',},h6:{color:'#525257',fontWeight:500,fontSize:'1.15rem'},subtitle1:{color:colors.text_500,fontWeight:500,},subtitle2:{color:colors.text_500,fontWeight:500,},body1:{color:colors.text_500,fontWeight:500,fontSize:'1rem'},body2:{color:colors.text_500,fontWeight:500,fontSize:'1rem'},caption:{color:colors.text_500},overline:{color:colors.text_500,}},MuiFormControlLabel:{root:{overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'}},MuiOutlinedInput:{root:{backgroundColor:'#fafafa',transition:'background-color .3s ease-in-out, border-width .1s ease-in-out, border-color .3s ease-in-out','&:hover':{background:colors.white,},'& fieldset':{transition:'background-color .3s ease-in-out, border-width .1s ease-in-out, border-color .3s ease-in-out !important',transitionDelay:'0 !important'}},focused:{background:colors.white+" !important",'& fieldset':{transition:'background-color .3s ease-in-out, border-width .1s ease-in-out, border-color .3s ease-in-out !important',transitionDelay:'0 !important'}},multiline:{backgroundColor:'#fafafa',transition:'background-color .3s ease-out, border-width .1s ease-out, border-color .3s ease-out','&:hover':{background:colors.white,}}},MuiInput:{root:{overflow:'hidden',borderRadius:'4px','& input':{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'#525257',fontWeight:400,boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out'},'& textarea':{fontWeight:400,color:dark_theme?'#cccccc':'#525257',},'.has_start_adornment & input':{paddingLeft:12},'&:hover input':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&.focused input, & input:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #e2f1ff'},'&.error input':{background:dark_theme?'#333333':'#fff3fb',border:'solid 1px red'},'&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:after':{height:4,borderRadius:'4px',borderBottomColor:colors.primary+" !important"},'&.error:after':{borderRadius:'4px',borderBottomColor:"red !important"},'& .adornment-container':{position:'relative',height:38,minWidth:33,userSelect:'none',pointerEvents:'none'},'& .right-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',left:0,top:0,bottom:0,transition:'all .3s ease-out'},'& .right-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',left:-2,background:colors.grey_300,color:colors.text_300,borderTopRightRadius:4,borderBottomRightRadius:4,border:"solid thin "+colors.grey_300,borderLeft:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'&:hover .right-adornment-inner':{background:colors.white,},'&.focused .right-adornment-inner':{border:"solid 1px "+colors.color_1_A100,background:colors.color_1_50,color:colors.primary},'&.error .right-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'&.focused .right-adornment-inner-separator, &.error .right-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'& .left-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',right:-2,background:colors.grey_300,color:'#797979',borderTopLeftRadius:4,borderBottomLeftRadius:4,border:"solid thin "+colors.grey_300,borderRight:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'& .left-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',right:0,top:0,bottom:0,transition:'all .3s ease-out'},'&.focused .left-adornment-inner-separator, &.error .left-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'&:hover .left-adornment-inner':{background:colors.white,},'&.focused .left-adornment-inner':{border:'solid 1px #e2f1ff',background:'#e2f1ff',color:colors.primary},'&.error .left-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'& label':{overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap'}},multiline:{fontWeight:400,color:dark_theme?'#cccccc':'#525257',background:colors.grey_200,borderRadius:4,padding:12,boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out','&:hover':{background:colors.white,borderColor:colors.color_1_50},'&.focused, & input:focus':{background:colors.white,borderColor:colors.color_1_100}}},MuiSelect:{select:{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:'solid 1px #f9f9f9','&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:hover, &:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&:after':{borderRadius:'4px'},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'}},selectMenu:{zIndex:5}},MuiChip:{root:{borderRadius:6,backgroundColor:colors.grey_500,color:colors.text_500,'&:hover':{backgroundColor:colors.grey_500}},colorPrimary:{backgroundColor:colors.color_1_50,color:colors.color_1_500,'&:hover':{backgroundColor:colors.color_1_50}},colorSecondary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},avatarChildren:{},avatarColorPrimary:{backgroundColor:colors.color_1_50+" !important",color:colors.color_1_500},avatarColorSecondary:{backgroundColor:colors.color_2_100+" !important",color:colors.color_2_500},avatar:{height:30,marginLeft:1,borderRadius:6,border:'solid 2px transparent',boxSizing:'border-box','& i':{height:'1em !important',width:'1em !important'}},deleteIconColorPrimary:{color:colors.color_1_500,'&:hover':{color:colors.color_1_400}}},MuiAvatar:{},MuiInputLabel:{root:{zIndex:1,left:'0','& label':{pointerEvents:'none',userSelect:'none',zIndex:1,color:dark_theme?'#838383':''},color:dark_theme?'#838383':'',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap',maxWidth:'calc(100% + 12px)'},animated:{left:8,pointerEvents:'none',userSelect:'none','.has_start_adornment &':{left:46}},formControl:{left:'0',transform:'translate(0, 27px) scale(1)'},shrink:{left:'0px !important'}}},palette:{primary:{main:colors.primary,},secondary:{main:colors.secondary}}});exports.color_3_theme=exports.theme;exports.color_2_theme=cookie('theme')==='dark'?material_ui_components_1.createMuiTheme({overrides:{MuiTypography:{root:{color:colors.grey_500},h1:{color:colors.grey_300},h2:{color:colors.grey_300},h3:{color:colors.grey_300},h4:{color:colors.grey_300},h5:{color:colors.grey_500},h6:{color:colors.grey_500},subtitle1:{color:colors.grey_500},subtitle2:{color:colors.grey_500},body1:{color:colors.grey_500},body2:{color:colors.grey_500},caption:{color:colors.grey_500},overline:{color:colors.grey_500}},MuiInput:{root:{borderRadius:'4px','& input':{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out'},'.has_start_adornment & input':{paddingLeft:12},'&:hover input':{background:dark_theme?'#555555':colors.white,border:"solid 1px "+colors.color_2_50},'&.focused input, & input:focus':{background:dark_theme?'#555555':colors.white,border:"solid 1px "+colors.color_2_100},'&.error input':{background:dark_theme?'#333333':'#fff3fb',border:'solid 1px red'},'&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:after':{height:4,borderRadius:'4px',borderBottomColor:colors.color_2+" !important"},'&.error:after':{borderRadius:'4px',borderBottomColor:"red !important"},'& .adornment-container':{position:'relative',height:38,minWidth:33,userSelect:'none',pointerEvents:'none'},'& .right-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',left:0,top:0,bottom:0,transition:'all .3s ease-out'},'& .right-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',left:-2,background:colors.grey_300,color:'#797979',borderTopRightRadius:4,borderBottomRightRadius:4,border:'solid thin #f3f3f3',borderLeft:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'&:hover .right-adornment-inner':{background:colors.white,},'&.focused .right-adornment-inner':{border:"solid 1px "+colors.color_2_50,background:colors.color_2_50,color:colors.color_2_500},'&.error .right-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'&.focused .right-adornment-inner-separator, &.error .right-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'& .left-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',right:-2,background:colors.grey_300,color:'#797979',borderTopLeftRadius:4,borderBottomLeftRadius:4,border:'solid thin #f3f3f3',borderRight:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'& .left-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',right:0,top:0,bottom:0,transition:'all .3s ease-out'},'&.focused .left-adornment-inner-separator, &.error .left-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'&:hover .left-adornment-inner':{background:colors.white,},'&.focused .left-adornment-inner':{border:"solid 1px "+colors.color_2_50,background:colors.color_2_50,color:colors.color_2_500},'&.error .left-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},},multiline:{background:colors.grey_200,borderRadius:4,padding:12,boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out','&:hover':{background:colors.white,borderColor:colors.color_2_50},'&.focused, & input:focus':{background:colors.white,borderColor:colors.color_2_100}}},MuiSelect:{select:{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:'solid 1px #f9f9f9','&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:hover, &:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&:after':{borderRadius:'4px'},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'}}},MuiChip:{root:{borderRadius:6,backgroundColor:colors.grey_500,color:colors.text_500,'&:hover':{backgroundColor:colors.grey_500}},colorPrimary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},colorSecondary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},avatarChildren:{},avatarColorPrimary:{backgroundColor:colors.color_2_50+" !important",color:colors.color_2_500},avatarColorSecondary:{backgroundColor:colors.color_2_100+" !important",color:colors.color_2_500},avatar:{height:30,marginLeft:1,borderRadius:6,border:'solid 2px transparent',boxSizing:'border-box','& i':{height:'1em !important',width:'1em !important'}},deleteIconColorPrimary:{color:colors.color_2_500,'&:hover':{color:colors.color_2_400}}},MuiCheckbox:{root:{colors:{'primary':colors.color_2_500}}},MuiInputLabel:{root:{zIndex:1,left:'0','& label':{pointerEvents:'none',userSelect:'none',zIndex:1,color:dark_theme?'#838383':''},color:dark_theme?'#838383':'',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap',maxWidth:'calc(100% + 12px)'},animated:{left:8,pointerEvents:'none',userSelect:'none','.has_start_adornment &':{left:46}},formControl:{left:'0',transform:'translate(0, 27px) scale(1)'},shrink:{left:'0px !important'}}},palette:{primary:{main:colors.alt_2,contrastText:colors.white},secondary:{main:colors.secondary}}}):material_ui_components_1.createMuiTheme({overrides:{MuiTypography:{root:{color:colors.text_500},h1:{color:colors.text_300},h2:{color:colors.text_300},h3:{color:colors.text_300},h4:{color:colors.text_300},h5:{color:colors.text_500},h6:{color:colors.text_500},subtitle1:{color:colors.text_500},subtitle2:{color:colors.text_500},body1:{color:colors.text_500},body2:{color:colors.text_500},caption:{color:colors.text_500},overline:{color:colors.text_500}},MuiInput:{root:{borderRadius:'4px','& input':{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out'},'.has_start_adornment & input':{paddingLeft:12},'&:hover input':{background:dark_theme?'#555555':colors.white,border:"solid 1px "+colors.color_2_50},'&.focused input, & input:focus':{background:dark_theme?'#555555':colors.white,border:"solid 1px "+colors.color_2_100},'&.error input':{background:dark_theme?'#333333':'#fff3fb',border:'solid 1px red'},'&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important'},'&:after':{height:4,borderRadius:'4px',borderBottomColor:colors.color_2+" !important"},'&.error:after':{borderRadius:'4px',borderBottomColor:"red !important"},'& .adornment-container':{position:'relative',height:38,minWidth:33,userSelect:'none',pointerEvents:'none'},'& .right-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',left:0,top:0,bottom:0,transition:'all .3s ease-out'},'& .right-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',left:-2,background:colors.grey_300,color:'#797979',borderTopRightRadius:4,borderBottomRightRadius:4,border:'solid thin #f3f3f3',borderLeft:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'&:hover .right-adornment-inner':{background:colors.white,},'&.focused .right-adornment-inner':{border:"solid 1px "+colors.color_2_50,background:colors.color_2_50,color:colors.color_2_500},'&.error .right-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},'&.focused .right-adornment-inner-separator, &.error .right-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'& .left-adornment-inner':{position:'absolute',display:'flex',alignItems:'center',justifyContent:'center',fontSize:'1.1em',height:38,width:36,textAlign:'center',right:-2,background:colors.grey_300,color:'#797979',borderTopLeftRadius:4,borderBottomLeftRadius:4,border:'solid thin #f3f3f3',borderRight:'solid thin transparent',boxSizing:'border-box',transition:'all .3s ease-out'},'& .left-adornment-inner-separator':{alignSelf:'stretch',backgroundColor:"rgb(204, 204, 204)",marginBottom:8,marginTop:8,width:1,boxSizing:"border-box",position:'absolute',right:0,top:0,bottom:0,transition:'all .3s ease-out'},'&.focused .left-adornment-inner-separator, &.error .left-adornment-inner-separator':{marginTop:0,marginBottom:0,opacity:0},'&:hover .left-adornment-inner':{background:colors.white,},'&.focused .left-adornment-inner':{border:"solid 1px "+colors.color_2_50,background:colors.color_2_50,color:colors.color_2_500},'&.error .left-adornment-inner':{border:'solid 1px red',background:'#fff3fb',color:'red'},},multiline:{background:colors.grey_200,borderRadius:4,padding:12,boxSizing:'border-box',border:"solid 1px "+colors.grey_200,transition:'background-color .3s ease-out, border-color .3s ease-out','&:hover':{background:colors.white,borderColor:colors.color_2_50},'&.focused, & input:focus':{background:colors.white,borderColor:colors.color_2_100}}},MuiSelect:{select:{padding:'8px 8px 9px',background:dark_theme?'#333333':colors.grey_200,borderRadius:'4px',color:dark_theme?'#cccccc':'',boxSizing:'border-box',border:'solid 1px #f9f9f9','&:before':{borderRadius:'4px',borderBottom:'1px solid rgba(0, 0, 0, 0.0) !important',zIndex:2},'&:hover, &:focus':{background:dark_theme?'#555555':colors.white,border:'solid 1px #eee'},'&:after':{borderRadius:'4px'},'&:focus:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'},'&:hover:before':{borderBottom:'1px solid rgba(0, 0, 0, 0.45) !important'}}},MuiChip:{root:{borderRadius:6,backgroundColor:colors.grey_500,color:colors.text_500,'&:hover':{backgroundColor:colors.grey_500}},colorPrimary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},colorSecondary:{backgroundColor:colors.color_2_50,color:colors.color_2_500,'&:hover':{backgroundColor:colors.color_2_50}},avatarChildren:{},avatarColorPrimary:{backgroundColor:colors.color_2_50+" !important",color:colors.color_2_500},avatarColorSecondary:{backgroundColor:colors.color_2_100+" !important",color:colors.color_2_500},avatar:{height:30,marginLeft:1,borderRadius:6,border:'solid 2px transparent',boxSizing:'border-box','& i':{height:'1em !important',width:'1em !important'}},deleteIconColorPrimary:{color:colors.color_2_500,'&:hover':{color:colors.color_2_400}}},MuiCheckbox:{root:{colors:{'primary':colors.color_2_500}}},MuiInputLabel:{root:{zIndex:1,left:'0','& label':{pointerEvents:'none',userSelect:'none',zIndex:1,color:dark_theme?'#838383':''},color:dark_theme?'#838383':'',overflow:'hidden',textOverflow:'ellipsis',whiteSpace:'nowrap',maxWidth:'calc(100% + 12px)'},animated:{left:8,pointerEvents:'none',userSelect:'none','.has_start_adornment &':{left:46}},formControl:{left:'0',transform:'translate(0, 27px) scale(1)'},shrink:{left:'0px !important'}}},palette:{primary:{main:colors.alt_2,contrastText:colors.white},secondary:{main:colors.secondary}}});});