@primer/components 0.0.0-20211030144551 → 0.0.0-20211030164933
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/CHANGELOG.md +6 -2
- package/dist/browser.esm.js +585 -581
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +203 -199
- package/dist/browser.umd.js.map +1 -1
- package/lib/Autocomplete/AutocompleteMenu.js +6 -13
- package/lib/Checkbox.d.ts +1 -1
- package/lib/CheckboxInputField.d.ts +10 -0
- package/lib/CheckboxInputField.js +73 -0
- package/lib/RadioInputField.d.ts +8 -0
- package/lib/RadioInputField.js +82 -0
- package/lib/TextInputField.d.ts +581 -0
- package/lib/TextInputField.js +66 -0
- package/lib/_InputCaption.d.ts +13 -0
- package/lib/_InputCaption.js +26 -0
- package/lib/_InputField/InputField.d.ts +39 -0
- package/lib/_InputField/InputField.js +90 -0
- package/lib/_InputField/InputFieldCaption.d.ts +3 -0
- package/lib/_InputField/InputFieldCaption.js +30 -0
- package/lib/_InputField/InputFieldLabel.d.ts +9 -0
- package/lib/_InputField/InputFieldLabel.js +34 -0
- package/lib/_InputField/InputFieldValidation.d.ts +6 -0
- package/lib/_InputField/InputFieldValidation.js +17 -0
- package/lib/_InputField/ToggleInputField.d.ts +13 -0
- package/lib/_InputField/ToggleInputField.js +71 -0
- package/lib/_InputField/ToggleInputLeadingVisual.d.ts +3 -0
- package/lib/_InputField/ToggleInputLeadingVisual.js +22 -0
- package/lib/_InputField/ValidationAnimationContainer.d.ts +6 -0
- package/lib/_InputField/ValidationAnimationContainer.js +48 -0
- package/lib/_InputField/index.d.ts +1 -0
- package/lib/_InputField/index.js +15 -0
- package/lib/_InputField/slots.d.ts +13 -0
- package/lib/_InputField/slots.js +17 -0
- package/lib/_InputLabel.d.ts +8 -0
- package/lib/_InputLabel.js +44 -0
- package/lib/_InputValidation.d.ts +8 -0
- package/lib/_InputValidation.js +56 -0
- package/lib/_VisuallyHidden.d.ts +6 -0
- package/lib/_VisuallyHidden.js +39 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +24 -0
- package/lib/utils/types/FormValidationStatus.d.ts +1 -0
- package/lib/utils/types/FormValidationStatus.js +1 -0
- package/lib-esm/Autocomplete/AutocompleteMenu.js +3 -13
- package/lib-esm/Checkbox.d.ts +1 -1
- package/lib-esm/CheckboxInputField.d.ts +10 -0
- package/lib-esm/CheckboxInputField.js +56 -0
- package/lib-esm/RadioInputField.d.ts +8 -0
- package/lib-esm/RadioInputField.js +65 -0
- package/lib-esm/TextInputField.d.ts +581 -0
- package/lib-esm/TextInputField.js +50 -0
- package/lib-esm/_InputCaption.d.ts +13 -0
- package/lib-esm/_InputCaption.js +15 -0
- package/lib-esm/_InputField/InputField.d.ts +39 -0
- package/lib-esm/_InputField/InputField.js +70 -0
- package/lib-esm/_InputField/InputFieldCaption.d.ts +3 -0
- package/lib-esm/_InputField/InputFieldCaption.js +18 -0
- package/lib-esm/_InputField/InputFieldLabel.d.ts +9 -0
- package/lib-esm/_InputField/InputFieldLabel.js +22 -0
- package/lib-esm/_InputField/InputFieldValidation.d.ts +6 -0
- package/lib-esm/_InputField/InputFieldValidation.js +7 -0
- package/lib-esm/_InputField/ToggleInputField.d.ts +13 -0
- package/lib-esm/_InputField/ToggleInputField.js +54 -0
- package/lib-esm/_InputField/ToggleInputLeadingVisual.d.ts +3 -0
- package/lib-esm/_InputField/ToggleInputLeadingVisual.js +11 -0
- package/lib-esm/_InputField/ValidationAnimationContainer.d.ts +6 -0
- package/lib-esm/_InputField/ValidationAnimationContainer.js +33 -0
- package/lib-esm/_InputField/index.d.ts +1 -0
- package/lib-esm/_InputField/index.js +1 -0
- package/lib-esm/_InputField/slots.d.ts +13 -0
- package/lib-esm/_InputField/slots.js +5 -0
- package/lib-esm/_InputLabel.d.ts +8 -0
- package/lib-esm/_InputLabel.js +32 -0
- package/lib-esm/_InputValidation.d.ts +8 -0
- package/lib-esm/_InputValidation.js +43 -0
- package/lib-esm/_VisuallyHidden.d.ts +6 -0
- package/lib-esm/_VisuallyHidden.js +26 -0
- package/lib-esm/index.d.ts +3 -0
- package/lib-esm/index.js +3 -0
- package/lib-esm/utils/types/FormValidationStatus.d.ts +1 -0
- package/lib-esm/utils/types/FormValidationStatus.js +1 -0
- package/package.json +2 -2
package/dist/browser.esm.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n,forwardRef as i,useLayoutEffect as l,useContext as d,createContext as s,useReducer as c}from"react";import g,{createGlobalStyle as f,ThemeProvider as u,css as p,ThemeContext as b,keyframes as h}from"styled-components";import m,{createPortal as v}from"react-dom";var x={animation:{easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)"},borderWidths:[0,"1px"],breakpoints:["544px","768px","1012px","1280px"],fonts:{normal:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',mono:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace'},fontSizes:["12px","14px","16px","20px","24px","32px","40px","48px"],fontWeights:{light:300,normal:400,semibold:500,bold:600},lineHeights:{condensedUltra:1,condensed:1.25,default:1.5},radii:["0","3px","6px","100px"],sizes:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},space:["0","4px","8px","16px","24px","32px","40px","48px","64px","80px","96px","112px","128px"],colorSchemes:{light:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#ABF2BC"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"#FFD7D5",lineBg:"#FFEBE9",wordBg:"rgba(255,129,130,0.4)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#2da44e"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#116329",keyword:"#cf222e",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#82071e",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#82071e",carriageReturnText:"#f6f8fa",carriageReturnBg:"#cf222e",stringRegexp:"#116329",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#82071e",markupDeletedBg:"#FFEBE9",markupInsertedText:"#116329",markupInsertedBg:"#dafbe1",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#cf222e",storage:"#cf222e",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#fa4549",donutPending:"#bf8700",donutSuccess:"#2da44e",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#ff8182",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#ff8182",loglineErrorBg:"rgba(164,14,38,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#4ac26b",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#ff8182",redBright:"#ffaba8",green:"#4ac26b",greenBright:"#6fdd8b",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#cf222e",redBright:"#a40e26",green:"#116329",greenBright:"#1a7f37",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#2da44e",border:"rgba(27,31,36,0.15)",hoverBg:"#2c974b",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(137,55%,36%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#2da44e",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#cf222e",hoverText:"#ffffff",hoverBg:"#a40e26",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(356,72%,44%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(207,34,46,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(207,34,46,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(207,34,46,0.1)",icon:"#cf222e",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(255,235,233,0.64)",activeBg:"#FFEBE9",hoverText:"#cf222e"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#1a7f37",emphasis:"#2da44e",muted:"rgba(74,194,107,0.4)",subtle:"#dafbe1"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#cf222e",emphasis:"#cf222e",muted:"rgba(255,129,130,0.4)",subtle:"#FFEBE9"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,45,17,0.2)",focusShadow:"0 0 0 3px rgba(45,164,78,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(76,0,20,0.2)",focusShadow:"0 0 0 3px rgba(164,14,38,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},light_high_contrast:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#1168e3",secondary:"#368cf9"},diffBlob:{addition:{numText:"#24292F",fg:"#ffffff",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#055d20"},deletion:{numText:"#24292F",fg:"#ffffff",numBg:"#FFD7D5",lineBg:"#fff0ee",wordBg:"#a0111f"},hunk:{numBg:"#9cd7ff"},expander:{icon:"#24292F"}},diffstat:{deletionBorder:"rgba(1,4,9,0.8)",additionBorder:"rgba(1,4,9,0.8)",additionBg:"#117f32"},searchKeyword:{hl:"#fcf7be"},prettylights:{syntax:{comment:"#67707A",constant:"#023b95",entity:"#622cbc",storageModifierImport:"#24292F",entityTag:"#024c1a",keyword:"#a0111f",string:"#032563",variable:"#702c00",brackethighlighterUnmatched:"#6e011a",invalidIllegalText:"#FFFFFF",invalidIllegalBg:"#6e011a",carriageReturnText:"#FFFFFF",carriageReturnBg:"#a0111f",stringRegexp:"#024c1a",markupList:"#2e1800",markupHeading:"#023b95",markupItalic:"#24292F",markupBold:"#24292F",markupDeletedText:"#6e011a",markupDeletedBg:"#fff0ee",markupInsertedText:"#024c1a",markupInsertedBg:"#d2fedb",markupChangedText:"#702c00",markupChangedBg:"#ffc67b",markupIgnoredText:"#E7ECF0",markupIgnoredBg:"#023b95",metaDiffRange:"#622cbc",brackethighlighterAngle:"#4F5760",sublimelinterGutterMark:"#88929D",constantOtherReferenceLink:"#032563"}},codemirror:{text:"#24292F",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#67707A",linenumberText:"#24292F",cursor:"#24292F",selectionBg:"#368cf9",activelineBg:"#E7ECF0",matchingbracketText:"#24292F",linesBg:"#ffffff",syntax:{comment:"#24292F",constant:"#023b95",entity:"#622cbc",keyword:"#a0111f",storage:"#a0111f",string:"#032563",support:"#023b95",variable:"#702c00"}},checks:{bg:"#24292F",textPrimary:"#FFFFFF",textSecondary:"#88929D",textLink:"#368cf9",btnIcon:"#ACB6C0",btnHoverIcon:"#FFFFFF",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#E7ECF0",inputPlaceholderText:"#88929D",inputFocusText:"#88929D",inputBg:"#30363D",donutError:"#d5232c",donutPending:"#956400",donutSuccess:"#117f32",donutNeutral:"#ACB6C0",dropdownText:"#ACB6C0",dropdownBg:"#30363D",dropdownBorder:"#3D454E",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#FFFFFF",dropdownHoverBg:"#3D454E",dropdownBtnHoverText:"#FFFFFF",dropdownBtnHoverBg:"#30363D",scrollbarThumbBg:"#4F5760",headerLabelText:"#CED5DC",headerLabelOpenText:"#FFFFFF",headerBorder:"#30363D",headerIcon:"#88929D",lineText:"#CED5DC",lineNumText:"rgba(136,146,157,0.75)",lineTimestampText:"#88929D",lineHoverBg:"#30363D",lineSelectedBg:"rgba(17,104,227,0.15)",lineSelectedNumText:"#368cf9",lineDtFmText:"#24292F",lineDtFmBg:"#744500",gateBg:"rgba(96,55,0,0.15)",gateText:"#CED5DC",gateWaitingText:"#ACB6C0",stepHeaderOpenBg:"#30363D",stepErrorText:"#ee5a5d",stepWarningText:"#b58407",loglineText:"#88929D",loglineNumText:"rgba(136,146,157,0.75)",loglineDebugText:"#a371f7",loglineErrorText:"#CED5DC",loglineErrorNumText:"#ee5a5d",loglineErrorBg:"rgba(134,6,29,0.15)",loglineWarningText:"#CED5DC",loglineWarningNumText:"#b58407",loglineWarningBg:"rgba(96,55,0,0.15)",loglineCommandText:"#368cf9",loglineSectionText:"#26a148",ansi:{black:"#24292F",blackBright:"#30363D",white:"#CED5DC",whiteBright:"#CED5DC",gray:"#88929D",red:"#ee5a5d",redBright:"#ff8e8a",green:"#26a148",greenBright:"#43c663",yellow:"#b58407",yellowBright:"#d5a824",blue:"#368cf9",blueBright:"#67b3fd",magenta:"#a371f7",magentaBright:"#c49bff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292F",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(1,4,9,0.8)",stackFade:"#ACB6C0",stackFadeMore:"#CED5DC"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(172,182,192,0.5)",tapFocusBg:"#9cd7ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292F",logo:"#ffffff"},headerSearch:{bg:"#24292F",border:"#4F5760"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(172,182,192,0.2)"},timeline:{badgeBg:"#E7ECF0"},ansi:{black:"#24292F",blackBright:"#4F5760",white:"#67707A",whiteBright:"#88929D",gray:"#67707A",red:"#a0111f",redBright:"#86061d",green:"#024c1a",greenBright:"#055d20",yellow:"#3f2200",yellowBright:"#4e2c00",blue:"#0349b4",blueBright:"#1168e3",magenta:"#622cbc",magentaBright:"#844ae7",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292F",bg:"#E7ECF0",border:"rgba(1,4,9,0.8)",hoverBg:"#CED5DC",hoverBorder:"rgba(1,4,9,0.8)",activeBg:"#ACB6C0",activeBorder:"rgba(1,4,9,0.8)",selectedBg:"#ACB6C0",focusBg:"#CED5DC",focusBorder:"rgba(1,4,9,0.8)",counterBg:"rgba(1,4,9,0.08)",primary:{text:"#ffffff",bg:"#055d20",border:"#013d14",hoverBg:"#024c1a",hoverBorder:"#013d14",selectedBg:"hsla(139,95%,13%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(1,4,9,0.8)",focusBg:"#013d14",focusBorder:"#013d14",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#023b95",hoverText:"#ffffff",hoverBg:"#0349b4",hoverBorder:"#022f7a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#022f7a",selectedBorder:"#022f7a",disabledText:"rgba(3,73,180,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(3,73,180,0.05)",focusBorder:"#022f7a",counterBg:"rgba(3,73,180,0.1)"},danger:{text:"#86061d",hoverText:"#ffffff",hoverBg:"#a0111f",hoverBorder:"#6e011a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#6e011a",selectedBorder:"#6e011a",disabledText:"rgba(160,17,31,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(160,17,31,0.05)",focusBorder:"#6e011a",counterBg:"rgba(160,17,31,0.1)",icon:"#86061d",hoverIcon:"#ffffff"}},underlinenav:{icon:"#67707A",borderHover:"rgba(172,182,192,0.2)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(206,213,220,0.32)",activeBg:"rgba(206,213,220,0.48)",selectedBg:"rgba(206,213,220,0.24)"},danger:{hoverBg:"rgba(255,240,238,0.64)",activeBg:"#fff0ee",hoverText:"#a0111f"}},fg:{default:"#24292F",muted:"#24292F",subtle:"#67707A",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#ffffff",subtle:"#E7ECF0"},border:{default:"#30363D",muted:"#88929D",subtle:"rgba(1,4,9,0.8)"},neutral:{emphasisPlus:"#24292F",emphasis:"#67707A",muted:"rgba(172,182,192,0.2)",subtle:"#E7ECF0"},accent:{fg:"#0349b4",emphasis:"#0349b4",muted:"#368cf9",subtle:"#dff7ff"},success:{fg:"#055d20",emphasis:"#055d20",muted:"#26a148",subtle:"#d2fedb"},attention:{fg:"#744500",emphasis:"#744500",muted:"#b58407",subtle:"#fcf7be"},severe:{fg:"#873800",emphasis:"#873800",muted:"#dc6d1a",subtle:"#fff2d5"},danger:{fg:"#a0111f",emphasis:"#a0111f",muted:"#ee5a5d",subtle:"#fff0ee"},done:{fg:"#622cbc",emphasis:"#622cbc",muted:"#a371f7",subtle:"#faf0fe"},sponsors:{fg:"#971368",emphasis:"#971368",muted:"#ed4baf",subtle:"#feeff7"},primer:{fg:{disabled:"#88929D"},canvas:{backdrop:"rgba(1,4,9,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#ef5b48",contrast:"rgba(1,4,9,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(61,69,78,0.12)"},btn:{shadow:"0 1px 0 rgba(1,4,9,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(3,73,180,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(3,73,180,0.3)",primary:{shadow:"0 1px 0 rgba(1,4,9,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,35,11,0.2)",focusShadow:"0 0 0 3px rgba(1,61,20,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(2,26,74,0.2)",focusShadow:"0 0 0 3px rgba(2,59,149,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(67,0,17,0.2)",focusShadow:"0 0 0 3px rgba(134,6,29,0.4)"}},shadow:{small:"0 1px 0 rgba(1,4,9,0.04)",medium:"0 3px 6px rgba(136,146,157,0.15)",large:"0 8px 24px rgba(136,146,157,0.2)",extraLarge:"0 12px 28px rgba(136,146,157,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(206,213,220,0.2)",focus:"0 0 0 3px rgba(3,73,180,0.3)"}}}},light_colorblind:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"rgba(53,173,255,0.4)",lineBg:"rgba(192,246,255,0.5)",wordBg:"rgba(53,173,255,0.4)"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"rgba(231,161,0,0.4)",lineBg:"rgba(254,254,72,0.5)",wordBg:"rgba(248,194,0,0.5)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#0088ff"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#054da9",keyword:"#ac5e00",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#6c3900",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#6c3900",carriageReturnText:"#f6f8fa",carriageReturnBg:"#ac5e00",stringRegexp:"#054da9",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#6c3900",markupDeletedBg:"#fefe48",markupInsertedText:"#054da9",markupInsertedBg:"#c0f6ff",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#ac5e00",storage:"#ac5e00",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#d08002",donutPending:"#bf8700",donutSuccess:"#0088ff",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#e7a100",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#e7a100",loglineErrorBg:"rgba(139,70,0,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#35adff",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#e7a100",redBright:"#f8c200",green:"#35adff",greenBright:"#65ccff",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#ac5e00",redBright:"#8b4600",green:"#054da9",greenBright:"#0566d5",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#0088ff",border:"rgba(27,31,36,0.15)",hoverBg:"#0566d5",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(212,95%,41%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#65ccff",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#0088ff",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#ac5e00",hoverText:"#ffffff",hoverBg:"#8b4600",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(33,100%,31%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(172,94,0,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(172,94,0,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(172,94,0,0.1)",icon:"#ac5e00",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(254,254,72,0.64)",activeBg:"#fefe48",hoverText:"#ac5e00"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#0566d5",emphasis:"#0088ff",muted:"rgba(53,173,255,0.4)",subtle:"#c0f6ff"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#ac5e00",emphasis:"#ac5e00",muted:"rgba(231,161,0,0.4)",subtle:"#fefe48"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,31,80,0.2)",focusShadow:"0 0 0 3px rgba(0,136,255,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(47,41,0,0.2)",focusShadow:"0 0 0 3px rgba(139,70,0,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},dark:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(63,185,80,0.3)",lineBg:"rgba(46,160,67,0.15)",wordBg:"rgba(46,160,67,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(248,81,73,0.3)",lineBg:"rgba(248,81,73,0.15)",wordBg:"rgba(248,81,73,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#3fb950"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#7ee787",keyword:"#ff7b72",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#f85149",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#8e1519",carriageReturnText:"#f0f6fc",carriageReturnBg:"#b62324",stringRegexp:"#7ee787",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#ffdcd7",markupDeletedBg:"#67060c",markupInsertedText:"#aff5b4",markupInsertedBg:"#033a16",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#ff7b72",storage:"#ff7b72",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#f85149",donutPending:"#d29922",donutSuccess:"#2ea043",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#f85149",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(248,81,73,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#3fb950",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#238636",border:"rgba(240,246,252,0.1)",hoverBg:"#2ea043",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#238636",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(35,134,54,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#238636",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#f85149",hoverText:"#f0f6fc",hoverBg:"#da3633",hoverBorder:"#f85149",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#b62324",selectedBorder:"#ff7b72",disabledText:"rgba(248,81,73,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(218,54,51,0.05)",focusBorder:"#f85149",counterBg:"rgba(218,54,51,0.1)",icon:"#f85149"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(248,81,73,0.16)",activeBg:"rgba(248,81,73,0.24)",hoverText:"#ff7b72"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#3fb950",emphasis:"#238636",muted:"rgba(46,160,67,0.4)",subtle:"rgba(46,160,67,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#f85149",emphasis:"#da3633",muted:"rgba(248,81,73,0.4)",subtle:"rgba(248,81,73,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(248,81,73,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}},dark_dimmed:{colors:{canvasDefaultTransparent:"rgba(34,39,46,0)",marketingIcon:{primary:"#6cb6ff",secondary:"#316dca"},diffBlob:{addition:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(87,171,90,0.3)",lineBg:"rgba(70,149,74,0.15)",wordBg:"rgba(70,149,74,0.4)"},deletion:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(229,83,75,0.3)",lineBg:"rgba(229,83,75,0.15)",wordBg:"rgba(229,83,75,0.4)"},hunk:{numBg:"rgba(65,132,228,0.4)"},expander:{icon:"#768390"}},diffstat:{deletionBorder:"rgba(205,217,229,0.1)",additionBorder:"rgba(205,217,229,0.1)",additionBg:"#57ab5a"},searchKeyword:{hl:"rgba(198,144,38,0.4)"},prettylights:{syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",storageModifierImport:"#adbac7",entityTag:"#8ddb8c",keyword:"#f47067",string:"#96d0ff",variable:"#f69d50",brackethighlighterUnmatched:"#e5534b",invalidIllegalText:"#cdd9e5",invalidIllegalBg:"#922323",carriageReturnText:"#cdd9e5",carriageReturnBg:"#ad2e2c",stringRegexp:"#8ddb8c",markupList:"#eac55f",markupHeading:"#316dca",markupItalic:"#adbac7",markupBold:"#adbac7",markupDeletedText:"#ffd8d3",markupDeletedBg:"#78191b",markupInsertedText:"#b4f1b4",markupInsertedBg:"#1b4721",markupChangedText:"#ffddb0",markupChangedBg:"#682d0f",markupIgnoredText:"#adbac7",markupIgnoredBg:"#255ab2",metaDiffRange:"#dcbdfb",brackethighlighterAngle:"#768390",sublimelinterGutterMark:"#545d68",constantOtherReferenceLink:"#96d0ff"}},codemirror:{text:"#adbac7",bg:"#22272e",guttersBg:"#22272e",guttermarkerText:"#22272e",guttermarkerSubtleText:"#545d68",linenumberText:"#768390",cursor:"#adbac7",selectionBg:"rgba(65,132,228,0.4)",activelineBg:"rgba(99,110,123,0.1)",matchingbracketText:"#adbac7",linesBg:"#22272e",syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",keyword:"#f47067",storage:"#f47067",string:"#96d0ff",support:"#6cb6ff",variable:"#f69d50"}},checks:{bg:"#1c2128",textPrimary:"#adbac7",textSecondary:"#768390",textLink:"#539bf5",btnIcon:"#768390",btnHoverIcon:"#adbac7",btnHoverBg:"rgba(99,110,123,0.1)",inputText:"#768390",inputPlaceholderText:"#545d68",inputFocusText:"#adbac7",inputBg:"#2d333b",donutError:"#e5534b",donutPending:"#c69026",donutSuccess:"#46954a",donutNeutral:"#768390",dropdownText:"#adbac7",dropdownBg:"#2d333b",dropdownBorder:"#444c56",dropdownShadow:"rgba(28,33,40,0.3)",dropdownHoverText:"#adbac7",dropdownHoverBg:"rgba(99,110,123,0.1)",dropdownBtnHoverText:"#adbac7",dropdownBtnHoverBg:"rgba(99,110,123,0.1)",scrollbarThumbBg:"rgba(99,110,123,0.4)",headerLabelText:"#768390",headerLabelOpenText:"#adbac7",headerBorder:"#373e47",headerIcon:"#768390",lineText:"#768390",lineNumText:"#545d68",lineTimestampText:"#545d68",lineHoverBg:"rgba(99,110,123,0.1)",lineSelectedBg:"rgba(65,132,228,0.15)",lineSelectedNumText:"#539bf5",lineDtFmText:"#cdd9e5",lineDtFmBg:"#966600",gateBg:"rgba(174,124,20,0.15)",gateText:"#768390",gateWaitingText:"#c69026",stepHeaderOpenBg:"#2d333b",stepErrorText:"#e5534b",stepWarningText:"#c69026",loglineText:"#768390",loglineNumText:"#545d68",loglineDebugText:"#986ee2",loglineErrorText:"#768390",loglineErrorNumText:"#545d68",loglineErrorBg:"rgba(229,83,75,0.15)",loglineWarningText:"#768390",loglineWarningNumText:"#c69026",loglineWarningBg:"rgba(174,124,20,0.15)",loglineCommandText:"#539bf5",loglineSectionText:"#57ab5a",ansi:{black:"#22272e",blackBright:"#2d333b",white:"#909dab",whiteBright:"#909dab",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#22272e",sidebarBg:"#2d333b",gradientIn:"#2d333b",gradientOut:"rgba(45,51,59,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(205,217,229,0.1)",border:"rgba(205,217,229,0.1)",stackFade:"#444c56",stackFadeMore:"#373e47"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#545d68",tapHighlight:"rgba(68,76,86,0.5)",tapFocusBg:"#143d79"},header:{text:"rgba(205,217,229,0.7)",bg:"#2d333b",logo:"#cdd9e5"},headerSearch:{bg:"#22272e",border:"#444c56"},sidenav:{selectedBg:"#373e47"},menu:{bgActive:"#2d333b"},input:{disabledBg:"rgba(99,110,123,0)"},timeline:{badgeBg:"#373e47"},ansi:{black:"#545d68",blackBright:"#636e7b",white:"#909dab",whiteBright:"#cdd9e5",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#adbac7",bg:"#373e47",border:"rgba(205,217,229,0.1)",hoverBg:"#444c56",hoverBorder:"#768390",activeBg:"hsla(213,12%,27%,1)",activeBorder:"#636e7b",selectedBg:"#2d333b",focusBg:"#373e47",focusBorder:"#768390",counterBg:"#444c56",primary:{text:"#ffffff",bg:"#347d39",border:"rgba(205,217,229,0.1)",hoverBg:"#46954a",hoverBorder:"rgba(205,217,229,0.1)",selectedBg:"#347d39",disabledText:"rgba(205,217,229,0.5)",disabledBg:"rgba(52,125,57,0.6)",disabledBorder:"rgba(205,217,229,0.1)",focusBg:"#347d39",focusBorder:"rgba(205,217,229,0.1)",icon:"#cdd9e5",counterBg:"rgba(205,217,229,0.2)"},outline:{text:"#539bf5",hoverText:"#539bf5",hoverBg:"#444c56",hoverBorder:"rgba(205,217,229,0.1)",hoverCounterBg:"rgba(205,217,229,0.2)",selectedText:"#cdd9e5",selectedBg:"#1b4b91",selectedBorder:"rgba(205,217,229,0.1)",disabledText:"rgba(83,155,245,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(49,109,202,0.05)",focusBorder:"rgba(205,217,229,0.1)",counterBg:"rgba(49,109,202,0.1)"},danger:{text:"#e5534b",hoverText:"#cdd9e5",hoverBg:"#c93c37",hoverBorder:"#e5534b",hoverIcon:"#cdd9e5",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#ad2e2c",selectedBorder:"#f47067",disabledText:"rgba(229,83,75,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(201,60,55,0.05)",focusBorder:"#e5534b",counterBg:"rgba(201,60,55,0.1)",icon:"#e5534b"}},underlinenav:{icon:"#545d68",borderHover:"rgba(99,110,123,0.4)"},actionListItem:{inlineDivider:"rgba(68,76,86,0.48)",default:{hoverBg:"rgba(144,157,171,0.12)",activeBg:"rgba(144,157,171,0.2)",selectedBg:"rgba(144,157,171,0.08)"},danger:{hoverBg:"rgba(229,83,75,0.16)",activeBg:"rgba(229,83,75,0.24)",hoverText:"#f47067"}},fg:{default:"#adbac7",muted:"#768390",subtle:"#545d68",onEmphasis:"#cdd9e5"},canvas:{default:"#22272e",overlay:"#2d333b",inset:"#1c2128",subtle:"#2d333b"},border:{default:"#444c56",muted:"#373e47",subtle:"rgba(205,217,229,0.1)"},neutral:{emphasisPlus:"#636e7b",emphasis:"#636e7b",muted:"rgba(99,110,123,0.4)",subtle:"rgba(99,110,123,0.1)"},accent:{fg:"#539bf5",emphasis:"#316dca",muted:"rgba(65,132,228,0.4)",subtle:"rgba(65,132,228,0.15)"},success:{fg:"#57ab5a",emphasis:"#347d39",muted:"rgba(70,149,74,0.4)",subtle:"rgba(70,149,74,0.15)"},attention:{fg:"#c69026",emphasis:"#966600",muted:"rgba(174,124,20,0.4)",subtle:"rgba(174,124,20,0.15)"},severe:{fg:"#cc6b2c",emphasis:"#ae5622",muted:"rgba(204,107,44,0.4)",subtle:"rgba(204,107,44,0.15)"},danger:{fg:"#e5534b",emphasis:"#c93c37",muted:"rgba(229,83,75,0.4)",subtle:"rgba(229,83,75,0.15)"},done:{fg:"#986ee2",emphasis:"#8256d0",muted:"rgba(152,110,226,0.4)",subtle:"rgba(152,110,226,0.15)"},sponsors:{fg:"#c96198",emphasis:"#ae4c82",muted:"rgba(201,97,152,0.4)",subtle:"rgba(201,97,152,0.15)"},primer:{fg:{disabled:"#545d68"},canvas:{backdrop:"rgba(28,33,40,0.8)",sticky:"rgba(34,39,46,0.95)"},border:{active:"#EC775C",contrast:"rgba(205,217,229,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #22272e"},overlay:{shadow:"0 0 0 1px #444c56, 0 16px 32px rgba(28,33,40,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(118,131,144,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(28,33,40,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(49,109,202,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(28,33,40,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(205,217,229,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(37,90,178,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(229,83,75,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #1c2128",large:"0 8px 24px #1c2128",extraLarge:"0 12px 48px #1c2128"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #143d79"}}}},dark_high_contrast:{colors:{canvasDefaultTransparent:"rgba(10,12,16,0)",marketingIcon:{primary:"#91cbff",secondary:"#409eff"},diffBlob:{addition:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(38,205,77,0.3)",lineBg:"rgba(9,180,58,0.15)",wordBg:"#09b43a"},deletion:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(255,106,105,0.3)",lineBg:"rgba(255,106,105,0.15)",wordBg:"#ff6a69"},hunk:{numBg:"rgba(64,158,255,0.4)"},expander:{icon:"#0a0c10"}},diffstat:{deletionBorder:"#ffb1af",additionBorder:"#4ae168",additionBg:"#26cd4d"},searchKeyword:{hl:"rgba(240,183,47,0.4)"},prettylights:{syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",storageModifierImport:"#f0f3f6",entityTag:"#72f088",keyword:"#ff9492",string:"#addcff",variable:"#ffb757",brackethighlighterUnmatched:"#ff6a69",invalidIllegalText:"#ffffff",invalidIllegalBg:"#e82a2f",carriageReturnText:"#ffffff",carriageReturnBg:"#ff4445",stringRegexp:"#72f088",markupList:"#fbd669",markupHeading:"#409eff",markupItalic:"#f0f3f6",markupBold:"#f0f3f6",markupDeletedText:"#ffdedb",markupDeletedBg:"#cc1421",markupInsertedText:"#acf7b6",markupInsertedBg:"#007728",markupChangedText:"#ffe1b4",markupChangedBg:"#a74c00",markupIgnoredText:"#f0f3f6",markupIgnoredBg:"#318bf8",metaDiffRange:"#dbb7ff",brackethighlighterAngle:"#bdc4cc",sublimelinterGutterMark:"#7a828e",constantOtherReferenceLink:"#addcff"}},codemirror:{text:"#f0f3f6",bg:"#0a0c10",guttersBg:"#0a0c10",guttermarkerText:"#0a0c10",guttermarkerSubtleText:"#7a828e",linenumberText:"#f0f3f6",cursor:"#f0f3f6",selectionBg:"rgba(64,158,255,0.4)",activelineBg:"rgba(158,167,179,0.1)",matchingbracketText:"#f0f3f6",linesBg:"#0a0c10",syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",keyword:"#ff9492",storage:"#ff9492",string:"#addcff",support:"#91cbff",variable:"#ffb757"}},checks:{bg:"#010409",textPrimary:"#f0f3f6",textSecondary:"#f0f3f6",textLink:"#71b7ff",btnIcon:"#f0f3f6",btnHoverIcon:"#f0f3f6",btnHoverBg:"rgba(158,167,179,0.1)",inputText:"#f0f3f6",inputPlaceholderText:"#7a828e",inputFocusText:"#f0f3f6",inputBg:"#272b33",donutError:"#ff6a69",donutPending:"#f0b72f",donutSuccess:"#09b43a",donutNeutral:"#bdc4cc",dropdownText:"#f0f3f6",dropdownBg:"#272b33",dropdownBorder:"#7a828e",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#f0f3f6",dropdownHoverBg:"rgba(158,167,179,0.1)",dropdownBtnHoverText:"#f0f3f6",dropdownBtnHoverBg:"rgba(158,167,179,0.1)",scrollbarThumbBg:"rgba(158,167,179,0.4)",headerLabelText:"#f0f3f6",headerLabelOpenText:"#f0f3f6",headerBorder:"#7a828e",headerIcon:"#f0f3f6",lineText:"#f0f3f6",lineNumText:"#7a828e",lineTimestampText:"#7a828e",lineHoverBg:"rgba(158,167,179,0.1)",lineSelectedBg:"rgba(64,158,255,0.15)",lineSelectedNumText:"#71b7ff",lineDtFmText:"#0a0c10",lineDtFmBg:"#e09b13",gateBg:"rgba(224,155,19,0.15)",gateText:"#f0f3f6",gateWaitingText:"#f0b72f",stepHeaderOpenBg:"#272b33",stepErrorText:"#ff6a69",stepWarningText:"#f0b72f",loglineText:"#f0f3f6",loglineNumText:"#7a828e",loglineDebugText:"#b780ff",loglineErrorText:"#f0f3f6",loglineErrorNumText:"#7a828e",loglineErrorBg:"rgba(255,106,105,0.15)",loglineWarningText:"#f0f3f6",loglineWarningNumText:"#f0b72f",loglineWarningBg:"rgba(224,155,19,0.15)",loglineCommandText:"#71b7ff",loglineSectionText:"#26cd4d",ansi:{black:"#0a0c10",blackBright:"#272b33",white:"#d9dee3",whiteBright:"#d9dee3",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0a0c10",sidebarBg:"#272b33",gradientIn:"#272b33",gradientOut:"rgba(39,43,51,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(255,255,255,0.1)",border:"rgba(255,255,255,0.9)",stackFade:"#525964",stackFadeMore:"#272b33"},topicTag:{border:"#409eff"},selectMenu:{backdropBorder:"#7a828e",tapHighlight:"rgba(82,89,100,0.5)",tapFocusBg:"#1e60d5"},header:{text:"rgba(255,255,255,0.7)",bg:"#272b33",logo:"#ffffff"},headerSearch:{bg:"#0a0c10",border:"#525964"},sidenav:{selectedBg:"#272b33"},menu:{bgActive:"#272b33"},input:{disabledBg:"rgba(158,167,179,0)"},timeline:{badgeBg:"#272b33"},ansi:{black:"#7a828e",blackBright:"#9ea7b3",white:"#d9dee3",whiteBright:"#ffffff",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#f0f3f6",bg:"#272b33",border:"#7a828e",hoverBg:"#525964",hoverBorder:"#bdc4cc",activeBg:"hsla(217,10%,33%,1)",activeBorder:"#9ea7b3",selectedBg:"rgba(82,89,100,0.9)",focusBg:"#272b33",focusBorder:"#bdc4cc",counterBg:"#525964",primary:{text:"#0a0c10",bg:"#09b43a",border:"#4ae168",hoverBg:"#26cd4d",hoverBorder:"#4ae168",selectedBg:"#09b43a",disabledText:"rgba(10,12,16,0.5)",disabledBg:"rgba(9,180,58,0.6)",disabledBorder:"rgba(74,225,104,0.4)",focusBg:"#09b43a",focusBorder:"#7a828e",icon:"#0a0c10",counterBg:"rgba(1,4,9,0.15)"},outline:{text:"#71b7ff",hoverText:"#71b7ff",hoverBg:"#525964",hoverBorder:"#7a828e",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#2672f3",selectedBorder:"#7a828e",disabledText:"rgba(113,183,255,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(64,158,255,0.05)",focusBorder:"#7a828e",counterBg:"rgba(64,158,255,0.1)"},danger:{text:"#ff6a69",hoverText:"#0a0c10",hoverBg:"#ff6a69",hoverBorder:"#ff6a69",hoverIcon:"#0a0c10",hoverCounterBg:"rgba(1,4,9,0.15)",selectedText:"#ffffff",selectedBg:"#ff4445",selectedBorder:"#ff9492",disabledText:"rgba(255,106,105,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(255,106,105,0.05)",focusBorder:"#ff6a69",counterBg:"rgba(1,4,9,0.15)",icon:"#ff6a69"}},underlinenav:{icon:"#f0f3f6",borderHover:"#bdc4cc"},actionListItem:{inlineDivider:"#7a828e",default:{hoverBg:"rgba(217,222,227,0.12)",activeBg:"rgba(217,222,227,0.24)",selectedBg:"rgba(217,222,227,0.08)"},danger:{hoverBg:"#ff6a69",activeBg:"#ff4445",hoverText:"#0a0c10"}},fg:{default:"#f0f3f6",muted:"#f0f3f6",subtle:"#7a828e",onEmphasis:"#0a0c10"},canvas:{default:"#0a0c10",overlay:"#272b33",inset:"#010409",subtle:"#272b33"},border:{default:"#7a828e",muted:"#7a828e",subtle:"#7a828e"},neutral:{emphasisPlus:"#ffffff",emphasis:"#9ea7b3",muted:"rgba(158,167,179,0.4)",subtle:"rgba(158,167,179,0.1)"},accent:{fg:"#71b7ff",emphasis:"#409eff",muted:"#409eff",subtle:"rgba(64,158,255,0.15)"},success:{fg:"#26cd4d",emphasis:"#09b43a",muted:"#09b43a",subtle:"rgba(9,180,58,0.15)"},attention:{fg:"#f0b72f",emphasis:"#e09b13",muted:"#e09b13",subtle:"rgba(224,155,19,0.15)"},severe:{fg:"#e7811d",emphasis:"#e7811d",muted:"#e7811d",subtle:"rgba(231,129,29,0.15)"},danger:{fg:"#ff6a69",emphasis:"#ff6a69",muted:"#ff6a69",subtle:"rgba(255,106,105,0.15)"},done:{fg:"#b780ff",emphasis:"#b87fff",muted:"#b780ff",subtle:"rgba(183,128,255,0.15)"},sponsors:{fg:"#ef6eb1",emphasis:"#ef6eb1",muted:"#ef6eb1",subtle:"rgba(239,110,177,0.15)"},primer:{fg:{disabled:"#7a828e"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(10,12,16,0.95)"},border:{active:"#FF967D",contrast:"rgba(255,255,255,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0a0c10"},overlay:{shadow:"0 0 0 1px #525964, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(189,196,204,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(64,158,255,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(49,139,248,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(255,106,105,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #1e60d5"}}}},dark_colorblind:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(66,160,255,0.3)",lineBg:"rgba(21,133,253,0.15)",wordBg:"rgba(21,133,253,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(195,128,0,0.3)",lineBg:"rgba(195,128,0,0.15)",wordBg:"rgba(195,128,0,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#42a0ff"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#83d4ff",keyword:"#d69a00",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#c38000",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#633e00",carriageReturnText:"#f0f6fc",carriageReturnBg:"#865401",stringRegexp:"#83d4ff",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#f0ec59",markupDeletedBg:"#452f00",markupInsertedText:"#a0e8ff",markupInsertedBg:"#0a2861",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#d69a00",storage:"#d69a00",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#c38000",donutPending:"#d29922",donutSuccess:"#1585fd",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#c38000",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(195,128,0,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#42a0ff",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#1d69e0",border:"rgba(240,246,252,0.1)",hoverBg:"#1585fd",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#1d69e0",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(29,105,224,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#1d69e0",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#c38000",hoverText:"#f0f6fc",hoverBg:"#a66900",hoverBorder:"#c38000",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#865401",selectedBorder:"#d69a00",disabledText:"rgba(195,128,0,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(166,105,0,0.05)",focusBorder:"#c38000",counterBg:"rgba(166,105,0,0.1)",icon:"#c38000"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(195,128,0,0.16)",activeBg:"rgba(195,128,0,0.24)",hoverText:"#d69a00"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#42a0ff",emphasis:"#1d69e0",muted:"rgba(21,133,253,0.4)",subtle:"rgba(21,133,253,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#c38000",emphasis:"#a66900",muted:"rgba(195,128,0,0.4)",subtle:"rgba(195,128,0,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(195,128,0,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}}}},y=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;function k(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var $=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,a=k(e),n=1;n<arguments.length;n++){for(var i in r=Object(arguments[n]))w.call(r,i)&&(a[i]=r[i]);if(y){o=y(r);for(var l=0;l<o.length;l++)B.call(r,o[l])&&(a[o[l]]=r[o[l]])}}return a},T=function(e,t){var r=$({},e,t);for(var o in e){var a;e[o]&&"object"==typeof t[o]&&$(r,((a={})[o]=$(e[o],t[o]),a))}return r},S={breakpoints:[40,52,64].map((function(e){return e+"em"}))},E=function(e){return"@media screen and (min-width: "+e+")"},C=function(e,t){return z(t,e,e)},z=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},I=function e(t){var r={},o=function(e){var o,a,n={},i=!1,l=e.theme&&e.theme.disableStyledSystemCache;for(var d in e)if(t[d]){var s=t[d],c=e[d],g=z(e.theme,s.scale,s.defaults);if("object"!=typeof c)$(n,s(c,g,e));else{if(r.breakpoints=!l&&r.breakpoints||z(e.theme,"breakpoints",S.breakpoints),Array.isArray(c)){r.media=!l&&r.media||[null].concat(r.breakpoints.map(E)),n=T(n,A(r.media,s,g,c,e));continue}null!==c&&(n=T(n,N(r.breakpoints,s,g,c,e)),i=!0)}}return i&&(o=n,a={},Object.keys(o).sort((function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})})).forEach((function(e){a[e]=o[e]})),n=a),n};o.config=t,o.propNames=Object.keys(t),o.cache=r;var a=Object.keys(t).filter((function(e){return"config"!==e}));return a.length>1&&a.forEach((function(r){var a;o[r]=e(((a={})[r]=t[r],a))})),o},A=function(e,t,r,o,a){var n={};return o.slice(0,e.length).forEach((function(o,i){var l,d=e[i],s=t(o,r,a);d?$(n,((l={})[d]=$({},n[d],s),l)):$(n,s)})),n},N=function(e,t,r,o,a){var n={};for(var i in o){var l=e[i],d=t(o[i],r,a);if(l){var s,c=E(l);$(n,((s={})[c]=$({},n[c],d),s))}else $(n,d)}return n},R=function(e){var t=e.properties,r=e.property,o=e.scale,a=e.transform,n=void 0===a?C:a,i=e.defaultScale;t=t||[r];var l=function(e,r,o){var a={},i=n(e,r,o);if(null!==i)return t.forEach((function(e){a[e]=i})),a};return l.scale=o,l.defaults=i,l},L=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(r){var o=e[r];t[r]=!0!==o?"function"!=typeof o?R(o):o:R({property:r,scale:r})})),I(t)},F=function(){for(var e={},t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];r.forEach((function(t){t&&t.config&&$(e,t.config)}));var a=I(e);return a},D=L({width:{property:"width",scale:"sizes",transform:function(e,t){return z(t,e,!function(e){return"number"==typeof e&&!isNaN(e)}(e)||e>1?e:100*e+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),M={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};M.bg=M.backgroundColor;var O=L(M),P=L({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),H=L({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),W={space:[0,4,8,16,32,64,128,256,512]},_=L({gridGap:{property:"gridGap",scale:"space",defaultScale:W.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:W.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:W.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),j={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};j.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},j.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},j.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},j.borderBottomColor={property:"borderBottomColor",scale:"colors"},j.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},j.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},j.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},j.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},j.borderLeftColor={property:"borderLeftColor",scale:"colors"},j.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},j.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},j.borderRightColor={property:"borderRightColor",scale:"colors"},j.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var U=L(j),K={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};K.bgImage=K.backgroundImage,K.bgSize=K.backgroundSize,K.bgPosition=K.backgroundPosition,K.bgRepeat=K.backgroundRepeat;var V=L(K),G={space:[0,4,8,16,32,64,128,256,512]},q=L({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:G.space},right:{property:"right",scale:"space",defaultScale:G.space},bottom:{property:"bottom",scale:"space",defaultScale:G.space},left:{property:"left",scale:"space",defaultScale:G.space}}),X={space:[0,4,8,16,32,64,128,256,512]},Y=function(e){return"number"==typeof e&&!isNaN(e)},J=function(e,t){if(!Y(e))return z(t,e,e);var r=e<0,o=Math.abs(e),a=z(t,o,o);return Y(a)?a*(r?-1:1):r?"-"+a:a},Z={};Z.margin={margin:{property:"margin",scale:"space",transform:J,defaultScale:X.space},marginTop:{property:"marginTop",scale:"space",transform:J,defaultScale:X.space},marginRight:{property:"marginRight",scale:"space",transform:J,defaultScale:X.space},marginBottom:{property:"marginBottom",scale:"space",transform:J,defaultScale:X.space},marginLeft:{property:"marginLeft",scale:"space",transform:J,defaultScale:X.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:J,defaultScale:X.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:J,defaultScale:X.space}},Z.margin.m=Z.margin.margin,Z.margin.mt=Z.margin.marginTop,Z.margin.mr=Z.margin.marginRight,Z.margin.mb=Z.margin.marginBottom,Z.margin.ml=Z.margin.marginLeft,Z.margin.mx=Z.margin.marginX,Z.margin.my=Z.margin.marginY,Z.padding={padding:{property:"padding",scale:"space",defaultScale:X.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:X.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:X.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:X.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:X.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:X.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:X.space}},Z.padding.p=Z.padding.padding,Z.padding.pt=Z.padding.paddingTop,Z.padding.pr=Z.padding.paddingRight,Z.padding.pb=Z.padding.paddingBottom,Z.padding.pl=Z.padding.paddingLeft,Z.padding.px=Z.padding.paddingX,Z.padding.py=Z.padding.paddingY;var Q=L(Z.margin),ee=L(Z.padding),te=F(Q,ee),re=L({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var ae=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},ne=[40,52,64].map((function(e){return e+"em"})),ie={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},le={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},de={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},se={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},ce=function(e,t){if("number"!=typeof t||t>=0)return ae(e,t,t);var r=Math.abs(t),o=ae(e,r,r);return"string"==typeof o?"-"+o:-1*o},ge=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((function(e,t){var r;return oe({},e,((r={})[t]=ce,r))}),{}),fe=function e(t){return function(r){void 0===r&&(r={});var o=oe({},ie,{},r.theme||r),a={},n=function(e){return function(t){var r={},o=ae(t,"breakpoints",ne),a=[null].concat(o.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var n in e){var i="function"==typeof e[n]?e[n](t):e[n];if(null!=i)if(Array.isArray(i))for(var l=0;l<i.slice(0,a.length).length;l++){var d=a[l];d?(r[d]=r[d]||{},null!=i[l]&&(r[d][n]=i[l])):r[n]=i[l]}else r[n]=i}return r}}("function"==typeof t?t(o):t)(o);for(var i in n){var l=n[i],d="function"==typeof l?l(o):l;if("variant"!==i)if(d&&"object"==typeof d)a[i]=e(d)(o);else{var s=ae(le,i,i),c=ae(se,s),g=ae(o,c,ae(o,s,{})),f=ae(ge,s,ae)(g,d,d);if(de[s])for(var u=de[s],p=0;p<u.length;p++)a[u[p]]=f;else a[s]=f}else a=oe({},a,{},e(ae(o,d))(o))}return a}},ue=function(e){var t,r,o=e.scale,a=e.prop,n=void 0===a?"variant":a,i=e.variants,l=void 0===i?{}:i,d=e.key;(r=Object.keys(l).length?function(e,t,r){return fe(z(t,e,null))(r.theme)}:function(e,t){return z(t,e,null)}).scale=o||d,r.defaults=l;var s=((t={})[n]=r,t);return I(s)},pe=ue({key:"buttons"}),be=ue({key:"textStyles",prop:"textStyle"}),he=ue({key:"colorStyles",prop:"colors"}),me=D.width,ve=D.height,xe=D.minWidth,ye=D.minHeight,we=D.maxWidth,Be=D.maxHeight,ke=D.size,$e=D.verticalAlign,Te=D.display,Se=D.overflow,Ee=D.overflowX,Ce=D.overflowY,ze=O.opacity,Ie=P.fontSize,Ae=P.fontFamily,Ne=P.fontWeight,Re=P.lineHeight,Le=P.textAlign,Fe=P.fontStyle,De=P.letterSpacing,Me=H.alignItems,Oe=H.alignContent,Pe=H.justifyItems,He=H.justifyContent,We=H.flexWrap,_e=H.flexDirection,je=H.flex,Ue=H.flexGrow,Ke=H.flexShrink,Ve=H.flexBasis,Ge=H.justifySelf,qe=H.alignSelf,Xe=H.order,Ye=_.gridGap,Je=_.gridColumnGap,Ze=_.gridRowGap,Qe=_.gridColumn,et=_.gridRow,tt=_.gridAutoFlow,rt=_.gridAutoColumns,ot=_.gridAutoRows,at=_.gridTemplateColumns,nt=_.gridTemplateRows,it=_.gridTemplateAreas,lt=_.gridArea,dt=U.borderWidth,st=U.borderStyle,ct=U.borderColor,gt=U.borderTop,ft=U.borderRight,ut=U.borderBottom,pt=U.borderLeft,bt=U.borderRadius,ht=V.backgroundImage,mt=V.backgroundSize,vt=V.backgroundPosition,xt=V.backgroundRepeat,yt=q.zIndex,wt=q.top,Bt=q.right,kt=q.bottom,$t=q.left,Tt=function(e){var t=e.prop,r=e.cssProperty,o=e.alias,a=e.key,n=e.transformValue,i=e.scale,l=e.properties,d={};return d[t]=R({properties:l,property:r||t,scale:a,defaultScale:i,transform:n}),o&&(d[o]=d[t]),I(d)},St=Object.freeze({__proto__:null,width:me,height:ve,minWidth:xe,minHeight:ye,maxWidth:we,maxHeight:Be,size:ke,verticalAlign:$e,display:Te,overflow:Se,overflowX:Ee,overflowY:Ce,opacity:ze,fontSize:Ie,fontFamily:Ae,fontWeight:Ne,lineHeight:Re,textAlign:Le,fontStyle:Fe,letterSpacing:De,alignItems:Me,alignContent:Oe,justifyItems:Pe,justifyContent:He,flexWrap:We,flexDirection:_e,flex:je,flexGrow:Ue,flexShrink:Ke,flexBasis:Ve,justifySelf:Ge,alignSelf:qe,order:Xe,gridGap:Ye,gridColumnGap:Je,gridRowGap:Ze,gridColumn:Qe,gridRow:et,gridAutoFlow:tt,gridAutoColumns:rt,gridAutoRows:ot,gridTemplateColumns:at,gridTemplateRows:nt,gridTemplateAreas:it,gridArea:lt,borderWidth:dt,borderStyle:st,borderColor:ct,borderTop:gt,borderRight:ft,borderBottom:ut,borderLeft:pt,borderRadius:bt,backgroundImage:ht,backgroundSize:mt,backgroundPosition:vt,backgroundRepeat:xt,zIndex:yt,top:wt,right:Bt,bottom:kt,left:$t,style:Tt,get:z,createParser:I,createStyleFunction:R,compose:F,system:L,margin:Q,padding:ee,space:te,color:O,layout:D,typography:P,flexbox:H,border:U,background:V,position:q,grid:_,shadow:re,boxShadow:re,textShadow:re,variant:ue,buttonStyle:pe,textStyle:be,colorStyle:he,borders:U});const{get:Et,compose:Ct,system:zt}=St,It=e=>{return t=e,void 0===(r=Et(x,e))&&(r=null),function(e){return z(e.theme,t,r)};var t,r},At=Ct(te,O,Te),Nt=Ct(P,zt({whiteSpace:{property:"whiteSpace"}}));function Rt(){return(Rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}Ct(U,re);const Lt=f`
|
1
|
+
import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n,forwardRef as i,useLayoutEffect as l,useContext as d,createContext as s,useReducer as c}from"react";import g,{createGlobalStyle as f,ThemeProvider as u,css as p,ThemeContext as b,keyframes as h}from"styled-components";import m,{createPortal as v}from"react-dom";var x={animation:{easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)"},borderWidths:[0,"1px"],breakpoints:["544px","768px","1012px","1280px"],fonts:{normal:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',mono:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace'},fontSizes:["12px","14px","16px","20px","24px","32px","40px","48px"],fontWeights:{light:300,normal:400,semibold:500,bold:600},lineHeights:{condensedUltra:1,condensed:1.25,default:1.5},radii:["0","3px","6px","100px"],sizes:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},space:["0","4px","8px","16px","24px","32px","40px","48px","64px","80px","96px","112px","128px"],colorSchemes:{light:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#ABF2BC"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"#FFD7D5",lineBg:"#FFEBE9",wordBg:"rgba(255,129,130,0.4)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#2da44e"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#116329",keyword:"#cf222e",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#82071e",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#82071e",carriageReturnText:"#f6f8fa",carriageReturnBg:"#cf222e",stringRegexp:"#116329",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#82071e",markupDeletedBg:"#FFEBE9",markupInsertedText:"#116329",markupInsertedBg:"#dafbe1",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#cf222e",storage:"#cf222e",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#fa4549",donutPending:"#bf8700",donutSuccess:"#2da44e",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#ff8182",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#ff8182",loglineErrorBg:"rgba(164,14,38,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#4ac26b",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#ff8182",redBright:"#ffaba8",green:"#4ac26b",greenBright:"#6fdd8b",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#cf222e",redBright:"#a40e26",green:"#116329",greenBright:"#1a7f37",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#2da44e",border:"rgba(27,31,36,0.15)",hoverBg:"#2c974b",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(137,55%,36%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#2da44e",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#cf222e",hoverText:"#ffffff",hoverBg:"#a40e26",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(356,72%,44%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(207,34,46,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(207,34,46,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(207,34,46,0.1)",icon:"#cf222e",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(255,235,233,0.64)",activeBg:"#FFEBE9",hoverText:"#cf222e"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#1a7f37",emphasis:"#2da44e",muted:"rgba(74,194,107,0.4)",subtle:"#dafbe1"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#cf222e",emphasis:"#cf222e",muted:"rgba(255,129,130,0.4)",subtle:"#FFEBE9"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,45,17,0.2)",focusShadow:"0 0 0 3px rgba(45,164,78,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(76,0,20,0.2)",focusShadow:"0 0 0 3px rgba(164,14,38,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},light_high_contrast:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#1168e3",secondary:"#368cf9"},diffBlob:{addition:{numText:"#24292F",fg:"#ffffff",numBg:"#CCFFD8",lineBg:"#E6FFEC",wordBg:"#055d20"},deletion:{numText:"#24292F",fg:"#ffffff",numBg:"#FFD7D5",lineBg:"#fff0ee",wordBg:"#a0111f"},hunk:{numBg:"#9cd7ff"},expander:{icon:"#24292F"}},diffstat:{deletionBorder:"rgba(1,4,9,0.8)",additionBorder:"rgba(1,4,9,0.8)",additionBg:"#117f32"},searchKeyword:{hl:"#fcf7be"},prettylights:{syntax:{comment:"#67707A",constant:"#023b95",entity:"#622cbc",storageModifierImport:"#24292F",entityTag:"#024c1a",keyword:"#a0111f",string:"#032563",variable:"#702c00",brackethighlighterUnmatched:"#6e011a",invalidIllegalText:"#FFFFFF",invalidIllegalBg:"#6e011a",carriageReturnText:"#FFFFFF",carriageReturnBg:"#a0111f",stringRegexp:"#024c1a",markupList:"#2e1800",markupHeading:"#023b95",markupItalic:"#24292F",markupBold:"#24292F",markupDeletedText:"#6e011a",markupDeletedBg:"#fff0ee",markupInsertedText:"#024c1a",markupInsertedBg:"#d2fedb",markupChangedText:"#702c00",markupChangedBg:"#ffc67b",markupIgnoredText:"#E7ECF0",markupIgnoredBg:"#023b95",metaDiffRange:"#622cbc",brackethighlighterAngle:"#4F5760",sublimelinterGutterMark:"#88929D",constantOtherReferenceLink:"#032563"}},codemirror:{text:"#24292F",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#67707A",linenumberText:"#24292F",cursor:"#24292F",selectionBg:"#368cf9",activelineBg:"#E7ECF0",matchingbracketText:"#24292F",linesBg:"#ffffff",syntax:{comment:"#24292F",constant:"#023b95",entity:"#622cbc",keyword:"#a0111f",storage:"#a0111f",string:"#032563",support:"#023b95",variable:"#702c00"}},checks:{bg:"#24292F",textPrimary:"#FFFFFF",textSecondary:"#88929D",textLink:"#368cf9",btnIcon:"#ACB6C0",btnHoverIcon:"#FFFFFF",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#E7ECF0",inputPlaceholderText:"#88929D",inputFocusText:"#88929D",inputBg:"#30363D",donutError:"#d5232c",donutPending:"#956400",donutSuccess:"#117f32",donutNeutral:"#ACB6C0",dropdownText:"#ACB6C0",dropdownBg:"#30363D",dropdownBorder:"#3D454E",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#FFFFFF",dropdownHoverBg:"#3D454E",dropdownBtnHoverText:"#FFFFFF",dropdownBtnHoverBg:"#30363D",scrollbarThumbBg:"#4F5760",headerLabelText:"#CED5DC",headerLabelOpenText:"#FFFFFF",headerBorder:"#30363D",headerIcon:"#88929D",lineText:"#CED5DC",lineNumText:"rgba(136,146,157,0.75)",lineTimestampText:"#88929D",lineHoverBg:"#30363D",lineSelectedBg:"rgba(17,104,227,0.15)",lineSelectedNumText:"#368cf9",lineDtFmText:"#24292F",lineDtFmBg:"#744500",gateBg:"rgba(96,55,0,0.15)",gateText:"#CED5DC",gateWaitingText:"#ACB6C0",stepHeaderOpenBg:"#30363D",stepErrorText:"#ee5a5d",stepWarningText:"#b58407",loglineText:"#88929D",loglineNumText:"rgba(136,146,157,0.75)",loglineDebugText:"#a371f7",loglineErrorText:"#CED5DC",loglineErrorNumText:"#ee5a5d",loglineErrorBg:"rgba(134,6,29,0.15)",loglineWarningText:"#CED5DC",loglineWarningNumText:"#b58407",loglineWarningBg:"rgba(96,55,0,0.15)",loglineCommandText:"#368cf9",loglineSectionText:"#26a148",ansi:{black:"#24292F",blackBright:"#30363D",white:"#CED5DC",whiteBright:"#CED5DC",gray:"#88929D",red:"#ee5a5d",redBright:"#ff8e8a",green:"#26a148",greenBright:"#43c663",yellow:"#b58407",yellowBright:"#d5a824",blue:"#368cf9",blueBright:"#67b3fd",magenta:"#a371f7",magentaBright:"#c49bff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292F",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(1,4,9,0.8)",stackFade:"#ACB6C0",stackFadeMore:"#CED5DC"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(172,182,192,0.5)",tapFocusBg:"#9cd7ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292F",logo:"#ffffff"},headerSearch:{bg:"#24292F",border:"#4F5760"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(172,182,192,0.2)"},timeline:{badgeBg:"#E7ECF0"},ansi:{black:"#24292F",blackBright:"#4F5760",white:"#67707A",whiteBright:"#88929D",gray:"#67707A",red:"#a0111f",redBright:"#86061d",green:"#024c1a",greenBright:"#055d20",yellow:"#3f2200",yellowBright:"#4e2c00",blue:"#0349b4",blueBright:"#1168e3",magenta:"#622cbc",magentaBright:"#844ae7",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292F",bg:"#E7ECF0",border:"rgba(1,4,9,0.8)",hoverBg:"#CED5DC",hoverBorder:"rgba(1,4,9,0.8)",activeBg:"#ACB6C0",activeBorder:"rgba(1,4,9,0.8)",selectedBg:"#ACB6C0",focusBg:"#CED5DC",focusBorder:"rgba(1,4,9,0.8)",counterBg:"rgba(1,4,9,0.08)",primary:{text:"#ffffff",bg:"#055d20",border:"#013d14",hoverBg:"#024c1a",hoverBorder:"#013d14",selectedBg:"hsla(139,95%,13%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#94d3a2",disabledBorder:"rgba(1,4,9,0.8)",focusBg:"#013d14",focusBorder:"#013d14",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#023b95",hoverText:"#ffffff",hoverBg:"#0349b4",hoverBorder:"#022f7a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#022f7a",selectedBorder:"#022f7a",disabledText:"rgba(3,73,180,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(3,73,180,0.05)",focusBorder:"#022f7a",counterBg:"rgba(3,73,180,0.1)"},danger:{text:"#86061d",hoverText:"#ffffff",hoverBg:"#a0111f",hoverBorder:"#6e011a",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#6e011a",selectedBorder:"#6e011a",disabledText:"rgba(160,17,31,0.5)",disabledBg:"#E7ECF0",disabledCounterBg:"rgba(160,17,31,0.05)",focusBorder:"#6e011a",counterBg:"rgba(160,17,31,0.1)",icon:"#86061d",hoverIcon:"#ffffff"}},underlinenav:{icon:"#67707A",borderHover:"rgba(172,182,192,0.2)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(206,213,220,0.32)",activeBg:"rgba(206,213,220,0.48)",selectedBg:"rgba(206,213,220,0.24)"},danger:{hoverBg:"rgba(255,240,238,0.64)",activeBg:"#fff0ee",hoverText:"#a0111f"}},fg:{default:"#24292F",muted:"#24292F",subtle:"#67707A",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#ffffff",subtle:"#E7ECF0"},border:{default:"#30363D",muted:"#88929D",subtle:"rgba(1,4,9,0.8)"},neutral:{emphasisPlus:"#24292F",emphasis:"#67707A",muted:"rgba(172,182,192,0.2)",subtle:"#E7ECF0"},accent:{fg:"#0349b4",emphasis:"#0349b4",muted:"#368cf9",subtle:"#dff7ff"},success:{fg:"#055d20",emphasis:"#055d20",muted:"#26a148",subtle:"#d2fedb"},attention:{fg:"#744500",emphasis:"#744500",muted:"#b58407",subtle:"#fcf7be"},severe:{fg:"#873800",emphasis:"#873800",muted:"#dc6d1a",subtle:"#fff2d5"},danger:{fg:"#a0111f",emphasis:"#a0111f",muted:"#ee5a5d",subtle:"#fff0ee"},done:{fg:"#622cbc",emphasis:"#622cbc",muted:"#a371f7",subtle:"#faf0fe"},sponsors:{fg:"#971368",emphasis:"#971368",muted:"#ed4baf",subtle:"#feeff7"},primer:{fg:{disabled:"#88929D"},canvas:{backdrop:"rgba(1,4,9,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#ef5b48",contrast:"rgba(1,4,9,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(61,69,78,0.12)"},btn:{shadow:"0 1px 0 rgba(1,4,9,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(3,73,180,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(3,73,180,0.3)",primary:{shadow:"0 1px 0 rgba(1,4,9,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,35,11,0.2)",focusShadow:"0 0 0 3px rgba(1,61,20,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(2,26,74,0.2)",focusShadow:"0 0 0 3px rgba(2,59,149,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(67,0,17,0.2)",focusShadow:"0 0 0 3px rgba(134,6,29,0.4)"}},shadow:{small:"0 1px 0 rgba(1,4,9,0.04)",medium:"0 3px 6px rgba(136,146,157,0.15)",large:"0 8px 24px rgba(136,146,157,0.2)",extraLarge:"0 12px 28px rgba(136,146,157,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(206,213,220,0.2)",focus:"0 0 0 3px rgba(3,73,180,0.3)"}}}},light_colorblind:{colors:{canvasDefaultTransparent:"rgba(255,255,255,0)",marketingIcon:{primary:"#218bff",secondary:"#54aeff"},diffBlob:{addition:{numText:"#24292f",fg:"#24292f",numBg:"rgba(53,173,255,0.4)",lineBg:"rgba(192,246,255,0.5)",wordBg:"rgba(53,173,255,0.4)"},deletion:{numText:"#24292f",fg:"#24292f",numBg:"rgba(231,161,0,0.4)",lineBg:"rgba(254,254,72,0.5)",wordBg:"rgba(248,194,0,0.5)"},hunk:{numBg:"rgba(84,174,255,0.4)"},expander:{icon:"#57606a"}},diffstat:{deletionBorder:"rgba(27,31,36,0.15)",additionBorder:"rgba(27,31,36,0.15)",additionBg:"#0088ff"},searchKeyword:{hl:"#fff8c5"},prettylights:{syntax:{comment:"#6e7781",constant:"#0550ae",entity:"#8250df",storageModifierImport:"#24292f",entityTag:"#054da9",keyword:"#ac5e00",string:"#0a3069",variable:"#953800",brackethighlighterUnmatched:"#6c3900",invalidIllegalText:"#f6f8fa",invalidIllegalBg:"#6c3900",carriageReturnText:"#f6f8fa",carriageReturnBg:"#ac5e00",stringRegexp:"#054da9",markupList:"#3b2300",markupHeading:"#0550ae",markupItalic:"#24292f",markupBold:"#24292f",markupDeletedText:"#6c3900",markupDeletedBg:"#fefe48",markupInsertedText:"#054da9",markupInsertedBg:"#c0f6ff",markupChangedText:"#953800",markupChangedBg:"#ffd8b5",markupIgnoredText:"#eaeef2",markupIgnoredBg:"#0550ae",metaDiffRange:"#8250df",brackethighlighterAngle:"#57606a",sublimelinterGutterMark:"#8c959f",constantOtherReferenceLink:"#0a3069"}},codemirror:{text:"#24292f",bg:"#ffffff",guttersBg:"#ffffff",guttermarkerText:"#ffffff",guttermarkerSubtleText:"#6e7781",linenumberText:"#57606a",cursor:"#24292f",selectionBg:"rgba(84,174,255,0.4)",activelineBg:"rgba(234,238,242,0.5)",matchingbracketText:"#24292f",linesBg:"#ffffff",syntax:{comment:"#24292f",constant:"#0550ae",entity:"#8250df",keyword:"#ac5e00",storage:"#ac5e00",string:"#0a3069",support:"#0550ae",variable:"#953800"}},checks:{bg:"#24292f",textPrimary:"#f6f8fa",textSecondary:"#8c959f",textLink:"#54aeff",btnIcon:"#afb8c1",btnHoverIcon:"#f6f8fa",btnHoverBg:"rgba(255,255,255,0.125)",inputText:"#eaeef2",inputPlaceholderText:"#8c959f",inputFocusText:"#8c959f",inputBg:"#32383f",donutError:"#d08002",donutPending:"#bf8700",donutSuccess:"#0088ff",donutNeutral:"#afb8c1",dropdownText:"#afb8c1",dropdownBg:"#32383f",dropdownBorder:"#424a53",dropdownShadow:"rgba(27,31,36,0.3)",dropdownHoverText:"#f6f8fa",dropdownHoverBg:"#424a53",dropdownBtnHoverText:"#f6f8fa",dropdownBtnHoverBg:"#32383f",scrollbarThumbBg:"#57606a",headerLabelText:"#d0d7de",headerLabelOpenText:"#f6f8fa",headerBorder:"#32383f",headerIcon:"#8c959f",lineText:"#d0d7de",lineNumText:"rgba(140,149,159,0.75)",lineTimestampText:"#8c959f",lineHoverBg:"#32383f",lineSelectedBg:"rgba(33,139,255,0.15)",lineSelectedNumText:"#54aeff",lineDtFmText:"#24292f",lineDtFmBg:"#9a6700",gateBg:"rgba(125,78,0,0.15)",gateText:"#d0d7de",gateWaitingText:"#afb8c1",stepHeaderOpenBg:"#32383f",stepErrorText:"#e7a100",stepWarningText:"#d4a72c",loglineText:"#8c959f",loglineNumText:"rgba(140,149,159,0.75)",loglineDebugText:"#c297ff",loglineErrorText:"#d0d7de",loglineErrorNumText:"#e7a100",loglineErrorBg:"rgba(139,70,0,0.15)",loglineWarningText:"#d0d7de",loglineWarningNumText:"#d4a72c",loglineWarningBg:"rgba(125,78,0,0.15)",loglineCommandText:"#54aeff",loglineSectionText:"#35adff",ansi:{black:"#24292f",blackBright:"#32383f",white:"#d0d7de",whiteBright:"#d0d7de",gray:"#8c959f",red:"#e7a100",redBright:"#f8c200",green:"#35adff",greenBright:"#65ccff",yellow:"#d4a72c",yellowBright:"#eac54f",blue:"#54aeff",blueBright:"#80ccff",magenta:"#c297ff",magentaBright:"#d8b9ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#24292f",sidebarBg:"#ffffff",gradientIn:"#ffffff",gradientOut:"rgba(255,255,255,0)"},mktg:{btn:{bg:"#1b1f23"}},avatar:{bg:"#ffffff",border:"rgba(27,31,36,0.15)",stackFade:"#afb8c1",stackFadeMore:"#d0d7de"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"rgba(0,0,0,0)",tapHighlight:"rgba(175,184,193,0.5)",tapFocusBg:"#b6e3ff"},header:{text:"rgba(255,255,255,0.7)",bg:"#24292f",logo:"#ffffff"},headerSearch:{bg:"#24292f",border:"#57606a"},sidenav:{selectedBg:"#ffffff"},menu:{bgActive:"rgba(0,0,0,0)"},input:{disabledBg:"rgba(175,184,193,0.2)"},timeline:{badgeBg:"#eaeef2"},ansi:{black:"#24292f",blackBright:"#57606a",white:"#6e7781",whiteBright:"#8c959f",gray:"#6e7781",red:"#ac5e00",redBright:"#8b4600",green:"#054da9",greenBright:"#0566d5",yellow:"#4d2d00",yellowBright:"#633c01",blue:"#0969da",blueBright:"#218bff",magenta:"#8250df",magentaBright:"#a475f9",cyan:"#1b7c83",cyanBright:"#3192aa"},btn:{text:"#24292f",bg:"#f6f8fa",border:"rgba(27,31,36,0.15)",hoverBg:"#f3f4f6",hoverBorder:"rgba(27,31,36,0.15)",activeBg:"hsla(220,14%,93%,1)",activeBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(220,14%,94%,1)",focusBg:"#f6f8fa",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(27,31,36,0.08)",primary:{text:"#ffffff",bg:"#0088ff",border:"rgba(27,31,36,0.15)",hoverBg:"#0566d5",hoverBorder:"rgba(27,31,36,0.15)",selectedBg:"hsla(212,95%,41%,1)",disabledText:"rgba(255,255,255,0.8)",disabledBg:"#65ccff",disabledBorder:"rgba(27,31,36,0.15)",focusBg:"#0088ff",focusBorder:"rgba(27,31,36,0.15)",icon:"rgba(255,255,255,0.8)",counterBg:"rgba(255,255,255,0.2)"},outline:{text:"#0969da",hoverText:"#ffffff",hoverBg:"#0969da",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(212,92%,42%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(9,105,218,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(9,105,218,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(9,105,218,0.1)"},danger:{text:"#ac5e00",hoverText:"#ffffff",hoverBg:"#8b4600",hoverBorder:"rgba(27,31,36,0.15)",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"hsla(33,100%,31%,1)",selectedBorder:"rgba(27,31,36,0.15)",disabledText:"rgba(172,94,0,0.5)",disabledBg:"#f6f8fa",disabledCounterBg:"rgba(172,94,0,0.05)",focusBorder:"rgba(27,31,36,0.15)",counterBg:"rgba(172,94,0,0.1)",icon:"#ac5e00",hoverIcon:"#ffffff"}},underlinenav:{icon:"#6e7781",borderHover:"rgba(175,184,193,0.2)"},actionListItem:{inlineDivider:"rgba(208,215,222,0.48)",default:{hoverBg:"rgba(208,215,222,0.32)",activeBg:"rgba(208,215,222,0.48)",selectedBg:"rgba(208,215,222,0.24)"},danger:{hoverBg:"rgba(254,254,72,0.64)",activeBg:"#fefe48",hoverText:"#ac5e00"}},fg:{default:"#24292f",muted:"#57606a",subtle:"#6e7781",onEmphasis:"#ffffff"},canvas:{default:"#ffffff",overlay:"#ffffff",inset:"#f6f8fa",subtle:"#f6f8fa"},border:{default:"#d0d7de",muted:"hsla(210,18%,87%,1)",subtle:"rgba(27,31,36,0.15)"},neutral:{emphasisPlus:"#24292f",emphasis:"#6e7781",muted:"rgba(175,184,193,0.2)",subtle:"rgba(234,238,242,0.5)"},accent:{fg:"#0969da",emphasis:"#0969da",muted:"rgba(84,174,255,0.4)",subtle:"#ddf4ff"},success:{fg:"#0566d5",emphasis:"#0088ff",muted:"rgba(53,173,255,0.4)",subtle:"#c0f6ff"},attention:{fg:"#9a6700",emphasis:"#bf8700",muted:"rgba(212,167,44,0.4)",subtle:"#fff8c5"},severe:{fg:"#bc4c00",emphasis:"#bc4c00",muted:"rgba(251,143,68,0.4)",subtle:"#fff1e5"},danger:{fg:"#ac5e00",emphasis:"#ac5e00",muted:"rgba(231,161,0,0.4)",subtle:"#fefe48"},done:{fg:"#8250df",emphasis:"#8250df",muted:"rgba(194,151,255,0.4)",subtle:"#fbefff"},sponsors:{fg:"#bf3989",emphasis:"#bf3989",muted:"rgba(255,128,200,0.4)",subtle:"#ffeff7"},primer:{fg:{disabled:"#8c959f"},canvas:{backdrop:"rgba(27,31,36,0.5)",sticky:"rgba(255,255,255,0.95)"},border:{active:"#FD8C73",contrast:"rgba(27,31,36,0.1)"}}},shadows:{mktg:{btn:{shadow:{outline:"rgb(0 0 0 / 15%) 0 0 0 1px inset",focus:"rgb(0 0 0 / 15%) 0 0 0 4px",hover:"0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",hoverMuted:"rgb(0 0 0 / 70%) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 rgba(255,255,255,0.8)"},overlay:{shadow:"0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12)"},btn:{shadow:"0 1px 0 rgba(27,31,36,0.04)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.25)",focusShadow:"0 0 0 3px rgba(9,105,218,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(27,31,36,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(9,105,218,0.3)",primary:{shadow:"0 1px 0 rgba(27,31,36,0.1)",insetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,31,80,0.2)",focusShadow:"0 0 0 3px rgba(0,136,255,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(0,33,85,0.2)",focusShadow:"0 0 0 3px rgba(5,80,174,0.4)"},danger:{hoverShadow:"0 1px 0 rgba(27,31,36,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"inset 0 1px 0 rgba(47,41,0,0.2)",focusShadow:"0 0 0 3px rgba(139,70,0,0.4)"}},shadow:{small:"0 1px 0 rgba(27,31,36,0.04)",medium:"0 3px 6px rgba(140,149,159,0.15)",large:"0 8px 24px rgba(140,149,159,0.2)",extraLarge:"0 12px 28px rgba(140,149,159,0.3)"},primer:{shadow:{highlight:"inset 0 1px 0 rgba(255,255,255,0.25)",inset:"inset 0 1px 0 rgba(208,215,222,0.2)",focus:"0 0 0 3px rgba(9,105,218,0.3)"}}}},dark:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(63,185,80,0.3)",lineBg:"rgba(46,160,67,0.15)",wordBg:"rgba(46,160,67,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(248,81,73,0.3)",lineBg:"rgba(248,81,73,0.15)",wordBg:"rgba(248,81,73,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#3fb950"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#7ee787",keyword:"#ff7b72",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#f85149",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#8e1519",carriageReturnText:"#f0f6fc",carriageReturnBg:"#b62324",stringRegexp:"#7ee787",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#ffdcd7",markupDeletedBg:"#67060c",markupInsertedText:"#aff5b4",markupInsertedBg:"#033a16",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#ff7b72",storage:"#ff7b72",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#f85149",donutPending:"#d29922",donutSuccess:"#2ea043",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#f85149",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(248,81,73,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#3fb950",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#ff7b72",redBright:"#ffa198",green:"#3fb950",greenBright:"#56d364",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#238636",border:"rgba(240,246,252,0.1)",hoverBg:"#2ea043",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#238636",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(35,134,54,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#238636",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#f85149",hoverText:"#f0f6fc",hoverBg:"#da3633",hoverBorder:"#f85149",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#b62324",selectedBorder:"#ff7b72",disabledText:"rgba(248,81,73,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(218,54,51,0.05)",focusBorder:"#f85149",counterBg:"rgba(218,54,51,0.1)",icon:"#f85149"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(248,81,73,0.16)",activeBg:"rgba(248,81,73,0.24)",hoverText:"#ff7b72"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#3fb950",emphasis:"#238636",muted:"rgba(46,160,67,0.4)",subtle:"rgba(46,160,67,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#f85149",emphasis:"#da3633",muted:"rgba(248,81,73,0.4)",subtle:"rgba(248,81,73,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(248,81,73,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}},dark_dimmed:{colors:{canvasDefaultTransparent:"rgba(34,39,46,0)",marketingIcon:{primary:"#6cb6ff",secondary:"#316dca"},diffBlob:{addition:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(87,171,90,0.3)",lineBg:"rgba(70,149,74,0.15)",wordBg:"rgba(70,149,74,0.4)"},deletion:{numText:"#adbac7",fg:"#adbac7",numBg:"rgba(229,83,75,0.3)",lineBg:"rgba(229,83,75,0.15)",wordBg:"rgba(229,83,75,0.4)"},hunk:{numBg:"rgba(65,132,228,0.4)"},expander:{icon:"#768390"}},diffstat:{deletionBorder:"rgba(205,217,229,0.1)",additionBorder:"rgba(205,217,229,0.1)",additionBg:"#57ab5a"},searchKeyword:{hl:"rgba(198,144,38,0.4)"},prettylights:{syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",storageModifierImport:"#adbac7",entityTag:"#8ddb8c",keyword:"#f47067",string:"#96d0ff",variable:"#f69d50",brackethighlighterUnmatched:"#e5534b",invalidIllegalText:"#cdd9e5",invalidIllegalBg:"#922323",carriageReturnText:"#cdd9e5",carriageReturnBg:"#ad2e2c",stringRegexp:"#8ddb8c",markupList:"#eac55f",markupHeading:"#316dca",markupItalic:"#adbac7",markupBold:"#adbac7",markupDeletedText:"#ffd8d3",markupDeletedBg:"#78191b",markupInsertedText:"#b4f1b4",markupInsertedBg:"#1b4721",markupChangedText:"#ffddb0",markupChangedBg:"#682d0f",markupIgnoredText:"#adbac7",markupIgnoredBg:"#255ab2",metaDiffRange:"#dcbdfb",brackethighlighterAngle:"#768390",sublimelinterGutterMark:"#545d68",constantOtherReferenceLink:"#96d0ff"}},codemirror:{text:"#adbac7",bg:"#22272e",guttersBg:"#22272e",guttermarkerText:"#22272e",guttermarkerSubtleText:"#545d68",linenumberText:"#768390",cursor:"#adbac7",selectionBg:"rgba(65,132,228,0.4)",activelineBg:"rgba(99,110,123,0.1)",matchingbracketText:"#adbac7",linesBg:"#22272e",syntax:{comment:"#768390",constant:"#6cb6ff",entity:"#dcbdfb",keyword:"#f47067",storage:"#f47067",string:"#96d0ff",support:"#6cb6ff",variable:"#f69d50"}},checks:{bg:"#1c2128",textPrimary:"#adbac7",textSecondary:"#768390",textLink:"#539bf5",btnIcon:"#768390",btnHoverIcon:"#adbac7",btnHoverBg:"rgba(99,110,123,0.1)",inputText:"#768390",inputPlaceholderText:"#545d68",inputFocusText:"#adbac7",inputBg:"#2d333b",donutError:"#e5534b",donutPending:"#c69026",donutSuccess:"#46954a",donutNeutral:"#768390",dropdownText:"#adbac7",dropdownBg:"#2d333b",dropdownBorder:"#444c56",dropdownShadow:"rgba(28,33,40,0.3)",dropdownHoverText:"#adbac7",dropdownHoverBg:"rgba(99,110,123,0.1)",dropdownBtnHoverText:"#adbac7",dropdownBtnHoverBg:"rgba(99,110,123,0.1)",scrollbarThumbBg:"rgba(99,110,123,0.4)",headerLabelText:"#768390",headerLabelOpenText:"#adbac7",headerBorder:"#373e47",headerIcon:"#768390",lineText:"#768390",lineNumText:"#545d68",lineTimestampText:"#545d68",lineHoverBg:"rgba(99,110,123,0.1)",lineSelectedBg:"rgba(65,132,228,0.15)",lineSelectedNumText:"#539bf5",lineDtFmText:"#cdd9e5",lineDtFmBg:"#966600",gateBg:"rgba(174,124,20,0.15)",gateText:"#768390",gateWaitingText:"#c69026",stepHeaderOpenBg:"#2d333b",stepErrorText:"#e5534b",stepWarningText:"#c69026",loglineText:"#768390",loglineNumText:"#545d68",loglineDebugText:"#986ee2",loglineErrorText:"#768390",loglineErrorNumText:"#545d68",loglineErrorBg:"rgba(229,83,75,0.15)",loglineWarningText:"#768390",loglineWarningNumText:"#c69026",loglineWarningBg:"rgba(174,124,20,0.15)",loglineCommandText:"#539bf5",loglineSectionText:"#57ab5a",ansi:{black:"#22272e",blackBright:"#2d333b",white:"#909dab",whiteBright:"#909dab",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#22272e",sidebarBg:"#2d333b",gradientIn:"#2d333b",gradientOut:"rgba(45,51,59,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(205,217,229,0.1)",border:"rgba(205,217,229,0.1)",stackFade:"#444c56",stackFadeMore:"#373e47"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#545d68",tapHighlight:"rgba(68,76,86,0.5)",tapFocusBg:"#143d79"},header:{text:"rgba(205,217,229,0.7)",bg:"#2d333b",logo:"#cdd9e5"},headerSearch:{bg:"#22272e",border:"#444c56"},sidenav:{selectedBg:"#373e47"},menu:{bgActive:"#2d333b"},input:{disabledBg:"rgba(99,110,123,0)"},timeline:{badgeBg:"#373e47"},ansi:{black:"#545d68",blackBright:"#636e7b",white:"#909dab",whiteBright:"#cdd9e5",gray:"#636e7b",red:"#f47067",redBright:"#ff938a",green:"#57ab5a",greenBright:"#6bc46d",yellow:"#c69026",yellowBright:"#daaa3f",blue:"#539bf5",blueBright:"#6cb6ff",magenta:"#b083f0",magentaBright:"#dcbdfb",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#adbac7",bg:"#373e47",border:"rgba(205,217,229,0.1)",hoverBg:"#444c56",hoverBorder:"#768390",activeBg:"hsla(213,12%,27%,1)",activeBorder:"#636e7b",selectedBg:"#2d333b",focusBg:"#373e47",focusBorder:"#768390",counterBg:"#444c56",primary:{text:"#ffffff",bg:"#347d39",border:"rgba(205,217,229,0.1)",hoverBg:"#46954a",hoverBorder:"rgba(205,217,229,0.1)",selectedBg:"#347d39",disabledText:"rgba(205,217,229,0.5)",disabledBg:"rgba(52,125,57,0.6)",disabledBorder:"rgba(205,217,229,0.1)",focusBg:"#347d39",focusBorder:"rgba(205,217,229,0.1)",icon:"#cdd9e5",counterBg:"rgba(205,217,229,0.2)"},outline:{text:"#539bf5",hoverText:"#539bf5",hoverBg:"#444c56",hoverBorder:"rgba(205,217,229,0.1)",hoverCounterBg:"rgba(205,217,229,0.2)",selectedText:"#cdd9e5",selectedBg:"#1b4b91",selectedBorder:"rgba(205,217,229,0.1)",disabledText:"rgba(83,155,245,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(49,109,202,0.05)",focusBorder:"rgba(205,217,229,0.1)",counterBg:"rgba(49,109,202,0.1)"},danger:{text:"#e5534b",hoverText:"#cdd9e5",hoverBg:"#c93c37",hoverBorder:"#e5534b",hoverIcon:"#cdd9e5",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#ad2e2c",selectedBorder:"#f47067",disabledText:"rgba(229,83,75,0.5)",disabledBg:"#22272e",disabledCounterBg:"rgba(201,60,55,0.05)",focusBorder:"#e5534b",counterBg:"rgba(201,60,55,0.1)",icon:"#e5534b"}},underlinenav:{icon:"#545d68",borderHover:"rgba(99,110,123,0.4)"},actionListItem:{inlineDivider:"rgba(68,76,86,0.48)",default:{hoverBg:"rgba(144,157,171,0.12)",activeBg:"rgba(144,157,171,0.2)",selectedBg:"rgba(144,157,171,0.08)"},danger:{hoverBg:"rgba(229,83,75,0.16)",activeBg:"rgba(229,83,75,0.24)",hoverText:"#f47067"}},fg:{default:"#adbac7",muted:"#768390",subtle:"#545d68",onEmphasis:"#cdd9e5"},canvas:{default:"#22272e",overlay:"#2d333b",inset:"#1c2128",subtle:"#2d333b"},border:{default:"#444c56",muted:"#373e47",subtle:"rgba(205,217,229,0.1)"},neutral:{emphasisPlus:"#636e7b",emphasis:"#636e7b",muted:"rgba(99,110,123,0.4)",subtle:"rgba(99,110,123,0.1)"},accent:{fg:"#539bf5",emphasis:"#316dca",muted:"rgba(65,132,228,0.4)",subtle:"rgba(65,132,228,0.15)"},success:{fg:"#57ab5a",emphasis:"#347d39",muted:"rgba(70,149,74,0.4)",subtle:"rgba(70,149,74,0.15)"},attention:{fg:"#c69026",emphasis:"#966600",muted:"rgba(174,124,20,0.4)",subtle:"rgba(174,124,20,0.15)"},severe:{fg:"#cc6b2c",emphasis:"#ae5622",muted:"rgba(204,107,44,0.4)",subtle:"rgba(204,107,44,0.15)"},danger:{fg:"#e5534b",emphasis:"#c93c37",muted:"rgba(229,83,75,0.4)",subtle:"rgba(229,83,75,0.15)"},done:{fg:"#986ee2",emphasis:"#8256d0",muted:"rgba(152,110,226,0.4)",subtle:"rgba(152,110,226,0.15)"},sponsors:{fg:"#c96198",emphasis:"#ae4c82",muted:"rgba(201,97,152,0.4)",subtle:"rgba(201,97,152,0.15)"},primer:{fg:{disabled:"#545d68"},canvas:{backdrop:"rgba(28,33,40,0.8)",sticky:"rgba(34,39,46,0.95)"},border:{active:"#EC775C",contrast:"rgba(205,217,229,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #22272e"},overlay:{shadow:"0 0 0 1px #444c56, 0 16px 32px rgba(28,33,40,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(118,131,144,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(28,33,40,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(49,109,202,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(28,33,40,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(205,217,229,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(37,90,178,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(229,83,75,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #1c2128",large:"0 8px 24px #1c2128",extraLarge:"0 12px 48px #1c2128"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #143d79"}}}},dark_high_contrast:{colors:{canvasDefaultTransparent:"rgba(10,12,16,0)",marketingIcon:{primary:"#91cbff",secondary:"#409eff"},diffBlob:{addition:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(38,205,77,0.3)",lineBg:"rgba(9,180,58,0.15)",wordBg:"#09b43a"},deletion:{numText:"#f0f3f6",fg:"#0a0c10",numBg:"rgba(255,106,105,0.3)",lineBg:"rgba(255,106,105,0.15)",wordBg:"#ff6a69"},hunk:{numBg:"rgba(64,158,255,0.4)"},expander:{icon:"#0a0c10"}},diffstat:{deletionBorder:"#ffb1af",additionBorder:"#4ae168",additionBg:"#26cd4d"},searchKeyword:{hl:"rgba(240,183,47,0.4)"},prettylights:{syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",storageModifierImport:"#f0f3f6",entityTag:"#72f088",keyword:"#ff9492",string:"#addcff",variable:"#ffb757",brackethighlighterUnmatched:"#ff6a69",invalidIllegalText:"#ffffff",invalidIllegalBg:"#e82a2f",carriageReturnText:"#ffffff",carriageReturnBg:"#ff4445",stringRegexp:"#72f088",markupList:"#fbd669",markupHeading:"#409eff",markupItalic:"#f0f3f6",markupBold:"#f0f3f6",markupDeletedText:"#ffdedb",markupDeletedBg:"#cc1421",markupInsertedText:"#acf7b6",markupInsertedBg:"#007728",markupChangedText:"#ffe1b4",markupChangedBg:"#a74c00",markupIgnoredText:"#f0f3f6",markupIgnoredBg:"#318bf8",metaDiffRange:"#dbb7ff",brackethighlighterAngle:"#bdc4cc",sublimelinterGutterMark:"#7a828e",constantOtherReferenceLink:"#addcff"}},codemirror:{text:"#f0f3f6",bg:"#0a0c10",guttersBg:"#0a0c10",guttermarkerText:"#0a0c10",guttermarkerSubtleText:"#7a828e",linenumberText:"#f0f3f6",cursor:"#f0f3f6",selectionBg:"rgba(64,158,255,0.4)",activelineBg:"rgba(158,167,179,0.1)",matchingbracketText:"#f0f3f6",linesBg:"#0a0c10",syntax:{comment:"#bdc4cc",constant:"#91cbff",entity:"#dbb7ff",keyword:"#ff9492",storage:"#ff9492",string:"#addcff",support:"#91cbff",variable:"#ffb757"}},checks:{bg:"#010409",textPrimary:"#f0f3f6",textSecondary:"#f0f3f6",textLink:"#71b7ff",btnIcon:"#f0f3f6",btnHoverIcon:"#f0f3f6",btnHoverBg:"rgba(158,167,179,0.1)",inputText:"#f0f3f6",inputPlaceholderText:"#7a828e",inputFocusText:"#f0f3f6",inputBg:"#272b33",donutError:"#ff6a69",donutPending:"#f0b72f",donutSuccess:"#09b43a",donutNeutral:"#bdc4cc",dropdownText:"#f0f3f6",dropdownBg:"#272b33",dropdownBorder:"#7a828e",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#f0f3f6",dropdownHoverBg:"rgba(158,167,179,0.1)",dropdownBtnHoverText:"#f0f3f6",dropdownBtnHoverBg:"rgba(158,167,179,0.1)",scrollbarThumbBg:"rgba(158,167,179,0.4)",headerLabelText:"#f0f3f6",headerLabelOpenText:"#f0f3f6",headerBorder:"#7a828e",headerIcon:"#f0f3f6",lineText:"#f0f3f6",lineNumText:"#7a828e",lineTimestampText:"#7a828e",lineHoverBg:"rgba(158,167,179,0.1)",lineSelectedBg:"rgba(64,158,255,0.15)",lineSelectedNumText:"#71b7ff",lineDtFmText:"#0a0c10",lineDtFmBg:"#e09b13",gateBg:"rgba(224,155,19,0.15)",gateText:"#f0f3f6",gateWaitingText:"#f0b72f",stepHeaderOpenBg:"#272b33",stepErrorText:"#ff6a69",stepWarningText:"#f0b72f",loglineText:"#f0f3f6",loglineNumText:"#7a828e",loglineDebugText:"#b780ff",loglineErrorText:"#f0f3f6",loglineErrorNumText:"#7a828e",loglineErrorBg:"rgba(255,106,105,0.15)",loglineWarningText:"#f0f3f6",loglineWarningNumText:"#f0b72f",loglineWarningBg:"rgba(224,155,19,0.15)",loglineCommandText:"#71b7ff",loglineSectionText:"#26cd4d",ansi:{black:"#0a0c10",blackBright:"#272b33",white:"#d9dee3",whiteBright:"#d9dee3",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0a0c10",sidebarBg:"#272b33",gradientIn:"#272b33",gradientOut:"rgba(39,43,51,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(255,255,255,0.1)",border:"rgba(255,255,255,0.9)",stackFade:"#525964",stackFadeMore:"#272b33"},topicTag:{border:"#409eff"},selectMenu:{backdropBorder:"#7a828e",tapHighlight:"rgba(82,89,100,0.5)",tapFocusBg:"#1e60d5"},header:{text:"rgba(255,255,255,0.7)",bg:"#272b33",logo:"#ffffff"},headerSearch:{bg:"#0a0c10",border:"#525964"},sidenav:{selectedBg:"#272b33"},menu:{bgActive:"#272b33"},input:{disabledBg:"rgba(158,167,179,0)"},timeline:{badgeBg:"#272b33"},ansi:{black:"#7a828e",blackBright:"#9ea7b3",white:"#d9dee3",whiteBright:"#ffffff",gray:"#9ea7b3",red:"#ff9492",redBright:"#ffb1af",green:"#26cd4d",greenBright:"#4ae168",yellow:"#f0b72f",yellowBright:"#f7c843",blue:"#71b7ff",blueBright:"#91cbff",magenta:"#cb9eff",magentaBright:"#dbb7ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#f0f3f6",bg:"#272b33",border:"#7a828e",hoverBg:"#525964",hoverBorder:"#bdc4cc",activeBg:"hsla(217,10%,33%,1)",activeBorder:"#9ea7b3",selectedBg:"rgba(82,89,100,0.9)",focusBg:"#272b33",focusBorder:"#bdc4cc",counterBg:"#525964",primary:{text:"#0a0c10",bg:"#09b43a",border:"#4ae168",hoverBg:"#26cd4d",hoverBorder:"#4ae168",selectedBg:"#09b43a",disabledText:"rgba(10,12,16,0.5)",disabledBg:"rgba(9,180,58,0.6)",disabledBorder:"rgba(74,225,104,0.4)",focusBg:"#09b43a",focusBorder:"#7a828e",icon:"#0a0c10",counterBg:"rgba(1,4,9,0.15)"},outline:{text:"#71b7ff",hoverText:"#71b7ff",hoverBg:"#525964",hoverBorder:"#7a828e",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#2672f3",selectedBorder:"#7a828e",disabledText:"rgba(113,183,255,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(64,158,255,0.05)",focusBorder:"#7a828e",counterBg:"rgba(64,158,255,0.1)"},danger:{text:"#ff6a69",hoverText:"#0a0c10",hoverBg:"#ff6a69",hoverBorder:"#ff6a69",hoverIcon:"#0a0c10",hoverCounterBg:"rgba(1,4,9,0.15)",selectedText:"#ffffff",selectedBg:"#ff4445",selectedBorder:"#ff9492",disabledText:"rgba(255,106,105,0.5)",disabledBg:"#0a0c10",disabledCounterBg:"rgba(255,106,105,0.05)",focusBorder:"#ff6a69",counterBg:"rgba(1,4,9,0.15)",icon:"#ff6a69"}},underlinenav:{icon:"#f0f3f6",borderHover:"#bdc4cc"},actionListItem:{inlineDivider:"#7a828e",default:{hoverBg:"rgba(217,222,227,0.12)",activeBg:"rgba(217,222,227,0.24)",selectedBg:"rgba(217,222,227,0.08)"},danger:{hoverBg:"#ff6a69",activeBg:"#ff4445",hoverText:"#0a0c10"}},fg:{default:"#f0f3f6",muted:"#f0f3f6",subtle:"#7a828e",onEmphasis:"#0a0c10"},canvas:{default:"#0a0c10",overlay:"#272b33",inset:"#010409",subtle:"#272b33"},border:{default:"#7a828e",muted:"#7a828e",subtle:"#7a828e"},neutral:{emphasisPlus:"#ffffff",emphasis:"#9ea7b3",muted:"rgba(158,167,179,0.4)",subtle:"rgba(158,167,179,0.1)"},accent:{fg:"#71b7ff",emphasis:"#409eff",muted:"#409eff",subtle:"rgba(64,158,255,0.15)"},success:{fg:"#26cd4d",emphasis:"#09b43a",muted:"#09b43a",subtle:"rgba(9,180,58,0.15)"},attention:{fg:"#f0b72f",emphasis:"#e09b13",muted:"#e09b13",subtle:"rgba(224,155,19,0.15)"},severe:{fg:"#e7811d",emphasis:"#e7811d",muted:"#e7811d",subtle:"rgba(231,129,29,0.15)"},danger:{fg:"#ff6a69",emphasis:"#ff6a69",muted:"#ff6a69",subtle:"rgba(255,106,105,0.15)"},done:{fg:"#b780ff",emphasis:"#b87fff",muted:"#b780ff",subtle:"rgba(183,128,255,0.15)"},sponsors:{fg:"#ef6eb1",emphasis:"#ef6eb1",muted:"#ef6eb1",subtle:"rgba(239,110,177,0.15)"},primer:{fg:{disabled:"#7a828e"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(10,12,16,0.95)"},border:{active:"#FF967D",contrast:"rgba(255,255,255,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0a0c10"},overlay:{shadow:"0 0 0 1px #525964, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(189,196,204,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(64,158,255,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(255,255,255,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(49,139,248,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(255,106,105,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #1e60d5"}}}},dark_colorblind:{colors:{canvasDefaultTransparent:"rgba(13,17,23,0)",marketingIcon:{primary:"#79c0ff",secondary:"#1f6feb"},diffBlob:{addition:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(66,160,255,0.3)",lineBg:"rgba(21,133,253,0.15)",wordBg:"rgba(21,133,253,0.4)"},deletion:{numText:"#c9d1d9",fg:"#c9d1d9",numBg:"rgba(195,128,0,0.3)",lineBg:"rgba(195,128,0,0.15)",wordBg:"rgba(195,128,0,0.4)"},hunk:{numBg:"rgba(56,139,253,0.4)"},expander:{icon:"#8b949e"}},diffstat:{deletionBorder:"rgba(240,246,252,0.1)",additionBorder:"rgba(240,246,252,0.1)",additionBg:"#42a0ff"},searchKeyword:{hl:"rgba(210,153,34,0.4)"},prettylights:{syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",storageModifierImport:"#c9d1d9",entityTag:"#83d4ff",keyword:"#d69a00",string:"#a5d6ff",variable:"#ffa657",brackethighlighterUnmatched:"#c38000",invalidIllegalText:"#f0f6fc",invalidIllegalBg:"#633e00",carriageReturnText:"#f0f6fc",carriageReturnBg:"#865401",stringRegexp:"#83d4ff",markupList:"#f2cc60",markupHeading:"#1f6feb",markupItalic:"#c9d1d9",markupBold:"#c9d1d9",markupDeletedText:"#f0ec59",markupDeletedBg:"#452f00",markupInsertedText:"#a0e8ff",markupInsertedBg:"#0a2861",markupChangedText:"#ffdfb6",markupChangedBg:"#5a1e02",markupIgnoredText:"#c9d1d9",markupIgnoredBg:"#1158c7",metaDiffRange:"#d2a8ff",brackethighlighterAngle:"#8b949e",sublimelinterGutterMark:"#484f58",constantOtherReferenceLink:"#a5d6ff"}},codemirror:{text:"#c9d1d9",bg:"#0d1117",guttersBg:"#0d1117",guttermarkerText:"#0d1117",guttermarkerSubtleText:"#484f58",linenumberText:"#8b949e",cursor:"#c9d1d9",selectionBg:"rgba(56,139,253,0.4)",activelineBg:"rgba(110,118,129,0.1)",matchingbracketText:"#c9d1d9",linesBg:"#0d1117",syntax:{comment:"#8b949e",constant:"#79c0ff",entity:"#d2a8ff",keyword:"#d69a00",storage:"#d69a00",string:"#a5d6ff",support:"#79c0ff",variable:"#ffa657"}},checks:{bg:"#010409",textPrimary:"#c9d1d9",textSecondary:"#8b949e",textLink:"#58a6ff",btnIcon:"#8b949e",btnHoverIcon:"#c9d1d9",btnHoverBg:"rgba(110,118,129,0.1)",inputText:"#8b949e",inputPlaceholderText:"#484f58",inputFocusText:"#c9d1d9",inputBg:"#161b22",donutError:"#c38000",donutPending:"#d29922",donutSuccess:"#1585fd",donutNeutral:"#8b949e",dropdownText:"#c9d1d9",dropdownBg:"#161b22",dropdownBorder:"#30363d",dropdownShadow:"rgba(1,4,9,0.3)",dropdownHoverText:"#c9d1d9",dropdownHoverBg:"rgba(110,118,129,0.1)",dropdownBtnHoverText:"#c9d1d9",dropdownBtnHoverBg:"rgba(110,118,129,0.1)",scrollbarThumbBg:"rgba(110,118,129,0.4)",headerLabelText:"#8b949e",headerLabelOpenText:"#c9d1d9",headerBorder:"#21262d",headerIcon:"#8b949e",lineText:"#8b949e",lineNumText:"#484f58",lineTimestampText:"#484f58",lineHoverBg:"rgba(110,118,129,0.1)",lineSelectedBg:"rgba(56,139,253,0.15)",lineSelectedNumText:"#58a6ff",lineDtFmText:"#f0f6fc",lineDtFmBg:"#9e6a03",gateBg:"rgba(187,128,9,0.15)",gateText:"#8b949e",gateWaitingText:"#d29922",stepHeaderOpenBg:"#161b22",stepErrorText:"#c38000",stepWarningText:"#d29922",loglineText:"#8b949e",loglineNumText:"#484f58",loglineDebugText:"#a371f7",loglineErrorText:"#8b949e",loglineErrorNumText:"#484f58",loglineErrorBg:"rgba(195,128,0,0.15)",loglineWarningText:"#8b949e",loglineWarningNumText:"#d29922",loglineWarningBg:"rgba(187,128,9,0.15)",loglineCommandText:"#58a6ff",loglineSectionText:"#42a0ff",ansi:{black:"#0d1117",blackBright:"#161b22",white:"#b1bac4",whiteBright:"#b1bac4",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#76e3ea",cyanBright:"#b3f0ff"}},project:{headerBg:"#0d1117",sidebarBg:"#161b22",gradientIn:"#161b22",gradientOut:"rgba(22,27,34,0)"},mktg:{btn:{bg:"#f6f8fa"}},avatar:{bg:"rgba(240,246,252,0.1)",border:"rgba(240,246,252,0.1)",stackFade:"#30363d",stackFadeMore:"#21262d"},topicTag:{border:"rgba(0,0,0,0)"},selectMenu:{backdropBorder:"#484f58",tapHighlight:"rgba(48,54,61,0.5)",tapFocusBg:"#0c2d6b"},header:{text:"rgba(240,246,252,0.7)",bg:"#161b22",logo:"#f0f6fc"},headerSearch:{bg:"#0d1117",border:"#30363d"},sidenav:{selectedBg:"#21262d"},menu:{bgActive:"#161b22"},input:{disabledBg:"rgba(110,118,129,0)"},timeline:{badgeBg:"#21262d"},ansi:{black:"#484f58",blackBright:"#6e7681",white:"#b1bac4",whiteBright:"#f0f6fc",gray:"#6e7681",red:"#d69a00",redBright:"#e6b716",green:"#42a0ff",greenBright:"#66baff",yellow:"#d29922",yellowBright:"#e3b341",blue:"#58a6ff",blueBright:"#79c0ff",magenta:"#bc8cff",magentaBright:"#d2a8ff",cyan:"#39c5cf",cyanBright:"#56d4dd"},btn:{text:"#c9d1d9",bg:"#21262d",border:"rgba(240,246,252,0.1)",hoverBg:"#30363d",hoverBorder:"#8b949e",activeBg:"hsla(212,12%,18%,1)",activeBorder:"#6e7681",selectedBg:"#161b22",focusBg:"#21262d",focusBorder:"#8b949e",counterBg:"#30363d",primary:{text:"#ffffff",bg:"#1d69e0",border:"rgba(240,246,252,0.1)",hoverBg:"#1585fd",hoverBorder:"rgba(240,246,252,0.1)",selectedBg:"#1d69e0",disabledText:"rgba(240,246,252,0.5)",disabledBg:"rgba(29,105,224,0.6)",disabledBorder:"rgba(240,246,252,0.1)",focusBg:"#1d69e0",focusBorder:"rgba(240,246,252,0.1)",icon:"#f0f6fc",counterBg:"rgba(240,246,252,0.2)"},outline:{text:"#58a6ff",hoverText:"#58a6ff",hoverBg:"#30363d",hoverBorder:"rgba(240,246,252,0.1)",hoverCounterBg:"rgba(240,246,252,0.2)",selectedText:"#f0f6fc",selectedBg:"#0d419d",selectedBorder:"rgba(240,246,252,0.1)",disabledText:"rgba(88,166,255,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(31,111,235,0.05)",focusBorder:"rgba(240,246,252,0.1)",counterBg:"rgba(31,111,235,0.1)"},danger:{text:"#c38000",hoverText:"#f0f6fc",hoverBg:"#a66900",hoverBorder:"#c38000",hoverIcon:"#f0f6fc",hoverCounterBg:"rgba(255,255,255,0.2)",selectedText:"#ffffff",selectedBg:"#865401",selectedBorder:"#d69a00",disabledText:"rgba(195,128,0,0.5)",disabledBg:"#0d1117",disabledCounterBg:"rgba(166,105,0,0.05)",focusBorder:"#c38000",counterBg:"rgba(166,105,0,0.1)",icon:"#c38000"}},underlinenav:{icon:"#484f58",borderHover:"rgba(110,118,129,0.4)"},actionListItem:{inlineDivider:"rgba(48,54,61,0.48)",default:{hoverBg:"rgba(177,186,196,0.12)",activeBg:"rgba(177,186,196,0.2)",selectedBg:"rgba(177,186,196,0.08)"},danger:{hoverBg:"rgba(195,128,0,0.16)",activeBg:"rgba(195,128,0,0.24)",hoverText:"#d69a00"}},fg:{default:"#c9d1d9",muted:"#8b949e",subtle:"#484f58",onEmphasis:"#f0f6fc"},canvas:{default:"#0d1117",overlay:"#161b22",inset:"#010409",subtle:"#161b22"},border:{default:"#30363d",muted:"#21262d",subtle:"rgba(240,246,252,0.1)"},neutral:{emphasisPlus:"#6e7681",emphasis:"#6e7681",muted:"rgba(110,118,129,0.4)",subtle:"rgba(110,118,129,0.1)"},accent:{fg:"#58a6ff",emphasis:"#1f6feb",muted:"rgba(56,139,253,0.4)",subtle:"rgba(56,139,253,0.15)"},success:{fg:"#42a0ff",emphasis:"#1d69e0",muted:"rgba(21,133,253,0.4)",subtle:"rgba(21,133,253,0.15)"},attention:{fg:"#d29922",emphasis:"#9e6a03",muted:"rgba(187,128,9,0.4)",subtle:"rgba(187,128,9,0.15)"},severe:{fg:"#db6d28",emphasis:"#bd561d",muted:"rgba(219,109,40,0.4)",subtle:"rgba(219,109,40,0.15)"},danger:{fg:"#c38000",emphasis:"#a66900",muted:"rgba(195,128,0,0.4)",subtle:"rgba(195,128,0,0.15)"},done:{fg:"#a371f7",emphasis:"#8957e5",muted:"rgba(163,113,247,0.4)",subtle:"rgba(163,113,247,0.15)"},sponsors:{fg:"#db61a2",emphasis:"#bf4b8a",muted:"rgba(219,97,162,0.4)",subtle:"rgba(219,97,162,0.15)"},primer:{fg:{disabled:"#484f58"},canvas:{backdrop:"rgba(1,4,9,0.8)",sticky:"rgba(13,17,23,0.95)"},border:{active:"#F78166",contrast:"rgba(240,246,252,0.2)"}}},shadows:{checks:{inputShadow:"0 0 0 1px (obj) => get_1.default(obj, path)"},mktg:{btn:{shadow:{outline:"rgb(255 255 255 / 25%) 0 0 0 1px inset",focus:"rgb(255 255 255 / 25%) 0 0 0 4px",hover:"0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)",hoverMuted:"rgb(255 255 255) 0 0 0 2px inset"}}},avatar:{childShadow:"-2px -2px 0 #0d1117"},overlay:{shadow:"0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85)"},btn:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(139,148,158,0.3)",shadowActive:"inset 0 0.15em 0.3em rgba(1,4,9,0.15)",shadowInputFocus:"0 0 0 0.2em rgba(31,111,235,0.3)",primary:{shadow:"0 0 transparent",insetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(46,164,79,0.4)"},outline:{hoverShadow:"0 1px 0 rgba(1,4,9,0.1)",hoverInsetShadow:"inset 0 1px 0 rgba(240,246,252,0.03)",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(17,88,199,0.4)"},danger:{hoverShadow:"0 0 transparent",hoverInsetShadow:"0 0 transparent",selectedShadow:"0 0 transparent",focusShadow:"0 0 0 3px rgba(195,128,0,0.4)"}},shadow:{small:"0 0 transparent",medium:"0 3px 6px #010409",large:"0 8px 24px #010409",extraLarge:"0 12px 48px #010409"},primer:{shadow:{highlight:"0 0 transparent",inset:"0 0 transparent",focus:"0 0 0 3px #0c2d6b"}}}}}},y=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;function k(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var $=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,o,a=k(e),n=1;n<arguments.length;n++){for(var i in r=Object(arguments[n]))w.call(r,i)&&(a[i]=r[i]);if(y){o=y(r);for(var l=0;l<o.length;l++)B.call(r,o[l])&&(a[o[l]]=r[o[l]])}}return a},T=function(e,t){var r=$({},e,t);for(var o in e){var a;e[o]&&"object"==typeof t[o]&&$(r,((a={})[o]=$(e[o],t[o]),a))}return r},S={breakpoints:[40,52,64].map((function(e){return e+"em"}))},E=function(e){return"@media screen and (min-width: "+e+")"},C=function(e,t){return I(t,e,e)},I=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},z=function e(t){var r={},o=function(e){var o,a,n={},i=!1,l=e.theme&&e.theme.disableStyledSystemCache;for(var d in e)if(t[d]){var s=t[d],c=e[d],g=I(e.theme,s.scale,s.defaults);if("object"!=typeof c)$(n,s(c,g,e));else{if(r.breakpoints=!l&&r.breakpoints||I(e.theme,"breakpoints",S.breakpoints),Array.isArray(c)){r.media=!l&&r.media||[null].concat(r.breakpoints.map(E)),n=T(n,A(r.media,s,g,c,e));continue}null!==c&&(n=T(n,N(r.breakpoints,s,g,c,e)),i=!0)}}return i&&(o=n,a={},Object.keys(o).sort((function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})})).forEach((function(e){a[e]=o[e]})),n=a),n};o.config=t,o.propNames=Object.keys(t),o.cache=r;var a=Object.keys(t).filter((function(e){return"config"!==e}));return a.length>1&&a.forEach((function(r){var a;o[r]=e(((a={})[r]=t[r],a))})),o},A=function(e,t,r,o,a){var n={};return o.slice(0,e.length).forEach((function(o,i){var l,d=e[i],s=t(o,r,a);d?$(n,((l={})[d]=$({},n[d],s),l)):$(n,s)})),n},N=function(e,t,r,o,a){var n={};for(var i in o){var l=e[i],d=t(o[i],r,a);if(l){var s,c=E(l);$(n,((s={})[c]=$({},n[c],d),s))}else $(n,d)}return n},L=function(e){var t=e.properties,r=e.property,o=e.scale,a=e.transform,n=void 0===a?C:a,i=e.defaultScale;t=t||[r];var l=function(e,r,o){var a={},i=n(e,r,o);if(null!==i)return t.forEach((function(e){a[e]=i})),a};return l.scale=o,l.defaults=i,l},R=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(r){var o=e[r];t[r]=!0!==o?"function"!=typeof o?L(o):o:L({property:r,scale:r})})),z(t)},F=function(){for(var e={},t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];r.forEach((function(t){t&&t.config&&$(e,t.config)}));var a=z(e);return a},D=R({width:{property:"width",scale:"sizes",transform:function(e,t){return I(t,e,!function(e){return"number"==typeof e&&!isNaN(e)}(e)||e>1?e:100*e+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),M={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};M.bg=M.backgroundColor;var O=R(M),P=R({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),H=R({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),W={space:[0,4,8,16,32,64,128,256,512]},j=R({gridGap:{property:"gridGap",scale:"space",defaultScale:W.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:W.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:W.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),_={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};_.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},_.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},_.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},_.borderBottomColor={property:"borderBottomColor",scale:"colors"},_.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},_.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},_.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},_.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},_.borderLeftColor={property:"borderLeftColor",scale:"colors"},_.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},_.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},_.borderRightColor={property:"borderRightColor",scale:"colors"},_.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var V=R(_),U={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};U.bgImage=U.backgroundImage,U.bgSize=U.backgroundSize,U.bgPosition=U.backgroundPosition,U.bgRepeat=U.backgroundRepeat;var q=R(U),K={space:[0,4,8,16,32,64,128,256,512]},G=R({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:K.space},right:{property:"right",scale:"space",defaultScale:K.space},bottom:{property:"bottom",scale:"space",defaultScale:K.space},left:{property:"left",scale:"space",defaultScale:K.space}}),X={space:[0,4,8,16,32,64,128,256,512]},Y=function(e){return"number"==typeof e&&!isNaN(e)},J=function(e,t){if(!Y(e))return I(t,e,e);var r=e<0,o=Math.abs(e),a=I(t,o,o);return Y(a)?a*(r?-1:1):r?"-"+a:a},Z={};Z.margin={margin:{property:"margin",scale:"space",transform:J,defaultScale:X.space},marginTop:{property:"marginTop",scale:"space",transform:J,defaultScale:X.space},marginRight:{property:"marginRight",scale:"space",transform:J,defaultScale:X.space},marginBottom:{property:"marginBottom",scale:"space",transform:J,defaultScale:X.space},marginLeft:{property:"marginLeft",scale:"space",transform:J,defaultScale:X.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:J,defaultScale:X.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:J,defaultScale:X.space}},Z.margin.m=Z.margin.margin,Z.margin.mt=Z.margin.marginTop,Z.margin.mr=Z.margin.marginRight,Z.margin.mb=Z.margin.marginBottom,Z.margin.ml=Z.margin.marginLeft,Z.margin.mx=Z.margin.marginX,Z.margin.my=Z.margin.marginY,Z.padding={padding:{property:"padding",scale:"space",defaultScale:X.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:X.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:X.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:X.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:X.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:X.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:X.space}},Z.padding.p=Z.padding.padding,Z.padding.pt=Z.padding.paddingTop,Z.padding.pr=Z.padding.paddingRight,Z.padding.pb=Z.padding.paddingBottom,Z.padding.pl=Z.padding.paddingLeft,Z.padding.px=Z.padding.paddingX,Z.padding.py=Z.padding.paddingY;var Q=R(Z.margin),ee=R(Z.padding),te=F(Q,ee),re=R({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var ae=function(e,t,r,o,a){for(t=t&&t.split?t.split("."):[t],o=0;o<t.length;o++)e=e?e[t[o]]:a;return e===a?r:e},ne=[40,52,64].map((function(e){return e+"em"})),ie={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},le={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},de={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},se={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},ce=function(e,t){if("number"!=typeof t||t>=0)return ae(e,t,t);var r=Math.abs(t),o=ae(e,r,r);return"string"==typeof o?"-"+o:-1*o},ge=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((function(e,t){var r;return oe({},e,((r={})[t]=ce,r))}),{}),fe=function e(t){return function(r){void 0===r&&(r={});var o=oe({},ie,{},r.theme||r),a={},n=function(e){return function(t){var r={},o=ae(t,"breakpoints",ne),a=[null].concat(o.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var n in e){var i="function"==typeof e[n]?e[n](t):e[n];if(null!=i)if(Array.isArray(i))for(var l=0;l<i.slice(0,a.length).length;l++){var d=a[l];d?(r[d]=r[d]||{},null!=i[l]&&(r[d][n]=i[l])):r[n]=i[l]}else r[n]=i}return r}}("function"==typeof t?t(o):t)(o);for(var i in n){var l=n[i],d="function"==typeof l?l(o):l;if("variant"!==i)if(d&&"object"==typeof d)a[i]=e(d)(o);else{var s=ae(le,i,i),c=ae(se,s),g=ae(o,c,ae(o,s,{})),f=ae(ge,s,ae)(g,d,d);if(de[s])for(var u=de[s],p=0;p<u.length;p++)a[u[p]]=f;else a[s]=f}else a=oe({},a,{},e(ae(o,d))(o))}return a}},ue=function(e){var t,r,o=e.scale,a=e.prop,n=void 0===a?"variant":a,i=e.variants,l=void 0===i?{}:i,d=e.key;(r=Object.keys(l).length?function(e,t,r){return fe(I(t,e,null))(r.theme)}:function(e,t){return I(t,e,null)}).scale=o||d,r.defaults=l;var s=((t={})[n]=r,t);return z(s)},pe=ue({key:"buttons"}),be=ue({key:"textStyles",prop:"textStyle"}),he=ue({key:"colorStyles",prop:"colors"}),me=D.width,ve=D.height,xe=D.minWidth,ye=D.minHeight,we=D.maxWidth,Be=D.maxHeight,ke=D.size,$e=D.verticalAlign,Te=D.display,Se=D.overflow,Ee=D.overflowX,Ce=D.overflowY,Ie=O.opacity,ze=P.fontSize,Ae=P.fontFamily,Ne=P.fontWeight,Le=P.lineHeight,Re=P.textAlign,Fe=P.fontStyle,De=P.letterSpacing,Me=H.alignItems,Oe=H.alignContent,Pe=H.justifyItems,He=H.justifyContent,We=H.flexWrap,je=H.flexDirection,_e=H.flex,Ve=H.flexGrow,Ue=H.flexShrink,qe=H.flexBasis,Ke=H.justifySelf,Ge=H.alignSelf,Xe=H.order,Ye=j.gridGap,Je=j.gridColumnGap,Ze=j.gridRowGap,Qe=j.gridColumn,et=j.gridRow,tt=j.gridAutoFlow,rt=j.gridAutoColumns,ot=j.gridAutoRows,at=j.gridTemplateColumns,nt=j.gridTemplateRows,it=j.gridTemplateAreas,lt=j.gridArea,dt=V.borderWidth,st=V.borderStyle,ct=V.borderColor,gt=V.borderTop,ft=V.borderRight,ut=V.borderBottom,pt=V.borderLeft,bt=V.borderRadius,ht=q.backgroundImage,mt=q.backgroundSize,vt=q.backgroundPosition,xt=q.backgroundRepeat,yt=G.zIndex,wt=G.top,Bt=G.right,kt=G.bottom,$t=G.left,Tt=function(e){var t=e.prop,r=e.cssProperty,o=e.alias,a=e.key,n=e.transformValue,i=e.scale,l=e.properties,d={};return d[t]=L({properties:l,property:r||t,scale:a,defaultScale:i,transform:n}),o&&(d[o]=d[t]),z(d)},St=Object.freeze({__proto__:null,width:me,height:ve,minWidth:xe,minHeight:ye,maxWidth:we,maxHeight:Be,size:ke,verticalAlign:$e,display:Te,overflow:Se,overflowX:Ee,overflowY:Ce,opacity:Ie,fontSize:ze,fontFamily:Ae,fontWeight:Ne,lineHeight:Le,textAlign:Re,fontStyle:Fe,letterSpacing:De,alignItems:Me,alignContent:Oe,justifyItems:Pe,justifyContent:He,flexWrap:We,flexDirection:je,flex:_e,flexGrow:Ve,flexShrink:Ue,flexBasis:qe,justifySelf:Ke,alignSelf:Ge,order:Xe,gridGap:Ye,gridColumnGap:Je,gridRowGap:Ze,gridColumn:Qe,gridRow:et,gridAutoFlow:tt,gridAutoColumns:rt,gridAutoRows:ot,gridTemplateColumns:at,gridTemplateRows:nt,gridTemplateAreas:it,gridArea:lt,borderWidth:dt,borderStyle:st,borderColor:ct,borderTop:gt,borderRight:ft,borderBottom:ut,borderLeft:pt,borderRadius:bt,backgroundImage:ht,backgroundSize:mt,backgroundPosition:vt,backgroundRepeat:xt,zIndex:yt,top:wt,right:Bt,bottom:kt,left:$t,style:Tt,get:I,createParser:z,createStyleFunction:L,compose:F,system:R,margin:Q,padding:ee,space:te,color:O,layout:D,typography:P,flexbox:H,border:V,background:q,position:G,grid:j,shadow:re,boxShadow:re,textShadow:re,variant:ue,buttonStyle:pe,textStyle:be,colorStyle:he,borders:V});const{get:Et,compose:Ct,system:It}=St,zt=e=>{return t=e,void 0===(r=Et(x,e))&&(r=null),function(e){return I(e.theme,t,r)};var t,r},At=Ct(te,O,Te),Nt=Ct(P,It({whiteSpace:{property:"whiteSpace"}}));function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}Ct(V,re);const Rt=f`
|
2
2
|
* { box-sizing: border-box; }
|
3
3
|
body { margin: 0; }
|
4
4
|
table { border-collapse: collapse; }
|
@@ -19,71 +19,71 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
19
19
|
`,Ft=g.div`
|
20
20
|
${Nt};
|
21
21
|
${At};
|
22
|
-
`;function Dt(t){const{children:r,...o}=t;return require("focus-visible"),e.createElement(Ft,Rt({},o,{"data-portal-root":!0}),e.createElement(Lt,null),r)}Dt.displayName="BaseStyles",Dt.defaultProps={color:"fg.default",fontFamily:"normal",lineHeight:"default"};var Mt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Ot}(e)}(e)};var Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Pt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Ht(e,t,r){return e.concat(t).map((function(e){return Pt(e,r)}))}function Wt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function _t(e,t){try{return t in e}catch(e){return!1}}function jt(e,t,r){var o={};return r.isMergeableObject(e)&&Wt(e).forEach((function(t){o[t]=Pt(e[t],r)})),Wt(t).forEach((function(a){(function(e,t){return _t(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(_t(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return Ut;var r=t.customMerge(e);return"function"==typeof r?r:Ut}(a,r)(e[a],t[a],r):o[a]=Pt(t[a],r))})),o}function Ut(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ht,r.isMergeableObject=r.isMergeableObject||Mt,r.cloneUnlessOtherwiseSpecified=Pt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):jt(e,t,r):Pt(t,r)}Ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Ut(e,r,t)}),{})};var Kt=Ut;const Vt=e.createContext({setColorMode:()=>null,setDayScheme:()=>null,setNightScheme:()=>null}),Gt=({children:t,...r})=>{var o,a,n,i,l,d,s,c;const{theme:g,colorMode:f,dayScheme:p,nightScheme:b}=qt(),h=null!==(o=null!==(a=r.theme)&&void 0!==a?a:g)&&void 0!==o?o:x,[m,v]=e.useState(null!==(n=null!==(i=r.colorMode)&&void 0!==i?i:f)&&void 0!==n?n:"day"),[y,w]=e.useState(null!==(l=null!==(d=r.dayScheme)&&void 0!==d?d:p)&&void 0!==l?l:"light"),[B,k]=e.useState(null!==(s=null!==(c=r.nightScheme)&&void 0!==c?c:b)&&void 0!==s?s:"dark"),$=function(e,t){switch(e){case"auto":return t;default:return e}}(m,function(){const[t,r]=e.useState(Yt);return e.useEffect((()=>{var e,t;const o=null===(e=window)||void 0===e||null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)");function a(e){const t=e.matches;r(t?"night":"day")}if(o){if(void 0!==o.addEventListener)return o.addEventListener("change",a),function(){o.removeEventListener("change",a)};if(void 0!==o.addListener)return o.addListener(a),function(){o.removeListener(a)}}}),[]),t}()),T=function(e,t,r){switch(e){case"day":return t;case"night":return r}}($,y,B),S=e.useMemo((()=>function(e,t){if(!e.colorSchemes)return e;if(!e.colorSchemes[t]){console.error(`\`${t}\` scheme not defined in \`theme.colorSchemes\``);const r=Object.keys(e.colorSchemes)[0];return Kt(e,e.colorSchemes[r])}return Kt(e,e.colorSchemes[t])}(h,T)),[h,T]);return e.useEffect((()=>{var e,t;v(null!==(e=null!==(t=r.colorMode)&&void 0!==t?t:f)&&void 0!==e?e:"day")}),[r.colorMode,f]),e.useEffect((()=>{var e,t;w(null!==(e=null!==(t=r.dayScheme)&&void 0!==t?t:p)&&void 0!==e?e:"light")}),[r.dayScheme,p]),e.useEffect((()=>{var e,t;k(null!==(e=null!==(t=r.nightScheme)&&void 0!==t?t:b)&&void 0!==e?e:"dark")}),[r.nightScheme,b]),e.createElement(Vt.Provider,{value:{theme:S,colorScheme:T,colorMode:m,resolvedColorMode:$,dayScheme:y,nightScheme:B,setColorMode:v,setDayScheme:w,setNightScheme:k}},e.createElement(u,{theme:S},t))};function qt(){return e.useContext(Vt)}function Xt(e,t){var r;const{colorScheme:o=""}=qt();return null!==(r=e[o])&&void 0!==r?r:t}function Yt(){var e,t,r;return"undefined"!=typeof window&&null!==(e=(t=window).matchMedia)&&void 0!==e&&null!==(r=e.call(t,"(prefers-color-scheme: dark)"))&&void 0!==r&&r.matches?"night":"day"}Gt.displayName="ThemeProvider";var Jt=Gt;var Zt=e=>fe(e.sx);var Qt=g.div(te,O,P,D,H,_,V,U,q,re,Zt);const er=g(Qt)``;er.defaultProps={borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2};var tr=er;const rr=g(Qt)``;rr.defaultProps={display:"flex"};var or=rr;const ar=g(Qt)``;ar.defaultProps={display:"grid"};var nr=ar;const ir=g(Qt)``;var lr=ir;const dr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"absolute",ref:r}))));dr.displayName="Absolute";const sr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"fixed",ref:r}))));sr.displayName="Fixed";const cr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"relative",ref:r}))));cr.displayName="Relative";const gr=e.forwardRef(((t,r)=>e.createElement(ir,Rt({},t,{position:"sticky",ref:r}))));function fr({ref:e,closeOnOutsideClick:n,defaultOpen:i,onClickOutside:l}){const[d,s]=t(i),c=r(null),g=null!=e?e:c,f=o((e=>{const{current:t}=g;e.target.closest("details")!==t&&(l&&l(e),e.defaultPrevented||s(!1))}),[g,s,l]);a((()=>{if(d&&n)return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}),[d,n,f]);const u=e=>{if(!e.defaultPrevented){const t=e.target;s(t.open)}};return{open:d,setOpen:s,getDetailsProps:()=>({onToggle:u,open:d,ref:g})}}function ur(){const e=r(new Set),t=o(((t,r,...o)=>{const a=window.setTimeout(t,r,...o);return e.current.add(a),a}),[]),n=o((t=>{clearTimeout(t),e.current.delete(t)}),[]);return a((()=>()=>{for(const t of e.current)clearTimeout(t)}),[]),{safeSetTimeout:t,safeClearTimeout:n}}gr.defaultProps={top:0,zIndex:1},gr.displayName="Sticky";function pr(e){if(!e.defaultPrevented)for(const t of Object.values(br).reverse())if(true===t(e)||e.defaultPrevented)break}const br={};let hr=0;const mr=({containerRef:e,ignoreClickRefs:t,onClickOutside:r})=>{const i=n((()=>hr++),[]),l=o((o=>{var a;return o instanceof MouseEvent&&o.button>0||(!(null===(a=e.current)||void 0===a||!a.contains(o.target))||(!(!t||!t.some((({current:e})=>null==e?void 0:e.contains(o.target))))||void r(o)))}),[e,t,r]);a((()=>(0===Object.keys(br).length&&document.addEventListener("mousedown",pr,{capture:!0}),function(e,t){br[e]=t}(i,l),()=>{!function(e){delete br[e]}(i),0===Object.keys(br).length&&document.removeEventListener("mousedown",pr,{capture:!0})})),[i,l])};function*vr(e,t={}){var r,o;const a=null!==(r=t.strict)&&void 0!==r&&r,n=null!==(o=t.onlyTabbable)&&void 0!==o&&o?yr:xr,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e instanceof HTMLElement&&n(e,a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let l=null;if(!t.reverse&&n(e,a)&&(yield e),t.reverse){let e=i.lastChild();for(;e;)l=e,e=i.lastChild()}else l=i.firstChild();for(;l instanceof HTMLElement;)yield l,l=t.reverse?i.previousNode():i.nextNode();t.reverse&&n(e,a)&&(yield e)}function xr(e,t=!1){const r=["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled,o=e.hidden,a=e instanceof HTMLInputElement&&"hidden"===e.type;if(r||o||a)return!1;if(t){const t=0===e.offsetWidth||0===e.offsetHeight,r=["hidden","collapse"].includes(getComputedStyle(e).visibility),o=0===e.getClientRects().length;if(t||r||o)return!1}return null!=e.getAttribute("tabindex")||!(e instanceof HTMLAnchorElement&&null==e.getAttribute("href"))&&-1!==e.tabIndex}function yr(e,t=!1){return xr(e,t)&&"-1"!==e.getAttribute("tabindex")}function wr({initialFocusRef:e,returnFocusRef:t,containerRef:r,preventFocusOnOpen:o}){a((()=>{if(o)return;const a=t.current;if(e&&e.current)e.current.focus();else if(r.current){const e=vr(r.current).next().value;null==e||e.focus()}return function(){null==a||a.focus()}}),[e,t,r,o])}const Br=[];function kr(e){if("Escape"===e.key&&!e.defaultPrevented)for(let t=Br.length-1;t>=0&&(Br[t](e),!e.defaultPrevented);--t);}const $r=(e,t=[e])=>{const r=o(e,t);a((()=>(0===Br.length&&document.addEventListener("keydown",kr),Br.push(r),()=>{Br.splice(Br.findIndex((e=>e===r)),1),0===Br.length&&document.removeEventListener("keydown",kr)})),[r])};function Tr(t){const r=e.useRef(null);return null!=t?t:r}const Sr=({overlayRef:e,returnFocusRef:t,initialFocusRef:r,onEscape:o,ignoreClickRefs:a,onClickOutside:n,preventFocusOnOpen:i})=>{const l=Tr(e);return wr({containerRef:l,returnFocusRef:t,initialFocusRef:r,preventFocusOnOpen:i}),mr({containerRef:l,ignoreClickRefs:a,onClickOutside:n}),$r(o),{ref:l}};let Er,Cr=!1;function zr(){}try{const e=Object.create({},{signal:{get(){Cr=!0}}});window.addEventListener("test",zr,e),window.removeEventListener("test",zr,e)}catch(Gd){}function Ir(){Cr||(!function(){if("undefined"==typeof window)return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,o){return"object"==typeof o&&"signal"in o&&o.signal instanceof AbortSignal&&e.call(o.signal,"abort",(()=>{this.removeEventListener(t,r,o)})),e.call(this,t,r,o)}}(),Cr=!0)}function Ar(){return void 0===Er&&(Er=/^mac/i.test(window.navigator.platform)),Er}let Nr,Rr=1e4;function Lr(){return"__primer_id_"+Rr++}Ir(),function(e){e[e.ArrowHorizontal=1]="ArrowHorizontal",e[e.ArrowVertical=2]="ArrowVertical",e[e.JK=4]="JK",e[e.HL=8]="HL",e[e.HomeAndEnd=16]="HomeAndEnd",e[e.PageUpDown=256]="PageUpDown",e[e.WS=32]="WS",e[e.AD=64]="AD",e[e.Tab=128]="Tab",e[e.ArrowAll=e.ArrowHorizontal|e.ArrowVertical]="ArrowAll",e[e.HJKL=e.HL|e.JK]="HJKL",e[e.WASD=e.WS|e.AD]="WASD",e[e.All=e.ArrowAll|e.HJKL|e.HomeAndEnd|e.PageUpDown|e.WASD|e.Tab]="All"}(Nr||(Nr={}));const Fr={ArrowLeft:Nr.ArrowHorizontal,ArrowDown:Nr.ArrowVertical,ArrowUp:Nr.ArrowVertical,ArrowRight:Nr.ArrowHorizontal,h:Nr.HL,j:Nr.JK,k:Nr.JK,l:Nr.HL,a:Nr.AD,s:Nr.WS,w:Nr.WS,d:Nr.AD,Tab:Nr.Tab,Home:Nr.HomeAndEnd,End:Nr.HomeAndEnd,PageUp:Nr.PageUpDown,PageDown:Nr.PageUpDown},Dr={ArrowLeft:"previous",ArrowDown:"next",ArrowUp:"previous",ArrowRight:"next",h:"previous",j:"next",k:"previous",l:"next",a:"previous",s:"next",w:"previous",d:"next",Tab:"next",Home:"start",End:"end",PageUp:"start",PageDown:"end"};function Mr(e){const t=Dr[e.key];if("Tab"===e.key&&e.shiftKey)return"previous";const r=Ar();if(r&&e.metaKey||!r&&e.ctrlKey){if("ArrowLeft"===e.key||"ArrowUp"===e.key)return"start";if("ArrowRight"===e.key||"ArrowDown"===e.key)return"end"}return t}function Or(e,t){var r,o,a,n;const i=[],l=new WeakMap,d=null!==(r=null==t?void 0:t.bindKeys)&&void 0!==r?r:(null!=t&&t.getNextFocusable?Nr.ArrowAll:Nr.ArrowVertical)|Nr.HomeAndEnd,s=null!==(o=null==t?void 0:t.focusOutBehavior)&&void 0!==o?o:"stop",c=null!==(a=null==t?void 0:t.focusInStrategy)&&void 0!==a?a:"previous",g=null==t?void 0:t.activeDescendantControl,f=null==t?void 0:t.onActiveDescendantChanged;let u;function p(){return i[0]}function b(e,t=!1){const r=u;u=e,g?e&&document.activeElement===g?h(r,e,t):m():(r&&r!==e&&l.has(r)&&r.setAttribute("tabindex","-1"),null==e||e.setAttribute("tabindex","0"))}function h(t,r,o=!1){r.id||r.setAttribute("id",Lr()),t&&t!==r&&t.removeAttribute("data-is-active-descendant"),g&&(o||g.getAttribute("aria-activedescendant")!==r.id)&&(g.setAttribute("aria-activedescendant",r.id),e.setAttribute("data-has-active-descendant",r.id),r.setAttribute("data-is-active-descendant",o?"activated-directly":"activated-indirectly"),null==f||f(r,t,o))}function m(t=u){"first"===c&&(u=void 0),null==g||g.removeAttribute("aria-activedescendant"),e.removeAttribute("data-has-active-descendant"),null==t||t.removeAttribute("data-is-active-descendant"),null==f||f(void 0,t,!1)}function v(...e){const r=e.filter((e=>{var r,o;return null===(r=null==t||null===(o=t.focusableElementFilter)||void 0===o?void 0:o.call(t,e))||void 0===r||r}));if(0===r.length)return;const o=i.findIndex((e=>(e.compareDocumentPosition(r[0])&Node.DOCUMENT_POSITION_PRECEDING)>0));i.splice(-1===o?i.length:o,0,...r);for(const e of r)l.has(e)||l.set(e,e.getAttribute("tabindex")),e.setAttribute("tabindex","-1");u||b(p())}function x(...e){for(const t of e){const e=i.indexOf(t);e>=0&&i.splice(e,1);const r=l.get(t);if(void 0!==r&&(null===r?t.removeAttribute("tabindex"):t.setAttribute("tabindex",r),l.delete(t)),t===u){b(p())}}}v(...vr(e)),b(p());new MutationObserver((e=>{for(const t of e)for(const e of t.removedNodes)e instanceof HTMLElement&&x(...vr(e));for(const t of e)for(const e of t.addedNodes)e instanceof HTMLElement&&v(...vr(e))})).observe(e,{subtree:!0,childList:!0});const y=new AbortController,w=null!==(n=null==t?void 0:t.abortSignal)&&void 0!==n?n:y.signal;let B;w.addEventListener("abort",(()=>{x(...i)})),e.addEventListener("mousedown",(e=>{e.target instanceof HTMLElement&&e.target!==document.activeElement&&(B=i.indexOf(e.target))}),{signal:w}),g?(e.addEventListener("focusin",(e=>{e.target instanceof HTMLElement&&i.includes(e.target)&&(g.focus(),b(e.target))})),e.addEventListener("mousemove",(({target:e})=>{if(!(e instanceof Node))return;const t=i.find((t=>t.contains(e)));t&&b(t)}),{signal:w,capture:!0}),g.addEventListener("focusin",(()=>{u?h(void 0,u):b(p())})),g.addEventListener("focusout",(()=>{m()}))):e.addEventListener("focusin",(t=>{if(t.target instanceof HTMLElement)if(void 0!==B)B>=0&&i[B]!==u&&b(i[B]),B=void 0;else if("previous"===c)b(t.target);else if("closest"===c||"first"===c){if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e="previous"===$?i.length-1:0,t=i[e];return void(null==t||t.focus())}b(t.target)}else if("function"==typeof c)if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e=c(t.relatedTarget);if((e?i.indexOf(e):-1)>=0&&e instanceof HTMLElement)return void e.focus();console.warn("Element requested is not a known focusable element.")}else b(t.target);$=void 0}),{signal:w});const k=null!=g?g:e;let $;return"closest"===c&&document.addEventListener("keydown",(e=>{"Tab"===e.key&&($=Mr(e))}),{signal:w,capture:!0}),k.addEventListener("keydown",(r=>{if(r.key in Dr){const a=Fr[r.key];if(!r.defaultPrevented&&(a&d)>0&&!function(e,t){const r=e.key,o=[...r].length,a=t instanceof HTMLInputElement&&"text"===t.type||t instanceof HTMLTextAreaElement;if(a&&(1===o||"Home"===r||"End"===r))return!0;if(t instanceof HTMLSelectElement){if(1===o)return!0;if("ArrowDown"===r&&Ar()&&!e.metaKey)return!0;if("ArrowDown"===r&&!Ar()&&e.altKey)return!0}if(t instanceof HTMLTextAreaElement&&("PageUp"===r||"PageDown"===r))return!0;if(a){const e=t,o=0===e.selectionStart&&0===e.selectionEnd,a=e.selectionStart===e.value.length&&e.selectionEnd===e.value.length;if("ArrowLeft"===r&&!o)return!0;if("ArrowRight"===r&&!a)return!0;if(e instanceof HTMLTextAreaElement){if("ArrowUp"===r&&!o)return!0;if("ArrowDown"===r&&!a)return!0}}return!1}(r,document.activeElement)){const a=Mr(r);let n;var o;if(null!=t&&t.getNextFocusable)n=t.getNextFocusable(a,null!==(o=document.activeElement)&&void 0!==o?o:void 0,r);if(!n){const t=function(){if(!u)return 0;const t=i.indexOf(u);return-1!==t?t:u===e?-1:0}();let o=t;"previous"===a?o-=1:"start"===a?o=0:"next"===a?o+=1:o=i.length-1,o<0&&(o="wrap"===s&&"Tab"!==r.key?i.length-1:0),o>=i.length&&(o="wrap"===s&&"Tab"!==r.key?0:i.length-1),t!==o&&(n=i[o])}g?b(n||u,!0):n&&($=a,n.focus()),("Tab"!==r.key||n)&&r.preventDefault()}}}),{signal:w}),y}var Pr=p(["position:relative;display:inline-block;padding:6px 16px;font-family:inherit;font-weight:",";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:",";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"],It("fontWeights.bold"),It("radii.2"));const Hr=ue({variants:{small:{p:"4px 12px",fontSize:0},medium:{fontSize:1},large:{fontSize:2,p:"10px 20px"}}}),Wr=g.button.attrs((({disabled:e,onClick:t})=>({onClick:e?void 0:t})))`
|
22
|
+
`;function Dt(t){const{children:r,...o}=t;return require("focus-visible"),e.createElement(Ft,Lt({},o,{"data-portal-root":!0}),e.createElement(Rt,null),r)}Dt.displayName="BaseStyles",Dt.defaultProps={color:"fg.default",fontFamily:"normal",lineHeight:"default"};var Mt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Ot}(e)}(e)};var Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Pt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Vt((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Ht(e,t,r){return e.concat(t).map((function(e){return Pt(e,r)}))}function Wt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function jt(e,t){try{return t in e}catch(e){return!1}}function _t(e,t,r){var o={};return r.isMergeableObject(e)&&Wt(e).forEach((function(t){o[t]=Pt(e[t],r)})),Wt(t).forEach((function(a){(function(e,t){return jt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(jt(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return Vt;var r=t.customMerge(e);return"function"==typeof r?r:Vt}(a,r)(e[a],t[a],r):o[a]=Pt(t[a],r))})),o}function Vt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ht,r.isMergeableObject=r.isMergeableObject||Mt,r.cloneUnlessOtherwiseSpecified=Pt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):_t(e,t,r):Pt(t,r)}Vt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return Vt(e,r,t)}),{})};var Ut=Vt;const qt=e.createContext({setColorMode:()=>null,setDayScheme:()=>null,setNightScheme:()=>null}),Kt=({children:t,...r})=>{var o,a,n,i,l,d,s,c;const{theme:g,colorMode:f,dayScheme:p,nightScheme:b}=Gt(),h=null!==(o=null!==(a=r.theme)&&void 0!==a?a:g)&&void 0!==o?o:x,[m,v]=e.useState(null!==(n=null!==(i=r.colorMode)&&void 0!==i?i:f)&&void 0!==n?n:"day"),[y,w]=e.useState(null!==(l=null!==(d=r.dayScheme)&&void 0!==d?d:p)&&void 0!==l?l:"light"),[B,k]=e.useState(null!==(s=null!==(c=r.nightScheme)&&void 0!==c?c:b)&&void 0!==s?s:"dark"),$=function(e,t){switch(e){case"auto":return t;default:return e}}(m,function(){const[t,r]=e.useState(Yt);return e.useEffect((()=>{var e,t;const o=null===(e=window)||void 0===e||null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)");function a(e){const t=e.matches;r(t?"night":"day")}if(o){if(void 0!==o.addEventListener)return o.addEventListener("change",a),function(){o.removeEventListener("change",a)};if(void 0!==o.addListener)return o.addListener(a),function(){o.removeListener(a)}}}),[]),t}()),T=function(e,t,r){switch(e){case"day":return t;case"night":return r}}($,y,B),S=e.useMemo((()=>function(e,t){if(!e.colorSchemes)return e;if(!e.colorSchemes[t]){console.error(`\`${t}\` scheme not defined in \`theme.colorSchemes\``);const r=Object.keys(e.colorSchemes)[0];return Ut(e,e.colorSchemes[r])}return Ut(e,e.colorSchemes[t])}(h,T)),[h,T]);return e.useEffect((()=>{var e,t;v(null!==(e=null!==(t=r.colorMode)&&void 0!==t?t:f)&&void 0!==e?e:"day")}),[r.colorMode,f]),e.useEffect((()=>{var e,t;w(null!==(e=null!==(t=r.dayScheme)&&void 0!==t?t:p)&&void 0!==e?e:"light")}),[r.dayScheme,p]),e.useEffect((()=>{var e,t;k(null!==(e=null!==(t=r.nightScheme)&&void 0!==t?t:b)&&void 0!==e?e:"dark")}),[r.nightScheme,b]),e.createElement(qt.Provider,{value:{theme:S,colorScheme:T,colorMode:m,resolvedColorMode:$,dayScheme:y,nightScheme:B,setColorMode:v,setDayScheme:w,setNightScheme:k}},e.createElement(u,{theme:S},t))};function Gt(){return e.useContext(qt)}function Xt(e,t){var r;const{colorScheme:o=""}=Gt();return null!==(r=e[o])&&void 0!==r?r:t}function Yt(){var e,t,r;return"undefined"!=typeof window&&null!==(e=(t=window).matchMedia)&&void 0!==e&&null!==(r=e.call(t,"(prefers-color-scheme: dark)"))&&void 0!==r&&r.matches?"night":"day"}Kt.displayName="ThemeProvider";var Jt=Kt;var Zt=e=>fe(e.sx);var Qt=g.div(te,O,P,D,H,j,q,V,G,re,Zt);const er=g(Qt)``;er.defaultProps={borderWidth:"1px",borderStyle:"solid",borderColor:"border.default",borderRadius:2};var tr=er;const rr=g(Qt)``;rr.defaultProps={display:"flex"};var or=rr;const ar=g(Qt)``;ar.defaultProps={display:"grid"};var nr=ar;const ir=g(Qt)``;var lr=ir;const dr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"absolute",ref:r}))));dr.displayName="Absolute";const sr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"fixed",ref:r}))));sr.displayName="Fixed";const cr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"relative",ref:r}))));cr.displayName="Relative";const gr=e.forwardRef(((t,r)=>e.createElement(ir,Lt({},t,{position:"sticky",ref:r}))));function fr({ref:e,closeOnOutsideClick:n,defaultOpen:i,onClickOutside:l}){const[d,s]=t(i),c=r(null),g=null!=e?e:c,f=o((e=>{const{current:t}=g;e.target.closest("details")!==t&&(l&&l(e),e.defaultPrevented||s(!1))}),[g,s,l]);a((()=>{if(d&&n)return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}),[d,n,f]);const u=e=>{if(!e.defaultPrevented){const t=e.target;s(t.open)}};return{open:d,setOpen:s,getDetailsProps:()=>({onToggle:u,open:d,ref:g})}}function ur(){const e=r(new Set),t=o(((t,r,...o)=>{const a=window.setTimeout(t,r,...o);return e.current.add(a),a}),[]),n=o((t=>{clearTimeout(t),e.current.delete(t)}),[]);return a((()=>()=>{for(const t of e.current)clearTimeout(t)}),[]),{safeSetTimeout:t,safeClearTimeout:n}}gr.defaultProps={top:0,zIndex:1},gr.displayName="Sticky";function pr(e){if(!e.defaultPrevented)for(const t of Object.values(br).reverse())if(true===t(e)||e.defaultPrevented)break}const br={};let hr=0;const mr=({containerRef:e,ignoreClickRefs:t,onClickOutside:r})=>{const i=n((()=>hr++),[]),l=o((o=>{var a;return o instanceof MouseEvent&&o.button>0||(!(null===(a=e.current)||void 0===a||!a.contains(o.target))||(!(!t||!t.some((({current:e})=>null==e?void 0:e.contains(o.target))))||void r(o)))}),[e,t,r]);a((()=>(0===Object.keys(br).length&&document.addEventListener("mousedown",pr,{capture:!0}),function(e,t){br[e]=t}(i,l),()=>{!function(e){delete br[e]}(i),0===Object.keys(br).length&&document.removeEventListener("mousedown",pr,{capture:!0})})),[i,l])};function*vr(e,t={}){var r,o;const a=null!==(r=t.strict)&&void 0!==r&&r,n=null!==(o=t.onlyTabbable)&&void 0!==o&&o?yr:xr,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e instanceof HTMLElement&&n(e,a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let l=null;if(!t.reverse&&n(e,a)&&(yield e),t.reverse){let e=i.lastChild();for(;e;)l=e,e=i.lastChild()}else l=i.firstChild();for(;l instanceof HTMLElement;)yield l,l=t.reverse?i.previousNode():i.nextNode();t.reverse&&n(e,a)&&(yield e)}function xr(e,t=!1){const r=["BUTTON","INPUT","SELECT","TEXTAREA","OPTGROUP","OPTION","FIELDSET"].includes(e.tagName)&&e.disabled,o=e.hidden,a=e instanceof HTMLInputElement&&"hidden"===e.type;if(r||o||a)return!1;if(t){const t=0===e.offsetWidth||0===e.offsetHeight,r=["hidden","collapse"].includes(getComputedStyle(e).visibility),o=0===e.getClientRects().length;if(t||r||o)return!1}return null!=e.getAttribute("tabindex")||!(e instanceof HTMLAnchorElement&&null==e.getAttribute("href"))&&-1!==e.tabIndex}function yr(e,t=!1){return xr(e,t)&&"-1"!==e.getAttribute("tabindex")}function wr({initialFocusRef:e,returnFocusRef:t,containerRef:r,preventFocusOnOpen:o}){a((()=>{if(o)return;const a=t.current;if(e&&e.current)e.current.focus();else if(r.current){const e=vr(r.current).next().value;null==e||e.focus()}return function(){null==a||a.focus()}}),[e,t,r,o])}const Br=[];function kr(e){if("Escape"===e.key&&!e.defaultPrevented)for(let t=Br.length-1;t>=0&&(Br[t](e),!e.defaultPrevented);--t);}const $r=(e,t=[e])=>{const r=o(e,t);a((()=>(0===Br.length&&document.addEventListener("keydown",kr),Br.push(r),()=>{Br.splice(Br.findIndex((e=>e===r)),1),0===Br.length&&document.removeEventListener("keydown",kr)})),[r])};function Tr(t){const r=e.useRef(null);return null!=t?t:r}const Sr=({overlayRef:e,returnFocusRef:t,initialFocusRef:r,onEscape:o,ignoreClickRefs:a,onClickOutside:n,preventFocusOnOpen:i})=>{const l=Tr(e);return wr({containerRef:l,returnFocusRef:t,initialFocusRef:r,preventFocusOnOpen:i}),mr({containerRef:l,ignoreClickRefs:a,onClickOutside:n}),$r(o),{ref:l}};let Er,Cr=!1;function Ir(){}try{const e=Object.create({},{signal:{get(){Cr=!0}}});window.addEventListener("test",Ir,e),window.removeEventListener("test",Ir,e)}catch(As){}function zr(){Cr||(!function(){if("undefined"==typeof window)return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,o){return"object"==typeof o&&"signal"in o&&o.signal instanceof AbortSignal&&e.call(o.signal,"abort",(()=>{this.removeEventListener(t,r,o)})),e.call(this,t,r,o)}}(),Cr=!0)}function Ar(){return void 0===Er&&(Er=/^mac/i.test(window.navigator.platform)),Er}let Nr,Lr=1e4;function Rr(){return"__primer_id_"+Lr++}zr(),function(e){e[e.ArrowHorizontal=1]="ArrowHorizontal",e[e.ArrowVertical=2]="ArrowVertical",e[e.JK=4]="JK",e[e.HL=8]="HL",e[e.HomeAndEnd=16]="HomeAndEnd",e[e.PageUpDown=256]="PageUpDown",e[e.WS=32]="WS",e[e.AD=64]="AD",e[e.Tab=128]="Tab",e[e.ArrowAll=e.ArrowHorizontal|e.ArrowVertical]="ArrowAll",e[e.HJKL=e.HL|e.JK]="HJKL",e[e.WASD=e.WS|e.AD]="WASD",e[e.All=e.ArrowAll|e.HJKL|e.HomeAndEnd|e.PageUpDown|e.WASD|e.Tab]="All"}(Nr||(Nr={}));const Fr={ArrowLeft:Nr.ArrowHorizontal,ArrowDown:Nr.ArrowVertical,ArrowUp:Nr.ArrowVertical,ArrowRight:Nr.ArrowHorizontal,h:Nr.HL,j:Nr.JK,k:Nr.JK,l:Nr.HL,a:Nr.AD,s:Nr.WS,w:Nr.WS,d:Nr.AD,Tab:Nr.Tab,Home:Nr.HomeAndEnd,End:Nr.HomeAndEnd,PageUp:Nr.PageUpDown,PageDown:Nr.PageUpDown},Dr={ArrowLeft:"previous",ArrowDown:"next",ArrowUp:"previous",ArrowRight:"next",h:"previous",j:"next",k:"previous",l:"next",a:"previous",s:"next",w:"previous",d:"next",Tab:"next",Home:"start",End:"end",PageUp:"start",PageDown:"end"};function Mr(e){const t=Dr[e.key];if("Tab"===e.key&&e.shiftKey)return"previous";const r=Ar();if(r&&e.metaKey||!r&&e.ctrlKey){if("ArrowLeft"===e.key||"ArrowUp"===e.key)return"start";if("ArrowRight"===e.key||"ArrowDown"===e.key)return"end"}return t}function Or(e,t){var r,o,a,n;const i=[],l=new WeakMap,d=null!==(r=null==t?void 0:t.bindKeys)&&void 0!==r?r:(null!=t&&t.getNextFocusable?Nr.ArrowAll:Nr.ArrowVertical)|Nr.HomeAndEnd,s=null!==(o=null==t?void 0:t.focusOutBehavior)&&void 0!==o?o:"stop",c=null!==(a=null==t?void 0:t.focusInStrategy)&&void 0!==a?a:"previous",g=null==t?void 0:t.activeDescendantControl,f=null==t?void 0:t.onActiveDescendantChanged;let u;function p(){return i[0]}function b(e,t=!1){const r=u;u=e,g?e&&document.activeElement===g?h(r,e,t):m():(r&&r!==e&&l.has(r)&&r.setAttribute("tabindex","-1"),null==e||e.setAttribute("tabindex","0"))}function h(t,r,o=!1){r.id||r.setAttribute("id",Rr()),t&&t!==r&&t.removeAttribute("data-is-active-descendant"),g&&(o||g.getAttribute("aria-activedescendant")!==r.id)&&(g.setAttribute("aria-activedescendant",r.id),e.setAttribute("data-has-active-descendant",r.id),r.setAttribute("data-is-active-descendant",o?"activated-directly":"activated-indirectly"),null==f||f(r,t,o))}function m(t=u){"first"===c&&(u=void 0),null==g||g.removeAttribute("aria-activedescendant"),e.removeAttribute("data-has-active-descendant"),null==t||t.removeAttribute("data-is-active-descendant"),null==f||f(void 0,t,!1)}function v(...e){const r=e.filter((e=>{var r,o;return null===(r=null==t||null===(o=t.focusableElementFilter)||void 0===o?void 0:o.call(t,e))||void 0===r||r}));if(0===r.length)return;const o=i.findIndex((e=>(e.compareDocumentPosition(r[0])&Node.DOCUMENT_POSITION_PRECEDING)>0));i.splice(-1===o?i.length:o,0,...r);for(const e of r)l.has(e)||l.set(e,e.getAttribute("tabindex")),e.setAttribute("tabindex","-1");u||b(p())}function x(...e){for(const t of e){const e=i.indexOf(t);e>=0&&i.splice(e,1);const r=l.get(t);if(void 0!==r&&(null===r?t.removeAttribute("tabindex"):t.setAttribute("tabindex",r),l.delete(t)),t===u){b(p())}}}v(...vr(e)),b(p());new MutationObserver((e=>{for(const t of e)for(const e of t.removedNodes)e instanceof HTMLElement&&x(...vr(e));for(const t of e)for(const e of t.addedNodes)e instanceof HTMLElement&&v(...vr(e))})).observe(e,{subtree:!0,childList:!0});const y=new AbortController,w=null!==(n=null==t?void 0:t.abortSignal)&&void 0!==n?n:y.signal;let B;w.addEventListener("abort",(()=>{x(...i)})),e.addEventListener("mousedown",(e=>{e.target instanceof HTMLElement&&e.target!==document.activeElement&&(B=i.indexOf(e.target))}),{signal:w}),g?(e.addEventListener("focusin",(e=>{e.target instanceof HTMLElement&&i.includes(e.target)&&(g.focus(),b(e.target))})),e.addEventListener("mousemove",(({target:e})=>{if(!(e instanceof Node))return;const t=i.find((t=>t.contains(e)));t&&b(t)}),{signal:w,capture:!0}),g.addEventListener("focusin",(()=>{u?h(void 0,u):b(p())})),g.addEventListener("focusout",(()=>{m()}))):e.addEventListener("focusin",(t=>{if(t.target instanceof HTMLElement)if(void 0!==B)B>=0&&i[B]!==u&&b(i[B]),B=void 0;else if("previous"===c)b(t.target);else if("closest"===c||"first"===c){if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e="previous"===$?i.length-1:0,t=i[e];return void(null==t||t.focus())}b(t.target)}else if("function"==typeof c)if(t.relatedTarget instanceof Element&&!e.contains(t.relatedTarget)){const e=c(t.relatedTarget);if((e?i.indexOf(e):-1)>=0&&e instanceof HTMLElement)return void e.focus();console.warn("Element requested is not a known focusable element.")}else b(t.target);$=void 0}),{signal:w});const k=null!=g?g:e;let $;return"closest"===c&&document.addEventListener("keydown",(e=>{"Tab"===e.key&&($=Mr(e))}),{signal:w,capture:!0}),k.addEventListener("keydown",(r=>{if(r.key in Dr){const a=Fr[r.key];if(!r.defaultPrevented&&(a&d)>0&&!function(e,t){const r=e.key,o=[...r].length,a=t instanceof HTMLInputElement&&"text"===t.type||t instanceof HTMLTextAreaElement;if(a&&(1===o||"Home"===r||"End"===r))return!0;if(t instanceof HTMLSelectElement){if(1===o)return!0;if("ArrowDown"===r&&Ar()&&!e.metaKey)return!0;if("ArrowDown"===r&&!Ar()&&e.altKey)return!0}if(t instanceof HTMLTextAreaElement&&("PageUp"===r||"PageDown"===r))return!0;if(a){const e=t,o=0===e.selectionStart&&0===e.selectionEnd,a=e.selectionStart===e.value.length&&e.selectionEnd===e.value.length;if("ArrowLeft"===r&&!o)return!0;if("ArrowRight"===r&&!a)return!0;if(e instanceof HTMLTextAreaElement){if("ArrowUp"===r&&!o)return!0;if("ArrowDown"===r&&!a)return!0}}return!1}(r,document.activeElement)){const a=Mr(r);let n;var o;if(null!=t&&t.getNextFocusable)n=t.getNextFocusable(a,null!==(o=document.activeElement)&&void 0!==o?o:void 0,r);if(!n){const t=function(){if(!u)return 0;const t=i.indexOf(u);return-1!==t?t:u===e?-1:0}();let o=t;"previous"===a?o-=1:"start"===a?o=0:"next"===a?o+=1:o=i.length-1,o<0&&(o="wrap"===s&&"Tab"!==r.key?i.length-1:0),o>=i.length&&(o="wrap"===s&&"Tab"!==r.key?0:i.length-1),t!==o&&(n=i[o])}g?b(n||u,!0):n&&($=a,n.focus()),("Tab"!==r.key||n)&&r.preventDefault()}}}),{signal:w}),y}var Pr=p(["position:relative;display:inline-block;padding:6px 16px;font-family:inherit;font-weight:",";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:",";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"],zt("fontWeights.bold"),zt("radii.2"));const Hr=ue({variants:{small:{p:"4px 12px",fontSize:0},medium:{fontSize:1},large:{fontSize:2,p:"10px 20px"}}}),Wr=g.button.attrs((({disabled:e,onClick:t})=>({onClick:e?void 0:t})))`
|
23
23
|
${Pr}
|
24
24
|
${Hr}
|
25
|
-
`;Wr.defaultProps={variant:"medium"};var
|
26
|
-
color: ${
|
27
|
-
background-color: ${
|
28
|
-
border: 1px solid ${
|
29
|
-
box-shadow: ${
|
25
|
+
`;Wr.defaultProps={variant:"medium"};var jr=Wr;var _r=g(jr)`
|
26
|
+
color: ${zt("colors.btn.text")};
|
27
|
+
background-color: ${zt("colors.btn.bg")};
|
28
|
+
border: 1px solid ${zt("colors.btn.border")};
|
29
|
+
box-shadow: ${zt("shadows.btn.shadow")}, ${zt("shadows.btn.insetShadow")}};
|
30
30
|
|
31
31
|
&:hover {
|
32
|
-
background-color: ${
|
33
|
-
border-color: ${
|
32
|
+
background-color: ${zt("colors.btn.hoverBg")};
|
33
|
+
border-color: ${zt("colors.btn.hoverBorder")};
|
34
34
|
}
|
35
35
|
|
36
36
|
// focus must come before :active so that the active box shadow overrides
|
37
37
|
&:focus {
|
38
|
-
border-color: ${
|
39
|
-
box-shadow: ${
|
38
|
+
border-color: ${zt("colors.btn.focusBorder")};
|
39
|
+
box-shadow: ${zt("shadows.btn.focusShadow")};
|
40
40
|
}
|
41
41
|
|
42
42
|
&:active {
|
43
|
-
background-color: ${
|
44
|
-
box-shadow: ${
|
43
|
+
background-color: ${zt("colors.btn.selectedBg")};
|
44
|
+
box-shadow: ${zt("shadows.btn.shadowActive")};
|
45
45
|
}
|
46
46
|
|
47
47
|
&:disabled {
|
48
|
-
color: ${
|
49
|
-
background-color: ${
|
50
|
-
border-color: ${
|
48
|
+
color: ${zt("colors.primer.fg.disabled")};
|
49
|
+
background-color: ${zt("colors.btn.bg")};
|
50
|
+
border-color: ${zt("colors.btn.border")};
|
51
51
|
}
|
52
52
|
|
53
53
|
${Zt};
|
54
|
-
`;var
|
55
|
-
color: ${
|
56
|
-
border: 1px solid ${
|
57
|
-
background-color: ${
|
58
|
-
box-shadow: ${
|
54
|
+
`;var Vr=g(jr)`
|
55
|
+
color: ${zt("colors.btn.danger.text")};
|
56
|
+
border: 1px solid ${zt("colors.btn.border")};
|
57
|
+
background-color: ${zt("colors.btn.bg")};
|
58
|
+
box-shadow: ${zt("shadows.btn.shadow")};
|
59
59
|
|
60
60
|
&:hover {
|
61
|
-
color: ${
|
62
|
-
background-color: ${
|
63
|
-
border-color: ${
|
64
|
-
box-shadow: ${
|
61
|
+
color: ${zt("colors.btn.danger.hoverText")};
|
62
|
+
background-color: ${zt("colors.btn.danger.hoverBg")};
|
63
|
+
border-color: ${zt("colors.btn.danger.hoverBorder")};
|
64
|
+
box-shadow: ${zt("shadows.btn.danger.hoverShadow")};
|
65
65
|
}
|
66
66
|
// focus must come before :active so that the active box shadow overrides
|
67
67
|
&:focus {
|
68
|
-
border-color: ${
|
69
|
-
box-shadow: ${
|
68
|
+
border-color: ${zt("colors.btn.danger.focusBorder")};
|
69
|
+
box-shadow: ${zt("shadows.btn.danger.focusShadow")};
|
70
70
|
}
|
71
71
|
|
72
72
|
&:active {
|
73
|
-
color: ${
|
74
|
-
background-color: ${
|
75
|
-
box-shadow: ${
|
76
|
-
border-color: ${
|
73
|
+
color: ${zt("colors.btn.danger.selectedText")};
|
74
|
+
background-color: ${zt("colors.btn.danger.selectedBg")};
|
75
|
+
box-shadow: ${zt("shadows.btn.danger.selectedShadow")};
|
76
|
+
border-color: ${zt("colors.btn.danger.selectedBorder")};
|
77
77
|
}
|
78
78
|
|
79
79
|
&:disabled {
|
80
|
-
color: ${
|
81
|
-
background-color: ${
|
82
|
-
border-color: ${
|
80
|
+
color: ${zt("colors.btn.danger.disabledText")};
|
81
|
+
background-color: ${zt("colors.btn.danger.disabledBg")};
|
82
|
+
border-color: ${zt("colors.btn.danger.disabledBorder")};
|
83
83
|
}
|
84
84
|
|
85
85
|
${Zt};
|
86
|
-
`;const
|
86
|
+
`;const Ur=g(Qt)`
|
87
87
|
vertical-align: middle;
|
88
88
|
|
89
89
|
&& > * {
|
@@ -92,8 +92,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
92
92
|
border-radius: 0;
|
93
93
|
|
94
94
|
:first-child {
|
95
|
-
border-top-left-radius: ${
|
96
|
-
border-bottom-left-radius: ${
|
95
|
+
border-top-left-radius: ${zt("radii.2")};
|
96
|
+
border-bottom-left-radius: ${zt("radii.2")};
|
97
97
|
margin-right: 0;
|
98
98
|
}
|
99
99
|
|
@@ -104,8 +104,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
104
104
|
|
105
105
|
:last-child {
|
106
106
|
border-right-width: 1px;
|
107
|
-
border-top-right-radius: ${
|
108
|
-
border-bottom-right-radius: ${
|
107
|
+
border-top-right-radius: ${zt("radii.2")};
|
108
|
+
border-bottom-right-radius: ${zt("radii.2")};
|
109
109
|
}
|
110
110
|
|
111
111
|
:focus,
|
@@ -124,94 +124,94 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
124
124
|
}
|
125
125
|
|
126
126
|
${Zt};
|
127
|
-
`;
|
128
|
-
color: ${
|
129
|
-
border: 1px solid ${
|
130
|
-
background-color: ${
|
131
|
-
box-shadow: ${
|
127
|
+
`;Ur.defaultProps={display:"inline-block"};var qr=Ur;var Kr=g(jr)`
|
128
|
+
color: ${zt("colors.btn.outline.text")};
|
129
|
+
border: 1px solid ${zt("colors.btn.border")};
|
130
|
+
background-color: ${zt("colors.btn.bg")};
|
131
|
+
box-shadow: ${zt("shadows.btn.shadow")};
|
132
132
|
|
133
133
|
&:hover {
|
134
|
-
color: ${
|
135
|
-
background-color: ${
|
136
|
-
border-color: ${
|
137
|
-
box-shadow: ${
|
134
|
+
color: ${zt("colors.btn.outline.hoverText")};
|
135
|
+
background-color: ${zt("colors.btn.outline.hoverBg")};
|
136
|
+
border-color: ${zt("colors.btn.outline.hoverBorder")};
|
137
|
+
box-shadow: ${zt("shadows.btn.outline.hoverShadow")};
|
138
138
|
}
|
139
139
|
// focus must come before :active so that the active box shadow overrides
|
140
140
|
&:focus {
|
141
|
-
border-color: ${
|
142
|
-
box-shadow: ${
|
141
|
+
border-color: ${zt("colors.btn.outline.focusBorder")};
|
142
|
+
box-shadow: ${zt("shadows.btn.outline.focusShadow")};
|
143
143
|
}
|
144
144
|
|
145
145
|
&:active {
|
146
|
-
color: ${
|
147
|
-
background-color: ${
|
148
|
-
box-shadow: ${
|
149
|
-
border-color: ${
|
146
|
+
color: ${zt("colors.btn.outline.selectedText")};
|
147
|
+
background-color: ${zt("colors.btn.outline.selectedBg")};
|
148
|
+
box-shadow: ${zt("shadows.btn.outline.selectedShadow")};
|
149
|
+
border-color: ${zt("colors.btn.outline.selectedBorder")};
|
150
150
|
}
|
151
151
|
|
152
152
|
&:disabled {
|
153
|
-
color: ${
|
154
|
-
background-color: ${
|
155
|
-
border-color: ${
|
153
|
+
color: ${zt("colors.btn.outline.disabledText")};
|
154
|
+
background-color: ${zt("colors.btn.outline.disabledBg")};
|
155
|
+
border-color: ${zt("colors.btn.border")};
|
156
156
|
}
|
157
157
|
|
158
158
|
${Zt};
|
159
|
-
`;var
|
160
|
-
color: ${
|
161
|
-
border: 1px solid ${
|
162
|
-
background-color: ${
|
163
|
-
box-shadow: ${
|
159
|
+
`;var Gr=g(jr)`
|
160
|
+
color: ${zt("colors.btn.primary.text")};
|
161
|
+
border: 1px solid ${zt("colors.btn.primary.border")};
|
162
|
+
background-color: ${zt("colors.btn.primary.bg")};
|
163
|
+
box-shadow: ${zt("shadows.btn.primary.shadow")};
|
164
164
|
|
165
165
|
&:hover {
|
166
|
-
color: ${
|
167
|
-
background-color: ${
|
168
|
-
border-color: ${
|
169
|
-
box-shadow: ${
|
166
|
+
color: ${zt("colors.btn.primary.hoverText")};
|
167
|
+
background-color: ${zt("colors.btn.primary.hoverBg")};
|
168
|
+
border-color: ${zt("colors.btn.primary.hoverBorder")};
|
169
|
+
box-shadow: ${zt("shadows.btn.primary.hoverShadow")};
|
170
170
|
}
|
171
171
|
// focus must come before :active so that the active box shadow overrides
|
172
172
|
&:focus {
|
173
|
-
border-color: ${
|
174
|
-
box-shadow: ${
|
173
|
+
border-color: ${zt("colors.btn.primary.focusBorder")};
|
174
|
+
box-shadow: ${zt("shadows.btn.primary.focusShadow")};
|
175
175
|
}
|
176
176
|
|
177
177
|
&:active {
|
178
|
-
background-color: ${
|
179
|
-
box-shadow: ${
|
178
|
+
background-color: ${zt("colors.btn.primary.selectedBg")};
|
179
|
+
box-shadow: ${zt("shadows.btn.primary.selectedShadow")};
|
180
180
|
}
|
181
181
|
|
182
182
|
&:disabled {
|
183
|
-
color: ${
|
184
|
-
background-color: ${
|
185
|
-
border-color: ${
|
183
|
+
color: ${zt("colors.btn.primary.disabledText")};
|
184
|
+
background-color: ${zt("colors.btn.primary.disabledBg")};
|
185
|
+
border-color: ${zt("colors.btn.primary.disabledBorder")};
|
186
186
|
}
|
187
187
|
|
188
188
|
${Zt};
|
189
|
-
`;var Xr=g(
|
190
|
-
color: ${
|
189
|
+
`;var Xr=g(jr)`
|
190
|
+
color: ${zt("colors.accent.fg")};
|
191
191
|
background-color: transparent;
|
192
192
|
border: 0;
|
193
|
-
border-radius: ${
|
193
|
+
border-radius: ${zt("radii.2")};
|
194
194
|
box-shadow: none;
|
195
195
|
|
196
196
|
&:disabled {
|
197
|
-
color: ${
|
197
|
+
color: ${zt("colors.primer.fg.disabled")};
|
198
198
|
}
|
199
199
|
&:focus {
|
200
|
-
box-shadow: ${
|
200
|
+
box-shadow: ${zt("shadows.btn.focusShadow")};
|
201
201
|
}
|
202
202
|
&:hover {
|
203
|
-
background-color: ${
|
203
|
+
background-color: ${zt("colors.btn.hoverBg")};
|
204
204
|
}
|
205
205
|
&:active {
|
206
|
-
background-color: ${
|
206
|
+
background-color: ${zt("colors.btn.selectedBg")};
|
207
207
|
}
|
208
208
|
|
209
209
|
${Zt}
|
210
210
|
`;var Yr=g.summary`
|
211
211
|
display: inline-block;
|
212
212
|
padding: 0;
|
213
|
-
font-size: ${
|
214
|
-
color: ${
|
213
|
+
font-size: ${zt("fontSizes.1")};
|
214
|
+
color: ${zt("colors.fg.muted")};
|
215
215
|
text-decoration: none;
|
216
216
|
white-space: nowrap;
|
217
217
|
cursor: pointer;
|
@@ -227,14 +227,14 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
227
227
|
&:disabled {
|
228
228
|
&,
|
229
229
|
&:hover {
|
230
|
-
color: ${
|
230
|
+
color: ${zt("colors.primer.fg.disabled")};
|
231
231
|
cursor: default;
|
232
232
|
}
|
233
233
|
}
|
234
234
|
|
235
235
|
&:after {
|
236
236
|
display: inline-block;
|
237
|
-
margin-left: ${
|
237
|
+
margin-left: ${zt("space.1")};
|
238
238
|
width: 0;
|
239
239
|
height: 0;
|
240
240
|
vertical-align: -2px;
|
@@ -243,26 +243,26 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
243
243
|
border-top-color: currentcolor;
|
244
244
|
}
|
245
245
|
${Zt};
|
246
|
-
`,Jr={small:16,medium:32,large:64};function Zr(e){var t=e["aria-label"],r=e.className,o=e.fill,a=void 0===o?"currentColor":o,n=e.size,i=e.verticalAlign,l=e.svgDataByHeight,d=Jr[n]||n,s=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(l),d),c=l[s].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+c+" "+s,width:d*(c/s),height:d,fill:a,style:{display:"inline-block",userSelect:"none",verticalAlign:i,overflow:"visible"},dangerouslySetInnerHTML:{__html:l[s].path}}}var Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function eo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"></path>'}}})))}function to(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 110-.005v.004zm.45 1.9a2.25 2.25 0 10-1.95.218v5.256a2.25 2.25 0 101.5 0V7.123A5.735 5.735 0 009.25 9h1.378a2.251 2.251 0 100-1.5H9.25a4.25 4.25 0 01-3.8-2.346zM12.75 9a.75.75 0 100-1.5.75.75 0 000 1.5zm-8.5 4.5a.75.75 0 100-1.5.75.75 0 000 1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.75 21a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 19.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM5.75 6.5a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 4.75a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM18.25 15a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM15 13.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0z"></path><path fill-rule="evenodd" d="M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 015 7.25h1.5z"></path><path fill-rule="evenodd" d="M5.75 16.75A.75.75 0 006.5 16V8A.75.75 0 005 8v8c0 .414.336.75.75.75z"></path>'}}})))}function ro(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M4.75 3a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 4.75a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zM4.75 17.5a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm17.75-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM16 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0z"></path><path fill-rule="evenodd" d="M4.75 7.25A.75.75 0 015.5 8v8A.75.75 0 014 16V8a.75.75 0 01.75-.75zm8.655-5.53a.75.75 0 010 1.06L12.185 4h4.065A3.75 3.75 0 0120 7.75v8.75a.75.75 0 01-1.5 0V7.75a2.25 2.25 0 00-2.25-2.25h-4.064l1.22 1.22a.75.75 0 01-1.061 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 011.06 0z"></path>'}}})))}function oo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"></path><path fill-rule="evenodd" d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-1.5 0a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"></path>'},24:{width:24,path:'<path d="M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function ao(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M6.749.097a8.054 8.054 0 012.502 0 .75.75 0 11-.233 1.482 6.554 6.554 0 00-2.036 0A.75.75 0 016.749.097zM4.345 1.693A.75.75 0 014.18 2.74a6.542 6.542 0 00-1.44 1.44.75.75 0 01-1.212-.883 8.042 8.042 0 011.769-1.77.75.75 0 011.048.166zm7.31 0a.75.75 0 011.048-.165 8.04 8.04 0 011.77 1.769.75.75 0 11-1.214.883 6.542 6.542 0 00-1.439-1.44.75.75 0 01-.165-1.047zM.955 6.125a.75.75 0 01.624.857 6.554 6.554 0 000 2.036.75.75 0 01-1.482.233 8.054 8.054 0 010-2.502.75.75 0 01.858-.624zm14.09 0a.75.75 0 01.858.624 8.057 8.057 0 010 2.502.75.75 0 01-1.482-.233 6.55 6.55 0 000-2.036.75.75 0 01.624-.857zm-13.352 5.53a.75.75 0 011.048.165 6.542 6.542 0 001.439 1.44.75.75 0 01-.883 1.212 8.04 8.04 0 01-1.77-1.769.75.75 0 01.166-1.048zm12.614 0a.75.75 0 01.165 1.048 8.038 8.038 0 01-1.769 1.77.75.75 0 11-.883-1.214 6.543 6.543 0 001.44-1.439.75.75 0 011.047-.165zm-8.182 3.39a.75.75 0 01.857-.624 6.55 6.55 0 002.036 0 .75.75 0 01.233 1.482 8.057 8.057 0 01-2.502 0 .75.75 0 01-.624-.858z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M10.157 1.154a11.07 11.07 0 013.686 0 .75.75 0 01-.25 1.479 9.568 9.568 0 00-3.186 0 .75.75 0 01-.25-1.48zM6.68 3.205a.75.75 0 01-.177 1.046A9.558 9.558 0 004.25 6.503a.75.75 0 01-1.223-.87 11.058 11.058 0 012.606-2.605.75.75 0 011.046.177zm10.64 0a.75.75 0 011.046-.177 11.058 11.058 0 012.605 2.606.75.75 0 11-1.222.869 9.558 9.558 0 00-2.252-2.252.75.75 0 01-.177-1.046zM2.018 9.543a.75.75 0 01.615.864 9.568 9.568 0 000 3.186.75.75 0 01-1.48.25 11.07 11.07 0 010-3.686.75.75 0 01.865-.614zm19.964 0a.75.75 0 01.864.614 11.066 11.066 0 010 3.686.75.75 0 01-1.479-.25 9.56 9.56 0 000-3.186.75.75 0 01.615-.864zM3.205 17.32a.75.75 0 011.046.177 9.558 9.558 0 002.252 2.252.75.75 0 11-.87 1.223 11.058 11.058 0 01-2.605-2.606.75.75 0 01.177-1.046zm17.59 0a.75.75 0 01.176 1.046 11.057 11.057 0 01-2.605 2.605.75.75 0 11-.869-1.222 9.558 9.558 0 002.252-2.252.75.75 0 011.046-.177zM9.543 21.982a.75.75 0 01.864-.615 9.56 9.56 0 003.186 0 .75.75 0 01.25 1.48 11.066 11.066 0 01-3.686 0 .75.75 0 01-.614-.865z"></path>'}}})))}function no(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M8 9.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path><path fill-rule="evenodd" d="M8 0a8 8 0 100 16A8 8 0 008 0zM1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0zM12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm0 13a2 2 0 100-4 2 2 0 000 4z"></path>'}}})))}function io(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M11.75 4.5a.75.75 0 01.75.75V11h5.75a.75.75 0 010 1.5H12.5v5.75a.75.75 0 01-1.5 0V12.5H5.25a.75.75 0 010-1.5H11V5.25a.75.75 0 01.75-.75z"></path>'}}})))}function lo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zM6.92 6.085c.081-.16.19-.299.34-.398.145-.097.371-.187.74-.187.28 0 .553.087.738.225A.613.613 0 019 6.25c0 .177-.04.264-.077.318a.956.956 0 01-.277.245c-.076.051-.158.1-.258.161l-.007.004a7.728 7.728 0 00-.313.195 2.416 2.416 0 00-.692.661.75.75 0 001.248.832.956.956 0 01.276-.245 6.3 6.3 0 01.26-.16l.006-.004c.093-.057.204-.123.313-.195.222-.149.487-.355.692-.662.214-.32.329-.702.329-1.15 0-.76-.36-1.348-.863-1.725A2.76 2.76 0 008 4c-.631 0-1.155.16-1.572.438-.413.276-.68.638-.849.977a.75.75 0 101.342.67z"></path>'},24:{width:24,path:'<path d="M10.97 8.265a1.45 1.45 0 00-.487.57.75.75 0 01-1.341-.67c.2-.402.513-.826.997-1.148C10.627 6.69 11.244 6.5 12 6.5c.658 0 1.369.195 1.934.619a2.45 2.45 0 011.004 2.006c0 1.033-.513 1.72-1.027 2.215-.19.183-.399.358-.579.508l-.147.123a4.329 4.329 0 00-.435.409v1.37a.75.75 0 11-1.5 0v-1.473c0-.237.067-.504.247-.736.22-.28.486-.517.718-.714l.183-.153.001-.001c.172-.143.324-.27.47-.412.368-.355.569-.676.569-1.136a.953.953 0 00-.404-.806C12.766 8.118 12.384 8 12 8c-.494 0-.814.121-1.03.265zM13 17a1 1 0 11-2 0 1 1 0 012 0z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function so(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>'},24:{width:24,path:'<path d="M11.646 15.146L5.854 9.354a.5.5 0 01.353-.854h11.586a.5.5 0 01.353.854l-5.793 5.792a.5.5 0 01-.707 0z"></path>'}}})))}function co(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path>'}}})))}eo.defaultProps={className:"octicon octicon-check",size:16,verticalAlign:"text-bottom"},to.defaultProps={className:"octicon octicon-git-merge",size:16,verticalAlign:"text-bottom"},ro.defaultProps={className:"octicon octicon-git-pull-request",size:16,verticalAlign:"text-bottom"},oo.defaultProps={className:"octicon octicon-issue-closed",size:16,verticalAlign:"text-bottom"},ao.defaultProps={className:"octicon octicon-issue-draft",size:16,verticalAlign:"text-bottom"},no.defaultProps={className:"octicon octicon-issue-opened",size:16,verticalAlign:"text-bottom"},io.defaultProps={className:"octicon octicon-plus",size:16,verticalAlign:"text-bottom"},lo.defaultProps={className:"octicon octicon-question",size:16,verticalAlign:"text-bottom"},so.defaultProps={className:"octicon octicon-triangle-down",size:16,verticalAlign:"text-bottom"},co.defaultProps={className:"octicon octicon-x",size:16,verticalAlign:"text-bottom"};const go=g.button`
|
246
|
+
`,Jr={small:16,medium:32,large:64};function Zr(e){var t=e["aria-label"],r=e.className,o=e.fill,a=void 0===o?"currentColor":o,n=e.size,i=e.verticalAlign,l=e.svgDataByHeight,d=Jr[n]||n,s=function(e,t){return e.map((function(e){return parseInt(e,10)})).reduce((function(e,r){return r<=t?r:e}),e[0])}(Object.keys(l),d),c=l[s].width;return{"aria-hidden":t?"false":"true","aria-label":t,role:"img",className:r,viewBox:"0 0 "+c+" "+s,width:d*(c/s),height:d,fill:a,style:{display:"inline-block",userSelect:"none",verticalAlign:i,overflow:"visible"},dangerouslySetInnerHTML:{__html:l[s].path}}}var Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function eo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{12:{width:12,path:'<path fill-rule="evenodd" d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 01-1.146 1.954H1.33A1.312 1.312 0 01.183 9.058L4.855.708zM7 7V3H5v4h2zm-1 3a1 1 0 100-2 1 1 0 000 2z"></path>'}}})))}function to(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M21.03 5.72a.75.75 0 010 1.06l-11.5 11.5a.75.75 0 01-1.072-.012l-5.5-5.75a.75.75 0 111.084-1.036l4.97 5.195L19.97 5.72a.75.75 0 011.06 0z"></path>'}}})))}function ro(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{12:{width:12,path:'<path fill-rule="evenodd" d="M6 0a6 6 0 100 12A6 6 0 006 0zm-.705 8.737L9.63 4.403 8.392 3.166 5.295 6.263l-1.7-1.702L2.356 5.8l2.938 2.938z"></path>'},16:{width:16,path:'<path fill-rule="evenodd" d="M8 16A8 8 0 108 0a8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm16.28-2.72a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z"></path>'}}})))}function oo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 110-.005v.004zm.45 1.9a2.25 2.25 0 10-1.95.218v5.256a2.25 2.25 0 101.5 0V7.123A5.735 5.735 0 009.25 9h1.378a2.251 2.251 0 100-1.5H9.25a4.25 4.25 0 01-3.8-2.346zM12.75 9a.75.75 0 100-1.5.75.75 0 000 1.5zm-8.5 4.5a.75.75 0 100-1.5.75.75 0 000 1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.75 21a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 19.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM5.75 6.5a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM2.5 4.75a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0zM18.25 15a1.75 1.75 0 110-3.5 1.75 1.75 0 010 3.5zM15 13.25a3.25 3.25 0 106.5 0 3.25 3.25 0 00-6.5 0z"></path><path fill-rule="evenodd" d="M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 015 7.25h1.5z"></path><path fill-rule="evenodd" d="M5.75 16.75A.75.75 0 006.5 16V8A.75.75 0 005 8v8c0 .414.336.75.75.75z"></path>'}}})))}function ao(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M4.75 3a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 4.75a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zM4.75 17.5a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM1.5 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0zm17.75-1.75a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zM16 19.25a3.25 3.25 0 116.5 0 3.25 3.25 0 01-6.5 0z"></path><path fill-rule="evenodd" d="M4.75 7.25A.75.75 0 015.5 8v8A.75.75 0 014 16V8a.75.75 0 01.75-.75zm8.655-5.53a.75.75 0 010 1.06L12.185 4h4.065A3.75 3.75 0 0120 7.75v8.75a.75.75 0 01-1.5 0V7.75a2.25 2.25 0 00-2.25-2.25h-4.064l1.22 1.22a.75.75 0 01-1.061 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 011.06 0z"></path>'}}})))}function no(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"></path><path fill-rule="evenodd" d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-1.5 0a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"></path>'},24:{width:24,path:'<path d="M17.28 9.28a.75.75 0 00-1.06-1.06l-5.97 5.97-2.47-2.47a.75.75 0 00-1.06 1.06l3 3a.75.75 0 001.06 0l6.5-6.5z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function io(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M6.749.097a8.054 8.054 0 012.502 0 .75.75 0 11-.233 1.482 6.554 6.554 0 00-2.036 0A.75.75 0 016.749.097zM4.345 1.693A.75.75 0 014.18 2.74a6.542 6.542 0 00-1.44 1.44.75.75 0 01-1.212-.883 8.042 8.042 0 011.769-1.77.75.75 0 011.048.166zm7.31 0a.75.75 0 011.048-.165 8.04 8.04 0 011.77 1.769.75.75 0 11-1.214.883 6.542 6.542 0 00-1.439-1.44.75.75 0 01-.165-1.047zM.955 6.125a.75.75 0 01.624.857 6.554 6.554 0 000 2.036.75.75 0 01-1.482.233 8.054 8.054 0 010-2.502.75.75 0 01.858-.624zm14.09 0a.75.75 0 01.858.624 8.057 8.057 0 010 2.502.75.75 0 01-1.482-.233 6.55 6.55 0 000-2.036.75.75 0 01.624-.857zm-13.352 5.53a.75.75 0 011.048.165 6.542 6.542 0 001.439 1.44.75.75 0 01-.883 1.212 8.04 8.04 0 01-1.77-1.769.75.75 0 01.166-1.048zm12.614 0a.75.75 0 01.165 1.048 8.038 8.038 0 01-1.769 1.77.75.75 0 11-.883-1.214 6.543 6.543 0 001.44-1.439.75.75 0 011.047-.165zm-8.182 3.39a.75.75 0 01.857-.624 6.55 6.55 0 002.036 0 .75.75 0 01.233 1.482 8.057 8.057 0 01-2.502 0 .75.75 0 01-.624-.858z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M10.157 1.154a11.07 11.07 0 013.686 0 .75.75 0 01-.25 1.479 9.568 9.568 0 00-3.186 0 .75.75 0 01-.25-1.48zM6.68 3.205a.75.75 0 01-.177 1.046A9.558 9.558 0 004.25 6.503a.75.75 0 01-1.223-.87 11.058 11.058 0 012.606-2.605.75.75 0 011.046.177zm10.64 0a.75.75 0 011.046-.177 11.058 11.058 0 012.605 2.606.75.75 0 11-1.222.869 9.558 9.558 0 00-2.252-2.252.75.75 0 01-.177-1.046zM2.018 9.543a.75.75 0 01.615.864 9.568 9.568 0 000 3.186.75.75 0 01-1.48.25 11.07 11.07 0 010-3.686.75.75 0 01.865-.614zm19.964 0a.75.75 0 01.864.614 11.066 11.066 0 010 3.686.75.75 0 01-1.479-.25 9.56 9.56 0 000-3.186.75.75 0 01.615-.864zM3.205 17.32a.75.75 0 011.046.177 9.558 9.558 0 002.252 2.252.75.75 0 11-.87 1.223 11.058 11.058 0 01-2.605-2.606.75.75 0 01.177-1.046zm17.59 0a.75.75 0 01.176 1.046 11.057 11.057 0 01-2.605 2.605.75.75 0 11-.869-1.222 9.558 9.558 0 002.252-2.252.75.75 0 011.046-.177zM9.543 21.982a.75.75 0 01.864-.615 9.56 9.56 0 003.186 0 .75.75 0 01.25 1.48 11.066 11.066 0 01-3.686 0 .75.75 0 01-.614-.865z"></path>'}}})))}function lo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M8 9.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path><path fill-rule="evenodd" d="M8 0a8 8 0 100 16A8 8 0 008 0zM1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0zM12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm0 13a2 2 0 100-4 2 2 0 000 4z"></path>'}}})))}function so(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M7.75 2a.75.75 0 01.75.75V7h4.25a.75.75 0 110 1.5H8.5v4.25a.75.75 0 11-1.5 0V8.5H2.75a.75.75 0 010-1.5H7V2.75A.75.75 0 017.75 2z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M11.75 4.5a.75.75 0 01.75.75V11h5.75a.75.75 0 010 1.5H12.5v5.75a.75.75 0 01-1.5 0V12.5H5.25a.75.75 0 010-1.5H11V5.25a.75.75 0 01.75-.75z"></path>'}}})))}function co(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zM6.92 6.085c.081-.16.19-.299.34-.398.145-.097.371-.187.74-.187.28 0 .553.087.738.225A.613.613 0 019 6.25c0 .177-.04.264-.077.318a.956.956 0 01-.277.245c-.076.051-.158.1-.258.161l-.007.004a7.728 7.728 0 00-.313.195 2.416 2.416 0 00-.692.661.75.75 0 001.248.832.956.956 0 01.276-.245 6.3 6.3 0 01.26-.16l.006-.004c.093-.057.204-.123.313-.195.222-.149.487-.355.692-.662.214-.32.329-.702.329-1.15 0-.76-.36-1.348-.863-1.725A2.76 2.76 0 008 4c-.631 0-1.155.16-1.572.438-.413.276-.68.638-.849.977a.75.75 0 101.342.67z"></path>'},24:{width:24,path:'<path d="M10.97 8.265a1.45 1.45 0 00-.487.57.75.75 0 01-1.341-.67c.2-.402.513-.826.997-1.148C10.627 6.69 11.244 6.5 12 6.5c.658 0 1.369.195 1.934.619a2.45 2.45 0 011.004 2.006c0 1.033-.513 1.72-1.027 2.215-.19.183-.399.358-.579.508l-.147.123a4.329 4.329 0 00-.435.409v1.37a.75.75 0 11-1.5 0v-1.473c0-.237.067-.504.247-.736.22-.28.486-.517.718-.714l.183-.153.001-.001c.172-.143.324-.27.47-.412.368-.355.569-.676.569-1.136a.953.953 0 00-.404-.806C12.766 8.118 12.384 8 12 8c-.494 0-.814.121-1.03.265zM13 17a1 1 0 11-2 0 1 1 0 012 0z"></path><path fill-rule="evenodd" d="M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM2.5 12a9.5 9.5 0 1119 0 9.5 9.5 0 01-19 0z"></path>'}}})))}function go(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>'},24:{width:24,path:'<path d="M11.646 15.146L5.854 9.354a.5.5 0 01.353-.854h11.586a.5.5 0 01.353.854l-5.793 5.792a.5.5 0 01-.707 0z"></path>'}}})))}function fo(t){return e.createElement("svg",Zr(Qr({},t,{svgDataByHeight:{16:{width:16,path:'<path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"></path>'},24:{width:24,path:'<path fill-rule="evenodd" d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"></path>'}}})))}eo.defaultProps={className:"octicon octicon-alert-fill",size:16,verticalAlign:"text-bottom"},to.defaultProps={className:"octicon octicon-check",size:16,verticalAlign:"text-bottom"},ro.defaultProps={className:"octicon octicon-check-circle-fill",size:16,verticalAlign:"text-bottom"},oo.defaultProps={className:"octicon octicon-git-merge",size:16,verticalAlign:"text-bottom"},ao.defaultProps={className:"octicon octicon-git-pull-request",size:16,verticalAlign:"text-bottom"},no.defaultProps={className:"octicon octicon-issue-closed",size:16,verticalAlign:"text-bottom"},io.defaultProps={className:"octicon octicon-issue-draft",size:16,verticalAlign:"text-bottom"},lo.defaultProps={className:"octicon octicon-issue-opened",size:16,verticalAlign:"text-bottom"},so.defaultProps={className:"octicon octicon-plus",size:16,verticalAlign:"text-bottom"},co.defaultProps={className:"octicon octicon-question",size:16,verticalAlign:"text-bottom"},go.defaultProps={className:"octicon octicon-triangle-down",size:16,verticalAlign:"text-bottom"},fo.defaultProps={className:"octicon octicon-x",size:16,verticalAlign:"text-bottom"};const uo=g.button`
|
247
247
|
border: none;
|
248
248
|
padding: 0;
|
249
249
|
background: transparent;
|
250
250
|
outline: none;
|
251
251
|
cursor: pointer;
|
252
|
-
border-radius: ${
|
253
|
-
color: ${
|
252
|
+
border-radius: ${zt("radii.2")};
|
253
|
+
color: ${zt("colors.fg.muted")};
|
254
254
|
|
255
255
|
&:focus {
|
256
|
-
box-shadow: ${
|
256
|
+
box-shadow: ${zt("shadows.btn.focusShadow")};
|
257
257
|
}
|
258
258
|
|
259
259
|
&:hover {
|
260
|
-
color: ${
|
260
|
+
color: ${zt("colors.accent.fg")};
|
261
261
|
}
|
262
262
|
${Zt};
|
263
|
-
`;var
|
263
|
+
`;var po=i(((t,r)=>e.createElement(uo,Lt({ref:r,"aria-label":"Close"},t),e.createElement(fo,null))));const bo={"outside-top":["outside-bottom","outside-right","outside-left","outside-bottom"],"outside-bottom":["outside-top","outside-right","outside-left","outside-bottom"],"outside-left":["outside-right","outside-bottom","outside-top","outside-bottom"],"outside-right":["outside-left","outside-bottom","outside-top","outside-bottom"]};function ho(e,t,r={}){const o=function(e){let t=e.parentNode;for(;null!==t;){if(t instanceof HTMLElement&&"static"!==getComputedStyle(t).position)return t;t=t.parentNode}return document.body}(e),a=function(e){let t=e;for(;null!==t&&t!==document.body;){if("visible"!==getComputedStyle(t).overflow)break;t=t.parentNode}const r=t!==document.body&&t instanceof HTMLElement?t:document.body,o=r.getBoundingClientRect(),a=getComputedStyle(r),[n,i,l,d]=[a.borderTopWidth,a.borderLeftWidth,a.borderRightWidth,a.borderBottomWidth].map((e=>parseInt(e,10)||0));return{top:o.top+n,left:o.left+i,width:o.width-l-i,height:Math.max(o.height-n-d,r===document.body?window.innerHeight:-1/0)}}(o),n=getComputedStyle(o),i=o.getBoundingClientRect(),[l,d]=[n.borderTopWidth,n.borderLeftWidth].map((e=>parseInt(e,10)||0));return function(e,t,r,o,{side:a,align:n,allowOutOfBounds:i,anchorOffset:l,alignmentOffset:d}){const s={top:e.top-t.top,left:e.left-t.left,width:e.width,height:e.height};let c=Bo(r,o,a,n,l,d),g=a;if(c.top-=t.top,c.left-=t.left,!i){const i=bo[a];let f=0;if(i){let e=a;for(;f<i.length&&ko(e,c,s,r);){const a=i[f++];e=a,c=Bo(r,o,a,n,l,d),c.top-=t.top,c.left-=t.left,g=a}}c.top<s.top&&(c.top=s.top),c.left<s.left&&(c.left=s.left),c.left+r.width>e.width+s.left&&(c.left=e.width+s.left-r.width),i&&f<i.length&&c.top+r.height>e.height+s.top&&(c.top=e.height+s.top-r.height)}return{...c,anchorSide:g}}(a,{top:i.top+l,left:i.left+d},e.getBoundingClientRect(),t instanceof Element?t.getBoundingClientRect():t,function(e={}){var t,r,o,a,n;const i=null!==(t=e.side)&&void 0!==t?t:mo,l=null!==(r=e.align)&&void 0!==r?r:vo;return{side:i,align:l,anchorOffset:null!==(o=e.anchorOffset)&&void 0!==o?o:"inside-center"===i?0:xo,alignmentOffset:null!==(a=e.alignmentOffset)&&void 0!==a?a:"center"!==l&&i.startsWith("inside")?yo:0,allowOutOfBounds:null!==(n=e.allowOutOfBounds)&&void 0!==n?n:wo}}(r))}const mo="outside-bottom",vo="start",xo=4,yo=4,wo=!1;function Bo(e,t,r,o,a,n){const i=t.left+t.width,l=t.top+t.height;let d=-1,s=-1;return"outside-top"===r?d=t.top-a-e.height:"outside-bottom"===r?d=l+a:"outside-left"===r?s=t.left-a-e.width:"outside-right"===r&&(s=i+a),"outside-top"!==r&&"outside-bottom"!==r||(s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n),"outside-left"!==r&&"outside-right"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),"inside-top"===r?d=t.top+a:"inside-bottom"===r?d=l-a-e.height:"inside-left"===r?s=t.left+a:"inside-right"===r?s=i-a-e.width:"inside-center"===r&&(s=(i+t.left)/2-e.width/2+a),"inside-top"===r||"inside-bottom"===r?s="start"===o?t.left+n:"center"===o?t.left-(e.width-t.width)/2+n:i-e.width-n:"inside-left"!==r&&"inside-right"!==r&&"inside-center"!==r||(d="start"===o?t.top+n:"center"===o?t.top-(e.height-t.height)/2+n:l-e.height-n),{top:d,left:s}}function ko(e,t,r,o){return"outside-top"===e||"outside-bottom"===e?t.top<r.top||t.top+o.height>r.height+r.top:t.left<r.left||t.left+o.width>r.width+r.left}var $o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l:a;function To(t,r=[]){const o=Tr(null==t?void 0:t.floatingElementRef),a=Tr(null==t?void 0:t.anchorElementRef),[n,i]=e.useState(void 0),l=e.useCallback((()=>{o.current instanceof Element&&a.current instanceof Element?i(ho(o.current,a.current,t)):i(void 0)}),[o,a,...r]);var d;return $o(l,[l]),$o((()=>{const e=new window.ResizeObserver((()=>d()));return e.observe(document.documentElement),()=>{e.disconnect()}}),[d=l]),{floatingElementRef:o,anchorElementRef:a,position:n}}zr();const So=[];let Eo;function Co(e,t=!1){return vr(e,{reverse:t,strict:!0,onlyTabbable:!0}).next().value}function Io(e,t,r){const o=new AbortController,a=null!=r?r:o.signal;let n;function i(r){if(r instanceof HTMLElement&&document.contains(e)){if(e.contains(r))return void(n=r);if(n&&yr(n)&&e.contains(n))return void n.focus();if(t&&e.contains(t))return void t.focus();{const t=null===e.getAttribute("tabindex");return t&&e.setAttribute("tabindex","-1"),e.focus(),void(t&&e.addEventListener("blur",(()=>e.removeAttribute("tabindex")),{once:!0}))}}}e.setAttribute("data-focus-trap","active");const l=function(e){const t=new AbortController;return e.addEventListener("abort",(()=>{t.abort()})),t}(a);if(e.addEventListener("keydown",(t=>{if("Tab"!==t.key||t.defaultPrevented)return;const{target:r}=t,o=Co(e),a=Co(e,!0);r===o&&t.shiftKey?(t.preventDefault(),null==a||a.focus()):r!==a||t.shiftKey||(t.preventDefault(),null==o||o.focus())}),{signal:l.signal}),Eo){const e=Eo;Eo.container.setAttribute("data-focus-trap","suspended"),Eo.controller.abort(),So.push(e)}l.signal.addEventListener("abort",(()=>{Eo=void 0})),a.addEventListener("abort",(()=>{e.removeAttribute("data-focus-trap");const t=So.findIndex((t=>t.container===e));t>=0&&So.splice(t,1),function(){const e=So.pop();e&&Io(e.container,e.initialFocus,e.originalSignal)}()})),document.addEventListener("focus",(e=>{i(e.target)}),{signal:l.signal,capture:!0}),i(document.activeElement),Eo={container:e,controller:l,initialFocus:t,originalSignal:a};const d=So.findIndex((t=>t.container===e));if(d>=0&&So.splice(d,1),!r)return o}function zo(t,r=[]){const o=Tr(null==t?void 0:t.containerRef),a=Tr(null==t?void 0:t.initialFocusRef),n=null==t?void 0:t.disabled,i=e.useRef(),l=e.useRef(null);function d(){var e;null===(e=i.current)||void 0===e||e.abort(),null!=t&&t.restoreFocusOnCleanUp&&l.current instanceof HTMLElement&&(l.current.focus(),l.current=null)}return l.current||null!=t&&t.disabled||(l.current=document.activeElement),e.useEffect((()=>{if(o.current instanceof HTMLElement){var e;if(!n)return i.current=Io(o.current,null!==(e=a.current)&&void 0!==e?e:void 0),()=>{d()};d()}}),[o,a,n,...r]),{containerRef:o,initialFocusRef:a}}function Ao({icon:t,...r}){return e.createElement(t,r)}Ao.displayName="Octicon";const No=g(Ao)`
|
264
264
|
${Zt}
|
265
|
-
`;
|
265
|
+
`;No.defaultProps={size:16};var Lo=No;function Ro(t={},r=[]){const o=Tr(t.containerRef),n=!!t.activeDescendantFocus,i=Tr("boolean"!=typeof t.activeDescendantFocus&&t.activeDescendantFocus?t.activeDescendantFocus:void 0),l=t.disabled,d=e.useRef();return a((()=>{if(o.current instanceof HTMLElement&&(!n||i.current instanceof HTMLElement)){if(!l){var e;const r={...t,activeDescendantControl:null!==(e=i.current)&&void 0!==e?e:void 0};return d.current=Or(o.current,r),()=>{var e;null===(e=d.current)||void 0===e||e.abort()}}var r;null===(r=d.current)||void 0===r||r.abort()}}),[l,...r]),{containerRef:o,activeDescendantControlRef:i}}const Fo={};function Do(){const e=Fo.__default__;if(!e||!document.body.contains(e)){let e=document.getElementById("__primerPortalRoot__");if(!(e instanceof Element)){e=document.createElement("div"),e.setAttribute("id","__primerPortalRoot__"),e.style.position="absolute",e.style.top="0",e.style.left="0";const t=document.querySelector("[data-portal-root]");t?t.appendChild(e):document.body.appendChild(e)}!function(e,t="__default__"){Fo[t]=e}(e)}}var Mo=({children:t,onMount:r,containerName:o})=>{const a=document.createElement("div");a.style.position="relative",a.style.zIndex="1";const n=e.useRef(a);return $o((()=>{let e=o;void 0===e&&(e="__default__",Do());const t=Fo[e];if(!t)throw new Error(`Portal container '${o}' is not yet registered. Container must be registered with registerPortal before use.`);const a=n.current;return t.appendChild(a),null==r||r(),()=>{t.removeChild(a)}}),[n]),v(t,n.current)};function Oo(...e){const t=r(null);return $o((()=>{function r(t=null){for(const r of e){if(!r)return;"function"==typeof r?r(t):r.current=t}}return r(t.current),()=>{r(t.current)}}),[...e,t.current]),t}const Po={prefix:String(Math.round(1e10*Math.random())),current:0},Ho=e.createContext(Po);function Wo(t){let r=d(Ho),o=n((()=>({prefix:r===Po?"":r.prefix+"-"+ ++r.current,current:0})),[r]);return e.createElement(Ho.Provider,{value:o},t.children)}let jo=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function _o(e){let t=d(Ho);return t!==Po||jo||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),n((()=>e||"react-aria"+t.prefix+"-"+ ++t.current),[e])}const Vo=g("div")`
|
266
266
|
position: fixed;
|
267
267
|
top: 0;
|
268
268
|
left: 0;
|
@@ -272,7 +272,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
272
272
|
align-items: center;
|
273
273
|
justify-content: center;
|
274
274
|
background-color: rgba(0, 0, 0, 0.4);
|
275
|
-
animation: dialog-backdrop-appear ${"200ms"} ${
|
275
|
+
animation: dialog-backdrop-appear ${"200ms"} ${zt("animation.easeOutCubic")};
|
276
276
|
|
277
277
|
@keyframes dialog-backdrop-appear {
|
278
278
|
0% {
|
@@ -282,19 +282,19 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
282
282
|
opacity: 1;
|
283
283
|
}
|
284
284
|
}
|
285
|
-
`,
|
285
|
+
`,Uo={small:"480px",large:"640px",auto:"auto"},qo={small:"296px",medium:"320px",large:"480px",xlarge:"640px"},Ko=g.div`
|
286
286
|
display: flex;
|
287
287
|
flex-direction: column;
|
288
|
-
background-color: ${
|
289
|
-
box-shadow: ${
|
288
|
+
background-color: ${zt("colors.canvas.overlay")};
|
289
|
+
box-shadow: ${zt("shadows.overlay.shadow")};
|
290
290
|
min-width: 296px;
|
291
291
|
max-width: calc(100vw - 64px);
|
292
292
|
max-height: calc(100vh - 64px);
|
293
|
-
width: ${e=>{var t;return
|
294
|
-
height: ${e=>{var t;return
|
293
|
+
width: ${e=>{var t;return qo[null!==(t=e.width)&&void 0!==t?t:"xlarge"]}};
|
294
|
+
height: ${e=>{var t;return Uo[null!==(t=e.height)&&void 0!==t?t:"auto"]}};
|
295
295
|
border-radius: 12px;
|
296
296
|
opacity: 1;
|
297
|
-
animation: overlay--dialog-appear ${"200ms"} ${
|
297
|
+
animation: overlay--dialog-appear ${"200ms"} ${zt("animation.easeOutCubic")};
|
298
298
|
|
299
299
|
@keyframes overlay--dialog-appear {
|
300
300
|
0% {
|
@@ -308,31 +308,31 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
308
308
|
}
|
309
309
|
|
310
310
|
${Zt};
|
311
|
-
`,
|
312
|
-
box-shadow: 0 1px 0 ${
|
313
|
-
padding: ${
|
311
|
+
`,Go=({dialogLabelId:t,title:r,subtitle:a,dialogDescriptionId:n,onClose:i})=>{const l=o((()=>{i("close-button")}),[i]);return e.createElement(ia.Header,null,e.createElement(Qt,{display:"flex"},e.createElement(Qt,{display:"flex",px:2,py:"6px",flexDirection:"column",flexGrow:1},e.createElement(ia.Title,{id:t},null!=r?r:"Dialog"),a&&e.createElement(ia.Subtitle,{id:n},a)),e.createElement(ia.CloseButton,{onClose:l})))};Go.displayName="DefaultHeader";const Xo=({children:t})=>e.createElement(ia.Body,null,t);Xo.displayName="DefaultBody";const Yo=({footerButtons:t})=>{const{containerRef:r}=Ro({bindKeys:Nr.ArrowHorizontal|Nr.Tab,focusInStrategy:"closest"});return t?e.createElement(ia.Footer,{ref:r},e.createElement(ia.Buttons,{buttons:t})):null},Jo=e.forwardRef(((t,o)=>{const{title:a="Dialog",subtitle:n="",renderHeader:i,renderBody:l,renderFooter:d,onClose:s,role:c="dialog",width:g="xlarge",height:f="auto",footerButtons:u=[]}=t,p=_o(),b=_o(),h=r(null);for(const e of u)e.autoFocus&&(e.ref=h);const m={...t,title:a,subtitle:n,role:c,dialogLabelId:p,dialogDescriptionId:b},v=r(null),x=Oo(v,o),y=r(null);zo({containerRef:v,restoreFocusOnCleanUp:!0,initialFocusRef:h}),$r((e=>{s("escape"),e.preventDefault()}),[s]);const w=(null!=i?i:Go)(m),B=(null!=l?l:Xo)(m),k=(null!=d?d:Yo)(m);return e.createElement(e.Fragment,null,e.createElement(Mo,null,e.createElement(Vo,{ref:y},e.createElement(Ko,{width:g,height:f,ref:x,role:c,"aria-labelledby":p,"aria-describedby":b},w,B,k))))}));Jo.displayName="Dialog";const Zo=g.div.attrs({as:"header"})`
|
312
|
+
box-shadow: 0 1px 0 ${zt("colors.border.default")};
|
313
|
+
padding: ${zt("space.2")};
|
314
314
|
z-index: 1;
|
315
315
|
flex-shrink: 0;
|
316
|
-
`,
|
317
|
-
font-size: ${
|
318
|
-
font-weight: ${
|
316
|
+
`,Qo=g.div`
|
317
|
+
font-size: ${zt("fontSizes.1")};
|
318
|
+
font-weight: ${zt("fontWeights.bold")};
|
319
319
|
|
320
320
|
${Zt};
|
321
|
-
`,
|
322
|
-
font-size: ${
|
323
|
-
margin-top: ${
|
324
|
-
color: ${
|
321
|
+
`,ea=g.div`
|
322
|
+
font-size: ${zt("fontSizes.0")};
|
323
|
+
margin-top: ${zt("space.1")};
|
324
|
+
color: ${zt("colors.fg.muted")};
|
325
325
|
|
326
326
|
${Zt};
|
327
|
-
`,
|
327
|
+
`,ta=g.div`
|
328
328
|
flex-grow: 1;
|
329
329
|
overflow: auto;
|
330
|
-
padding: ${
|
330
|
+
padding: ${zt("space.3")};
|
331
331
|
|
332
332
|
${Zt};
|
333
|
-
`,
|
334
|
-
box-shadow: 0 -1px 0 ${
|
335
|
-
padding: ${
|
333
|
+
`,ra=g.div.attrs({as:"footer"})`
|
334
|
+
box-shadow: 0 -1px 0 ${zt("colors.border.default")};
|
335
|
+
padding: ${zt("space.3")};
|
336
336
|
display: flex;
|
337
337
|
flex-flow: wrap;
|
338
338
|
justify-content: flex-end;
|
@@ -340,64 +340,64 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
340
340
|
flex-shrink: 0;
|
341
341
|
|
342
342
|
button {
|
343
|
-
margin-left: ${
|
343
|
+
margin-left: ${zt("space.1")};
|
344
344
|
&:first-child {
|
345
345
|
margin-left: 0;
|
346
346
|
}
|
347
347
|
}
|
348
348
|
|
349
349
|
${Zt};
|
350
|
-
`,
|
350
|
+
`,oa={normal:_r,primary:Gr,danger:Vr},aa=g(_r)`
|
351
351
|
border-radius: 4px;
|
352
352
|
background: transparent;
|
353
353
|
border: 0;
|
354
354
|
vertical-align: middle;
|
355
|
-
color: ${
|
356
|
-
padding: ${
|
355
|
+
color: ${zt("colors.fg.muted")};
|
356
|
+
padding: ${zt("space.2")};
|
357
357
|
align-self: flex-start;
|
358
358
|
line-height: normal;
|
359
359
|
box-shadow: none;
|
360
|
-
`,
|
361
|
-
padding: ${
|
360
|
+
`,na=({onClose:t})=>e.createElement(aa,{"aria-label":"Close",onClick:t},e.createElement(Lo,{icon:fo}));na.displayName="CloseButton";const ia=Object.assign(Jo,{Header:Zo,Title:Qo,Subtitle:ea,Body:ta,Footer:ra,Buttons:({buttons:r})=>{var o;const n=Tr(null===(o=r.find((e=>e.autoFocus)))||void 0===o?void 0:o.ref);let i=0;const[l,d]=t(0);return a((()=>{var e;1===l?null===(e=n.current)||void 0===e||e.focus():d(l+1)}),[n,l]),e.createElement(e.Fragment,null,r.map(((t,r)=>{const{content:o,buttonType:a="normal",autoFocus:l=!1,...d}=t,s=oa[a];return e.createElement(s,Lt({key:r},d,{variant:a,ref:l&&0===i?(i++,n):null}),o)})))},CloseButton:na}),la=g.header`
|
361
|
+
padding: ${zt("space.2")};
|
362
362
|
display: flex;
|
363
363
|
flex-direction: row;
|
364
|
-
`,
|
365
|
-
font-size: ${
|
366
|
-
font-weight: ${
|
367
|
-
padding: 6px ${
|
364
|
+
`,da=g(Qt)`
|
365
|
+
font-size: ${zt("fontSizes.3")};
|
366
|
+
font-weight: ${zt("fontWeights.bold")};
|
367
|
+
padding: 6px ${zt("space.2")};
|
368
368
|
flex-grow: 1;
|
369
|
-
`,
|
370
|
-
font-size: ${
|
371
|
-
padding: 0 ${
|
372
|
-
color: ${
|
369
|
+
`,sa=({title:t,onClose:r,dialogLabelId:a})=>{const n=o((()=>{r("close-button")}),[r]);return e.createElement(la,null,e.createElement(da,{id:a},t),e.createElement(ia.CloseButton,{onClose:n}))};sa.displayName="ConfirmationHeader";const ca=g(Qt)`
|
370
|
+
font-size: ${zt("fontSizes.1")};
|
371
|
+
padding: 0 ${zt("space.3")} ${zt("space.3")} ${zt("space.3")};
|
372
|
+
color: ${zt("colors.fg.muted")};
|
373
373
|
flex-grow: 1;
|
374
|
-
`,
|
374
|
+
`,ga=({children:t})=>e.createElement(ca,null,t);ga.displayName="ConfirmationBody";const fa=g(Qt)`
|
375
375
|
display: grid;
|
376
376
|
grid-auto-flow: column;
|
377
377
|
grid-auto-columns: max-content;
|
378
|
-
grid-gap: ${
|
378
|
+
grid-gap: ${zt("space.2")};
|
379
379
|
align-items: end;
|
380
380
|
justify-content: end;
|
381
|
-
padding: ${
|
382
|
-
`,
|
381
|
+
padding: ${zt("space.1")} ${zt("space.3")} ${zt("space.3")};
|
382
|
+
`,ua=({footerButtons:t})=>{const{containerRef:r}=Ro({bindKeys:Nr.ArrowHorizontal|Nr.Tab,focusInStrategy:"closest"});return e.createElement(fa,{ref:r},e.createElement(ia.Buttons,{buttons:null!=t?t:[]}))};ua.displayName="ConfirmationFooter";const pa=t=>{const{onClose:r,title:a,cancelButtonContent:n="Cancel",confirmButtonContent:i="OK",confirmButtonType:l="normal",children:d}=t,s=[{content:n,onClick:o((()=>{r("cancel")}),[r])},{content:i,buttonType:l,onClick:o((()=>{r("confirm")}),[r]),autoFocus:!0}];return e.createElement(ia,{onClose:r,title:a,footerButtons:s,role:"alertdialog",width:"medium",renderHeader:sa,renderBody:ga,renderFooter:ua},d)};function ba(){const{theme:t,colorMode:r,dayScheme:a,nightScheme:n}=Gt();return o((o=>async function(t,r){const{content:o,...a}=r;return new Promise((r=>{const n=document.createElement("div");m.render(e.createElement(Kt,t,e.createElement(pa,Lt({},a,{onClose:e=>{m.unmountComponentAtNode(n),r("confirm"===e)}}),o)),n)}))}({theme:t,colorMode:r,dayScheme:a,nightScheme:n},o)),[t,r,a,n])}pa.displayName="ConfirmationDialog";const ha=g.div`
|
383
383
|
{
|
384
384
|
/* 6px vertical padding + 20px line height = 32px total height
|
385
385
|
*
|
386
386
|
* TODO: When rem-based spacing on a 4px scale lands, replace
|
387
|
-
* hardcoded '6px' with 'calc((${
|
387
|
+
* hardcoded '6px' with 'calc((${zt("space.s32")} - ${zt("space.20")}) / 2)'.
|
388
388
|
*/
|
389
389
|
}
|
390
|
-
padding: 6px ${
|
391
|
-
font-size: ${
|
392
|
-
font-weight: ${
|
393
|
-
color: ${
|
390
|
+
padding: 6px ${zt("space.3")};
|
391
|
+
font-size: ${zt("fontSizes.0")};
|
392
|
+
font-weight: ${zt("fontWeights.bold")};
|
393
|
+
color: ${zt("colors.fg.muted")};
|
394
394
|
|
395
|
-
${({variant:e})=>"filled"===e&&p(["background:",";margin:"," 0;border-top:1px solid ",";border-bottom:1px solid ",";&:first-child{margin-top:0;}"],
|
395
|
+
${({variant:e})=>"filled"===e&&p(["background:",";margin:"," 0;border-top:1px solid ",";border-bottom:1px solid ",";&:first-child{margin-top:0;}"],zt("colors.canvas.subtle"),zt("space.2"),zt("colors.neutral.muted"),zt("colors.neutral.muted"))}
|
396
396
|
|
397
397
|
${Zt}
|
398
|
-
`;function
|
398
|
+
`;function ma({variant:t="subtle",title:r,auxiliaryText:o,children:a,...n}){return e.createElement(ha,Lt({role:"heading",variant:t},n),r,o&&e.createElement("span",null,o))}ma.displayName="Header";const va=g.div`
|
399
399
|
${Zt}
|
400
|
-
`;function
|
400
|
+
`;function xa({header:t,items:r,...o}){return e.createElement(va,o,t&&e.createElement(ma,t),r)}xa.displayName="Group";const ya=g.div`
|
401
401
|
display: ${e=>e.inline?"inline-block":"inherit"};
|
402
402
|
overflow: hidden;
|
403
403
|
text-overflow: ellipsis;
|
@@ -406,34 +406,34 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
406
406
|
${we}
|
407
407
|
${e=>e.expandable?"&:hover { max-width: 10000px; }":""}
|
408
408
|
${Zt};
|
409
|
-
`;
|
409
|
+
`;ya.defaultProps={expandable:!1,inline:!1,maxWidth:125};var wa=ya;const Ba=g.div`
|
410
410
|
height: 1px;
|
411
|
-
background: ${
|
412
|
-
margin-top: calc(${
|
413
|
-
margin-bottom: ${
|
414
|
-
`;function
|
411
|
+
background: ${zt("colors.border.muted")};
|
412
|
+
margin-top: calc(${zt("space.2")} - 1px);
|
413
|
+
margin-bottom: ${zt("space.2")};
|
414
|
+
`;function ka(){return e.createElement(Ba,null)}ka.displayName="Divider",ka.renderItem=ka;const $a=(e="default",t)=>{if(t)return{color:zt("colors.primer.fg.disabled"),iconColor:zt("colors.primer.fg.disabled"),annotationColor:zt("colors.primer.fg.disabled"),hoverCursor:"default"};switch(e){case"danger":return{color:zt("colors.danger.fg"),iconColor:zt("colors.danger.fg"),annotationColor:zt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:zt("colors.actionListItem.danger.hoverBg"),focusBg:zt("colors.actionListItem.danger.activeBg"),hoverText:zt("colors.actionListItem.danger.hoverText")};default:return{color:zt("colors.fg.default"),iconColor:zt("colors.fg.muted"),annotationColor:zt("colors.fg.muted"),hoverCursor:"pointer",hoverBg:zt("colors.actionListItem.default.hoverBg"),focusBg:zt("colors.actionListItem.default.activeBg")}}},Ta=g.div`
|
415
415
|
display: flex;
|
416
416
|
min-width: 0;
|
417
417
|
|
418
418
|
/* Required for dividers */
|
419
419
|
position: relative;
|
420
420
|
flex-grow: 1;
|
421
|
-
|
421
|
+
`,Sa=g.div`
|
422
422
|
align-items: baseline;
|
423
423
|
display: flex;
|
424
424
|
min-width: 0;
|
425
425
|
flex-direction: var(--main-content-flex-direction);
|
426
426
|
flex-grow: 1;
|
427
|
-
`,
|
427
|
+
`,Ea=g.div`
|
428
428
|
/* 6px vertical padding + 20px line height = 32px total height
|
429
429
|
*
|
430
430
|
* TODO: When rem-based spacing on a 4px scale lands, replace
|
431
|
-
* hardcoded '6px' with 'calc((${
|
431
|
+
* hardcoded '6px' with 'calc((${zt("space.s32")} - ${zt("space.20")}) / 2)'.
|
432
432
|
*/
|
433
|
-
padding: 6px ${
|
433
|
+
padding: 6px ${zt("space.2")};
|
434
434
|
display: flex;
|
435
|
-
border-radius: ${
|
436
|
-
color: ${({variant:e,item:t})
|
435
|
+
border-radius: ${zt("radii.2")};
|
436
|
+
color: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).color};
|
437
437
|
// 2 frames on a 60hz monitor
|
438
438
|
transition: background 33.333ms linear;
|
439
439
|
text-decoration: none;
|
@@ -443,121 +443,121 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
443
443
|
// allow override in case another item in the list is active/focused
|
444
444
|
background: var(
|
445
445
|
--item-hover-bg-override,
|
446
|
-
${({variant:e,item:t})
|
446
|
+
${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).hoverBg}
|
447
447
|
);
|
448
|
-
color: ${({variant:e,item:t})
|
449
|
-
cursor: ${({variant:e,item:t})
|
448
|
+
color: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).hoverText};
|
449
|
+
cursor: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).hoverCursor};
|
450
450
|
}
|
451
451
|
}
|
452
452
|
|
453
453
|
// Item dividers
|
454
|
-
:not(:first-of-type):not(${
|
454
|
+
:not(:first-of-type):not(${Ba} + &):not(${ha} + &) {
|
455
455
|
margin-top: ${({showDivider:e})=>e?"1px":"0"};
|
456
456
|
|
457
|
-
${
|
457
|
+
${Ta}::before {
|
458
458
|
content: ' ';
|
459
459
|
display: block;
|
460
460
|
position: absolute;
|
461
461
|
width: 100%;
|
462
462
|
top: -7px;
|
463
463
|
// NB: This 'get' won’t execute if it’s moved into the arrow function below.
|
464
|
-
border: 0 solid ${
|
464
|
+
border: 0 solid ${zt("colors.border.muted")};
|
465
465
|
border-top-width: ${({showDivider:e})=>e?"1px":"0"};
|
466
466
|
}
|
467
467
|
}
|
468
468
|
|
469
469
|
// Item dividers should not be visible:
|
470
470
|
// - above Hovered
|
471
|
-
&:hover ${
|
471
|
+
&:hover ${Ta}::before,
|
472
472
|
// - below Hovered
|
473
473
|
// '*' instead of '&' because '&' maps to separate class names depending on 'variant'
|
474
|
-
:hover + * ${
|
474
|
+
:hover + * ${Ta}::before {
|
475
475
|
// allow override in case another item in the list is active/focused
|
476
476
|
border-color: var(--item-hover-divider-border-color-override, transparent) !important;
|
477
477
|
}
|
478
478
|
|
479
479
|
// - above Focused
|
480
|
-
&:focus ${
|
480
|
+
&:focus ${Ta}::before,
|
481
481
|
// - below Focused
|
482
482
|
// '*' instead of '&' because '&' maps to separate class names depending on 'variant'
|
483
|
-
:focus + * ${
|
483
|
+
:focus + * ${Ta}::before,
|
484
484
|
// - above Active Descendent
|
485
|
-
&[${"data-is-active-descendant"}] ${
|
485
|
+
&[${"data-is-active-descendant"}] ${Ta}::before,
|
486
486
|
// - below Active Descendent
|
487
|
-
[${"data-is-active-descendant"}] + & ${
|
487
|
+
[${"data-is-active-descendant"}] + & ${Ta}::before {
|
488
488
|
// '!important' because all the ':not's above give higher specificity
|
489
489
|
border-color: transparent !important;
|
490
490
|
}
|
491
491
|
|
492
492
|
// Active Descendant
|
493
493
|
&[${"data-is-active-descendant"}='${"activated-directly"}'] {
|
494
|
-
background: ${({variant:e,item:t})
|
494
|
+
background: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).focusBg};
|
495
495
|
}
|
496
496
|
&[${"data-is-active-descendant"}='${"activated-indirectly"}'] {
|
497
|
-
background: ${({variant:e,item:t})
|
497
|
+
background: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).hoverBg};
|
498
498
|
}
|
499
499
|
|
500
500
|
&:focus {
|
501
|
-
background: ${({variant:e,item:t})
|
501
|
+
background: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).focusBg};
|
502
502
|
outline: none;
|
503
503
|
}
|
504
504
|
|
505
505
|
&:active {
|
506
|
-
background: ${({variant:e,item:t})
|
506
|
+
background: ${({variant:e,item:t})=>$a(e,null==t?void 0:t.disabled).focusBg};
|
507
507
|
}
|
508
508
|
|
509
509
|
${Zt}
|
510
|
-
`,
|
510
|
+
`,Ca=g.span``,Ia=g.div`
|
511
511
|
// Match visual height to adjacent text line height.
|
512
512
|
// TODO: When rem-based spacing on a 4px scale lands, replace
|
513
|
-
// hardcoded '20px' with '${
|
513
|
+
// hardcoded '20px' with '${zt("space.s20")}'.
|
514
514
|
height: 20px;
|
515
|
-
width: ${
|
516
|
-
margin-right: ${
|
515
|
+
width: ${zt("space.3")};
|
516
|
+
margin-right: ${zt("space.2")};
|
517
517
|
display: flex;
|
518
518
|
justify-content: center;
|
519
519
|
align-items: center;
|
520
520
|
flex-shrink: 0;
|
521
|
-
`,
|
521
|
+
`,za=g(Ia)`
|
522
522
|
svg {
|
523
|
-
fill: ${({variant:e,disabled:t})
|
524
|
-
font-size: ${
|
523
|
+
fill: ${({variant:e,disabled:t})=>$a(e,t).iconColor};
|
524
|
+
font-size: ${zt("fontSizes.0")};
|
525
525
|
}
|
526
|
-
`,
|
526
|
+
`,Aa=g(za)`
|
527
527
|
display: flex;
|
528
528
|
flex-direction: column;
|
529
529
|
justify-content: center;
|
530
|
-
`,
|
531
|
-
color: ${({variant:e,disabled:t})
|
532
|
-
margin-left: ${
|
530
|
+
`,Na=g(za)`
|
531
|
+
color: ${({variant:e,disabled:t})=>$a(e,t).annotationColor}};
|
532
|
+
margin-left: ${zt("space.2")};
|
533
533
|
margin-right: 0;
|
534
534
|
width: auto;
|
535
535
|
div:nth-child(2) {
|
536
|
-
margin-left: ${
|
536
|
+
margin-left: ${zt("space.2")};
|
537
537
|
}
|
538
|
-
`,
|
539
|
-
color: ${
|
540
|
-
font-size: ${
|
538
|
+
`,La=g.span`
|
539
|
+
color: ${zt("colors.fg.muted")};
|
540
|
+
font-size: ${zt("fontSizes.0")};
|
541
541
|
// TODO: When rem-based spacing on a 4px scale lands, replace
|
542
|
-
// hardcoded '16px' with '${
|
542
|
+
// hardcoded '16px' with '${zt("lh-12")}'.
|
543
543
|
line-height: 16px;
|
544
544
|
margin-left: var(--description-container-margin-left);
|
545
545
|
min-width: 0;
|
546
546
|
flex-grow: 1;
|
547
547
|
flex-basis: var(--description-container-flex-basis);
|
548
|
-
`,
|
548
|
+
`,Ra=g.svg`
|
549
549
|
rect {
|
550
|
-
fill: ${({selected:e})=>
|
551
|
-
stroke: ${({selected:e})=>
|
550
|
+
fill: ${({selected:e})=>zt(e?"colors.accent.fg":"colors.canvas.default")};
|
551
|
+
stroke: ${({selected:e})=>zt(e?"colors.accent.fg":"colors.border.default")};
|
552
552
|
shape-rendering: auto; // this is a workaround to override global style in github/github, see primer/react#1666
|
553
553
|
}
|
554
554
|
path {
|
555
|
-
fill: ${
|
556
|
-
boxshadow: ${
|
555
|
+
fill: ${zt("colors.fg.onEmphasis")};
|
556
|
+
boxshadow: ${zt("shadow.small")};
|
557
557
|
opacity: ${({selected:e})=>e?1:0};
|
558
558
|
}
|
559
|
-
`,
|
560
|
-
font-size: ${
|
559
|
+
`,Fa=e.forwardRef(((t,r)=>{const{as:a,text:n,description:i,descriptionVariant:l="inline",selected:d,selectionVariant:s,leadingVisual:c,trailingIcon:g,trailingVisual:f,trailingText:u,variant:p="default",showDivider:b,disabled:h,onAction:m,onKeyPress:v,children:x,onClick:y,id:w,...B}=t,k=_o(),$=_o(),T=o((e=>{h||(null==v||v(e),!e.defaultPrevented&&[" ","Enter"].includes(e.key)&&(null==m||m(t,e)))}),[m,h,t,v]),S=o((e=>{h||(null==y||y(e),e.defaultPrevented||null==m||m(t,e))}),[m,h,t,y]),{theme:E}=Gt();return e.createElement(Ea,Lt({ref:r,as:a,tabIndex:h?void 0:-1,variant:p,showDivider:b,"aria-selected":d,"aria-labelledby":n?k:void 0,"aria-describedby":i?$:void 0},B,{"data-id":w,onKeyPress:T,onClick:S}),!!d===d&&e.createElement(Ia,null,"multiple"===s?e.createElement(e.Fragment,null,e.createElement(Ra,{selected:d,width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e.createElement("rect",{x:"2",y:"2",width:"12",height:"12",rx:"4"}),e.createElement("path",{fillRule:"evenodd",strokeWidth:"0",d:"M4.03231 8.69862C3.84775 8.20646 4.49385 7.77554 4.95539 7.77554C5.41693 7.77554 6.80154 9.85246 6.80154 9.85246C6.80154 9.85246 10.2631 4.314 10.4938 4.08323C10.7246 3.85246 11.8785 4.08323 11.4169 5.00631C11.0081 5.82388 7.26308 11.4678 7.26308 11.4678C7.26308 11.4678 6.80154 12.1602 6.34 11.4678C5.87846 10.7755 4.21687 9.19077 4.03231 8.69862Z"}))):d&&e.createElement(to,{fill:null==E?void 0:E.colors.fg.default})),c&&e.createElement(Aa,{variant:p,disabled:h},e.createElement(c,null)),e.createElement(Ta,null,e.createElement(Sa,{style:{"--main-content-flex-direction":"inline"===l?"row":"column"}},x,n?e.createElement(Ca,{id:k},n):null,i?e.createElement(La,{id:$,style:{"--description-container-margin-left":"inline"===l?zt("space.2")(E):0,"--description-container-flex-basis":"inline"===l?0:"auto"}},"block"===l?i:e.createElement(wa,{title:i,inline:!0,maxWidth:"100%"},i)):null),f?e.createElement(Na,{variant:p,disabled:h},"function"==typeof f?e.createElement(f,null):f):g||u?e.createElement(Na,{variant:p,disabled:h},u,g&&e.createElement(g,null)):null))}));Fa.displayName="ActionList.Item";const Da=g.div`
|
560
|
+
font-size: ${zt("fontSizes.1")};
|
561
561
|
/* 14px font-size * 1.428571429 = 20px line height
|
562
562
|
*
|
563
563
|
* TODO: When rem-based spacing on a 4px scale lands, replace
|
@@ -567,20 +567,20 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
567
567
|
|
568
568
|
&[${"data-has-active-descendant"}], &:focus-within {
|
569
569
|
--item-hover-bg-override: none;
|
570
|
-
--item-hover-divider-border-color-override: ${
|
570
|
+
--item-hover-divider-border-color-override: ${zt("colors.border.muted")};
|
571
571
|
}
|
572
|
-
`;const
|
573
|
-
background-color: ${
|
574
|
-
box-shadow: ${
|
572
|
+
`;const Ma=e.forwardRef(((t,r)=>{const{firstGroupStyle:o,lastGroupStyle:a,headerStyle:n,itemStyle:i}=function(e="inset"){switch(e){case"full":return{headerStyle:{paddingX:zt("space.2")},itemStyle:{borderRadius:0}};default:return{firstGroupStyle:{marginTop:zt("space.2")},lastGroupStyle:{marginBottom:zt("space.2")},itemStyle:{marginX:zt("space.2")}}}}(t.variant),l=(r,o,a)=>{var n,l,d;const s="renderItem"in r&&r.renderItem||t.renderItem||Fa,c=null!==(n=null!==(l="key"in r?r.key:void 0)&&void 0!==l?l:null===(d=r.id)||void 0===d?void 0:d.toString())&&void 0!==n?n:a.toString();return e.createElement(s,Lt({showDivider:t.showItemDividers,selectionVariant:t.selectionVariant},r,{key:c,sx:{...i,...r.sx},item:o}))};let d=[];if(function(e){return"groupMetadata"in e}(t)){const e=t.groupMetadata.reduce(((e,t)=>e.set(t.groupId,t)),new Map);for(const r of t.items){var s,c,g;const t=e.get(r.groupId),o=null!==(s=null==t||null===(c=t.items)||void 0===c?void 0:c.length)&&void 0!==s?s:0;e.set(r.groupId,{...t,items:[...null!==(g=null==t?void 0:t.items)&&void 0!==g?g:[],l({showDivider:null==t?void 0:t.showItemDividers,...t&&"renderItem"in t&&{renderItem:t.renderItem},...r},r,o)]})}d=[...e.values()]}else d=[{items:t.items.map(((e,t)=>l(e,e,t))),groupId:"0"}];return e.createElement(Da,Lt({},t,{ref:r}),d.map((({header:r,...i},l)=>{const s="filled"===(null==r?void 0:r.variant),c=l>0&&!s;return e.createElement(e.Fragment,{key:i.groupId},c?e.createElement(ka,{key:`${i.groupId}-divider`}):null,(r=>{var o;const a=(null!==(o="renderGroup"in r&&r.renderGroup)&&void 0!==o?o:t.renderGroup)||xa;return e.createElement(a,Lt({},r,{key:r.groupId}))})({sx:{...0===l&&o,...l===d.length-1&&a,...l>0&&!c&&{mt:2}},...r&&{header:{...r,sx:{...n,...r.sx}}},...i}))})))}));Ma.displayName="ActionList";const Oa=Object.assign(Ma,{Group:xa,Item:Fa,Divider:ka}),Pa={xsmall:"192px",small:"256px",medium:"320px",large:"432px",xlarge:"600px",auto:"auto",initial:"auto"},Ha={small:"256px",medium:"320px",large:"480px",xlarge:"640px",xxlarge:"960px",auto:"auto"};const Wa=g.div`
|
573
|
+
background-color: ${zt("colors.canvas.overlay")};
|
574
|
+
box-shadow: ${zt("shadows.overlay.shadow")};
|
575
575
|
position: absolute;
|
576
576
|
min-width: 192px;
|
577
577
|
max-width: 640px;
|
578
|
-
height: ${e=>
|
579
|
-
max-height: ${e=>e.maxHeight&&
|
580
|
-
width: ${e=>
|
578
|
+
height: ${e=>Pa[e.height||"auto"]};
|
579
|
+
max-height: ${e=>e.maxHeight&&Pa[e.maxHeight]};
|
580
|
+
width: ${e=>Ha[e.width||"auto"]};
|
581
581
|
border-radius: 12px;
|
582
582
|
overflow: hidden;
|
583
|
-
animation: overlay-appear ${200}ms ${
|
583
|
+
animation: overlay-appear ${200}ms ${zt("animation.easeOutCubic")};
|
584
584
|
|
585
585
|
@keyframes overlay-appear {
|
586
586
|
0% {
|
@@ -595,12 +595,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
595
595
|
outline: none;
|
596
596
|
}
|
597
597
|
${Zt};
|
598
|
-
`,
|
598
|
+
`,ja=e.forwardRef((({onClickOutside:t,role:o="none",initialFocusRef:n,returnFocusRef:i,ignoreClickRefs:l,onEscape:d,visibility:s="visible",height:c,top:g,left:f,anchorSide:u,portalContainerName:p,preventFocusOnOpen:b,...h},m)=>{const v=r(null),x=Oo(v,m),{theme:y}=Gt(),w=parseInt(zt("space.2")(y).replace("px","")),B=zt("animation.easeOutCubic")(y);return Sr({overlayRef:v,returnFocusRef:i,onEscape:d,ignoreClickRefs:l,onClickOutside:t,initialFocusRef:n,preventFocusOnOpen:b}),a((()=>{var e;"initial"===c&&null!==(e=x.current)&&void 0!==e&&e.clientHeight&&(x.current.style.height=`${x.current.clientHeight}px`)}),[c,x]),$o((()=>{var e;const{x:t,y:r}=function(e){return null!=e&&e.endsWith("bottom")?{x:0,y:-1}:null!=e&&e.endsWith("top")?{x:0,y:1}:null!=e&&e.endsWith("right")?{x:-1,y:0}:null!=e&&e.endsWith("left")?{x:1,y:0}:{x:0,y:0}}(u);(t||r)&&null!==(e=v.current)&&void 0!==e&&e.animate&&"hidden"!==s&&v.current.animate({transform:[`translate(${w*t}px, ${w*r}px)`,"translate(0, 0)"]},{duration:200,easing:B})}),[u,w,B,s]),e.createElement(Mo,{containerName:p},e.createElement(Wa,Lt({height:c,role:o},h,{ref:x,style:{top:`${g||0}px`,left:`${f||0}px`,"--styled-overlay-visibility":s}})))}));ja.defaultProps={height:"auto",width:"auto"};var _a=ja;const Va=({renderAnchor:n,anchorRef:i,children:l,open:d,onOpen:s,onClose:c,height:g,width:f,overlayProps:u,focusTrapSettings:p,focusZoneSettings:b,side:h,align:m})=>{const v=Tr(i),[x,y]=function(){const[e,a]=t(null),n=r(null);n.current=e;const i=o((e=>{n.current=e,a(e)}),[n]);return[n,i]}(),w=_o(),B=o((()=>null==c?void 0:c("click-outside")),[c]),k=o((()=>null==c?void 0:c("escape")),[c]),$=o((e=>{e.defaultPrevented||!d&&["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(null==s||s("anchor-key-press"),e.preventDefault())}),[d,s]),T=o((e=>{e.defaultPrevented||0!==e.button||(d?null==c||c("anchor-click"):null==s||s("anchor-click"))}),[d,s,c]),{position:S}=To({anchorElementRef:v,floatingElementRef:x,side:h,align:m},[x.current]);return a((()=>{!d&&x.current&&y(null)}),[d,x,y]),Ro({containerRef:x,disabled:!d||!S,...b}),zo({containerRef:x,disabled:!d||!S,...p}),e.createElement(e.Fragment,null,n&&n({ref:v,id:w,"aria-labelledby":w,"aria-haspopup":"true",tabIndex:0,onClick:T,onKeyDown:$}),d?e.createElement(_a,Lt({returnFocusRef:v,onClickOutside:B,ignoreClickRefs:[v],onEscape:k,ref:y,role:"none",visibility:S?"visible":"hidden",height:g,width:f,top:(null==S?void 0:S.top)||0,left:(null==S?void 0:S.left)||0,anchorSide:null==S?void 0:S.anchorSide},u),l):null)};function Ua(e,r,a){const[n,i]=t(a);return[null!=e?e:n,o((e=>{i(e),r&&r(e)}),[r])]}Va.displayName="AnchoredOverlay",Va.defaultProps={side:"outside-bottom",align:"start"};const qa=t=>e.createElement(Fa,Lt({role:"menuitem"},t));qa.displayName="ActionMenuItem",qa.displayName="ActionMenu.Item";const Ka=({anchorContent:t,renderAnchor:r=(t=>e.createElement(_r,t)),anchorRef:a,onAction:i,open:l,setOpen:d,overlayProps:s,items:c,...g})=>{const[f,u]=Ua(l,d,!1),p=Tr(a),b=o((()=>u(!0)),[u]),h=o((()=>u(!1)),[u]),m=n((()=>null===r?null:e=>r({"aria-label":"menu",children:t,...e})),[t,r]),v=n((()=>c.map((e=>({...e,role:"menuitem",onAction:(t,r)=>{var o;const a=null!==(o=e.onAction)&&void 0!==o?o:i;null==a||a(t,r),r.defaultPrevented||h()}})))),[c,i,h]);return e.createElement(Va,{renderAnchor:m,anchorRef:p,open:f,onOpen:b,onClose:h,overlayProps:s},e.createElement(Ma,Lt({},g,{role:"menu",items:v})))};Ka.displayName="ActionMenuBase",Ka.displayName="ActionMenu";const Ga=Object.assign(Ka,{Divider:ka,Item:qa}),Xa=s(null);var Ya,Ja={exports:{}};
|
599
599
|
/*!
|
600
600
|
Copyright (c) 2018 Jed Watson.
|
601
601
|
Licensed under the MIT License (MIT), see
|
602
602
|
http://jedwatson.github.io/classnames
|
603
|
-
*/
|
603
|
+
*/Ya=Ja,function(){var e={}.hasOwnProperty;function t(){for(var r=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var n=typeof a;if("string"===n||"number"===n)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var l in a)e.call(a,l)&&a[l]&&r.push(l);else r.push(a.toString())}}return r.join(" ")}Ya.exports?(t.default=t,Ya.exports=t):window.classNames=t}();var Za=Ja.exports;var Qa=g.input`
|
604
604
|
border: 0;
|
605
605
|
font-size: inherit;
|
606
606
|
font-family: inherit;
|
@@ -613,67 +613,69 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
613
613
|
}
|
614
614
|
|
615
615
|
${Zt};
|
616
|
-
`;const
|
616
|
+
`;const en=ue({variants:{small:{minHeight:"28px",px:2,py:"3px",fontSize:0,lineHeight:"20px"},large:{px:2,py:"10px",fontSize:3}}});var tn=g.span`
|
617
617
|
display: inline-flex;
|
618
618
|
align-items: stretch;
|
619
619
|
min-height: 34px;
|
620
|
-
font-size: ${
|
620
|
+
font-size: ${zt("fontSizes.1")};
|
621
621
|
line-height: 20px;
|
622
|
-
color: ${
|
622
|
+
color: ${zt("colors.fg.default")};
|
623
623
|
vertical-align: middle;
|
624
624
|
background-repeat: no-repeat; // Repeat and position set for form states (success, error, etc)
|
625
625
|
background-position: right 8px center; // For form validation. This keeps images 8px from right and centered vertically.
|
626
|
-
border: 1px solid ${
|
627
|
-
border-radius: ${
|
626
|
+
border: 1px solid ${zt("colors.border.default")};
|
627
|
+
border-radius: ${zt("radii.2")};
|
628
628
|
outline: none;
|
629
|
-
box-shadow: ${
|
629
|
+
box-shadow: ${zt("shadows.primer.shadow.inset")};
|
630
630
|
cursor: text;
|
631
631
|
|
632
632
|
${e=>e.hasIcon?p(["padding:0;"]):p(["padding:6px 12px;"])}
|
633
633
|
|
634
634
|
.TextInput-icon {
|
635
635
|
align-self: center;
|
636
|
-
color: ${
|
637
|
-
margin: 0 ${
|
636
|
+
color: ${zt("colors.fg.muted")};
|
637
|
+
margin: 0 ${zt("space.2")};
|
638
638
|
flex-shrink: 0;
|
639
639
|
}
|
640
640
|
|
641
641
|
&:focus-within {
|
642
|
-
border-color: ${
|
643
|
-
box-shadow: ${
|
642
|
+
border-color: ${zt("colors.accent.emphasis")};
|
643
|
+
box-shadow: ${zt("shadows.primer.shadow.focus")};
|
644
644
|
}
|
645
645
|
|
646
|
-
${e=>e.contrast&&p(["background-color:",";"],
|
646
|
+
${e=>e.contrast&&p(["background-color:",";"],zt("colors.canvas.inset"))}
|
647
647
|
|
648
|
-
${e=>e.disabled&&p(["color:",";background-color:",";border-color:",";"],
|
648
|
+
${e=>e.disabled&&p(["color:",";background-color:",";border-color:",";"],zt("colors.primer.fg.disabled"),zt("colors.input.disabledBg"),zt("colors.border.default"))}
|
649
649
|
|
650
650
|
${e=>e.block&&p(["display:block;width:100%;"])}
|
651
651
|
|
652
652
|
${e=>e.block&&e.hasIcon&&p(["display:flex;"])}
|
653
653
|
|
654
654
|
// Ensures inputs don't zoom on mobile but are body-font size on desktop
|
655
|
-
@media (min-width: ${
|
656
|
-
font-size: ${
|
655
|
+
@media (min-width: ${zt("breakpoints.1")}) {
|
656
|
+
font-size: ${zt("fontSizes.1")};
|
657
657
|
}
|
658
658
|
${me}
|
659
659
|
${xe}
|
660
660
|
${we}
|
661
|
-
${
|
661
|
+
${en}
|
662
662
|
${Zt};
|
663
|
-
`;const
|
663
|
+
`;const rn=e.forwardRef((({icon:t,block:r,className:o,contrast:a,disabled:n,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g,...f},u)=>{const p=Za(o,"TextInput-wrapper");return e.createElement(tn,{block:r,className:p,contrast:a,disabled:n,hasIcon:!!t,sx:i,theme:l,width:d,minWidth:s,maxWidth:c,variant:g},t&&e.createElement(t,{className:"TextInput-icon"}),e.createElement(Qa,Lt({ref:u,disabled:n},f)))}));rn.defaultProps={type:"text"},rn.displayName="TextInput";var on=rn;const an=e.forwardRef((({as:r=on,onFocus:n,onBlur:i,onChange:l,onKeyDown:s,onKeyUp:c,onKeyPress:g,value:f,...u},p)=>{const b=d(Xa);if(null===b)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:h,autocompleteSuggestion:m="",id:v,inputRef:x,inputValue:y="",isMenuDirectlyActivated:w,setInputValue:B,setShowMenu:k,showMenu:$}=b,T=Oo(x,p),[S,E]=t(!0),C=o((e=>{n&&n(e),k(!0)}),[n,k]),I=o((e=>{i&&i(e),setTimeout((()=>{document.activeElement!==T.current&&k(!1)}),0)}),[i,k,T]),z=o((e=>{l&&l(e),B(e.currentTarget.value),$||k(!0)}),[l,B,k,$]),A=o((e=>{var t;s&&s(e),"Backspace"===e.key&&E(!1),"Escape"===e.key&&null!==(t=x.current)&&void 0!==t&&t.value&&(B(""),x.current.value="")}),[x,B,E,s]),N=o((e=>{c&&c(e),"Backspace"===e.key&&E(!0)}),[E,c]),L=o((e=>{if(g&&g(e),$&&"Enter"===e.key&&h.current){e.preventDefault(),e.nativeEvent.stopImmediatePropagation();const t=new KeyboardEvent(e.type,e.nativeEvent);h.current.dispatchEvent(t)}}),[h,$,g]);return a((()=>{x.current&&(m||(x.current.value=y),S&&m&&(y||w)&&(x.current.value=m,0===m.toLowerCase().indexOf(y.toLowerCase())&&x.current.setSelectionRange(y.length,m.length)))}),[m,y,x,w]),a((()=>{f&&B(f.toString())}),[f,B]),e.createElement(r,Lt({onFocus:C,onBlur:I,onChange:z,onKeyDown:A,onKeyPress:L,onKeyUp:N,ref:T,"aria-controls":`${v}-listbox`,"aria-autocomplete":"both",role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${v}-listbox`,autocomplete:"off"},u))}));an.displayName="AutocompleteInput";var nn=an;const ln=(e,t,r="vertical",o=8,a=0,n="smooth")=>{const i="vertical"===r?"top":"left",l="vertical"===r?"bottom":"right",d="vertical"===r?"scrollTop":"scrollLeft",{[i]:s,[l]:c}=e.getBoundingClientRect(),{[i]:g,[l]:f}=t.getBoundingClientRect(),u=c>f-o;if(s<g+a){const e=s-g+t[d];t.scrollTo({behavior:n,[i]:e-a})}else if(u){const e=c-f+t[d];t.scrollTo({behavior:n,[i]:e+o})}},dn=g.span`
|
664
|
+
${e=>e.isVisible?Zt:"\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n "}
|
665
|
+
`;dn.defaultProps={isVisible:!0};var sn=dn;function cn(o){const i=d(Xa);if(null===i)throw new Error("AutocompleteContext returned null values");const{activeDescendantRef:l,id:s,inputRef:c,inputValue:g="",scrollContainerRef:f,setAutocompleteSuggestion:u,setShowMenu:p,setInputValue:b,setIsMenuDirectlyActivated:h,setSelectedItemLength:m,showMenu:v}=i,{items:x,selectedItemIds:y,sortOnCloseFn:w,emptyStateText:B,addNewItem:k,loading:$,selectionVariant:T,filterFn:S,"aria-labelledby":E,onOpenChange:C,onSelectedChange:I,customScrollContainerRef:z}=o,A=r(null),[N,L]=t(),[R,F]=t(x.map((({id:e})=>e))),D=n((()=>x.map((e=>({...e,role:"option",id:e.id,selected:"multiple"===T?y.includes(e.id):void 0,onAction:e=>{const t=y.filter((t=>t!==e.id)),r=y.includes(e.id)?t:[...t,e.id];var o,a;((I||(o=b,function(e){const{text:t=""}=Array.isArray(e)?e.slice(-1)[0]:e;o(t)}))(r.map((e=>function(e,t){return t.find((t=>t.id===e))}(e,x)))),"multiple"===T)?(b(""),u("")):(p(!1),null===(a=c.current)||void 0===a||a.setSelectionRange(c.current.value.length,c.current.value.length))}})))),[x,y,c,I,T,u,b,p]),M=n((()=>R.reduce(((e,t,r)=>(e[t]=r,e)),{})),[R]),O=n((()=>{return D.filter(S||(e=g,function(t,r){var o;return Boolean(null===(o=t.text)||void 0===o?void 0:o.toLowerCase().startsWith(e.toLowerCase()))})).sort(((e,t)=>M[e.id]-M[t.id]));var e}),[D,M,S,g]),P=n((()=>[...O,...k?[{...k,leadingVisual:()=>e.createElement(so,null),onAction:e=>{k.handleAddItem({...e,id:e.id||Rr(),leadingVisual:void 0}),"multiple"===T&&(b(""),u(""))}}]:[]]),[O,k,u,T,b]);return Ro({containerRef:A,focusOutBehavior:"wrap",focusableElementFilter:e=>!(e instanceof HTMLInputElement),activeDescendantFocus:c,onActiveDescendantChanged:(e,t,r)=>{if(l.current=e||null,e){const t=D.find((t=>t.id.toString()===e.getAttribute("data-id")));L(t),h(r)}e&&z&&z.current&&r?ln(e,z.current):e&&f.current&&r&&ln(e,f.current)}},[$]),a((()=>{var e;null!=N&&null!==(e=N.text)&&void 0!==e&&e.startsWith(g)&&!y.includes(N.id)?u(N.text):u("")}),[N,g,y,u]),a((()=>{const e=[...R].sort(w||(t=e=>((e,t)=>t.includes(e))(e,y),(e,r)=>t(e)===t(r)?0:t(e)?-1:1));var t;const r=e.length===R.length&&e.every(((e,t)=>e===R[t]));!1!==v||r||F(e),C&&C(Boolean(v))}),[v,C,y,w,R]),a((()=>{y.length&&m(y.length)}),[y,m]),e.createElement(sn,{isVisible:v},$?e.createElement(Qt,{p:3,display:"flex",justifyContent:"center"},e.createElement(ld,null)):e.createElement("div",{ref:A},P.length?e.createElement(Oa,{selectionVariant:"multiple",items:P,role:"listbox",id:`${s}-listbox`,"aria-labelledby":E}):e.createElement(Qt,{p:3},B)))}function gn({menuAnchorRef:t,overlayProps:r,children:a}){const n=d(Xa);if(null===n)throw new Error("AutocompleteContext returned null values");const{inputRef:i,scrollContainerRef:l,selectedItemLength:s,setShowMenu:c,showMenu:g=!1}=n,{floatingElementRef:f,position:u}=To({side:"outside-bottom",align:"start",anchorElementRef:t||i},[g,s]),p=Oo(l,f),b=o((()=>{c(!1)}),[c]);return"undefined"==typeof window?null:e.createElement(_a,Lt({returnFocusRef:i,preventFocusOnOpen:!0,onClickOutside:b,onEscape:b,ref:p,top:null==u?void 0:u.top,left:null==u?void 0:u.left,visibility:g?"visible":"hidden",sx:{overflow:"auto"}},r),a)}cn.displayName="AutocompleteMenu",cn.defaultProps={emptyStateText:"No selectable options",selectionVariant:"single"},cn.displayName="AutocompleteMenu",gn.displayName="AutocompleteOverlay",gn.displayName="AutocompleteOverlay";const fn={inputValue:"",showMenu:!1,isMenuDirectlyActivated:!1,autocompleteSuggestion:"",selectedItemLength:0},un=(e,t)=>{const{type:r,payload:o}=t;switch(r){case"inputValue":return{...e,inputValue:o};case"showMenu":return{...e,showMenu:o};case"isMenuDirectlyActivated":return{...e,isMenuDirectlyActivated:o};case"autocompleteSuggestion":return{...e,autocompleteSuggestion:o};case"selectedItemLength":return{...e,selectedItemLength:o};default:return e}},pn=({children:t,id:a})=>{const n=r(null),i=r(null),l=r(null),[d,s]=c(un,fn),{inputValue:g,showMenu:f,autocompleteSuggestion:u,isMenuDirectlyActivated:p,selectedItemLength:b}=d,h=o((e=>{s({type:"inputValue",payload:e})}),[]),m=o((e=>{s({type:"showMenu",payload:e})}),[]),v=o((e=>{s({type:"autocompleteSuggestion",payload:e})}),[]),x=o((e=>{s({type:"isMenuDirectlyActivated",payload:e})}),[]),y=o((e=>{s({type:"selectedItemLength",payload:e})}),[]),w=_o(a);return e.createElement(Xa.Provider,{value:{activeDescendantRef:n,autocompleteSuggestion:u,id:w,inputRef:l,inputValue:g,isMenuDirectlyActivated:p,scrollContainerRef:i,selectedItemLength:b,setAutocompleteSuggestion:v,setInputValue:h,setIsMenuDirectlyActivated:x,setShowMenu:m,setSelectedItemLength:y,showMenu:f}},t)};pn.displayName="Autocomplete";var bn=Object.assign(pn,{Input:nn,Menu:cn,Overlay:gn});const hn=g.img.attrs((e=>({height:e.size,width:e.size})))`
|
664
666
|
display: inline-block;
|
665
667
|
overflow: hidden; // Ensure page layout in Firefox should images fail to load
|
666
|
-
line-height: ${
|
668
|
+
line-height: ${zt("lineHeights.condensedUltra")};
|
667
669
|
vertical-align: middle;
|
668
670
|
border-radius: ${e=>function({size:e,square:t}){return t?e&&e<=24?"4px":"6px":"50%"}(e)};
|
669
671
|
${At};
|
670
672
|
${Zt}
|
671
|
-
`;
|
673
|
+
`;hn.defaultProps={size:20,alt:"",square:!1};var mn=hn;const vn=g(mn)`
|
672
674
|
position: absolute;
|
673
675
|
right: -15%;
|
674
676
|
bottom: -9%;
|
675
|
-
box-shadow: ${
|
676
|
-
`,
|
677
|
+
box-shadow: ${zt("shadows.avatar.childShadow")};
|
678
|
+
`,xn=({children:t,...r})=>{const o=e.Children.map(t,((t,r)=>e.isValidElement(t)?0===r?e.cloneElement(t,{size:40}):e.createElement(vn,Lt({bg:"canvas.default"},t.props,{size:20})):t));return e.createElement(Qt,Lt({position:"relative",display:"inline-flex"},r),o)};xn.displayName="AvatarPair",xn.displayName="AvatarPair";var yn=xn;const wn=g.span`
|
677
679
|
display: flex;
|
678
680
|
position: relative;
|
679
681
|
height: 20px;
|
@@ -683,7 +685,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
683
685
|
flex-shrink: 0;
|
684
686
|
height: 20px;
|
685
687
|
width: 20px;
|
686
|
-
box-shadow: 0 0 0 1px ${
|
688
|
+
box-shadow: 0 0 0 1px ${zt("colors.canvas.default")};
|
687
689
|
margin-left: -11px;
|
688
690
|
position: relative;
|
689
691
|
overflow: hidden;
|
@@ -748,7 +750,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
748
750
|
|
749
751
|
&:hover {
|
750
752
|
.pc-AvatarItem {
|
751
|
-
margin-right: ${
|
753
|
+
margin-right: ${zt("space.1")}!important;
|
752
754
|
margin-left: 0 !important;
|
753
755
|
|
754
756
|
&:first-child {
|
@@ -777,10 +779,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
777
779
|
width: auto;
|
778
780
|
|
779
781
|
.pc-AvatarItem {
|
780
|
-
margin-left: ${
|
782
|
+
margin-left: ${zt("space.1")};
|
781
783
|
opacity: 100%;
|
782
784
|
visibility: visible;
|
783
|
-
box-shadow: 0 0 0 4px ${
|
785
|
+
box-shadow: 0 0 0 4px ${zt("colors.canvas.default")};
|
784
786
|
&:first-child {
|
785
787
|
margin-left: 0;
|
786
788
|
}
|
@@ -788,25 +790,25 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
788
790
|
}
|
789
791
|
|
790
792
|
${Zt};
|
791
|
-
`,
|
793
|
+
`,Bn=({children:t,alignRight:r,sx:o})=>{const a=e.Children.count(t),n=Za({"pc-AvatarStack--two":2===a,"pc-AvatarStack--three-plus":a>2,"pc-AvatarStack--right":r});return e.createElement(wn,{count:a,className:n,sx:o},e.createElement(Qt,{position:"absolute",display:"flex",width:"38px",className:"pc-AvatarStackBody"},(t=>e.Children.map(t,((t,r)=>e.isValidElement(t)?e.cloneElement(t,{className:Za(t.props.className,"pc-AvatarItem"),sx:{zIndex:10-r,...t.props.sx}}):t)))(t)))};Bn.displayName="AvatarStack";var kn=Bn;var $n=g.a`
|
792
794
|
display: inline-block;
|
793
795
|
padding: 2px 6px;
|
794
|
-
font-size: ${
|
795
|
-
font-family: ${
|
796
|
-
color: ${
|
797
|
-
background-color: ${
|
798
|
-
border-radius: ${
|
796
|
+
font-size: ${zt("fontSizes.0")};
|
797
|
+
font-family: ${zt("fonts.mono")};
|
798
|
+
color: ${zt("colors.fg.muted")};
|
799
|
+
background-color: ${zt("colors.accent.subtle")};
|
800
|
+
border-radius: ${zt("radii.2")};
|
799
801
|
${At};
|
800
802
|
${Zt};
|
801
|
-
`;const
|
803
|
+
`;const Tn=g.li`
|
802
804
|
display: inline-block;
|
803
805
|
white-space: nowrap;
|
804
806
|
list-style: none;
|
805
807
|
&::after {
|
806
808
|
padding-right: 0.5em;
|
807
809
|
padding-left: 0.5em;
|
808
|
-
color: ${
|
809
|
-
font-size: ${
|
810
|
+
color: ${zt("colors.fg.muted")};
|
811
|
+
font-size: ${zt("fontSizes.1")};
|
810
812
|
content: '/';
|
811
813
|
}
|
812
814
|
&:first-child {
|
@@ -817,52 +819,54 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
817
819
|
content: none;
|
818
820
|
}
|
819
821
|
}
|
820
|
-
`,
|
822
|
+
`,Sn=g.nav`
|
821
823
|
display: flex;
|
822
824
|
justify-content: space-between;
|
823
825
|
${Zt};
|
824
|
-
`;function
|
825
|
-
color: ${
|
826
|
+
`;function En({className:t,children:r,sx:o}){const a=e.Children.map(r,(t=>e.createElement(Tn,null,t)));return e.createElement(Sn,{className:t,"aria-label":"Breadcrumbs",sx:o},e.createElement(Qt,{as:"ol",my:0,pl:0},a))}En.displayName="Breadcrumbs";const Cn=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Za(e.selected&&"selected",e.className),"aria-current":e.selected?"page":null})))`
|
827
|
+
color: ${zt("colors.accent.fg")};
|
826
828
|
display: inline-block;
|
827
|
-
font-size: ${
|
829
|
+
font-size: ${zt("fontSizes.1")};
|
828
830
|
text-decoration: none;
|
829
831
|
&:hover {
|
830
832
|
text-decoration: underline;
|
831
833
|
}
|
832
834
|
&.selected {
|
833
|
-
color: ${
|
835
|
+
color: ${zt("colors.fg.default")};
|
834
836
|
pointer-events: none;
|
835
837
|
}
|
836
838
|
${Zt};
|
837
|
-
`;
|
839
|
+
`;En.displayName="Breadcrumbs",Cn.displayName="Breadcrumbs.Item";var In=Object.assign(En,{Item:Cn});const zn=Object.assign(En,{Item:Cn}),An=(e="default",t)=>({default:{color:"btn.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}, ${null==t?void 0:t.shadows.btn.insetShadow}`,"&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.shadowActive}`},"&:disabled":{color:"primer.fg.disabled",backgroundColor:"btn.disabledBg"}},primary:{color:"btn.primary.text",backgroundColor:"btn.primary.bg",borderColor:"border.subtle",boxShadow:`${null==t?void 0:t.shadows.btn.primary.shadow}`,"&:hover:not([disabled])":{color:"btn.primary.hoverText",backgroundColor:"btn.primary.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.primary.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.primary.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.primary.selectedShadow}`},"&:disabled":{color:"btn.primary.disabledText",backgroundColor:"btn.primary.disabledBg"},'[data-component="ButtonCounter"]':{backgroundColor:"btn.primary.counterBg",color:"btn.primary.text"}},danger:{color:"btn.danger.text",backgroundColor:"btn.bg",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover:not([disabled])":{color:"btn.danger.hoverText",backgroundColor:"btn.danger.hoverBg",borderColor:"btn.danger.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.hoverCounterBg",color:"btn.danger.hoverText"}},"&:focus:not([disabled])":{borderColor:"btn.danger.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.danger.focusShadow}`},"&:active:not([disabled])":{color:"btn.danger.selectedText",backgroundColor:"btn.danger.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.danger.selectedShadow}`,borderColor:"btn.danger.selectedBorder"},"&:disabled":{color:"btn.danger.disabledText",backgroundColor:"btn.danger.disabledBg",borderColor:"btn.danger.disabledBorder",'[data-component="ButtonCounter"]':{backgroundColor:"btn.danger.disabledCounterBg"}},'[data-component="ButtonCounter"]':{color:"btn.danger.text",backgroundColor:"btn.danger.counterBg"}},invisible:{color:"accent.fg",backgroundColor:"transparent",border:"0",boxShadow:"none","&:hover:not([disabled])":{backgroundColor:"btn.hoverBg"},"&:focus:not([disabled])":{boxShadow:`${null==t?void 0:t.shadows.btn.focusShadow}`},"&:active:not([disabled])":{backgroundColor:"btn.selectedBg"},"&:disabled":{color:"primer.fg.disabled"}},outline:{color:"btn.outline.text",boxShadow:`${null==t?void 0:t.shadows.btn.shadow}`,"&:hover":{color:"btn.outline.hoverText",backgroundColor:"btn.outline.hoverBg",borderColor:"outline.hoverBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.hoverShadow}`,'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.hoverCounterBg",color:"btn.outline.hoverText"}},"&:focus":{borderColor:"btn.outline.focusBorder",boxShadow:`${null==t?void 0:t.shadows.btn.outline.focusShadow}`},"&:active:not([disabled])":{color:"btn.outline.selectedText",backgroundColor:"btn.outline.selectedBg",boxShadow:`${null==t?void 0:t.shadows.btn.outline.selectedShadow}`,borderColor:"btn.outline.selectedBorder"},"&:disabled":{color:"btn.outline.disabledText",backgroundColor:"btn.outline.disabledBg",borderColor:"btn.border",'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.disabledCounterBg"}},'[data-component="ButtonCounter"]':{backgroundColor:"btn.outline.counterBg",color:"btn.outline.text"}}}[e]),Nn=(e="medium",t="default",r)=>{let o,a,n;switch(e){case"small":o=3,a=12,n=0;break;case"large":o=9,a=20,n=2;break;case"medium":default:o=5,a=16,n=1}return r&&(a=o+2),"invisible"===t&&(o+=1),{paddingY:`${o}px`,paddingX:`${a}px`,fontSize:n,'[data-component="ButtonCounter"]':{fontSize:n}}},Ln=g.button(Zt),Rn=i((({children:t,sx:r={},...o},a)=>{const{icon:n,leadingIcon:i,trailingIcon:l,variant:d="default",size:s="medium"}=o,c=!!n,{theme:g}=Gt(),f={borderRadius:"2",border:"1px solid",borderColor:null==g?void 0:g.colors.btn.border,display:"grid",gridTemplateAreas:'"leadingIcon text trailingIcon"',fontWeight:"bold",lineHeight:"20px",whiteSpace:"nowrap",verticalAlign:"middle",cursor:"pointer",appearance:"none",userSelect:"none",textDecoration:"none",textAlign:"center","& > :not(:last-child)":{mr:"2"},"&:focus":{outline:"none"},"&:disabled":{cursor:"default"},"&:disabled svg":{opacity:"0.6"},'[data-component="leadingIcon"]':{gridArea:"leadingIcon"},'[data-component="text"]':{gridArea:"text"},'[data-component="trailingIcon"]':{gridArea:"trailingIcon"}},u={display:"inline-block"},p=Ut.all([f,Nn(s,d,c),An(d,g),r]);return e.createElement(Ln,Lt({sx:p,ref:a},o),i&&e.createElement(Qt,{as:"span","data-component":"leadingIcon",sx:u,"aria-hidden":!c},e.createElement(i,null)),e.createElement("span",{"data-component":"text",hidden:!!n},t),n&&e.createElement(Qt,{"data-component":"icon-only",as:"span",sx:{display:"inline-block"},"aria-hidden":!c},e.createElement(n,null)),l&&e.createElement(Qt,{as:"span","data-component":"trailingIcon",sx:{...u,ml:2},"aria-hidden":!c},e.createElement(l,null)))}));Rn.displayName="Button",Object.assign(Rn,{});var Fn=g.span`
|
838
840
|
display: inline-block;
|
839
841
|
padding: 2px 5px;
|
840
|
-
font-size: ${
|
841
|
-
font-weight: ${
|
842
|
-
line-height: ${
|
842
|
+
font-size: ${zt("fontSizes.0")};
|
843
|
+
font-weight: ${zt("fontWeights.bold")};
|
844
|
+
line-height: ${zt("lineHeights.condensedUltra")};
|
843
845
|
border-radius: 20px;
|
844
|
-
${({scheme:e,...t})=>({color:"secondary"===e?
|
845
|
-
${({scheme:e,...t})=>({backgroundColor:"secondary"===e?
|
846
|
+
${({scheme:e,...t})=>({color:"secondary"===e?zt("colors.fg.default")(t):"primary"===e?zt("colors.fg.onEmphasis")(t):zt("colors.fg.default")(t)})};
|
847
|
+
${({scheme:e,...t})=>({backgroundColor:"secondary"===e?zt("colors.neutral.muted")(t):"primary"===e?zt("colors.neutral.emphasis")(t):zt("colors.neutral.muted")(t)})};
|
846
848
|
|
847
849
|
&:empty {
|
848
850
|
display: none;
|
849
851
|
}
|
850
852
|
|
851
853
|
${Zt};
|
852
|
-
`;const
|
854
|
+
`;const Dn=({children:t,sx:r={},...o})=>e.createElement(Fn,Lt({"data-component":"ButtonCounter",sx:{ml:2,...r}},o),t);Dn.displayName="Counter";const Mn=Object.assign(Rn,{Counter:Dn}),On={top:"Bottom",right:"Left",bottom:"Top",left:"Right"},Pn={top:"Left",right:"Top",bottom:"Left",left:"Top"};function Hn(e,t,r){const o=On[e].toLowerCase(),a=Pn[e].toLowerCase();return{[o]:"100%",[t||a]:t?r:"50%"}}const Wn=Tt({prop:"bg",key:"colors"}),jn=Tt({prop:"borderColor",key:"colors"}),_n=Tt({prop:"borderWidth",key:"borderWidths",scale:[0,1]});function Vn(t){var r;const o=e.useContext(b),a={...t,theme:null!==(r=t.theme)&&void 0!==r?r:o},{bg:n}=Wn(a),{borderColor:i}=jn(a),{borderWidth:l}=_n(a),{size:d=8,location:s="bottom"}=t,[c,g]=function(e){const[t,r]=e.split("-");return[t,r]}(s),f=Pn[c],u=[-d,0],p=[0,d],h=[d,0],m=`M${u}L${p}L${h}L${u}Z`,v=`M${u}L${p}L${h}`,x={top:`translate(${[d,2*d]}) rotate(180)`,right:`translate(${[0,d]}) rotate(-90)`,bottom:`translate(${[d,0]})`,left:`translate(${[2*d,d]}) rotate(90)`}[c];return e.createElement("svg",{width:2*d,height:2*d,style:{pointerEvents:"none",position:"absolute",...Hn(c,g,d),[`margin${f}`]:g?null:-d}},e.createElement("g",{transform:x},e.createElement("path",{d:m,fill:n}),e.createElement("path",{d:v,fill:"none",stroke:i,strokeWidth:l})))}Vn.displayName="Caret",Vn.locations=["top","top-left","top-right","right","right-top","right-bottom","bottom","bottom-left","bottom-right","left","left-top","left-bottom"],Vn.defaultProps={bg:"canvas.default",borderColor:"border.default",borderWidth:1};const Un={small:56,medium:96,large:128},qn=g.div`
|
853
855
|
display: ${e=>e.inline?"inline-flex":"flex"};
|
854
856
|
align-items: center;
|
855
857
|
justify-content: center;
|
856
|
-
background-color: ${
|
858
|
+
background-color: ${zt("colors.canvas.default")};
|
857
859
|
border-radius: 50%;
|
858
|
-
box-shadow: ${
|
859
|
-
${({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:
|
860
|
+
box-shadow: ${zt("shadows.shadow.medium")};
|
861
|
+
${({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:Un[t];return{width:r,height:r}}};
|
860
862
|
${Zt};
|
861
|
-
`,
|
863
|
+
`,Kn=g(Lo)`
|
862
864
|
height: auto;
|
863
865
|
max-width: 60%;
|
864
866
|
max-height: 55%;
|
865
|
-
`;
|
867
|
+
`;qn.defaultProps={inline:!1},Kn.displayName="CircleBadge.Icon";var Gn=Object.assign(qn,{Icon:Kn});function Xn(t){const{size:r,as:o}=t,{icon:a,bg:n,...i}=t;return e.createElement(Qt,{as:o,bg:n,overflow:"hidden",borderWidth:0,size:r,borderRadius:"50%",borderStyle:"solid",borderColor:"border.default"},e.createElement(Qt,Lt({display:"flex"},i,{alignItems:"center",justifyContent:"center"}),e.createElement(a,{size:r})))}Xn.displayName="CircleOcticon",Xn.defaultProps={...Qt.defaultProps,size:32};const Yn={success:ro,error:eo},Jn={success:"success.fg",error:"danger.fg"},Zn=({children:t,id:r,validationStatus:o})=>{const a=o?Yn[o]:void 0,n=o?Jn[o]:void 0;return e.createElement(Ci,{display:"flex",color:n,fontSize:0,sx:{alignItems:"baseline",a:{color:"currentColor",textDecoration:"underline"}}},a&&e.createElement(Qt,{as:"span",mr:1},e.createElement(a,{size:12,fill:"currentColor"})),e.createElement("span",{id:r},t))};Zn.displayName="InputValidation";var Qn=Zn;const ei=({children:t,disabled:r,id:o})=>e.createElement(Ci,{color:r?"fg.subtle":"fg.muted",fontSize:0,id:o},t);ei.displayName="InputCaption";var ti=ei;var ri=t=>{const r=e.createContext({registerSlot:()=>null,unregisterSlot:()=>null,context:{}});return{Slots:({context:o={},children:a})=>{const n={};t.map((e=>n[e]=null));const i=e.useRef(n),l=(()=>{const[,t]=e.useState({});return e.useCallback((()=>t({})),[])})(),[d,s]=e.useState(!1);e.useEffect((()=>{l(),s(!0)}),[l]);const c=e.useCallback(((e,t)=>{i.current[e]=t,d&&l()}),[d,l]),g=e.useCallback((e=>{i.current[e]=null,l()}),[l]),f=i.current;return e.createElement(r.Provider,{value:{registerSlot:c,unregisterSlot:g,context:o}},a(f))},Slot:({name:t,children:o})=>{const{registerSlot:a,unregisterSlot:n,context:i}=e.useContext(r);return e.useEffect((()=>(a(t,"function"==typeof o?o(i):o),()=>n(t))),[t,o,a,n,i]),null}}};const{Slots:oi,Slot:ai}=ri(["Caption","Input","Label","LeadingVisual"]),ni=({children:t})=>e.createElement(ai,{name:"Caption"},(({captionId:r,disabled:o})=>e.createElement(ti,{id:r,disabled:o},t)));ni.displayName="InputFieldCaption";var ii=ni;const li=({children:t,disabled:r,required:o,visuallyHidden:a,htmlFor:n})=>e.createElement(sn,{isVisible:!a,as:"label",htmlFor:n,title:o?"required field":void 0,sx:{fontWeight:"bold",fontSize:1,display:"block",color:r?"fg.muted":"fg.default"}},o?e.createElement(Qt,{display:"flex",as:"span"},e.createElement(Qt,{mr:1},t),e.createElement("span",null,"*")):t);li.displayName="InputLabel";var di=li;const si=({children:t,visuallyHidden:r})=>e.createElement(ai,{name:"Label"},(({disabled:o,id:a,required:n})=>e.createElement(di,{htmlFor:a,visuallyHidden:r,required:n,disabled:o},t)));si.displayName="InputFieldLabel";var ci=si;var gi=({children:t})=>e.createElement(e.Fragment,null,t);const fi=h(["0%{opacity:0;transform:translateY(-100%);}100%{opacity:1;transform:translateY(0);}"]),ui=g.div`
|
868
|
+
animation: ${e=>e.show&&p(["170ms "," cubic-bezier(0.44,0.74,0.36,1);"],fi)};
|
869
|
+
`;var pi=({show:r,children:o})=>{const[n,i]=t(r);a((()=>{r&&i(!0)}),[r]);return n?e.createElement(Qt,{height:r?"auto":0,overflow:"hidden"},e.createElement(ui,{show:r,onAnimationEnd:()=>{r||i(!1)}},o)):null};const bi=({children:t,disabled:r,id:o,required:a,validationMap:n,validationResult:i})=>{var l,d;const s=o||Rr(),c=null===(l=e.Children.map(t,(t=>e.isValidElement(t)&&t.type===gi?t:null)))||void 0===l?void 0:l.filter(Boolean),g=null===(d=e.Children.map(t,(t=>e.isValidElement(t)&&t.type===ii?t:null)))||void 0===d?void 0:d.filter(Boolean),f=null==c?void 0:c.find((e=>e.props.validationKey===i)),u=f?`${s}-validationMsg`:void 0,p=null!=g&&g.length?`${s}-caption`:void 0;return e.createElement(oi,{context:{captionId:p,disabled:r,id:s,required:a,validationMessageId:u}},(r=>{const o=e.isValidElement(r.Label)&&r.Label.props.visuallyHidden;return r.Input&&!r.Label&&console.error(`The input field with the id ${s} MUST have a Label child (e.g.: <TextInputField.Label>).\n\nIf you want to hide the label, pass the 'visuallyHidden' prop to the Label component.`),e.createElement(Qt,{display:"flex",flexDirection:"column",width:"100%",sx:o?{"> *:not(label) + *":{marginTop:2}}:{"> * + *":{marginTop:2}}},e.Children.toArray(t).filter((t=>e.isValidElement(t)&&t.type!==gi)),r.Label,r.Input,f&&n&&i&&u&&e.createElement(pi,{show:!0},e.createElement(Qn,{validationStatus:n[i],id:u},f)),r.Caption)}))};bi.displayName="InputField";var hi=Object.assign(bi,{Caption:ii,Label:ci,Validation:gi});const mi=({children:t})=>e.createElement(ai,{name:"LeadingVisual"},t);mi.displayName="ToggleInputLeadingVisual";var vi=mi;const xi=({children:t,disabled:r,id:o,validationStatus:a})=>{const n=o||Rr();return e.createElement(oi,{context:{captionId:`${o}-caption`,disabled:r,id:n,validationStatus:a}},(o=>e.createElement(Qt,{display:"flex",alignItems:o.LeadingVisual?"center":void 0},t,e.createElement(Qt,{sx:{"> input":{marginLeft:0,marginRight:0}}},o.Input),o.LeadingVisual&&e.createElement(Qt,{color:r?"fg.muted":"fg.default",sx:{"> *":{minWidth:o.Caption?zt("fontSizes.4"):zt("fontSizes.2"),minHeight:o.Caption?zt("fontSizes.4"):zt("fontSizes.2"),fill:"currentColor"}},ml:2},o.LeadingVisual),e.isValidElement(o.Label)&&!o.Label.props.visuallyHidden||o.Caption?e.createElement(Qt,{display:"flex",flexDirection:"column",ml:2},o.Label,o.Caption):e.createElement(e.Fragment,null,o.Label,o.Caption))))};xi.displayName="ToggleInputField";var yi=Object.assign(xi,{LeadingVisual:vi});const wi=({id:t,required:r,disabled:o,...a})=>(t&&console.warn("instead of passing the 'id' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),o&&console.warn("instead of passing the 'disabled' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),r&&console.warn("instead of passing the 'required' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),e.createElement(ai,{name:"Input"},(({disabled:t,id:r,required:o,captionId:n})=>e.createElement(rc,Lt({"aria-describedby":n,id:r,required:o,disabled:t},a)))));wi.displayName="Input";const Bi=t=>e.createElement(yi,t);Bi.displayName="CheckboxInputField";var ki=Object.assign(Bi,{Input:wi,Caption:hi.Caption,Label:hi.Label,LeadingVisual:vi});const $i=g.details`
|
866
870
|
& > summary {
|
867
871
|
list-style: none;
|
868
872
|
}
|
@@ -872,13 +876,13 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
872
876
|
|
873
877
|
${At}
|
874
878
|
${Zt};
|
875
|
-
|
879
|
+
`;$i.displayName="Details";var Ti=$i;const Si=()=>null;function Ei(e){const t=e;return t.tabIndex>=0&&!t.disabled&&function(e){return!e.hidden&&(!e.type||"hidden"!==e.type)&&(e.offsetWidth>0||e.offsetHeight>0)}(t)}var Ci=g.span`
|
876
880
|
${Nt};
|
877
881
|
${At};
|
878
882
|
${Zt};
|
879
|
-
`;const
|
880
|
-
box-shadow: ${
|
881
|
-
border-radius: ${
|
883
|
+
`;const Ii=()=>null,zi=g.div`
|
884
|
+
box-shadow: ${zt("shadows.shadow.large")};
|
885
|
+
border-radius: ${zt("radii.2")};
|
882
886
|
position: fixed;
|
883
887
|
top: 0;
|
884
888
|
left: 50%;
|
@@ -886,7 +890,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
886
890
|
max-height: 80vh;
|
887
891
|
z-index: 999;
|
888
892
|
margin: 10vh auto;
|
889
|
-
background-color: ${
|
893
|
+
background-color: ${zt("colors.canvas.default")};
|
890
894
|
width: ${e=>e.narrow?"320px":e.wide?"640px":"440px"};
|
891
895
|
outline: none;
|
892
896
|
|
@@ -898,9 +902,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
898
902
|
}
|
899
903
|
|
900
904
|
${Zt};
|
901
|
-
`,
|
902
|
-
border-radius: ${
|
903
|
-
border-bottom: 1px solid ${
|
905
|
+
`,Ai=g(Qt)`
|
906
|
+
border-radius: ${zt("radii.2")} ${zt("radii.2")} 0px 0px;
|
907
|
+
border-bottom: 1px solid ${zt("colors.border.default")};
|
904
908
|
display: flex;
|
905
909
|
|
906
910
|
@media screen and (max-width: 750px) {
|
@@ -908,7 +912,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
908
912
|
}
|
909
913
|
|
910
914
|
${Zt};
|
911
|
-
`;function
|
915
|
+
`;function Ni({theme:t,children:r,backgroundColor:o="gray.1",...a}){return e.Children.toArray(r).every((e=>"string"==typeof e))&&(r=e.createElement(Ci,{theme:t,color:"fg.default",fontSize:1,fontWeight:"bold",fontFamily:"sans-serif"},r)),e.createElement(Ai,Lt({theme:t,p:3,backgroundColor:o},a),r)}Ni.displayName="DialogHeader";const Li=g.span`
|
912
916
|
&:before {
|
913
917
|
position: fixed;
|
914
918
|
top: 0;
|
@@ -920,12 +924,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
920
924
|
content: ' ';
|
921
925
|
background: transparent;
|
922
926
|
z-index: 99;
|
923
|
-
background: ${
|
927
|
+
background: ${zt("colors.primer.canvas.backdrop")};
|
924
928
|
}
|
925
|
-
`,
|
929
|
+
`,Ri=i((({children:t,onDismiss:n=Ii,isOpen:i,initialFocusRef:l,returnFocusRef:d,...s},c)=>{const g=r(null),f=Oo(c),u=r(null),p=()=>{n(),d&&d.current&&d.current.focus()},{getDialogProps:b}=function({modalRef:e,overlayRef:t,isOpen:r,onDismiss:n=Si,initialFocusRef:i,closeButtonRef:l}){const d=o((r=>{e.current&&t.current&&!e.current.contains(r.target)&&t.current.contains(r.target)&&n()}),[n,e,t]);a((()=>{if(r)return document.addEventListener("click",d),()=>{document.removeEventListener("click",d)}}),[r,d]),a((()=>{r&&(i&&i.current?i.current.focus():l&&l.current&&l.current.focus())}),[r,i,l]);const s=o(((t,r)=>{if(e.current){const o=Array.from(e.current.querySelectorAll("*")).filter(Ei);if(0===o.length)return;t.preventDefault();const a=document.activeElement;if(!a)return;const n=o.indexOf(a)+r,i=1===r?0:o.length-1;return o[n]||o[i]}}),[e]),c=o((e=>{const t=e.shiftKey?-1:1,r=s(e,t);r&&r.focus()}),[s]),g=o((e=>{switch(e.key){case"Tab":c(e);break;case"Escape":n(),e.stopPropagation()}}),[c,n]);return{getDialogProps:()=>({onKeyDown:g})}}({modalRef:f,onDismiss:p,isOpen:i,initialFocusRef:l,closeButtonRef:u,returnFocusRef:d,overlayRef:g});return i?e.createElement(e.Fragment,null,e.createElement(Li,{ref:g}),e.createElement(zi,Lt({tabIndex:-1,ref:f,role:"dialog","aria-modal":"true"},s,b()),e.createElement(po,{ref:u,onClick:p,sx:{position:"absolute",top:"16px",right:"16px"}}),t)):null}));Ni.defaultProps={backgroundColor:"canvas.subtle"},Ni.propTypes={...Qt.propTypes},Ni.displayName="Dialog.Header",Ri.displayName="Dialog";var Fi=Object.assign(Ri,{Header:Ni});var Di=(e,t)=>({w:`\n top: 0;\n right: 100%;\n left: auto;\n width: auto;\n margin-top: 0;\n margin-right: 10px;\n\n &::before {\n top: 10px;\n right: -16px;\n left: auto;\n border-color: transparent;\n border-left-color: ${zt("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n right: -14px;\n left: auto;\n border-color: transparent;\n border-left-color: ${zt("colors.border.default")(e)};\n }\n `,e:`\n top: 0;\n left: 100%;\n width: auto;\n margin-top: 0;\n margin-left: 10px;\n\n &::before {\n top: 10px;\n left: -16px;\n border-color: transparent;\n border-right-color: ${zt("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n left: -14px;\n border-color: transparent;\n border-right-color: ${zt("colors.border.default")(e)};\n }\n `,ne:`\n top: auto;\n bottom: 100%;\n left: 0;\n margin-bottom: 3px;\n\n &::before,\n &::after {\n top: auto;\n right: auto;\n }\n\n &::before {\n bottom: -8px;\n left: 9px;\n border-top: 8px solid ${zt("colors.border.default")(e)};\n border-bottom: 0;\n border-left: 8px solid transparent;\n }\n\n &::after {\n bottom: -7px;\n left: 10px;\n border-top: 7px solid ${zt("colors.border.default")(e)};\n border-right: 7px solid transparent;\n border-bottom: 0;\n border-left: 7px solid transparent;\n }\n `,s:"\n right: 50%;\n left: auto;\n transform: translateX(50%);\n\n &::before {\n top: -16px;\n right: 50%;\n transform: translateX(50%);\n }\n\n &::after {\n top: -14px;\n right: 50%;\n transform: translateX(50%);\n }\n ",sw:"\n right: 0;\n left: auto;\n\n &::before {\n top: -16px;\n right: 9px;\n left: auto;\n }\n\n &::after {\n top: -14px;\n right: 10px;\n left: auto;\n }\n ",se:"\n &::before {\n top: -16px;\n left: 9px;\n }\n\n &::after {\n top: -14px;\n left: 10px;\n }\n "}[t]);const Mi=g(Ti)`
|
926
930
|
position: relative;
|
927
931
|
display: inline-block;
|
928
|
-
`,
|
932
|
+
`,Oi=({children:t,className:r,...o})=>{const{getDetailsProps:a}=fr({closeOnOutsideClick:!0});return e.createElement(Mi,Lt({className:r},a(),o),t)};Oi.displayName="Dropdown";const Pi=({children:t,...r})=>e.createElement(_r,Lt({as:"summary","aria-haspopup":"true"},r),t,e.createElement(Hi,null));Pi.displayName="DropdownButton";const Hi=g.div`
|
929
933
|
border: 4px solid transparent;
|
930
934
|
margin-left: 12px;
|
931
935
|
border-top-color: currentcolor;
|
@@ -936,12 +940,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
936
940
|
vertical-align: middle;
|
937
941
|
width: 0;
|
938
942
|
${Zt};
|
939
|
-
`,
|
943
|
+
`,Wi=g.ul`
|
940
944
|
background-clip: padding-box;
|
941
|
-
background-color: ${
|
942
|
-
border: 1px solid ${
|
943
|
-
border-radius: ${
|
944
|
-
box-shadow: ${
|
945
|
+
background-color: ${zt("colors.canvas.overlay")};
|
946
|
+
border: 1px solid ${zt("colors.border.default")};
|
947
|
+
border-radius: ${zt("radii.2")};
|
948
|
+
box-shadow: ${zt("shadows.shadow.large")};
|
945
949
|
left: 0;
|
946
950
|
list-style: none;
|
947
951
|
margin-top: 2px;
|
@@ -965,109 +969,109 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
965
969
|
|
966
970
|
&::before {
|
967
971
|
border: 8px solid transparent;
|
968
|
-
border-bottom-color: ${
|
972
|
+
border-bottom-color: ${zt("colors.canvas.overlay")};
|
969
973
|
}
|
970
974
|
|
971
975
|
&::after {
|
972
976
|
border: 7px solid transparent;
|
973
|
-
border-bottom-color: ${
|
977
|
+
border-bottom-color: ${zt("colors.canvas.overlay")};
|
974
978
|
}
|
975
979
|
|
976
980
|
// stylelint-disable-next-line selector-max-type
|
977
981
|
> ul {
|
978
982
|
list-style: none;
|
979
983
|
}
|
980
|
-
${e=>e.direction?
|
984
|
+
${e=>e.direction?Di(e.theme,e.direction):""};
|
981
985
|
${Zt};
|
982
|
-
`,
|
986
|
+
`,ji=g.li`
|
983
987
|
display: block;
|
984
|
-
padding: ${
|
988
|
+
padding: ${zt("space.1")} 10px ${zt("space.1")} 15px;
|
985
989
|
overflow: hidden;
|
986
|
-
color: ${
|
990
|
+
color: ${zt("colors.fg.default")};
|
987
991
|
text-overflow: ellipsis;
|
988
992
|
white-space: nowrap;
|
989
993
|
a {
|
990
|
-
color: ${
|
994
|
+
color: ${zt("colors.fg.default")};
|
991
995
|
text-decoration: none;
|
992
996
|
display: block;
|
993
997
|
overflow: hidden;
|
994
|
-
color: ${
|
998
|
+
color: ${zt("colors.fg.default")};
|
995
999
|
text-overflow: ellipsis;
|
996
1000
|
white-space: nowrap;
|
997
1001
|
}
|
998
1002
|
|
999
1003
|
&:focus,
|
1000
1004
|
a:focus {
|
1001
|
-
color: ${
|
1005
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1002
1006
|
text-decoration: none;
|
1003
|
-
background-color: ${
|
1007
|
+
background-color: ${zt("colors.accent.emphasis")};
|
1004
1008
|
}
|
1005
1009
|
|
1006
1010
|
&:hover,
|
1007
1011
|
&:hover a {
|
1008
|
-
color: ${
|
1012
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1009
1013
|
text-decoration: none;
|
1010
|
-
background-color: ${
|
1014
|
+
background-color: ${zt("colors.accent.emphasis")};
|
1011
1015
|
outline: none;
|
1012
1016
|
}
|
1013
1017
|
${Zt};
|
1014
|
-
`;
|
1018
|
+
`;Wi.defaultProps={direction:"sw"},Wi.displayName="Dropdown.Menu",ji.displayName="Dropdown.Item",Pi.defaultProps=_r.defaultProps,Pi.displayName="Dropdown.Button",Hi.displayName="Dropdown.Caret",Oi.defaultProps=Ti.defaultProps;var _i=Object.assign(Oi,{Caret:Hi,Menu:Wi,Item:ji,Button:Pi});const Vi=e.forwardRef((({children:t,...r},o)=>e.createElement(_r,Lt({ref:o,type:"button"},r),t,e.createElement(Lo,{icon:go,sx:{ml:1}}))));function Ui({renderAnchor:t=(t=>e.createElement(Vi,t)),anchorRef:r,placeholder:a,selectedItem:i,onChange:l,overlayProps:d,items:s,open:c,onOpenChange:g,...f}){const[u,p]=Ua(c,g,!1),b=o((()=>p(!0)),[p]),h=o((()=>p(!1)),[p]),m=Tr(r),v=n((()=>null===t?null:e=>{var r;return t({...e,children:null!==(r=null==i?void 0:i.text)&&void 0!==r?r:a})}),[a,t,null==i?void 0:i.text]),x=n((()=>s.map((e=>({...e,role:"option",selected:e===i,onAction:(t,r)=>{var o;null===(o=e.onAction)||void 0===o||o.call(e,t,r),r.defaultPrevented||(h(),null==l||l(e===i?void 0:e))}})))),[s,l,h,i]);return e.createElement(Va,{renderAnchor:v,anchorRef:m,open:u,onOpen:b,onClose:h,overlayProps:d},e.createElement(Ma,Lt({},f,{role:"listbox",items:x})))}Ui.displayName="DropdownMenu",Ui.displayName="DropdownMenu";var qi=g.div`
|
1015
1019
|
display: flex;
|
1016
1020
|
align-items: stretch;
|
1017
1021
|
|
1018
1022
|
summary {
|
1019
1023
|
border-radius: 0;
|
1020
|
-
border-top-left-radius: ${
|
1021
|
-
border-bottom-left-radius: ${
|
1024
|
+
border-top-left-radius: ${zt("radii.2")};
|
1025
|
+
border-bottom-left-radius: ${zt("radii.2")};
|
1022
1026
|
border-right: 0;
|
1023
1027
|
}
|
1024
1028
|
.TextInput-wrapper {
|
1025
1029
|
border-radius: 0;
|
1026
|
-
border-top-right-radius: ${
|
1027
|
-
border-bottom-right-radius: ${
|
1030
|
+
border-top-right-radius: ${zt("radii.2")};
|
1031
|
+
border-bottom-right-radius: ${zt("radii.2")};
|
1028
1032
|
z-index: 1; // Allows the focus outline to show on top of the dropdown.
|
1029
1033
|
}
|
1030
1034
|
|
1031
1035
|
${Zt}
|
1032
|
-
`;const
|
1036
|
+
`;const Ki=g.ul`
|
1033
1037
|
list-style-type: none;
|
1034
1038
|
margin: 0;
|
1035
1039
|
padding: 0;
|
1036
1040
|
${Zt};
|
1037
|
-
`,
|
1041
|
+
`,Gi=({children:t,...r})=>{const o=e.Children.map(t,(t=>e.createElement("li",null,t)));return e.createElement(Ki,r,o)};Gi.displayName="FilterList";const Xi=g.a`
|
1038
1042
|
position: relative;
|
1039
1043
|
display: block;
|
1040
|
-
padding: ${e=>e.small?`${
|
1044
|
+
padding: ${e=>e.small?`${zt("space.1")(e)} 10px`:`${zt("space.2")(e)} 11px`};
|
1041
1045
|
margin: ${e=>e.small?"0 0 2px":"0 0 5px 0"};
|
1042
1046
|
overflow: hidden;
|
1043
|
-
font-size: ${
|
1044
|
-
color: ${e=>e.selected?
|
1045
|
-
background-color: ${e=>e.selected?
|
1047
|
+
font-size: ${zt("fontSizes.1")};
|
1048
|
+
color: ${e=>e.selected?zt("colors.fg.onEmphasis"):zt("colors.fg.muted")};
|
1049
|
+
background-color: ${e=>e.selected?zt("colors.accent.emphasis"):""}!important;
|
1046
1050
|
text-decoration: none;
|
1047
1051
|
text-overflow: ellipsis;
|
1048
1052
|
white-space: nowrap;
|
1049
1053
|
cursor: pointer;
|
1050
|
-
border-radius: ${
|
1054
|
+
border-radius: ${zt("radii.1")};
|
1051
1055
|
&:hover {
|
1052
1056
|
text-decoration: none;
|
1053
|
-
background-color: ${
|
1057
|
+
background-color: ${zt("colors.canvas.subtle")};
|
1054
1058
|
}
|
1055
1059
|
&:active {
|
1056
|
-
color: ${
|
1057
|
-
background-color: ${
|
1060
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1061
|
+
background-color: ${zt("colors.accent.emphasis")};
|
1058
1062
|
}
|
1059
1063
|
.count {
|
1060
1064
|
float: right;
|
1061
|
-
font-weight: ${
|
1065
|
+
font-weight: ${zt("fontWeights.bold")};
|
1062
1066
|
}
|
1063
1067
|
${Zt};
|
1064
|
-
`;function
|
1068
|
+
`;function Yi({children:t,count:r,...o}){return e.createElement(Xi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}Yi.displayName="FilterListItem",Yi.displayName="FilterList.Item";var Ji=Object.assign(Gi,{Item:Yi});const Zi=ue({variants:{default:{color:"fg.default",backgroundColor:"accent.subtle",borderColor:"accent.muted",svg:{color:"accent.fg"}},success:{color:"fg.default",backgroundColor:"success.subtle",borderColor:"success.muted",svg:{color:"success.fg"}},danger:{color:"fg.default",backgroundColor:"danger.subtle",borderColor:"danger.muted",svg:{color:"danger.fg"}},warning:{color:"fg.default",backgroundColor:"attention.subtle",borderColor:"attention.muted",svg:{color:"attention.fg"}}}}),Qi=g.div`
|
1065
1069
|
position: relative;
|
1066
|
-
color: ${
|
1067
|
-
padding: ${
|
1070
|
+
color: ${zt("colors.fg.default")};
|
1071
|
+
padding: ${zt("space.3")};
|
1068
1072
|
border-style: solid;
|
1069
1073
|
border-width: ${e=>e.full?"1px 0px":"1px"};
|
1070
|
-
border-radius: ${e=>e.full?"0":
|
1074
|
+
border-radius: ${e=>e.full?"0":zt("radii.2")};
|
1071
1075
|
margin-top: ${e=>e.full?"-1px":"0"};
|
1072
1076
|
|
1073
1077
|
p:last-child {
|
@@ -1075,36 +1079,36 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1075
1079
|
}
|
1076
1080
|
|
1077
1081
|
svg {
|
1078
|
-
margin-right: ${
|
1082
|
+
margin-right: ${zt("space.2")};
|
1079
1083
|
}
|
1080
1084
|
|
1081
|
-
${
|
1085
|
+
${Zi};
|
1082
1086
|
${Zt};
|
1083
|
-
`;
|
1084
|
-
margin: ${
|
1085
|
-
font-weight: ${
|
1087
|
+
`;Qi.defaultProps={variant:"default"};var el=Qi;const tl=g.div`
|
1088
|
+
margin: ${zt("space.3")} 0;
|
1089
|
+
font-weight: ${zt("fontWeights.normal")};
|
1086
1090
|
${Zt};
|
1087
|
-
|
1091
|
+
`,rl=g.label`
|
1088
1092
|
display: block;
|
1089
|
-
margin: 0 0 ${
|
1090
|
-
font-size: ${
|
1091
|
-
font-weight: ${
|
1093
|
+
margin: 0 0 ${zt("space.2")};
|
1094
|
+
font-size: ${zt("fontSizes.1")};
|
1095
|
+
font-weight: ${zt("fontWeights.bold")};
|
1092
1096
|
${Zt};
|
1093
|
-
|
1097
|
+
`;rl.displayName="FormGroup.Label";var ol=Object.assign(tl,{Label:rl});const al=g.div`
|
1094
1098
|
z-index: 32;
|
1095
1099
|
display: flex;
|
1096
|
-
padding: ${
|
1097
|
-
font-size: ${
|
1098
|
-
line-height: ${
|
1099
|
-
color: ${
|
1100
|
-
background-color: ${
|
1100
|
+
padding: ${zt("space.3")};
|
1101
|
+
font-size: ${zt("fontSizes.1")};
|
1102
|
+
line-height: ${zt("lineHeights.default")};
|
1103
|
+
color: ${zt("colors.header.text")};
|
1104
|
+
background-color: ${zt("colors.header.bg")};
|
1101
1105
|
align-items: center;
|
1102
1106
|
flex-wrap: nowrap;
|
1103
1107
|
|
1104
1108
|
${Zt};
|
1105
|
-
`,
|
1109
|
+
`,nl=g.div`
|
1106
1110
|
display: flex;
|
1107
|
-
margin-right: ${
|
1111
|
+
margin-right: ${zt("space.3")};
|
1108
1112
|
align-self: stretch;
|
1109
1113
|
align-items: center;
|
1110
1114
|
flex-wrap: nowrap;
|
@@ -1112,9 +1116,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1112
1116
|
${({full:e})=>e&&p(["flex:auto;"])};
|
1113
1117
|
|
1114
1118
|
${Zt};
|
1115
|
-
`;
|
1116
|
-
font-weight: ${
|
1117
|
-
color: ${
|
1119
|
+
`;nl.displayName="Header.Item";const il=g.a.attrs((({to:e})=>"string"==typeof e?{"aria-current":"page"}:{}))`
|
1120
|
+
font-weight: ${zt("fontWeights.bold")};
|
1121
|
+
color: ${zt("colors.header.logo")};
|
1118
1122
|
white-space: nowrap;
|
1119
1123
|
cursor: pointer;
|
1120
1124
|
text-decoration: none;
|
@@ -1123,46 +1127,46 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1123
1127
|
|
1124
1128
|
&:hover,
|
1125
1129
|
&:focus {
|
1126
|
-
color: ${
|
1130
|
+
color: ${zt("colors.header.text")};
|
1127
1131
|
}
|
1128
1132
|
|
1129
1133
|
${Zt};
|
1130
|
-
`;
|
1131
|
-
font-weight: ${
|
1132
|
-
font-size: ${
|
1134
|
+
`;il.displayName="Header.Link";var ll=Object.assign(al,{Link:il,Item:nl});const dl=g.h2`
|
1135
|
+
font-weight: ${zt("fontWeights.bold")};
|
1136
|
+
font-size: ${zt("fontSizes.5")};
|
1133
1137
|
margin: 0;
|
1134
1138
|
${Nt};
|
1135
1139
|
${At};
|
1136
1140
|
${Zt};
|
1137
|
-
`;
|
1141
|
+
`;dl.defaultProps={theme:x};var sl=dl;var cl=g.span`
|
1138
1142
|
& * {
|
1139
|
-
margin-right: ${
|
1143
|
+
margin-right: ${zt("space.1")};
|
1140
1144
|
}
|
1141
1145
|
& *:last-child {
|
1142
1146
|
margin-right: 0;
|
1143
1147
|
}
|
1144
1148
|
${Zt};
|
1145
|
-
`;const
|
1149
|
+
`;const gl=p(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],zt("colors.fg.muted"),zt("borderWidths.1"),zt("colors.border.default"),ct),fl=ue({variants:{small:{fontSize:0,lineHeight:"16px",padding:"0px 8px"},medium:{fontSize:0,lineHeight:"20px",padding:"0 8px"},large:{fontSize:0,lineHeight:"24px",padding:"0 12px"},xl:{fontSize:1,lineHeight:"16px",padding:"8px 12px"}}}),ul=g.span`
|
1146
1150
|
display: inline-block;
|
1147
|
-
font-weight: ${
|
1148
|
-
color: ${
|
1149
|
-
border-radius: ${
|
1150
|
-
background-color: ${
|
1151
|
+
font-weight: ${zt("fontWeights.semibold")};
|
1152
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1153
|
+
border-radius: ${zt("radii.3")};
|
1154
|
+
background-color: ${zt("colors.neutral.emphasis")};
|
1151
1155
|
|
1152
1156
|
&:hover {
|
1153
1157
|
text-decoration: none;
|
1154
1158
|
}
|
1155
1159
|
|
1156
|
-
${
|
1160
|
+
${fl}
|
1157
1161
|
${e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""}
|
1158
|
-
${e=>e.outline?
|
1162
|
+
${e=>e.outline?gl:""} // must be last to override other values
|
1159
1163
|
${Zt}
|
1160
|
-
`;
|
1161
|
-
color: ${e=>e.muted?
|
1164
|
+
`;ul.defaultProps={variant:"medium"};var pl=ul;const bl=R({hoverColor:{property:"color",scale:"colors"}});var hl=g.a`
|
1165
|
+
color: ${e=>e.muted?zt("colors.fg.muted")(e):zt("colors.accent.fg")(e)};
|
1162
1166
|
text-decoration: ${e=>e.underline?"underline":"none"};
|
1163
1167
|
&:hover {
|
1164
1168
|
text-decoration: ${e=>e.muted?"none":"underline"};
|
1165
|
-
${e=>e.hoverColor?
|
1169
|
+
${e=>e.hoverColor?bl:e.muted?`color: ${zt("colors.accent.fg")(e)}`:""};
|
1166
1170
|
}
|
1167
1171
|
&:is(button) {
|
1168
1172
|
display: inline-block;
|
@@ -1176,20 +1180,20 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1176
1180
|
appearance: none;
|
1177
1181
|
}
|
1178
1182
|
${Zt};
|
1179
|
-
`;var
|
1183
|
+
`;var ml=g.div`
|
1180
1184
|
position: relative;
|
1181
|
-
padding-top: ${
|
1182
|
-
padding-bottom: ${
|
1183
|
-
margin-bottom: ${
|
1184
|
-
border-bottom: 1px solid ${
|
1185
|
+
padding-top: ${zt("space.4")};
|
1186
|
+
padding-bottom: ${zt("space.4")};
|
1187
|
+
margin-bottom: ${zt("space.4")};
|
1188
|
+
border-bottom: 1px solid ${zt("colors.border.default")};
|
1185
1189
|
${Zt};
|
1186
|
-
`;const
|
1190
|
+
`;const vl=g.a`
|
1187
1191
|
display: inline-block;
|
1188
1192
|
min-width: 32px;
|
1189
1193
|
padding: 5px 10px;
|
1190
1194
|
font-style: normal;
|
1191
1195
|
line-height: 20px;
|
1192
|
-
color: ${
|
1196
|
+
color: ${zt("colors.fg.default")};
|
1193
1197
|
text-align: center;
|
1194
1198
|
white-space: nowrap;
|
1195
1199
|
vertical-align: middle;
|
@@ -1197,43 +1201,43 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1197
1201
|
user-select: none;
|
1198
1202
|
text-decoration: none;
|
1199
1203
|
|
1200
|
-
margin-right: ${
|
1204
|
+
margin-right: ${zt("space.1")};
|
1201
1205
|
|
1202
1206
|
&:last-child {
|
1203
1207
|
margin-right: 0;
|
1204
1208
|
}
|
1205
1209
|
|
1206
|
-
border: ${
|
1207
|
-
border-radius: ${
|
1210
|
+
border: ${zt("borderWidths.1")} solid transparent;
|
1211
|
+
border-radius: ${zt("radii.2")};
|
1208
1212
|
transition: border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
|
1209
1213
|
|
1210
1214
|
&:hover,
|
1211
1215
|
&:focus {
|
1212
1216
|
text-decoration: none;
|
1213
|
-
border-color: ${
|
1217
|
+
border-color: ${zt("colors.border.default")};
|
1214
1218
|
outline: 0;
|
1215
1219
|
transition-duration: 0.1s;
|
1216
1220
|
}
|
1217
1221
|
|
1218
1222
|
&:active {
|
1219
|
-
border-color: ${
|
1223
|
+
border-color: ${zt("colors.border.muted")};
|
1220
1224
|
}
|
1221
1225
|
|
1222
1226
|
&[rel='prev'],
|
1223
1227
|
&[rel='next'] {
|
1224
|
-
color: ${
|
1228
|
+
color: ${zt("colors.accent.fg")};
|
1225
1229
|
}
|
1226
1230
|
|
1227
1231
|
&[aria-current],
|
1228
1232
|
&[aria-current]:hover {
|
1229
|
-
color: ${
|
1230
|
-
background-color: ${
|
1233
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1234
|
+
background-color: ${zt("colors.accent.emphasis")};
|
1231
1235
|
border-color: transparent;
|
1232
1236
|
}
|
1233
1237
|
|
1234
1238
|
&[aria-disabled],
|
1235
1239
|
&[aria-disabled]:hover {
|
1236
|
-
color: ${
|
1240
|
+
color: ${zt("colors.primer.fg.disabled")}; // check
|
1237
1241
|
cursor: default;
|
1238
1242
|
border-color: transparent;
|
1239
1243
|
}
|
@@ -1251,7 +1255,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1251
1255
|
|
1252
1256
|
// chevron-left
|
1253
1257
|
&[rel='prev']::before {
|
1254
|
-
margin-right: ${
|
1258
|
+
margin-right: ${zt("space.1")};
|
1255
1259
|
clip-path: polygon(
|
1256
1260
|
9.8px 12.8px,
|
1257
1261
|
8.7px 12.8px,
|
@@ -1267,7 +1271,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1267
1271
|
|
1268
1272
|
// chevron-right
|
1269
1273
|
&[rel='next']::after {
|
1270
|
-
margin-left: ${
|
1274
|
+
margin-left: ${zt("space.1")};
|
1271
1275
|
clip-path: polygon(
|
1272
1276
|
6.2px 3.2px,
|
1273
1277
|
7.3px 3.2px,
|
@@ -1281,25 +1285,25 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1281
1285
|
);
|
1282
1286
|
}
|
1283
1287
|
}
|
1284
|
-
`;function
|
1288
|
+
`;function xl({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d}){const s=e.useCallback((e=>t=>a(t,e)),[a]),c=e.useMemo((()=>function(e,t,r,o,a){const n=[];if(r){const r=[],i=t=>{t>=1&&t<=e&&r.push(t)};let l=t-a,d=t+a;if(l<1&&d>e)l=1,d=e;else if(l<1)for(;l<1;)l++,d++;else if(d>e)for(;d>e;)l--,d--;for(let t=1;t<=o;t++){const r=t,o=e-(t-1);r>=l?d++:i(r),o<=d?l--:i(o)}for(let e=l;e<=d;e++)i(e);const s=r.slice().sort(((e,t)=>e-t)).filter(((e,t,r)=>!t||e!==r[t-1]));for(let e=0;e<s.length;e++){const r=s[e],o=r===t;0===e?(1!==r&&n.push({type:"BREAK",num:1}),n.push({type:"NUM",num:r,selected:o})):(1==r-s[e-1]||n.push({type:"BREAK",num:r-1}),n.push({type:"NUM",num:r,selected:o}))}const c=n[n.length-1];"NUM"===c.type&&c.num!==e&&n.push({type:"BREAK",num:e})}const i={type:"NEXT",num:t+1,disabled:t===e};return[{type:"PREV",num:t-1,disabled:1===t},...n,i]}(r,o,!!l,i,d)),[r,o,l,i,d]);return e.useMemo((()=>c.map((r=>{const{props:o,key:a,content:i}=function(e,t,r){const o={};let a="",n="";switch(e.type){case"PREV":n="page-prev",a="Previous",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"prev",href:t(e.num),"aria-label":"Previous Page",onClick:r});break;case"NEXT":n="page-next",a="Next",e.disabled?Object.assign(o,{as:"span","aria-disabled":"true"}):Object.assign(o,{rel:"next",href:t(e.num),"aria-label":"Next Page",onClick:r});break;case"NUM":n=`page-${e.num}`,a=String(e.num),e.selected?Object.assign(o,{as:"em","aria-current":"page"}):Object.assign(o,{href:t(e.num),"aria-label":`Page ${e.num}`,onClick:r});break;case"BREAK":n=`page-${e.num}-break`,a="…",Object.assign(o,{as:"span","aria-disabled":!0})}return{props:o,key:n,content:a}}(r,n,s(r.num));return e.createElement(vl,Lt({},o,{key:a,theme:t}),i)}))),[c,n,s,t])}const yl=g.nav`
|
1285
1289
|
margin-top: 20px;
|
1286
1290
|
margin-bottom: 15px;
|
1287
1291
|
text-align: center;
|
1288
1292
|
${Zt};
|
1289
|
-
`;function
|
1293
|
+
`;function wl({theme:t,pageCount:r,currentPage:o,onPageChange:a=kl,hrefBuilder:n=Bl,marginPageCount:i=1,showPages:l=!0,surroundingPageCount:d=2,...s}){const c=xl({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d});return e.createElement(yl,Lt({"aria-label":"Pagination"},s,{theme:t}),e.createElement(Qt,{display:"inline-block",theme:t},c))}function Bl(e){return`#${e}`}function kl(){}function $l(t){const{bg:r,border:o,borderColor:a,theme:n}=t,{caret:i,children:l,...d}=t,s={bg:r,borderColor:a,borderWidth:o,location:i,theme:n};return e.createElement(tr,Lt({sx:{position:"relative"}},d),l,e.createElement(Vn,s))}wl.displayName="Pagination",wl.defaultProps={hrefBuilder:Bl,marginPageCount:1,onPageChange:kl,showPages:!0,surroundingPageCount:2},$l.displayName="PointerBox";const Tl=g.div.attrs((({className:e,caret:t})=>({className:Za(e,`caret-pos--${t}`)})))`
|
1290
1294
|
position: ${e=>e.relative?"relative":"absolute"};
|
1291
1295
|
z-index: 100;
|
1292
1296
|
display: ${e=>e.open?"block":"none"};
|
1293
1297
|
${Zt};
|
1294
|
-
`,
|
1295
|
-
border: 1px solid ${
|
1296
|
-
border-radius: ${
|
1298
|
+
`,Sl=g.div`
|
1299
|
+
border: 1px solid ${zt("colors.border.default")};
|
1300
|
+
border-radius: ${zt("radii.2")};
|
1297
1301
|
position: relative;
|
1298
1302
|
width: 232px;
|
1299
1303
|
margin-right: auto;
|
1300
1304
|
margin-left: auto;
|
1301
|
-
padding: ${
|
1302
|
-
background-color: ${
|
1305
|
+
padding: ${zt("space.4")};
|
1306
|
+
background-color: ${zt("colors.canvas.overlay")};
|
1303
1307
|
|
1304
1308
|
// Carets
|
1305
1309
|
&::before,
|
@@ -1311,23 +1315,23 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1311
1315
|
}
|
1312
1316
|
|
1313
1317
|
&::before {
|
1314
|
-
top: -${
|
1318
|
+
top: -${zt("space.3")};
|
1315
1319
|
margin-left: -9px;
|
1316
|
-
border: ${
|
1317
|
-
border-bottom-color: ${
|
1320
|
+
border: ${zt("space.2")} solid transparent; // TODO: solid?
|
1321
|
+
border-bottom-color: ${zt("colors.border.default")};
|
1318
1322
|
}
|
1319
1323
|
|
1320
1324
|
&::after {
|
1321
1325
|
top: -14px;
|
1322
|
-
margin-left: -${
|
1326
|
+
margin-left: -${zt("space.2")};
|
1323
1327
|
border: 7px solid transparent; // todo: solid
|
1324
|
-
border-bottom-color: ${
|
1328
|
+
border-bottom-color: ${zt("colors.canvas.overlay")};
|
1325
1329
|
}
|
1326
1330
|
|
1327
1331
|
// Bottom-oriented carets
|
1328
|
-
${
|
1329
|
-
${
|
1330
|
-
${
|
1332
|
+
${Tl}.caret-pos--bottom & ,
|
1333
|
+
${Tl}.caret-pos--bottom-right & ,
|
1334
|
+
${Tl}.caret-pos--bottom-left & {
|
1331
1335
|
&::before,
|
1332
1336
|
&::after {
|
1333
1337
|
top: auto;
|
@@ -1335,20 +1339,20 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1335
1339
|
}
|
1336
1340
|
|
1337
1341
|
&::before {
|
1338
|
-
bottom: -${
|
1339
|
-
border-top-color: ${
|
1342
|
+
bottom: -${zt("space.3")};
|
1343
|
+
border-top-color: ${zt("colors.border.default")};
|
1340
1344
|
}
|
1341
1345
|
|
1342
1346
|
&::after {
|
1343
1347
|
bottom: -14px;
|
1344
1348
|
// stylelint-disable-next-line primer/borders
|
1345
|
-
border-top-color: ${
|
1349
|
+
border-top-color: ${zt("colors.canvas.overlay")};
|
1346
1350
|
}
|
1347
1351
|
}
|
1348
1352
|
|
1349
1353
|
// Top & Bottom: Right-oriented carets
|
1350
|
-
${
|
1351
|
-
${
|
1354
|
+
${Tl}.caret-pos--top-right & ,
|
1355
|
+
${Tl}.caret-pos--bottom-right & {
|
1352
1356
|
right: -9px;
|
1353
1357
|
margin-right: 0;
|
1354
1358
|
|
@@ -1368,29 +1372,29 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1368
1372
|
}
|
1369
1373
|
|
1370
1374
|
// Top & Bottom: Left-oriented carets
|
1371
|
-
${
|
1372
|
-
${
|
1375
|
+
${Tl}.caret-pos--top-left & ,
|
1376
|
+
${Tl}.caret-pos--bottom-left & {
|
1373
1377
|
left: -9px;
|
1374
1378
|
margin-left: 0;
|
1375
1379
|
|
1376
1380
|
&::before,
|
1377
1381
|
&::after {
|
1378
|
-
left: ${
|
1382
|
+
left: ${zt("space.4")};
|
1379
1383
|
margin-left: 0;
|
1380
1384
|
}
|
1381
1385
|
|
1382
1386
|
&::after {
|
1383
|
-
left: calc(${
|
1387
|
+
left: calc(${zt("space.4")} + 1px);
|
1384
1388
|
}
|
1385
1389
|
}
|
1386
1390
|
|
1387
1391
|
// Right- & Left-oriented carets
|
1388
|
-
${
|
1389
|
-
${
|
1390
|
-
${
|
1391
|
-
${
|
1392
|
-
${
|
1393
|
-
${
|
1392
|
+
${Tl}.caret-pos--right & ,
|
1393
|
+
${Tl}.caret-pos--right-top & ,
|
1394
|
+
${Tl}.caret-pos--right-bottom & ,
|
1395
|
+
${Tl}.caret-pos--left & ,
|
1396
|
+
${Tl}.caret-pos--left-top & ,
|
1397
|
+
${Tl}.caret-pos--left-bottom & {
|
1394
1398
|
&::before,
|
1395
1399
|
&::after {
|
1396
1400
|
top: 50%;
|
@@ -1401,131 +1405,131 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1401
1405
|
|
1402
1406
|
&::before {
|
1403
1407
|
// stylelint-disable-next-line primer/spacing
|
1404
|
-
margin-top: calc((${
|
1408
|
+
margin-top: calc((${zt("space.2")} + 1px) * -1);
|
1405
1409
|
}
|
1406
1410
|
|
1407
1411
|
&::after {
|
1408
|
-
margin-top: -${
|
1412
|
+
margin-top: -${zt("space.2")};
|
1409
1413
|
}
|
1410
1414
|
}
|
1411
1415
|
|
1412
1416
|
// Right-oriented carets
|
1413
|
-
${
|
1414
|
-
${
|
1415
|
-
${
|
1417
|
+
${Tl}.caret-pos--right & ,
|
1418
|
+
${Tl}.caret-pos--right-top & ,
|
1419
|
+
${Tl}.caret-pos--right-bottom & {
|
1416
1420
|
&::before {
|
1417
|
-
right: -${
|
1418
|
-
border-left-color: ${
|
1421
|
+
right: -${zt("space.3")};
|
1422
|
+
border-left-color: ${zt("colors.border.default")};
|
1419
1423
|
}
|
1420
1424
|
|
1421
1425
|
&::after {
|
1422
1426
|
right: -14px;
|
1423
1427
|
// stylelint-disable-next-line primer/borders
|
1424
|
-
border-left-color: ${
|
1428
|
+
border-left-color: ${zt("colors.canvas.overlay")};
|
1425
1429
|
}
|
1426
1430
|
}
|
1427
1431
|
|
1428
1432
|
// Left-oriented carets
|
1429
|
-
${
|
1430
|
-
${
|
1431
|
-
${
|
1433
|
+
${Tl}.caret-pos--left & ,
|
1434
|
+
${Tl}.caret-pos--left-top & ,
|
1435
|
+
${Tl}.caret-pos--left-bottom & {
|
1432
1436
|
&::before {
|
1433
|
-
left: -${
|
1434
|
-
border-right-color: ${
|
1437
|
+
left: -${zt("space.3")};
|
1438
|
+
border-right-color: ${zt("colors.border.default")};
|
1435
1439
|
}
|
1436
1440
|
|
1437
1441
|
&::after {
|
1438
1442
|
left: -14px;
|
1439
1443
|
// stylelint-disable-next-line primer/borders
|
1440
|
-
border-right-color: ${
|
1444
|
+
border-right-color: ${zt("colors.canvas.overlay")};
|
1441
1445
|
}
|
1442
1446
|
}
|
1443
1447
|
|
1444
1448
|
// Right & Left: Top-oriented carets
|
1445
|
-
${
|
1446
|
-
${
|
1449
|
+
${Tl}.caret-pos--right-top & ,
|
1450
|
+
${Tl}.caret-pos--left-top & {
|
1447
1451
|
&::before,
|
1448
1452
|
&::after {
|
1449
|
-
top: ${
|
1453
|
+
top: ${zt("space.4")};
|
1450
1454
|
}
|
1451
1455
|
}
|
1452
1456
|
|
1453
1457
|
// Right & Left: Bottom-oriented carets
|
1454
|
-
${
|
1455
|
-
${
|
1458
|
+
${Tl}.caret-pos--right-bottom & ,
|
1459
|
+
${Tl}.caret-pos--left-bottom & {
|
1456
1460
|
&::before,
|
1457
1461
|
&::after {
|
1458
1462
|
top: auto;
|
1459
1463
|
}
|
1460
1464
|
|
1461
1465
|
&::before {
|
1462
|
-
bottom: ${
|
1466
|
+
bottom: ${zt("space.3")};
|
1463
1467
|
}
|
1464
1468
|
|
1465
1469
|
&::after {
|
1466
|
-
bottom: calc(${
|
1470
|
+
bottom: calc(${zt("space.3")} + 1px);
|
1467
1471
|
}
|
1468
1472
|
}
|
1469
1473
|
|
1470
1474
|
${Zt};
|
1471
|
-
`;
|
1475
|
+
`;Tl.defaultProps={caret:"top"},Sl.displayName="Popover.Content";var El=Object.assign(Tl,{Content:Sl});const Cl=g.span`
|
1472
1476
|
width: ${e=>e.progress?`${e.progress}%`:0};
|
1473
1477
|
${At}
|
1474
|
-
`,
|
1478
|
+
`,Il={small:"5px",large:"10px",default:"8px"},zl=g.span`
|
1475
1479
|
display: ${e=>e.inline?"inline-flex":"flex"};
|
1476
1480
|
overflow: hidden;
|
1477
|
-
background-color: ${
|
1478
|
-
border-radius: ${
|
1479
|
-
height: ${e=>
|
1481
|
+
background-color: ${zt("colors.border.default")};
|
1482
|
+
border-radius: ${zt("radii.1")};
|
1483
|
+
height: ${e=>Il[e.barSize||"default"]};
|
1480
1484
|
${At}
|
1481
1485
|
${me}
|
1482
1486
|
${Zt};
|
1483
|
-
`;function
|
1484
|
-
${
|
1487
|
+
`;function Al({progress:t,bg:r,theme:o,...a}){return e.createElement(zl,Lt({theme:o},a),e.createElement(Cl,{progress:t,bg:r,theme:o}))}Al.displayName="ProgressBar",Al.defaultProps={bg:"success.emphasis",barSize:"default"};const Nl=t=>e.createElement("input",Lt({type:"radio"},t));Nl.displayName="RadioInput";const Ll=({id:t,required:r,disabled:o,...a})=>(t&&console.warn("instead of passing the 'id' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),o&&console.warn("instead of passing the 'disabled' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),r&&console.warn("instead of passing the 'required' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),e.createElement(ai,{name:"Input"},(({disabled:t,id:r,required:o,captionId:n})=>e.createElement(Nl,Lt({"aria-describedby":n,id:r,required:o,disabled:t},a)))));Ll.displayName="Input";const Rl=t=>e.createElement(yi,t);Rl.displayName="RadioInputField";var Fl=Object.assign(Rl,{Input:Ll,Caption:hi.Caption,Label:hi.Label,LeadingVisual:vi});function Dl(e,t,r){const n=o((o=>{const a=()=>{r(!0)},n=t=>{const r=Array.from(e.current.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled]):not([aria-disabled="true"])')),o=document.activeElement,a=r.indexOf(o),n=t?r[a+1]:r[a-1],i=t?r[0]:r[r.length-1];return n||i};if(!(o instanceof KeyboardEvent))return;const i=o.target instanceof Element&&"SUMMARY"===o.target.tagName;switch(o.key){case"Escape":t&&((()=>{r(!1);const t=e.current.querySelector("summary");t&&t.focus()})(),o.preventDefault(),o.stopPropagation());break;case"ArrowDown":{i&&!t&&a();const e=n(!0);e&&e.focus(),o.preventDefault()}break;case"ArrowUp":{i&&!t&&a();const e=n(!1);e&&e.focus(),o.preventDefault()}break;case" ":case"Enter":{const t=document.activeElement;t&&(e=>{const t=e.getAttribute("role");return"menuitem"===t||"menuitemcheckbox"===t||"menuitemradio"===t})(t)&&t.closest("details")===e&&(o.preventDefault(),o.stopPropagation(),t.click())}}}),[e,t,r]);a((()=>{const t=e.current;if(t)return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}}),[e,n])}const Ml=s({}),Ol=p(["padding:"," ",";margin:0;font-size:",";font-weight:",";color:",";background-color:",";border-bottom:"," solid ",";"],zt("space.1"),zt("space.3"),zt("fontSizes.0"),zt("fontWeights.bold"),zt("colors.fg.muted"),zt("colors.canvas.subtle"),zt("borderWidths.1"),zt("colors.border.muted")),Pl=g.div`
|
1488
|
+
${Ol}
|
1485
1489
|
${Zt};
|
1486
|
-
`;
|
1487
|
-
padding: ${
|
1490
|
+
`;Pl.displayName="SelectMenu.Divider";var Hl=Pl;const Wl=g.form`
|
1491
|
+
padding: ${zt("space.3")};
|
1488
1492
|
margin: 0;
|
1489
|
-
border-bottom: ${
|
1490
|
-
background-color: ${
|
1493
|
+
border-bottom: ${zt("borderWidths.1")} solid ${zt("colors.border.muted")};
|
1494
|
+
background-color: ${zt("colors.canvas.overlay")};
|
1491
1495
|
|
1492
|
-
@media (min-width: ${
|
1493
|
-
padding: ${
|
1496
|
+
@media (min-width: ${zt("breakpoints.0")}) {
|
1497
|
+
padding: ${zt("space.2")};
|
1494
1498
|
}
|
1495
1499
|
|
1496
1500
|
${Zt};
|
1497
|
-
`,
|
1498
|
-
${
|
1501
|
+
`,jl=i((({theme:t,value:o,sx:n,...i},l)=>{const s=r(null),c=null!=l?l:s,{open:g}=d(Ml);return a((()=>{var e;g&&(null===(e=s.current)||void 0===e||e.focus())}),[g]),e.createElement(Wl,{theme:t,sx:n},e.createElement(on,Lt({theme:t,ref:c,width:"100%",block:!0,value:o,contrast:!0},i)))}));jl.displayName="SelectMenu.Filter";var _l=jl;const Vl=p(["margin-top:-1px;padding:"," ",";font-size:",";color:",";text-align:center;border-top:"," solid ",";@media (min-width:","){padding:"," ",";}"],zt("space.2"),zt("space.3"),zt("fontSizes.0"),zt("colors.fg.muted"),zt("borderWidths.1"),zt("colors.border.muted"),zt("breakpoints.0"),zt("space.1"),zt("space.2")),Ul=g.footer`
|
1502
|
+
${Vl}
|
1499
1503
|
${Zt};
|
1500
|
-
`;
|
1501
|
-
color: ${
|
1504
|
+
`;Ul.displayName="SelectMenu.Footer";var ql=Ul;const Kl=g.h3`
|
1505
|
+
color: ${zt("colors.fg.default")};
|
1502
1506
|
flex: auto;
|
1503
|
-
font-size: ${
|
1504
|
-
font-weight: ${
|
1507
|
+
font-size: ${zt("fontSizes.1")};
|
1508
|
+
font-weight: ${zt("fontWeights.bold")};
|
1505
1509
|
margin: 0;
|
1506
1510
|
|
1507
|
-
@media (min-width: ${
|
1511
|
+
@media (min-width: ${zt("breakpoints.0")}) {
|
1508
1512
|
font-size: inherit;
|
1509
1513
|
}
|
1510
|
-
`,
|
1514
|
+
`,Gl=g.header`
|
1511
1515
|
display: flex;
|
1512
1516
|
flex: none; // fixes header from getting squeezed in Safari iOS
|
1513
|
-
padding: ${
|
1514
|
-
border-bottom: ${
|
1517
|
+
padding: ${zt("space.3")};
|
1518
|
+
border-bottom: ${zt("borderWidths")} solid ${zt("colors.border.muted")};
|
1515
1519
|
|
1516
|
-
@media (min-width: ${
|
1517
|
-
padding-top: ${
|
1518
|
-
padding-bottom: ${
|
1520
|
+
@media (min-width: ${zt("breakpoints.0")}) {
|
1521
|
+
padding-top: ${zt("space.2")};
|
1522
|
+
padding-bottom: ${zt("space.2")};
|
1519
1523
|
}
|
1520
1524
|
|
1521
1525
|
${Zt};
|
1522
|
-
`,
|
1523
|
-
${
|
1526
|
+
`,Xl=({children:t,theme:r,...o})=>e.createElement(Gl,Lt({theme:r},o),e.createElement(Kl,{theme:r},t));Xl.displayName="SelectMenuHeader",Xl.displayName="SelectMenu.Header";var Yl=Xl;const Jl=p(["display:flex;align-items:center;padding:",";overflow:hidden;text-align:left;cursor:pointer;background-color:",";border:0;border-bottom:"," solid ",";color:",";text-decoration:none;font-size:",";font-family:inherit;width:100%;&:hover{text-decoration:none;}&:focus{outline:none;}&[hidden]{display:none !important;}@media (min-width:","){padding-top:",";padding-bottom:",";}.SelectMenu-icon{width:",";margin-right:",";flex-shrink:0;}.SelectMenu-selected-icon{visibility:hidden;transition:transform 0.12s cubic-bezier(0.5,0.1,1,0.5),visibility 0s 0.12s linear;transform:scale(0);}&[aria-checked='true']{font-weight:500;color:",";.SelectMenu-selected-icon{visibility:visible;transition:transform 0.12s cubic-bezier(0,0,0.2,1),visibility 0s linear;transform:scale(1);}}@media (hover:hover){&:hover,&:active,&:focus{background-color:",";}}@media (hover:none){&:focus,&:active{background-color:",";}-webkit-tap-highlight-color:",";}"],zt("space.3"),zt("colors.canvas.overlay"),zt("borderWidths.1"),zt("colors.border.muted"),zt("colors.fg.muted"),zt("fontSizes.0"),zt("breakpoints.0"),zt("space.2"),zt("space.2"),zt("space.3"),zt("space.2"),zt("colors.fg.default"),zt("colors.neutral.subtle"),zt("colors.canvas.subtle"),zt("colors.selectMenu.tapHighlight")),Zl=g.a.attrs((()=>({role:"menuitemcheckbox"})))`
|
1527
|
+
${Jl}
|
1524
1528
|
${Zt};
|
1525
|
-
`,
|
1526
|
-
${
|
1529
|
+
`,Ql=i((({children:t,selected:o,theme:a,onClick:n,...i},l)=>{const s=d(Ml),c=r(null),g=null!=l?l:c;return e.createElement(Zl,Lt({ref:g},i,{theme:a,onClick:e=>{var t;(n&&n(e),e.defaultPrevented)||(null===(t=s.setOpen)||void 0===t||t.call(s,!1))},"aria-checked":o}),e.createElement(Lo,{theme:a,className:"SelectMenu-icon SelectMenu-selected-icon",icon:to}),t)}));Ql.defaultProps={selected:!1},Ql.displayName="SelectMenu.Item";var ed=Ql;const td=p(["position:relative;padding:0;margin:0;flex:auto;overflow-x:hidden;overflow-y:auto;background-color:",";-webkit-overflow-scrolling:touch;@media (hover:hover){.SelectMenuTab:focus{background-color:",";}.SelectMenuTab:not([aria-checked='true']):hover{color:",";background-color:",";}.SelectMenuTab:not([aria-checked='true']):active{color:",";background-color:",";}}"],zt("colors.canvas.overlay"),zt("colors.selectMenu.tapFocusBg"),zt("colors.fg.default"),zt("colors.canvas.subtle"),zt("colors.fg.default"),zt("colors.canvas.subtle")),rd=g.div`
|
1530
|
+
${td}
|
1527
1531
|
${Zt};
|
1528
|
-
`;
|
1532
|
+
`;rd.displayName="SelectMenu.List";var od=rd;const ad={small:"16px",medium:"32px",large:"64px"};function nd({size:t="medium",...r}){const o=ad[t];return e.createElement("svg",Lt({height:o,width:o,viewBox:"0 0 16 16",fill:"none"},r),e.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeOpacity:"0.25",strokeWidth:"2",vectorEffect:"non-scaling-stroke"}),e.createElement("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",vectorEffect:"non-scaling-stroke"}))}nd.displayName="Spinner";const id=g(nd)`
|
1529
1533
|
@keyframes rotate-keyframes {
|
1530
1534
|
100% {
|
1531
1535
|
transform: rotate(360deg);
|
@@ -1536,62 +1540,62 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1536
1540
|
|
1537
1541
|
${At}
|
1538
1542
|
${Zt}
|
1539
|
-
|
1540
|
-
padding: ${
|
1543
|
+
`;id.displayName="Spinner";var ld=id;const dd=g.div`
|
1544
|
+
padding: ${zt("space.6")} ${zt("space.4")};
|
1541
1545
|
text-align: center;
|
1542
|
-
background-color: ${
|
1546
|
+
background-color: ${zt("colors.canvas.overlay")};
|
1543
1547
|
${Zt}
|
1544
|
-
`,
|
1545
|
-
${
|
1548
|
+
`,sd=t=>e.createElement(dd,t,e.createElement(ld,null));sd.displayName="SelectMenuLoadingAnimation";var cd=sd;const gd=h(["0%{opacity:0;transform:scale(0.9);}"]),fd=p(["position:relative;z-index:99;display:flex;",";max-height:",";margin:auto 0;",";overflow:hidden;pointer-events:auto;flex-direction:column;background-color:",";border-radius:",";box-shadow:",";animation:"," 0.12s cubic-bezier(0,0.1,0.1,1) backwards;@media (min-width:","){height:auto;max-height:350px;margin:"," 0 "," 0;font-size:",";border:"," solid ",";border-radius:",";box-shadow:",";}"],(e=>e.filter?"height: 80%":""),(e=>e.filter?"none":"66%"),(e=>e.filter?"margin-top: 0":""),zt("colors.canvas.overlay"),zt("radii.2"),zt("shadows.shadow.small"),gd,zt("breakpoints.0"),zt("space.1"),zt("space.3"),zt("fontSizes.0"),zt("borderWidths.1"),zt("colors.border.default"),zt("radii.2"),zt("shadows.shadow.small")),ud=p(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:99;display:flex;padding:",";pointer-events:none;flex-direction:column;&::before{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:'';background-color:",";@media (min-width:","){display:none;}}@media (min-width:","){position:absolute;top:auto;right:",";bottom:auto;left:auto;padding:0;}"],zt("space.3"),zt("colors.primer.canvas.backdrop"),zt("breakpoints.0"),zt("breakpoints.0"),(e=>"right"===e.align?"0":"auto")),pd=g.div`
|
1549
|
+
${fd}
|
1546
1550
|
${me}
|
1547
|
-
`,
|
1548
|
-
${
|
1551
|
+
`,bd=g.div`
|
1552
|
+
${ud}
|
1549
1553
|
${Zt};
|
1550
|
-
`,
|
1551
|
-
${
|
1554
|
+
`,hd=e.forwardRef((({children:t,theme:r,width:o,...a},n)=>e.createElement(bd,Lt({theme:r},a,{role:"menu",ref:n}),e.createElement(pd,{theme:r,width:o},t))));hd.defaultProps={align:"left",width:"300px"},hd.displayName="SelectMenu.Modal";var md=hd;const vd=p(["flex:1;padding:"," ",";font-size:",";font-weight:500;color:",";text-align:center;background-color:transparent;border:0;box-shadow:inset 0 -1px 0 ",";@media (min-width:","){flex:none;padding:"," ",";border:"," solid transparent;border-bottom-width:0;border-top-left-radius:",";border-top-right-radius:",";}&[aria-selected='true']{z-index:1;color:",";background-color:",";box-shadow:0 0 0 1px ",";@media (min-width:","){border-color:",";box-shadow:none;}}&:focus{background-color:",";}"],zt("space.2"),zt("space.3"),zt("fontSizes.0"),zt("colors.fg.muted"),zt("colors.border.muted"),zt("breakpoints.0"),zt("space.1"),zt("space.3"),zt("borderWidths.1"),zt("radii.2"),zt("radii.2"),zt("colors.text-primary"),zt("colors.canvas.overlay"),zt("colors.border.muted"),zt("breakpoints.0"),zt("colors.border.muted"),zt("colors.neutral.subtle")),xd=g.button`
|
1555
|
+
${vd}
|
1552
1556
|
${Zt};
|
1553
|
-
`,
|
1554
|
-
border-top: ${
|
1557
|
+
`,yd=({tabName:t="",index:r,className:o,onClick:n,...i})=>{const l=d(Ml);a((()=>{var e;l.selectedTab||0!==r||(null===(e=l.setSelectedTab)||void 0===e||e.call(l,t))}),[r,l,t]);const s=l.selectedTab===t;return e.createElement(xd,Lt({role:"tab",className:Za("SelectMenuTab",o),"aria-selected":s,onClick:e=>{var r;(n&&n(e),e.defaultPrevented)||(null===(r=l.setSelectedTab)||void 0===r||r.call(l,t))}},i),t)};yd.displayName="SelectMenuTab",yd.displayName="SelectMenu.Tab";var wd=yd;const Bd=g.div`
|
1558
|
+
border-top: ${zt("borderWidths.1")} solid ${zt("colors.border.muted")};
|
1555
1559
|
${Zt};
|
1556
|
-
`,
|
1557
|
-
${
|
1560
|
+
`,kd=({tabName:t,className:r,children:o,...a})=>{const n=d(Ml);return e.createElement(Bd,Lt({role:"tabpanel",className:r,hidden:n.selectedTab!==t},a),e.createElement(od,null,o))};kd.displayName="TabPanel",kd.displayName="SelectMenu.TabPanel";var $d=kd;const Td=p(["display:flex;flex-shrink:0;margin-bottom:-1px;-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;&::-webkit-scrollbar{display:none;}@media (min-width:","){padding:0 ",";margin-top:",";}"],zt("breakpoints.0"),zt("space.2"),zt("space.3")),Sd=g.div`
|
1561
|
+
${Td}
|
1558
1562
|
${Zt};
|
1559
|
-
`,
|
1563
|
+
`,Ed=({children:t,...r})=>e.createElement(Sd,Lt({role:"tablist"},r),t);Ed.displayName="SelectMenuTabs",Ed.displayName="SelectMenu.Tabs";var Cd=Ed;const Id=g.details`
|
1560
1564
|
${"\n // Remove marker added by the display: list-item browser default\n > summary {\n list-style: none;\n }\n // Remove marker added by details polyfill\n > summary::before {\n display: none;\n }\n // Remove marker added by Chrome\n > summary::-webkit-details-marker {\n display: none;\n }\n"}
|
1561
1565
|
${Zt};
|
1562
|
-
`,
|
1563
|
-
background-color: ${
|
1566
|
+
`,zd=e.forwardRef((({children:n,initialTab:i="",as:l,...d},s)=>{const c=r(null),g=null!=s?s:c,[f,u]=t(i),[p,b]=t(!1),h={selectedTab:f,setSelectedTab:u,setOpen:b,open:p,initialTab:i},m=o((e=>{"current"in g&&g.current&&!g.current.contains(e.target)&&(e.defaultPrevented||b(!1))}),[g,b]);return a((()=>{if(p)return document.addEventListener("click",m),()=>{document.removeEventListener("click",m)}}),[p,m]),Dl(g,p,b),e.createElement(Ml.Provider,{value:h},e.createElement(Id,Lt({ref:g},d,{open:p,onToggle:function(e){b(e.target.open)}}),n))}));zd.displayName="SelectMenu";var Ad=Object.assign(zd,{MenuContext:Ml,List:od,Divider:Hl,Filter:_l,Footer:ql,Item:ed,Modal:md,Tabs:Cd,Tab:wd,TabPanel:$d,Header:Yl,LoadingAnimation:cd});function Nd({variant:t,className:r,bordered:o,children:a,"aria-label":n}){const i=Za(r,`variant-${"lightweight"===t?"lightweight":"normal"}`);return e.createElement(Qt,{borderWidth:o?"1px":0,borderStyle:"solid",borderColor:"border.default",borderRadius:2,as:"nav",className:i,"aria-label":n},a)}Nd.displayName="SideNavBase";const Ld=g(Nd)`
|
1567
|
+
background-color: ${zt("colors.canvas.subtle")};
|
1564
1568
|
|
1565
1569
|
${e=>e.bordered&&p(["& > &{border-left:0;border-right:0;border-bottom:0;}"])}
|
1566
1570
|
|
1567
1571
|
${Zt};
|
1568
|
-
`,
|
1572
|
+
`,Rd=p(["background-color:",";outline:none;text-decoration:none;"],zt("colors.neutral.subtle")),Fd=p(["color:",";text-decoration:none;outline:none;"],zt("colors.fg.default")),Dd=g(hl).attrs((e=>"string"==typeof e.to||e.selected?{"aria-current":"page"}:{}))`
|
1569
1573
|
position: relative;
|
1570
1574
|
display: block;
|
1571
1575
|
${e=>"full"===e.variant&&p(["display:flex;align-items:center;justify-content:space-between;"])}
|
1572
1576
|
width: 100%;
|
1573
1577
|
text-align: left;
|
1574
|
-
font-size: ${
|
1578
|
+
font-size: ${zt("fontSizes.1")};
|
1575
1579
|
|
1576
|
-
& > ${
|
1580
|
+
& > ${Ld} {
|
1577
1581
|
border-bottom: none;
|
1578
1582
|
}
|
1579
1583
|
|
1580
|
-
${
|
1581
|
-
color: ${
|
1582
|
-
padding: ${
|
1584
|
+
${Ld}.variant-normal > & {
|
1585
|
+
color: ${zt("colors.fg.default")};
|
1586
|
+
padding: ${zt("space.3")};
|
1583
1587
|
border: 0;
|
1584
|
-
border-top: ${
|
1588
|
+
border-top: ${zt("borderWidths.1")} solid ${zt("colors.border.muted")};
|
1585
1589
|
|
1586
1590
|
&:first-child {
|
1587
1591
|
border-top: 0;
|
1588
|
-
border-top-right-radius: ${
|
1589
|
-
border-top-left-radius: ${
|
1592
|
+
border-top-right-radius: ${zt("radii.2")};
|
1593
|
+
border-top-left-radius: ${zt("radii.2")};
|
1590
1594
|
}
|
1591
1595
|
|
1592
1596
|
&:last-child {
|
1593
|
-
border-bottom-right-radius: ${
|
1594
|
-
border-bottom-left-radius: ${
|
1597
|
+
border-bottom-right-radius: ${zt("radii.2")};
|
1598
|
+
border-bottom-left-radius: ${zt("radii.2")};
|
1595
1599
|
}
|
1596
1600
|
|
1597
1601
|
// Bar on the left
|
@@ -1607,60 +1611,60 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1607
1611
|
}
|
1608
1612
|
|
1609
1613
|
&:hover {
|
1610
|
-
${
|
1614
|
+
${Rd}
|
1611
1615
|
}
|
1612
1616
|
|
1613
1617
|
&:focus {
|
1614
|
-
${
|
1615
|
-
box-shadow: ${
|
1618
|
+
${Rd}
|
1619
|
+
box-shadow: ${zt("shadows.primer.shadow.focus")};
|
1616
1620
|
z-index: 1;
|
1617
1621
|
}
|
1618
1622
|
|
1619
1623
|
&[aria-current='page'],
|
1620
1624
|
&[aria-selected='true'] {
|
1621
|
-
background-color: ${
|
1625
|
+
background-color: ${zt("colors.sidenav.selectedBg")};
|
1622
1626
|
|
1623
1627
|
// Bar on the left
|
1624
1628
|
&::before {
|
1625
|
-
background-color: ${
|
1629
|
+
background-color: ${zt("colors.primer.border.active")};
|
1626
1630
|
}
|
1627
1631
|
}
|
1628
1632
|
}
|
1629
1633
|
|
1630
|
-
${
|
1631
|
-
padding: ${
|
1632
|
-
color: ${
|
1634
|
+
${Ld}.variant-lightweight > & {
|
1635
|
+
padding: ${zt("space.1")} 0;
|
1636
|
+
color: ${zt("colors.accent.fg")};
|
1633
1637
|
|
1634
1638
|
&:hover {
|
1635
|
-
${
|
1639
|
+
${Fd}
|
1636
1640
|
}
|
1637
1641
|
|
1638
1642
|
&:focus {
|
1639
|
-
${
|
1640
|
-
box-shadow: ${
|
1643
|
+
${Fd}
|
1644
|
+
box-shadow: ${zt("shadows.primer.shadow.focus")};
|
1641
1645
|
z-index: 1;
|
1642
1646
|
}
|
1643
1647
|
|
1644
1648
|
&[aria-current='page'],
|
1645
1649
|
&[aria-selected='true'] {
|
1646
|
-
color: ${
|
1647
|
-
font-weight: ${
|
1650
|
+
color: ${zt("colors.fg.default")};
|
1651
|
+
font-weight: ${zt("fontWeights.semibold")};
|
1648
1652
|
}
|
1649
1653
|
}
|
1650
1654
|
|
1651
1655
|
${Zt};
|
1652
|
-
`;
|
1656
|
+
`;Ld.defaultProps={variant:"normal"},Dd.defaultProps={variant:"normal"},Dd.displayName="SideNav.Link";var Md=Object.assign(Ld,{Link:Dd});const Od={issueOpened:lo,pullOpened:ao,issueClosed:no,pullClosed:ao,pullMerged:oo,draft:ao,issueDraft:io},Pd=ue({prop:"status",variants:{issueClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullClosed:{backgroundColor:"danger.emphasis",color:"fg.onEmphasis"},pullMerged:{backgroundColor:"done.emphasis",color:"fg.onEmphasis"},issueOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},pullOpened:{backgroundColor:"success.emphasis",color:"fg.onEmphasis"},draft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"},issueDraft:{backgroundColor:"neutral.emphasis",color:"fg.onEmphasis"}}}),Hd=ue({prop:"variant",variants:{small:{paddingX:2,paddingY:1,fontSize:0},normal:{paddingX:"12px",paddingY:2,fontSize:1}}}),Wd=g.span`
|
1653
1657
|
display: inline-flex;
|
1654
1658
|
align-items: center;
|
1655
|
-
font-weight: ${
|
1659
|
+
font-weight: ${zt("fontWeights.bold")};
|
1656
1660
|
line-height: 16px;
|
1657
|
-
color: ${
|
1661
|
+
color: ${zt("colors.canvas.default")};
|
1658
1662
|
text-align: center;
|
1659
|
-
border-radius: ${
|
1660
|
-
${
|
1661
|
-
${
|
1663
|
+
border-radius: ${zt("radii.3")};
|
1664
|
+
${Pd};
|
1665
|
+
${Hd};
|
1662
1666
|
${Zt};
|
1663
|
-
`;function
|
1667
|
+
`;function jd({children:t,status:r,variant:o,...a}){const n="small"===o?{width:"1em"}:{};return e.createElement(Wd,Lt({},a,{variant:o,status:r}),r&&e.createElement(Lo,Lt({},n,{icon:Od[r]||co,sx:{mr:1}})),t)}jd.displayName="StateLabel",jd.defaultProps={variant:"normal"};const _d=g.nav`
|
1664
1668
|
display: flex;
|
1665
1669
|
justify-content: space-between;
|
1666
1670
|
|
@@ -1669,7 +1673,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1669
1673
|
margin-bottom: -1px;
|
1670
1674
|
|
1671
1675
|
> * {
|
1672
|
-
margin-left: ${
|
1676
|
+
margin-left: ${zt("space.2")};
|
1673
1677
|
}
|
1674
1678
|
|
1675
1679
|
> *:first-child {
|
@@ -1682,70 +1686,70 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1682
1686
|
}
|
1683
1687
|
|
1684
1688
|
${Zt};
|
1685
|
-
`;function
|
1689
|
+
`;function Vd({actions:t,className:r,children:o,label:a,...n}){const i=Za(r,"SubNav");return e.createElement(_d,Lt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}Vd.displayName="SubNav";const Ud=g.div`
|
1686
1690
|
display: flex;
|
1687
1691
|
${Zt};
|
1688
|
-
`,
|
1689
|
-
padding-left: ${
|
1690
|
-
padding-right: ${
|
1691
|
-
font-weight: ${
|
1692
|
-
font-size: ${
|
1692
|
+
`,qd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Za("SubNav-item",e.selected&&"selected",e.className)})))`
|
1693
|
+
padding-left: ${zt("space.3")};
|
1694
|
+
padding-right: ${zt("space.3")};
|
1695
|
+
font-weight: ${zt("fontWeights.semibold")};
|
1696
|
+
font-size: ${zt("fontSizes.1")};
|
1693
1697
|
line-height: 20px; //custom value for SubNav
|
1694
1698
|
min-height: 34px; //custom value for SubNav
|
1695
|
-
color: ${
|
1699
|
+
color: ${zt("colors.fg.default")};
|
1696
1700
|
text-align: center;
|
1697
1701
|
text-decoration: none;
|
1698
|
-
border-top: 1px solid ${
|
1699
|
-
border-bottom: 1px solid ${
|
1700
|
-
border-right: 1px solid ${
|
1702
|
+
border-top: 1px solid ${zt("colors.border.default")};
|
1703
|
+
border-bottom: 1px solid ${zt("colors.border.default")};
|
1704
|
+
border-right: 1px solid ${zt("colors.border.default")};
|
1701
1705
|
display: flex;
|
1702
1706
|
align-items: center;
|
1703
1707
|
|
1704
1708
|
&:first-of-type {
|
1705
|
-
border-top-left-radius: ${
|
1706
|
-
border-bottom-left-radius: ${
|
1707
|
-
border-left: 1px solid ${
|
1709
|
+
border-top-left-radius: ${zt("radii.2")};
|
1710
|
+
border-bottom-left-radius: ${zt("radii.2")};
|
1711
|
+
border-left: 1px solid ${zt("colors.border.default")};
|
1708
1712
|
}
|
1709
1713
|
|
1710
1714
|
&:last-of-type {
|
1711
|
-
border-top-right-radius: ${
|
1712
|
-
border-bottom-right-radius: ${
|
1715
|
+
border-top-right-radius: ${zt("radii.2")};
|
1716
|
+
border-bottom-right-radius: ${zt("radii.2")};
|
1713
1717
|
}
|
1714
1718
|
|
1715
1719
|
&:hover,
|
1716
1720
|
&:focus {
|
1717
1721
|
text-decoration: none;
|
1718
|
-
background-color: ${
|
1722
|
+
background-color: ${zt("colors.canvas.subtle")};
|
1719
1723
|
transition: 0.2s ease;
|
1720
1724
|
|
1721
1725
|
.SubNav-octicon {
|
1722
|
-
color: ${
|
1726
|
+
color: ${zt("colors.fg.muted")};
|
1723
1727
|
}
|
1724
1728
|
}
|
1725
1729
|
|
1726
1730
|
&.selected {
|
1727
|
-
color: ${
|
1728
|
-
background-color: ${
|
1729
|
-
border-color: ${
|
1731
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1732
|
+
background-color: ${zt("colors.accent.emphasis")};
|
1733
|
+
border-color: ${zt("colors.accent.emphasis")};
|
1730
1734
|
.SubNav-octicon {
|
1731
|
-
color: ${
|
1735
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1732
1736
|
}
|
1733
1737
|
}
|
1734
1738
|
|
1735
1739
|
${Zt};
|
1736
|
-
`;
|
1740
|
+
`;qd.displayName="SubNav.Link",Ud.displayName="SubNav.Links";var Kd=Object.assign(Vd,{Link:qd,Links:Ud});const Gd=g.div`
|
1737
1741
|
margin-top: 0;
|
1738
|
-
border-bottom: 1px solid ${
|
1742
|
+
border-bottom: 1px solid ${zt("colors.border.default")};
|
1739
1743
|
${Zt}
|
1740
|
-
`,
|
1744
|
+
`,Xd=g.nav`
|
1741
1745
|
display: flex;
|
1742
1746
|
margin-bottom: -1px;
|
1743
1747
|
overflow: auto;
|
1744
|
-
`;function
|
1748
|
+
`;function Yd({children:t,"aria-label":r,...o}){return e.createElement(Gd,o,e.createElement(Xd,{"aria-label":r},t))}Yd.displayName="TabNav";const Jd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Za("TabNav-item",e.selected&&"selected",e.className)})))`
|
1745
1749
|
padding: 8px 12px;
|
1746
|
-
font-size: ${
|
1750
|
+
font-size: ${zt("fontSizes.1")};
|
1747
1751
|
line-height: 20px;
|
1748
|
-
color: ${
|
1752
|
+
color: ${zt("colors.fg.default")};
|
1749
1753
|
text-decoration: none;
|
1750
1754
|
background-color: transparent;
|
1751
1755
|
border: 1px solid transparent;
|
@@ -1753,31 +1757,31 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1753
1757
|
|
1754
1758
|
&:hover,
|
1755
1759
|
&:focus {
|
1756
|
-
color: ${
|
1760
|
+
color: ${zt("colors.fg.default")};
|
1757
1761
|
text-decoration: none;
|
1758
1762
|
}
|
1759
1763
|
|
1760
1764
|
&.selected {
|
1761
|
-
color: ${
|
1762
|
-
border-color: ${
|
1763
|
-
border-top-right-radius: ${
|
1764
|
-
border-top-left-radius: ${
|
1765
|
-
background-color: ${
|
1765
|
+
color: ${zt("colors.fg.default")};
|
1766
|
+
border-color: ${zt("colors.border.default")};
|
1767
|
+
border-top-right-radius: ${zt("radii.2")};
|
1768
|
+
border-top-left-radius: ${zt("radii.2")};
|
1769
|
+
background-color: ${zt("colors.canvas.default")};
|
1766
1770
|
}
|
1767
1771
|
|
1768
1772
|
${Zt};
|
1769
|
-
`;
|
1773
|
+
`;Jd.displayName="TabNav.Link";var Zd=Object.assign(Yd,{Link:Jd});const Qd=e.forwardRef((({as:t=on,id:r,required:o,disabled:a,...n},i)=>(r&&console.warn("instead of passing the 'id' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),a&&console.warn("instead of passing the 'disabled' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),o&&console.warn("instead of passing the 'required' prop directly to <TextInputField.Input>, it should be passed to the parent component, <TextInputField>"),e.createElement(ai,{name:"Input"},(({disabled:r,id:o,required:a,validationMessageId:l,captionId:d})=>e.createElement(t,Lt({ref:i,"aria-describedby":[l,d].filter(Boolean).join(" "),id:o,required:a,disabled:r},n)))))));var es=Object.assign(hi,{Input:Qd,Caption:hi.Caption,Label:hi.Label,Validation:hi.Validation}),ts=F(te,P,O,D,H,V,q,G,j,re,pe,be,he),rs=new RegExp("^("+ts.propNames.join("|")+")$");const os={small:"16px",medium:"20px",large:"24px",extralarge:"32px"},as=({as:e="span",onClick:t,onFocus:r,tabIndex:o=-1})=>Boolean(r||t||o>-1||["a","button"].includes(e)),ns=ue({prop:"size",variants:{small:{fontSize:0,height:os.small,lineHeight:os.small,paddingLeft:1,paddingRight:1,paddingTop:0,paddingBottom:0},medium:{fontSize:0,height:os.medium,lineHeight:os.medium,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},large:{fontSize:0,height:os.large,lineHeight:os.large,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},extralarge:{fontSize:1,height:os.extralarge,lineHeight:os.extralarge,paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0}}}),is=g.span.attrs((({text:e,onRemove:t,onKeyDown:r})=>({onKeyDown:e=>{r&&r(e),"Backspace"!==e.key&&"Delete"!==e.key||!t||t()},"aria-label":t?`${e}, press backspace or delete to remove`:void 0})))`
|
1770
1774
|
align-items: center;
|
1771
1775
|
border-radius: 999px;
|
1772
|
-
cursor: ${e=>
|
1776
|
+
cursor: ${e=>as(e)?"pointer":"auto"};
|
1773
1777
|
display: inline-flex;
|
1774
|
-
font-weight: ${
|
1778
|
+
font-weight: ${zt("fontWeights.bold")};
|
1775
1779
|
font-family: inherit;
|
1776
1780
|
text-decoration: none;
|
1777
1781
|
white-space: nowrap;
|
1778
|
-
${
|
1782
|
+
${ns}
|
1779
1783
|
${Zt}
|
1780
|
-
`;
|
1784
|
+
`;is.defaultProps={as:"span",size:"medium"};var ls=is;const ds=ue({prop:"size",variants:{small:{height:os.small,width:os.small},medium:{height:os.medium,width:os.medium},large:{height:os.large,width:os.large},extralarge:{height:os.extralarge,width:os.extralarge}}}),ss=e=>.75*parseInt(os[e||"medium"],10),cs=g.span`
|
1781
1785
|
background-color: transparent;
|
1782
1786
|
font-family: inherit;
|
1783
1787
|
color: currentColor;
|
@@ -1794,22 +1798,22 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1794
1798
|
border: 0;
|
1795
1799
|
border-radius: 999px;
|
1796
1800
|
|
1797
|
-
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-left:",";"],
|
1801
|
+
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-left:",";"],zt("space.2"));default:return p(["margin-left:",";"],zt("space.1"))}}}
|
1798
1802
|
|
1799
1803
|
&:hover,
|
1800
1804
|
&:focus {
|
1801
1805
|
// TODO: choose a better functional color variable for this
|
1802
|
-
background-color: ${
|
1806
|
+
background-color: ${zt("colors.neutral.muted")};
|
1803
1807
|
}
|
1804
1808
|
|
1805
1809
|
&:active {
|
1806
1810
|
// TODO: choose a better functional color variable for this
|
1807
|
-
background-color: ${
|
1811
|
+
background-color: ${zt("colors.neutral.subtle")};
|
1808
1812
|
}
|
1809
1813
|
|
1810
|
-
${
|
1814
|
+
${ds}
|
1811
1815
|
${Zt}
|
1812
|
-
`,
|
1816
|
+
`,gs=({"aria-label":t,isParentInteractive:r,size:o,...a})=>(delete a.children,e.createElement(cs,Lt({as:r?"span":"button",tabIndex:r?-1:void 0,"aria-label":r?t:"Remove token",size:o},a),e.createElement(fo,{size:ss(o)})));gs.displayName="RemoveTokenButton",gs.defaultProps={size:"medium"};var fs=gs;var us=g("span")`
|
1813
1817
|
flex-grow: 1;
|
1814
1818
|
min-width: 0;
|
1815
1819
|
overflow: hidden;
|
@@ -1850,34 +1854,34 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1850
1854
|
bottom: 0;
|
1851
1855
|
}
|
1852
1856
|
}
|
1853
|
-
`;const
|
1854
|
-
background-color: ${
|
1855
|
-
border-color: ${e=>e.isSelected?
|
1857
|
+
`;const ps=g(ls)`
|
1858
|
+
background-color: ${zt("colors.neutral.subtle")};
|
1859
|
+
border-color: ${e=>e.isSelected?zt("colors.fg.default"):zt("colors.border.subtle")};
|
1856
1860
|
border-style: solid;
|
1857
1861
|
border-width: ${1}px;
|
1858
|
-
color: ${e=>e.isSelected?
|
1862
|
+
color: ${e=>e.isSelected?zt("colors.fg.default"):zt("colors.fg.muted")};
|
1859
1863
|
max-width: 100%;
|
1860
1864
|
padding-right: ${e=>e.hideRemoveButton?void 0:0};
|
1861
1865
|
position: relative;
|
1862
1866
|
${Zt}
|
1863
1867
|
|
1864
|
-
${e=>{if(e.isTokenInteractive)return p(["&:hover{background-color:",";box-shadow:",";color:",";}"],
|
1865
|
-
`,
|
1868
|
+
${e=>{if(e.isTokenInteractive)return p(["&:hover{background-color:",";box-shadow:",";color:",";}"],zt("colors.neutral.muted"),zt("colors.shadow.medium"),zt("colors.fg.default"))}}
|
1869
|
+
`,bs=g("span")`
|
1866
1870
|
flex-shrink: 0;
|
1867
1871
|
line-height: 0;
|
1868
1872
|
|
1869
|
-
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-right:",";"],
|
1870
|
-
`,
|
1873
|
+
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-right:",";"],zt("space.2"));default:return p(["margin-right:",";"],zt("space.1"))}}}
|
1874
|
+
`,hs=i(((t,r)=>{const{as:o,onRemove:a,id:n,leadingVisual:i,text:l,size:d,hideRemoveButton:s,href:c,onClick:g,...f}=t,u=as(t)&&Boolean(a)&&!s,p={as:o,href:c,onClick:g};return e.createElement(ps,Lt({onRemove:a,hideRemoveButton:s||!a,id:null==n?void 0:n.toString(),text:l,size:d,isTokenInteractive:as(t)},u?{}:p,f,{ref:r}),i?e.createElement(bs,{size:d},e.createElement(i,null)):null,e.createElement(us,u?p:{},l),!s&&a?e.createElement(fs,{borderOffset:1,onClick:e=>{e.stopPropagation(),a&&a()},size:d,isParentInteractive:as(t),"aria-hidden":u?"true":"false",sx:u?{position:"relative",zIndex:"1"}:{}}):null)}));hs.displayName="Token",hs.defaultProps={size:"medium"};var ms=hs;const vs={small:0,medium:1,large:1,extralarge:2};function xs({icon:o,contrast:a,className:n,block:i,disabled:l,theme:d,sx:s,tokens:c,onTokenRemove:g,tokenComponent:f,preventTokenWrapping:u,size:p,hideTokenRemoveButtons:b,maxHeight:h,width:m,minWidth:v,maxWidth:x,variant:y,visibleTokenCount:w,...B},k){const{onBlur:$,onFocus:T,onKeyDown:S,...E}=function(e){var t={};for(var r in e)rs.test(r)||(t[r]=e[r]);return t}(B),C=Tr(k),I=Oo(r(null),C),[z,A]=t(),[N,L]=t(Boolean(w)),{containerRef:R}=Ro({focusOutBehavior:"wrap",bindKeys:Nr.ArrowHorizontal|Nr.HomeAndEnd,focusableElementFilter:e=>!e.getAttributeNames().includes("aria-hidden"),getNextFocusable:e=>{var t;if(!z&&0!==z)return;let r=z+1;return"next"===e&&(r+=1),"previous"===e&&(r-=1),r>c.length||r<1?I.current||void 0:null===(t=R.current)||void 0===t?void 0:t.children[r]}},[z]),F=e=>{g(e),setTimeout((()=>{var e,t;const r=null===(e=R.current)||void 0===e?void 0:e.children[z||0],o=r&&xr(r)?r:Array.from((null===(t=R.current)||void 0===t?void 0:t.children)||[]).find((e=>xr(e)));var a;o?o.focus():null===(a=C.current)||void 0===a||a.focus()}),0)},D=()=>{A(void 0),setTimeout((()=>{var e;null!==(e=R.current)&&void 0!==e&&e.contains(document.activeElement)||!w||L(!0)}),0)},M=e=>{var t;"Escape"===e.key&&(null===(t=C.current)||void 0===t||t.focus())},O=e=>{e.stopPropagation()},P=N?c.slice(0,w):c;return e.createElement(tn,{block:i,className:n,contrast:a,disabled:l,hasIcon:!!o,theme:d,width:m,minWidth:v,maxWidth:x,variant:y,onClick:()=>{var e;null===(e=I.current)||void 0===e||e.focus()},sx:{...i?{display:"flex",width:"100%"}:{},...h?{maxHeight:h,overflow:"auto"}:{},...u?{overflow:"auto"}:{},...s}},e.createElement(Qt,{ref:R,display:"flex",sx:{alignItems:"center",flexWrap:u?"nowrap":"wrap",marginLeft:"-0.25rem",marginBottom:"-0.25rem",flexGrow:1,"> *":{flexShrink:0,marginLeft:"0.25rem",marginBottom:"0.25rem"}}},e.createElement(Qt,{sx:{order:1,flexGrow:1}},o&&e.createElement(o,{className:"TextInput-icon"}),e.createElement(Qa,Lt({ref:I,disabled:l,onFocus:e=>{T&&T(e),A(void 0),w&&L(!1)},onBlur:e=>{$&&$(e),setTimeout((()=>{var e;null!==(e=R.current)&&void 0!==e&&e.contains(document.activeElement)||!w||L(!0)}),0)},onKeyDown:e=>{var t;if(S&&S(e),null!==(t=C.current)&&void 0!==t&&t.value)return;const r=c[c.length-1];"Backspace"===e.key&&r&&(F(r.id),C.current&&(C.current.value=`${r.text} `),setTimeout((()=>{var e;null===(e=C.current)||void 0===e||e.select()}),0))},type:"text",sx:{height:"100%"}},E))),f?P.map((({id:t,...r},o)=>{return e.createElement(f,Lt({key:t,onFocus:(a=o,()=>{A(a)}),onBlur:D,onKeyUp:M,onClick:O,isSelected:z===o,onRemove:()=>{F(t)},hideRemoveButton:b,size:p,tabIndex:0},r));var a})):null,N?e.createElement(Ci,{color:"fg.muted",fontSize:p&&vs[p]},"+",c.length-P.length):null))}xs.displayName="TextInputWithTokensInnerComponent";const ys=e.forwardRef(xs);ys.defaultProps={tokenComponent:ms,size:"extralarge",hideTokenRemoveButtons:!1,preventTokenWrapping:!1},ys.displayName="TextInputWithTokens";var ws=ys;const Bs=g.div`
|
1871
1875
|
display: flex;
|
1872
1876
|
flex-direction: column;
|
1873
1877
|
${e=>e.clipSidebar&&p([".Timeline-Item:first-child{padding-top:0;}.Timeline-Item:last-child{padding-bottom:0;}"])}
|
1874
1878
|
|
1875
1879
|
${Zt};
|
1876
|
-
`,
|
1880
|
+
`,ks=g.div.attrs((e=>({className:Za("Timeline-Item",e.className)})))`
|
1877
1881
|
display: flex;
|
1878
1882
|
position: relative;
|
1879
|
-
padding: ${
|
1880
|
-
margin-left: ${
|
1883
|
+
padding: ${zt("space.3")} 0;
|
1884
|
+
margin-left: ${zt("space.3")};
|
1881
1885
|
|
1882
1886
|
&::before {
|
1883
1887
|
position: absolute;
|
@@ -1887,40 +1891,40 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1887
1891
|
display: block;
|
1888
1892
|
width: 2px;
|
1889
1893
|
content: '';
|
1890
|
-
background-color: ${
|
1894
|
+
background-color: ${zt("colors.border.muted")};
|
1891
1895
|
}
|
1892
1896
|
|
1893
|
-
${e=>e.condensed&&p(["padding-top:",";padding-bottom:0;&:last-child{padding-bottom:",";}.TimelineItem-Badge{height:16px;margin-top:",";margin-bottom:",";color:",";background-color:",";border:0;}"],
|
1897
|
+
${e=>e.condensed&&p(["padding-top:",";padding-bottom:0;&:last-child{padding-bottom:",";}.TimelineItem-Badge{height:16px;margin-top:",";margin-bottom:",";color:",";background-color:",";border:0;}"],zt("space.1"),zt("space.3"),zt("space.2"),zt("space.2"),zt("colors.fg.muted"),zt("colors.canvas.default"))}
|
1894
1898
|
|
1895
1899
|
${Zt};
|
1896
|
-
|
1900
|
+
`,$s=t=>e.createElement(Qt,{position:"relative",zIndex:1},e.createElement(Qt,{display:"flex",className:"TimelineItem-Badge",flexShrink:0,borderRadius:"50%",borderWidth:"2px",borderStyle:"solid",borderColor:"canvas.default",overflow:"hidden",color:"fg.muted",bg:"timeline.badgeBg",width:"32px",height:"32px",mr:2,ml:"-15px",alignItems:"center",justifyContent:"center",sx:t.sx},t.children));$s.displayName="TimelineBadge";const Ts=g.div`
|
1897
1901
|
min-width: 0;
|
1898
1902
|
max-width: 100%;
|
1899
|
-
margin-top: ${
|
1900
|
-
color: ${
|
1903
|
+
margin-top: ${zt("space.1")};
|
1904
|
+
color: ${zt("colors.fg.muted")};
|
1901
1905
|
flex: auto;
|
1902
|
-
font-size: ${
|
1906
|
+
font-size: ${zt("fontSizes.1")};
|
1903
1907
|
${Zt};
|
1904
|
-
`,
|
1908
|
+
`,Ss=g.div`
|
1905
1909
|
position: relative
|
1906
1910
|
z-index: 1;
|
1907
1911
|
height: 24px;
|
1908
1912
|
margin: 0;
|
1909
|
-
margin-bottom: -${
|
1913
|
+
margin-bottom: -${zt("space.3")};
|
1910
1914
|
margin-left: 0;
|
1911
|
-
background-color: ${
|
1915
|
+
background-color: ${zt("colors.canvas.default")};
|
1912
1916
|
border: 0;
|
1913
|
-
border-top: ${
|
1917
|
+
border-top: ${zt("space.1")} solid ${zt("colors.border.default")};
|
1914
1918
|
${Zt};
|
1915
|
-
`;
|
1919
|
+
`;ks.displayName="Timeline.Item",$s.displayName="Timeline.Badge",Ts.displayName="Timeline.Body",Ss.displayName="Timeline.Break";var Es=Object.assign(Bs,{Item:ks,Badge:$s,Body:Ts,Break:Ss});function Cs(e,t,r){return Math.min(Math.max(e,r),t)}class Is extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function zs(e){if("string"!=typeof e)throw new Is(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Os.test(e)?function(e){const t=e.toLowerCase().trim(),r=Ns[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Is(e);return`#${r}`}(e):e;const r=Rs.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(Ls(e,2),16))),parseInt(Ls(e[3]||"f",2),16)/255]}const o=Fs.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=Ds.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const n=Ms.exec(t);if(n){const[t,r,o,a]=Array.from(n).slice(1).map(parseFloat);if(Cs(0,100,r)!==r)throw new Is(e);if(Cs(0,100,o)!==o)throw new Is(e);return[...Hs(t,r,o),a||1]}throw new Is(e)}const As=e=>parseInt(e.replace(/_/g,""),36),Ns="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=As(t.substring(0,3)),o=As(t.substring(3)).toString(16);let a="";for(let e=0;e<6-o.length;e++)a+="0";return e[r]=`${a}${o}`,e}),{}),Ls=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Rs=new RegExp(`^#${Ls("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Fs=new RegExp(`^#${Ls("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ds=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Ls(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ms=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Os=/^[a-z]+$/i,Ps=e=>Math.round(255*e),Hs=(e,t,r)=>{let o=r/100;if(0===t)return[o,o,o].map(Ps);const a=(e%360+360)%360/60,n=(1-Math.abs(2*o-1))*(t/100),i=n*(1-Math.abs(a%2-1));let l=0,d=0,s=0;a>=0&&a<1?(l=n,d=i):a>=1&&a<2?(l=i,d=n):a>=2&&a<3?(d=n,s=i):a>=3&&a<4?(d=i,s=n):a>=4&&a<5?(l=i,s=n):a>=5&&a<6&&(l=n,s=i);const c=o-n/2;return[l+c,d+c,s+c].map(Ps)};const Ws={"--lightness-threshold":"0.453","--border-threshold":"0.96","--border-alpha":"max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1))",background:"rgb(var(--label-r), var(--label-g), var(--label-b))",color:"hsl(0, 0%, calc(var(--lightness-switch) * 100%))",borderWidth:1,borderStyle:"solid",borderColor:"hsla(var(--label-h),calc(var(--label-s) * 1%),calc((var(--label-l) - 25) * 1%),var(--border-alpha))"},js={"--lightness-threshold":"0.6","--background-alpha":"0.18","--border-alpha":"0.3","--lighten-by":"calc(((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * var(--lightness-switch))",borderWidth:1,borderStyle:"solid",background:"rgba(var(--label-r), var(--label-g), var(--label-b), var(--background-alpha))",color:"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))",borderColor:"hsla(var(--label-h), calc(var(--label-s) * 1%),calc((var(--label-l) + var(--lighten-by)) * 1%),var(--border-alpha))"},_s=i(((t,r)=>{const{as:o,fillColor:a="#999",onRemove:i,id:l,isSelected:d,text:s,size:c,hideRemoveButton:g,href:f,onClick:u,...p}=t,b={as:o,href:f,onClick:u},{colorScheme:h}=Gt(),m=as(t)&&Boolean(i)&&!g,v=n((()=>{const[e,t,r]=zs(a),[o,n,l]=function(e){const[t,r,o,a]=zs(e).map(((e,t)=>3===t?e:e/255)),n=Math.max(t,r,o),i=Math.min(t,r,o),l=(n+i)/2;if(n===i)return[0,0,l,a];const d=n-i;return[60*(t===n?(r-o)/d+(r<o?6:0):r===n?(o-t)/d+2:(t-r)/d+4),l>.5?d/(2-n-i):d/(n+i),l,a]}(a);return{"--label-r":String(e),"--label-g":String(t),"--label-b":String(r),"--label-h":String(Math.round(o)),"--label-s":String(Math.round(100*n)),"--label-l":String(Math.round(100*l)),"--perceived-lightness":"calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255)","--lightness-switch":"max(0, min(calc((var(--perceived-lightness) - var(--lightness-threshold)) * -1000), 1))",paddingRight:g||!i?void 0:0,position:"relative",..."light"===h?Ws:js,...d?{background:"light"===h?"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 5) * 1%))":js.background,":focus":{outline:"none"},":after":{content:'""',position:"absolute",zIndex:1,top:"-2px",right:"-2px",bottom:"-2px",left:"-2px",display:"block",pointerEvents:"none",boxShadow:"0 0 0 2px "+("light"===h?"rgb(var(--label-r), var(--label-g), var(--label-b))":"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%))"),borderRadius:"999px"}}:{}}}),[h,a,d,g,i]);return e.createElement(ls,Lt({onRemove:i,id:null==l?void 0:l.toString(),isSelected:d,text:s,size:c,sx:v},m?{}:b,p,{ref:r}),e.createElement(us,m?b:{},s),!g&&i?e.createElement(fs,{borderOffset:1,onClick:e=>{e.stopPropagation(),i&&i()},size:c,"aria-hidden":m?"true":"false",isParentInteractive:as(t),sx:m?{position:"relative",zIndex:"1"}:{}}):null)}));_s.defaultProps={fillColor:"#999",size:"medium"},_s.displayName="IssueLabelToken";var Vs=_s;const Us=g.span`
|
1916
1920
|
// 'space.1' is used because to match space from the left of the token to the left of the avatar
|
1917
1921
|
// '* 2' is done to account for the top and bottom
|
1918
|
-
--spacing: calc(${
|
1922
|
+
--spacing: calc(${zt("space.1")} * 2);
|
1919
1923
|
|
1920
1924
|
display: block;
|
1921
|
-
height: ${e=>`calc(${
|
1922
|
-
width: ${e=>`calc(${
|
1923
|
-
`,
|
1925
|
+
height: ${e=>`calc(${os[e.avatarSize]} - var(--spacing))`};
|
1926
|
+
width: ${e=>`calc(${os[e.avatarSize]} - var(--spacing))`};
|
1927
|
+
`,qs=i((({avatarSrc:t,id:r,size:o,...a},n)=>e.createElement(ms,Lt({leadingVisual:()=>e.createElement(Us,{avatarSize:o||"medium"},e.createElement(mn,{src:t,size:parseInt(os[o||"medium"],10),sx:{width:"100%",height:"100%"}})),size:o,id:null==r?void 0:r.toString(),sx:{paddingLeft:zt("space.1")}},a,{ref:n}))));qs.defaultProps={size:"medium"},qs.displayName="AvatarToken";var Ks=qs;const Gs=g.span`
|
1924
1928
|
position: relative;
|
1925
1929
|
|
1926
1930
|
&::before {
|
@@ -1929,7 +1933,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1929
1933
|
display: none;
|
1930
1934
|
width: 0px;
|
1931
1935
|
height: 0px;
|
1932
|
-
color: ${
|
1936
|
+
color: ${zt("colors.neutral.emphasisPlus")};
|
1933
1937
|
pointer-events: none;
|
1934
1938
|
content: '';
|
1935
1939
|
border: 6px solid transparent;
|
@@ -1941,9 +1945,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1941
1945
|
z-index: 1000000;
|
1942
1946
|
display: none;
|
1943
1947
|
padding: 0.5em 0.75em;
|
1944
|
-
font: normal normal 11px/1.5 ${
|
1948
|
+
font: normal normal 11px/1.5 ${zt("fonts.normal")};
|
1945
1949
|
-webkit-font-smoothing: subpixel-antialiased;
|
1946
|
-
color: ${
|
1950
|
+
color: ${zt("colors.fg.onEmphasis")};
|
1947
1951
|
text-align: center;
|
1948
1952
|
text-decoration: none;
|
1949
1953
|
text-shadow: none;
|
@@ -1953,8 +1957,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1953
1957
|
white-space: pre;
|
1954
1958
|
pointer-events: none;
|
1955
1959
|
content: attr(aria-label);
|
1956
|
-
background: ${
|
1957
|
-
border-radius: ${
|
1960
|
+
background: ${zt("colors.neutral.emphasisPlus")};
|
1961
|
+
border-radius: ${zt("radii.1")};
|
1958
1962
|
opacity: 0;
|
1959
1963
|
}
|
1960
1964
|
|
@@ -2016,7 +2020,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2016
2020
|
right: 50%;
|
2017
2021
|
bottom: -7px;
|
2018
2022
|
margin-right: -6px;
|
2019
|
-
border-bottom-color: ${
|
2023
|
+
border-bottom-color: ${zt("colors.neutral.emphasisPlus")};
|
2020
2024
|
}
|
2021
2025
|
}
|
2022
2026
|
|
@@ -2024,12 +2028,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2024
2028
|
&::after {
|
2025
2029
|
right: auto;
|
2026
2030
|
left: 50%;
|
2027
|
-
margin-left: -${
|
2031
|
+
margin-left: -${zt("space.3")};
|
2028
2032
|
}
|
2029
2033
|
}
|
2030
2034
|
|
2031
2035
|
&.tooltipped-sw::after {
|
2032
|
-
margin-right: -${
|
2036
|
+
margin-right: -${zt("space.3")};
|
2033
2037
|
}
|
2034
2038
|
|
2035
2039
|
// Tooltips above the object
|
@@ -2047,7 +2051,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2047
2051
|
right: 50%;
|
2048
2052
|
bottom: auto;
|
2049
2053
|
margin-right: -6px;
|
2050
|
-
border-top-color: ${
|
2054
|
+
border-top-color: ${zt("colors.neutral.emphasisPlus")};
|
2051
2055
|
}
|
2052
2056
|
}
|
2053
2057
|
|
@@ -2055,12 +2059,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2055
2059
|
&::after {
|
2056
2060
|
right: auto;
|
2057
2061
|
left: 50%;
|
2058
|
-
margin-left: -${
|
2062
|
+
margin-left: -${zt("space.3")};
|
2059
2063
|
}
|
2060
2064
|
}
|
2061
2065
|
|
2062
2066
|
&.tooltipped-nw::after {
|
2063
|
-
margin-right: -${
|
2067
|
+
margin-right: -${zt("space.3")};
|
2064
2068
|
}
|
2065
2069
|
|
2066
2070
|
// Move the tooltip body to the center of the object.
|
@@ -2083,7 +2087,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2083
2087
|
bottom: 50%;
|
2084
2088
|
left: -7px;
|
2085
2089
|
margin-top: -6px;
|
2086
|
-
border-left-color: ${
|
2090
|
+
border-left-color: ${zt("colors.neutral.emphasisPlus")};
|
2087
2091
|
}
|
2088
2092
|
}
|
2089
2093
|
|
@@ -2101,7 +2105,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2101
2105
|
right: -7px;
|
2102
2106
|
bottom: 50%;
|
2103
2107
|
margin-top: -6px;
|
2104
|
-
border-right-color: ${
|
2108
|
+
border-right-color: ${zt("colors.neutral.emphasisPlus")};
|
2105
2109
|
}
|
2106
2110
|
}
|
2107
2111
|
|
@@ -2146,16 +2150,16 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2146
2150
|
}
|
2147
2151
|
|
2148
2152
|
${Zt};
|
2149
|
-
`;function
|
2153
|
+
`;function Xs({direction:t="n",children:r,className:o,text:a,noDelay:n,align:i,wrap:l,...d}){const s=Za(o,`tooltipped-${t}`,i&&`tooltipped-align-${i}-2`,n&&"tooltipped-no-delay",l&&"tooltipped-multiline");return e.createElement(Gs,Lt({role:"tooltip","aria-label":a},d,{className:s}),r)}Xs.displayName="Tooltip",Xs.alignments=["left","right"],Xs.directions=["n","ne","e","se","s","sw","w","nw"];const Ys=g.nav`
|
2150
2154
|
display: flex;
|
2151
2155
|
justify-content: space-between;
|
2152
|
-
border-bottom: 1px solid ${
|
2156
|
+
border-bottom: 1px solid ${zt("colors.border.muted")};
|
2153
2157
|
&.UnderlineNav--right {
|
2154
2158
|
justify-content: flex-end;
|
2155
2159
|
|
2156
2160
|
.UnderlineNav-item {
|
2157
2161
|
margin-right: 0;
|
2158
|
-
margin-left: ${
|
2162
|
+
margin-left: ${zt("space.3")};
|
2159
2163
|
}
|
2160
2164
|
|
2161
2165
|
.UnderlineNav-actions {
|
@@ -2176,43 +2180,43 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2176
2180
|
}
|
2177
2181
|
|
2178
2182
|
${Zt};
|
2179
|
-
`;function
|
2180
|
-
padding: ${
|
2181
|
-
margin-right: ${
|
2182
|
-
font-size: ${
|
2183
|
-
line-height: ${
|
2184
|
-
color: ${
|
2183
|
+
`;function Js({actions:t,className:r,align:o,children:a,full:n,label:i,theme:l,...d}){const s=Za(r,"UnderlineNav",o&&`UnderlineNav--${o}`,n&&"UnderlineNav--full");return e.createElement(Ys,Lt({className:s,"aria-label":i,theme:l},d),e.createElement("div",{className:"UnderlineNav-body"},a),t&&e.createElement("div",{className:"UnderlineNav-actions"},t))}Js.displayName="UnderlineNav";const Zs=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Za("UnderlineNav-item",e.selected&&"selected",e.className)})))`
|
2184
|
+
padding: ${zt("space.3")} ${zt("space.2")};
|
2185
|
+
margin-right: ${zt("space.3")};
|
2186
|
+
font-size: ${zt("fontSizes.1")};
|
2187
|
+
line-height: ${zt("lineHeights.default")};
|
2188
|
+
color: ${zt("colors.fg.default")};
|
2185
2189
|
text-align: center;
|
2186
2190
|
border-bottom: 2px solid transparent;
|
2187
2191
|
text-decoration: none;
|
2188
2192
|
|
2189
2193
|
&:hover,
|
2190
2194
|
&:focus {
|
2191
|
-
color: ${
|
2195
|
+
color: ${zt("colors.fg.default")};
|
2192
2196
|
text-decoration: none;
|
2193
|
-
border-bottom-color: ${
|
2197
|
+
border-bottom-color: ${zt("colors.neutral.muted")};
|
2194
2198
|
transition: 0.2s ease;
|
2195
2199
|
|
2196
2200
|
.UnderlineNav-octicon {
|
2197
|
-
color: ${
|
2201
|
+
color: ${zt("colors.fg.muted")};
|
2198
2202
|
}
|
2199
2203
|
}
|
2200
2204
|
|
2201
2205
|
&.selected {
|
2202
|
-
color: ${
|
2203
|
-
border-bottom-color: ${
|
2206
|
+
color: ${zt("colors.fg.default")};
|
2207
|
+
border-bottom-color: ${zt("colors.primer.border.active")};
|
2204
2208
|
|
2205
2209
|
.UnderlineNav-octicon {
|
2206
|
-
color: ${
|
2210
|
+
color: ${zt("colors.fg.default")};
|
2207
2211
|
}
|
2208
2212
|
}
|
2209
2213
|
|
2210
2214
|
${Zt};
|
2211
|
-
`;
|
2215
|
+
`;Zs.displayName="UnderlineNav.Link";var Qs=Object.assign(Js,{Link:Zs});const ec=g.input`
|
2212
2216
|
cursor: pointer;
|
2213
2217
|
|
2214
2218
|
${e=>e.disabled&&"cursor: not-allowed;"}
|
2215
2219
|
|
2216
2220
|
${Zt}
|
2217
|
-
`,
|
2221
|
+
`,tc=e.forwardRef((({checked:t,indeterminate:r,disabled:o,sx:a,required:n,validationStatus:i,...d},s)=>{const c=Tr(s);return l((()=>{c.current&&(c.current.indeterminate=r||!1)}),[r,t,c]),e.createElement(ec,Lt({type:"checkbox",disabled:o,"aria-disabled":o?"true":"false",ref:s||c,checked:!r&&t,"aria-checked":r?"mixed":t?"true":"false",sx:a,required:n,"aria-required":n?"true":"false","aria-invalid":"error"===i?"true":"false"},d))}));tc.displayName="Checkbox";var rc=tc;export{dr as Absolute,Oa as ActionList,Ga as ActionMenu,bn as Autocomplete,mn as Avatar,yn as AvatarPair,kn as AvatarStack,Ks as AvatarToken,Dt as BaseStyles,tr as BorderBox,Qt as Box,$n as BranchName,zn as Breadcrumb,In as Breadcrumbs,_r as Button,po as ButtonClose,Vr as ButtonDanger,qr as ButtonGroup,Xr as ButtonInvisible,Kr as ButtonOutline,Gr as ButtonPrimary,Yr as ButtonTableList,Vn as Caret,rc as Checkbox,ki as CheckboxInputField,Gn as CircleBadge,Xn as CircleOcticon,pa as ConfirmationDialog,Fn as CounterLabel,Ti as Details,Fi as Dialog,_i as Dropdown,Vi as DropdownButton,Ui as DropdownMenu,Ji as FilterList,qi as FilteredSearch,sr as Fixed,el as Flash,or as Flex,ol as FormGroup,nr as Grid,ll as Header,sl as Heading,Vs as IssueLabelToken,pl as Label,cl as LabelGroup,hl as Link,Mn as NewButton,_a as Overlay,ml as Pagehead,wl as Pagination,$l as PointerBox,El as Popover,lr as Position,Al as ProgressBar,Fl as RadioInputField,cr as Relative,Wo as SSRProvider,Ad as SelectMenu,Md as SideNav,ld as Spinner,jd as StateLabel,gr as Sticky,Lo as StyledOcticon,Kd as SubNav,Zd as TabNav,Ci as Text,on as TextInput,es as TextInputField,ws as TextInputWithTokens,Jt as ThemeProvider,Es as Timeline,ms as Token,Xs as Tooltip,wa as Truncate,Qs as UnderlineNav,x as theme,zt as themeGet,Xt as useColorSchemeVar,ba as useConfirm,fr as useDetails,$r as useOnEscapePress,mr as useOnOutsideClick,wr as useOpenAndCloseFocus,Sr as useOverlay,_o as useSSRSafeId,ur as useSafeTimeout,Gt as useTheme};
|
2218
2222
|
//# sourceMappingURL=browser.esm.js.map
|