@primer/components 0.0.0-202111194229 → 0.0.0-202111215914
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 +5 -1
- package/dist/browser.esm.js +147 -165
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +154 -172
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionList2/Divider.d.ts +3 -2
- package/lib/ActionList2/Divider.js +10 -5
- package/lib/ActionList2/Item.js +21 -5
- package/lib/ActionList2/List.js +11 -1
- package/lib/ActionList2/MenuContext.d.ts +10 -0
- package/lib/ActionList2/MenuContext.js +15 -0
- package/lib/ActionList2/Selection.js +11 -0
- package/lib/ActionList2/index.d.ts +1 -2
- package/lib/ActionMenu2.d.ts +310 -0
- package/lib/ActionMenu2.js +91 -0
- package/lib/Autocomplete/Autocomplete.d.ts +2 -10
- package/lib/Autocomplete/AutocompleteInput.d.ts +2 -10
- package/lib/Checkbox.d.ts +1 -1
- package/lib/SelectMenu/SelectMenu.d.ts +2 -10
- package/lib/TextInput.d.ts +1 -8
- package/lib/TextInput.js +5 -16
- package/lib/TextInputWithTokens.d.ts +2 -10
- package/lib/_TextInputWrapper.d.ts +0 -3
- package/lib/_TextInputWrapper.js +7 -18
- package/lib/drafts.d.ts +1 -0
- package/lib/drafts.js +13 -0
- package/lib-esm/ActionList2/Divider.d.ts +3 -2
- package/lib-esm/ActionList2/Divider.js +8 -5
- package/lib-esm/ActionList2/Item.js +19 -5
- package/lib-esm/ActionList2/List.js +9 -1
- package/lib-esm/ActionList2/MenuContext.d.ts +10 -0
- package/lib-esm/ActionList2/MenuContext.js +3 -0
- package/lib-esm/ActionList2/Selection.js +9 -0
- package/lib-esm/ActionList2/index.d.ts +1 -2
- package/lib-esm/ActionMenu2.d.ts +310 -0
- package/lib-esm/ActionMenu2.js +67 -0
- package/lib-esm/Autocomplete/Autocomplete.d.ts +2 -10
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +2 -10
- package/lib-esm/Checkbox.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenu.d.ts +2 -10
- package/lib-esm/TextInput.d.ts +1 -8
- package/lib-esm/TextInput.js +5 -16
- package/lib-esm/TextInputWithTokens.d.ts +2 -10
- package/lib-esm/_TextInputWrapper.d.ts +0 -3
- package/lib-esm/_TextInputWrapper.js +7 -18
- package/lib-esm/drafts.d.ts +1 -0
- package/lib-esm/drafts.js +2 -1
- package/package.json +1 -1
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),V={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};V.bgImage=V.backgroundImage,V.bgSize=V.backgroundSize,V.bgPosition=V.backgroundPosition,V.bgRepeat=V.backgroundRepeat;var K=L(V),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,Ve=H.flexShrink,Ke=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=K.backgroundImage,mt=K.backgroundSize,vt=K.backgroundPosition,xt=K.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:Ve,flexBasis:Ke,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:K,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 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`
|
2
2
|
* { box-sizing: border-box; }
|
3
3
|
body { margin: 0; }
|
4
4
|
table { border-collapse: collapse; }
|
@@ -19,7 +19,7 @@ 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 Vt=Ut;const Kt=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 Vt(e,e.colorSchemes[r])}return Vt(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(Kt.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(Kt)}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,_,K,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,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(Vd){}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})))`
|
23
23
|
${Pr}
|
24
24
|
${Hr}
|
25
25
|
`;Wr.defaultProps={variant:"medium"};var _r=Wr;var jr=g(_r)`
|
@@ -83,7 +83,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
83
83
|
}
|
84
84
|
|
85
85
|
${Zt};
|
86
|
-
`;const
|
86
|
+
`;const Kr=g(Qt)`
|
87
87
|
vertical-align: middle;
|
88
88
|
|
89
89
|
&& > * {
|
@@ -124,7 +124,7 @@ 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
|
-
`;
|
127
|
+
`;Kr.defaultProps={display:"inline-block"};var Vr=Kr;var Gr=g(_r)`
|
128
128
|
color: ${It("colors.btn.outline.text")};
|
129
129
|
border: 1px solid ${It("colors.btn.border")};
|
130
130
|
background-color: ${It("colors.btn.bg")};
|
@@ -282,7 +282,7 @@ 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
|
-
`,jo={small:"480px",large:"640px",auto:"auto"},Uo={small:"296px",medium:"320px",large:"480px",xlarge:"640px"},
|
285
|
+
`,jo={small:"480px",large:"640px",auto:"auto"},Uo={small:"296px",medium:"320px",large:"480px",xlarge:"640px"},Ko=g.div`
|
286
286
|
display: flex;
|
287
287
|
flex-direction: column;
|
288
288
|
background-color: ${It("colors.canvas.overlay")};
|
@@ -308,7 +308,7 @@ 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
|
-
`,
|
311
|
+
`,Vo=({dialogLabelId:t,title:r,subtitle:a,dialogDescriptionId:n,onClose:i})=>{const l=o((()=>{i("close-button")}),[i]);return e.createElement(aa.Header,null,e.createElement(Qt,{display:"flex"},e.createElement(Qt,{display:"flex",px:2,py:"6px",flexDirection:"column",flexGrow:1},e.createElement(aa.Title,{id:t},null!=r?r:"Dialog"),a&&e.createElement(aa.Subtitle,{id:n},a)),e.createElement(aa.CloseButton,{onClose:l})))};Vo.displayName="DefaultHeader";const Go=({children:t})=>e.createElement(aa.Body,null,t);Go.displayName="DefaultBody";const qo=({footerButtons:t})=>{const{containerRef:r}=No({bindKeys:Nr.ArrowHorizontal|Nr.Tab,focusInStrategy:"closest"});return t?e.createElement(aa.Footer,{ref:r},e.createElement(aa.Buttons,{buttons:t})):null},Xo=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=Wo(),b=Wo(),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=Do(v,o),y=r(null);Co({containerRef:v,restoreFocusOnCleanUp:!0,initialFocusRef:h}),$r((e=>{s("escape"),e.preventDefault()}),[s]);const w=(null!=i?i:Vo)(m),B=(null!=l?l:Go)(m),k=(null!=d?d:qo)(m);return e.createElement(e.Fragment,null,e.createElement(Fo,null,e.createElement(_o,{ref:y},e.createElement(Ko,{width:g,height:f,ref:x,role:c,"aria-labelledby":p,"aria-describedby":b},w,B,k))))}));Xo.displayName="Dialog";const Yo=g.div.attrs({as:"header"})`
|
312
312
|
box-shadow: 0 1px 0 ${It("colors.border.default")};
|
313
313
|
padding: ${It("space.2")};
|
314
314
|
z-index: 1;
|
@@ -595,7 +595,7 @@ 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
|
-
`,Ha=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=Do(v,m),{theme:y}=qt(),w=parseInt(It("space.2")(y).replace("px","")),B=It("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]),Bo((()=>{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(Fo,{containerName:p},e.createElement(Pa,Rt({height:c,role:o},h,{ref:x,style:{top:`${g||0}px`,left:`${f||0}px`,"--styled-overlay-visibility":s}})))}));Ha.defaultProps={height:"auto",width:"auto"};var Wa=Ha;const _a=({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=Wo(),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}=ko({anchorElementRef:v,floatingElementRef:x,side:h,align:m},[x.current]);return a((()=>{!d&&x.current&&y(null)}),[d,x,y]),No({containerRef:x,disabled:!d||!S,...b}),Co({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(Wa,Rt({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 ja(e,r,a){const[n,i]=t(a);return[null!=e?e:n,o((e=>{i(e),r&&r(e)}),[r])]}_a.displayName="AnchoredOverlay",_a.defaultProps={side:"outside-bottom",align:"start"};const Ua=t=>e.createElement(Ra,Rt({role:"menuitem"},t));Ua.displayName="ActionMenuItem",Ua.displayName="ActionMenu.Item";const
|
598
|
+
`,Ha=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=Do(v,m),{theme:y}=qt(),w=parseInt(It("space.2")(y).replace("px","")),B=It("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]),Bo((()=>{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(Fo,{containerName:p},e.createElement(Pa,Rt({height:c,role:o},h,{ref:x,style:{top:`${g||0}px`,left:`${f||0}px`,"--styled-overlay-visibility":s}})))}));Ha.defaultProps={height:"auto",width:"auto"};var Wa=Ha;const _a=({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=Wo(),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}=ko({anchorElementRef:v,floatingElementRef:x,side:h,align:m},[x.current]);return a((()=>{!d&&x.current&&y(null)}),[d,x,y]),No({containerRef:x,disabled:!d||!S,...b}),Co({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(Wa,Rt({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 ja(e,r,a){const[n,i]=t(a);return[null!=e?e:n,o((e=>{i(e),r&&r(e)}),[r])]}_a.displayName="AnchoredOverlay",_a.defaultProps={side:"outside-bottom",align:"start"};const Ua=t=>e.createElement(Ra,Rt({role:"menuitem"},t));Ua.displayName="ActionMenuItem",Ua.displayName="ActionMenu.Item";const Ka=({anchorContent:t,renderAnchor:r=(t=>e.createElement(jr,t)),anchorRef:a,onAction:i,open:l,setOpen:d,overlayProps:s,items:c,...g})=>{const[f,u]=ja(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(_a,{renderAnchor:m,anchorRef:p,open:f,onOpen:b,onClose:h,overlayProps:s},e.createElement(Fa,Rt({},g,{role:"menu",items:v})))};Ka.displayName="ActionMenuBase",Ka.displayName="ActionMenu";const Va=Object.assign(Ka,{Divider:wa,Item:Ua}),Ga=s(null);var qa,Xa={exports:{}};
|
599
599
|
/*!
|
600
600
|
Copyright (c) 2018 Jed Watson.
|
601
601
|
Licensed under the MIT License (MIT), see
|
@@ -613,14 +613,14 @@ 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 Za=ue({variants:{small:{minHeight:"28px",px:2,py:"3px",fontSize:0,lineHeight:"20px"},large:{px:2,py:"10px",fontSize:3}}})
|
617
|
-
|
616
|
+
`;const Za=ue({variants:{small:{minHeight:"28px",px:2,py:"3px",fontSize:0,lineHeight:"20px"},large:{px:2,py:"10px",fontSize:3}}});var Qa=g.span`
|
617
|
+
display: inline-flex;
|
618
|
+
align-items: stretch;
|
618
619
|
min-height: 34px;
|
619
620
|
font-size: ${It("fontSizes.1")};
|
620
621
|
line-height: 20px;
|
621
622
|
color: ${It("colors.fg.default")};
|
622
623
|
vertical-align: middle;
|
623
|
-
background-color: ${It("colors.canvas.default")};
|
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
626
|
border: 1px solid ${It("colors.border.default")};
|
@@ -628,23 +628,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
628
628
|
outline: none;
|
629
629
|
box-shadow: ${It("shadows.primer.shadow.inset")};
|
630
630
|
cursor: text;
|
631
|
-
padding: 6px 12px;
|
632
|
-
display: grid;
|
633
|
-
grid-template-columns: auto 1fr auto;
|
634
|
-
justify-items: end;
|
635
|
-
& > :not(:last-child) {
|
636
|
-
margin-right: ${It("space.2")};
|
637
|
-
}
|
638
631
|
|
639
|
-
[
|
640
|
-
align-self: center;
|
641
|
-
color: ${It("colors.fg.muted")};
|
642
|
-
}
|
643
|
-
|
644
|
-
[data-component=' trailingVisual '] {
|
645
|
-
align-self: center;
|
646
|
-
color: ${It("colors.fg.muted")};
|
647
|
-
}
|
632
|
+
${e=>e.hasIcon?p(["padding:0;"]):p(["padding:6px 12px;"])}
|
648
633
|
|
649
634
|
.TextInput-icon {
|
650
635
|
align-self: center;
|
@@ -661,36 +646,33 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
661
646
|
${e=>e.contrast&&p(["background-color:",";"],It("colors.canvas.inset"))}
|
662
647
|
|
663
648
|
${e=>e.disabled&&p(["color:",";background-color:",";border-color:",";"],It("colors.primer.fg.disabled"),It("colors.input.disabledBg"),It("colors.border.default"))}
|
664
|
-
|
665
|
-
${e=>"error"===e.validationStatus&&p(["border-color:",";&:focus-within{border-color:",";box-shadow:",";}"],It("colors.danger.emphasis"),It("colors.danger.emphasis"),It("shadows.btn.danger.focusShadow"))}
|
666
|
-
|
667
|
-
${e=>"warning"===e.validationStatus&&p(["border-color:",";&:focus-within{border-color:",";box-shadow:0 0 0 3px ",";}"],It("colors.attention.emphasis"),It("colors.attention.emphasis"),It("colors.attention.muted"))}
|
668
649
|
|
669
|
-
${e=>e.block&&p(["width:100%;"])}
|
650
|
+
${e=>e.block&&p(["display:block;width:100%;"])}
|
651
|
+
|
652
|
+
${e=>e.block&&e.hasIcon&&p(["display:flex;"])}
|
670
653
|
|
671
|
-
// Ensures inputs don'
|
654
|
+
// Ensures inputs don't zoom on mobile but are body-font size on desktop
|
672
655
|
@media (min-width: ${It("breakpoints.1")}) {
|
673
656
|
font-size: ${It("fontSizes.1")};
|
674
657
|
}
|
675
658
|
${me}
|
676
659
|
${xe}
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
`;const tn=e.forwardRef((({icon:t,leadingVisual:r,trailingVisual:o,block:a,className:n,contrast:i,disabled:l,validationStatus:d,sx:s,size:c,width:g,minWidth:f,maxWidth:u,variant:p,...b},h)=>{const m=Ya(n,"TextInput-wrapper");return e.createElement(en,{block:a,className:m,validationStatus:d,contrast:i,disabled:l,sx:s,size:c,width:g,minWidth:f,maxWidth:u,variant:p},t&&e.createElement(t,{className:"TextInput-icon"}),r&&e.createElement("span",{"data-component":"leadingVisual"},"function"==typeof r?e.createElement(r,null):r),e.createElement(Ja,Rt({ref:h,disabled:l},b,{"data-component":"input"})),o&&e.createElement("span",{"data-component":"leadingVisual"},"function"==typeof o?e.createElement(o,null):o))}));tn.defaultProps={type:"text"},tn.displayName="TextInput";var rn=tn;const on=e.forwardRef((({as:r=rn,onFocus:n,onBlur:i,onChange:l,onKeyDown:s,onKeyUp:c,onKeyPress:g,value:f,...u},p)=>{const b=d(Ga);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=Do(x,p),[S,E]=t(!0),C=o((e=>{n&&n(e),k(!0)}),[n,k]),z=o((e=>{i&&i(e),setTimeout((()=>{document.activeElement!==T.current&&k(!1)}),0)}),[i,k,T]),I=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]),R=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,Rt({onFocus:C,onBlur:z,onChange:I,onKeyDown:A,onKeyPress:R,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))}));on.displayName="AutocompleteInput";var an=on;const nn=(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})}};function ln(o){const i=d(Ga);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:z,customScrollContainerRef:I}=o,A=r(null),[N,R]=t(),[L,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;((z||(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,z,T,u,b,p]),M=n((()=>L.reduce(((e,t,r)=>(e[t]=r,e)),{})),[L]),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(io,null),onAction:e=>{k.handleAddItem({...e,id:e.id||Lr(),leadingVisual:void 0}),"multiple"===T&&(b(""),u(""))}}]:[]]),[O,k,u,T,b]);return No({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")));R(t),h(r)}e&&I&&I.current&&r?nn(e,I.current):e&&f.current&&r&&nn(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=[...L].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===L.length&&e.every(((e,t)=>e===L[t]));!1!==v||r||F(e),C&&C(Boolean(v))}),[v,C,y,w,L]),a((()=>{y.length&&m(y.length)}),[y,m]),e.createElement(Qt,{sx:v?{}:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},$?e.createElement(Qt,{p:3,display:"flex",justifyContent:"center"},e.createElement(Tl,null)):e.createElement("div",{ref:A},P.length?e.createElement(Da,{selectionVariant:"multiple",items:P,role:"listbox",id:`${s}-listbox`,"aria-labelledby":E}):e.createElement(Qt,{p:3},B)))}function dn({menuAnchorRef:t,overlayProps:r,children:a}){const n=d(Ga);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}=ko({side:"outside-bottom",align:"start",anchorElementRef:t||i},[g,s]),p=Do(l,f),b=o((()=>{c(!1)}),[c]);return"undefined"==typeof window?null:e.createElement(Wa,Rt({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)}ln.displayName="AutocompleteMenu",ln.defaultProps={emptyStateText:"No selectable options",selectionVariant:"single"},ln.displayName="AutocompleteMenu",dn.displayName="AutocompleteOverlay",dn.displayName="AutocompleteOverlay";const sn={inputValue:"",showMenu:!1,isMenuDirectlyActivated:!1,autocompleteSuggestion:"",selectedItemLength:0},cn=(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}},gn=({children:t,id:a})=>{const n=r(null),i=r(null),l=r(null),[d,s]=c(cn,sn),{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=Wo(a);return e.createElement(Ga.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)};gn.displayName="Autocomplete";var fn=Object.assign(gn,{Input:an,Menu:ln,Overlay:dn});const un=g.img.attrs((e=>({height:e.size,width:e.size})))`
|
660
|
+
${we}
|
661
|
+
${Za}
|
662
|
+
${Zt};
|
663
|
+
`;const en=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=Ya(o,"TextInput-wrapper");return e.createElement(Qa,{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(Ja,Rt({ref:u,disabled:n},f)))}));en.defaultProps={type:"text"},en.displayName="TextInput";var tn=en;const rn=e.forwardRef((({as:r=tn,onFocus:n,onBlur:i,onChange:l,onKeyDown:s,onKeyUp:c,onKeyPress:g,value:f,...u},p)=>{const b=d(Ga);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=Do(x,p),[S,E]=t(!0),C=o((e=>{n&&n(e),k(!0)}),[n,k]),z=o((e=>{i&&i(e),setTimeout((()=>{document.activeElement!==T.current&&k(!1)}),0)}),[i,k,T]),I=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]),R=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,Rt({onFocus:C,onBlur:z,onChange:I,onKeyDown:A,onKeyPress:R,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))}));rn.displayName="AutocompleteInput";var on=rn;const an=(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})}};function nn(o){const i=d(Ga);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:z,customScrollContainerRef:I}=o,A=r(null),[N,R]=t(),[L,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;((z||(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,z,T,u,b,p]),M=n((()=>L.reduce(((e,t,r)=>(e[t]=r,e)),{})),[L]),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(io,null),onAction:e=>{k.handleAddItem({...e,id:e.id||Lr(),leadingVisual:void 0}),"multiple"===T&&(b(""),u(""))}}]:[]]),[O,k,u,T,b]);return No({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")));R(t),h(r)}e&&I&&I.current&&r?an(e,I.current):e&&f.current&&r&&an(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=[...L].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===L.length&&e.every(((e,t)=>e===L[t]));!1!==v||r||F(e),C&&C(Boolean(v))}),[v,C,y,w,L]),a((()=>{y.length&&m(y.length)}),[y,m]),e.createElement(Qt,{sx:v?{}:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},$?e.createElement(Qt,{p:3,display:"flex",justifyContent:"center"},e.createElement($l,null)):e.createElement("div",{ref:A},P.length?e.createElement(Da,{selectionVariant:"multiple",items:P,role:"listbox",id:`${s}-listbox`,"aria-labelledby":E}):e.createElement(Qt,{p:3},B)))}function ln({menuAnchorRef:t,overlayProps:r,children:a}){const n=d(Ga);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}=ko({side:"outside-bottom",align:"start",anchorElementRef:t||i},[g,s]),p=Do(l,f),b=o((()=>{c(!1)}),[c]);return"undefined"==typeof window?null:e.createElement(Wa,Rt({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)}nn.displayName="AutocompleteMenu",nn.defaultProps={emptyStateText:"No selectable options",selectionVariant:"single"},nn.displayName="AutocompleteMenu",ln.displayName="AutocompleteOverlay",ln.displayName="AutocompleteOverlay";const dn={inputValue:"",showMenu:!1,isMenuDirectlyActivated:!1,autocompleteSuggestion:"",selectedItemLength:0},sn=(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}},cn=({children:t,id:a})=>{const n=r(null),i=r(null),l=r(null),[d,s]=c(sn,dn),{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=Wo(a);return e.createElement(Ga.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)};cn.displayName="Autocomplete";var gn=Object.assign(cn,{Input:on,Menu:nn,Overlay:ln});const fn=g.img.attrs((e=>({height:e.size,width:e.size})))`
|
682
664
|
display: inline-block;
|
683
665
|
overflow: hidden; // Ensure page layout in Firefox should images fail to load
|
684
666
|
line-height: ${It("lineHeights.condensedUltra")};
|
685
667
|
vertical-align: middle;
|
686
668
|
border-radius: ${e=>function({size:e,square:t}){return t?e&&e<=24?"4px":"6px":"50%"}(e)};
|
687
669
|
${Zt}
|
688
|
-
`;
|
670
|
+
`;fn.defaultProps={size:20,alt:"",square:!1};var un=fn;const pn=g(un)`
|
689
671
|
position: absolute;
|
690
672
|
right: -15%;
|
691
673
|
bottom: -9%;
|
692
674
|
box-shadow: ${It("shadows.avatar.childShadow")};
|
693
|
-
`,
|
675
|
+
`,bn=({children:t,...r})=>{const o=e.Children.map(t,((t,r)=>e.isValidElement(t)?0===r?e.cloneElement(t,{size:40}):e.createElement(pn,Rt({bg:"canvas.default"},t.props,{size:20})):t));return e.createElement(Qt,Rt({position:"relative",display:"inline-flex"},r),o)};bn.displayName="AvatarPair",bn.displayName="AvatarPair";var hn=bn;const mn=g.span`
|
694
676
|
display: flex;
|
695
677
|
position: relative;
|
696
678
|
height: 20px;
|
@@ -805,7 +787,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
805
787
|
}
|
806
788
|
|
807
789
|
${Zt};
|
808
|
-
`,
|
790
|
+
`,vn=({children:t,alignRight:r,sx:o})=>{const a=e.Children.count(t),n=Ya({"pc-AvatarStack--two":2===a,"pc-AvatarStack--three-plus":a>2,"pc-AvatarStack--right":r});return e.createElement(mn,{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:Ya(t.props.className,"pc-AvatarItem"),sx:{zIndex:10-r,...t.props.sx}}):t)))(t)))};vn.displayName="AvatarStack";var xn=vn;var yn=g.a`
|
809
791
|
display: inline-block;
|
810
792
|
padding: 2px 6px;
|
811
793
|
font-size: ${It("fontSizes.0")};
|
@@ -815,7 +797,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
815
797
|
border-radius: ${It("radii.2")};
|
816
798
|
|
817
799
|
${Zt};
|
818
|
-
`;const
|
800
|
+
`;const wn=g.li`
|
819
801
|
display: inline-block;
|
820
802
|
white-space: nowrap;
|
821
803
|
list-style: none;
|
@@ -834,11 +816,11 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
834
816
|
content: none;
|
835
817
|
}
|
836
818
|
}
|
837
|
-
`,
|
819
|
+
`,Bn=g.nav`
|
838
820
|
display: flex;
|
839
821
|
justify-content: space-between;
|
840
822
|
${Zt};
|
841
|
-
`;function
|
823
|
+
`;function kn({className:t,children:r,sx:o}){const a=e.Children.map(r,(t=>e.createElement(wn,null,t)));return e.createElement(Bn,{className:t,"aria-label":"Breadcrumbs",sx:o},e.createElement(Qt,{as:"ol",my:0,pl:0},a))}kn.displayName="Breadcrumbs";const $n=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya(e.selected&&"selected",e.className),"aria-current":e.selected?"page":null})))`
|
842
824
|
color: ${It("colors.accent.fg")};
|
843
825
|
display: inline-block;
|
844
826
|
font-size: ${It("fontSizes.1")};
|
@@ -851,7 +833,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
851
833
|
pointer-events: none;
|
852
834
|
}
|
853
835
|
${Zt};
|
854
|
-
|
836
|
+
`;kn.displayName="Breadcrumbs",$n.displayName="Breadcrumbs.Item";var Tn=Object.assign(kn,{Item:$n});const Sn=Object.assign(kn,{Item:$n}),En=(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]),Cn=(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}}},zn=g.button(Zt),In=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}=qt(),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=Kt.all([f,Cn(s,d,c),En(d,g),r]);return e.createElement(zn,Rt({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)))}));In.displayName="Button",Object.assign(In,{});var An=g.span`
|
855
837
|
display: inline-block;
|
856
838
|
padding: 2px 5px;
|
857
839
|
font-size: ${It("fontSizes.0")};
|
@@ -866,20 +848,20 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
866
848
|
}
|
867
849
|
|
868
850
|
${Zt};
|
869
|
-
`;const
|
851
|
+
`;const Nn=({children:t,sx:r={},...o})=>e.createElement(An,Rt({"data-component":"ButtonCounter",sx:{ml:2,...r}},o),t);Nn.displayName="Counter";const Rn=Object.assign(In,{Counter:Nn}),Ln={top:"Bottom",right:"Left",bottom:"Top",left:"Right"},Fn={top:"Left",right:"Top",bottom:"Left",left:"Top"};function Dn(e,t,r){const o=Ln[e].toLowerCase(),a=Fn[e].toLowerCase();return{[o]:"100%",[t||a]:t?r:"50%"}}const Mn=Tt({prop:"bg",key:"colors"}),On=Tt({prop:"borderColor",key:"colors"}),Pn=Tt({prop:"borderWidth",key:"borderWidths",scale:[0,1]});function Hn(t){var r;const o=e.useContext(b),a={...t,theme:null!==(r=t.theme)&&void 0!==r?r:o},{bg:n}=Mn(a),{borderColor:i}=On(a),{borderWidth:l}=Pn(a),{size:d=8,location:s="bottom"}=t,[c,g]=function(e){const[t,r]=e.split("-");return[t,r]}(s),f=Fn[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",...Dn(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})))}Hn.displayName="Caret",Hn.locations=["top","top-left","top-right","right","right-top","right-bottom","bottom","bottom-left","bottom-right","left","left-top","left-bottom"],Hn.defaultProps={bg:"canvas.default",borderColor:"border.default",borderWidth:1};const Wn={small:56,medium:96,large:128},_n=g.div`
|
870
852
|
display: ${e=>e.inline?"inline-flex":"flex"};
|
871
853
|
align-items: center;
|
872
854
|
justify-content: center;
|
873
855
|
background-color: ${It("colors.canvas.default")};
|
874
856
|
border-radius: 50%;
|
875
857
|
box-shadow: ${It("shadows.shadow.medium")};
|
876
|
-
${({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:
|
858
|
+
${({size:e,variant:t="medium"})=>{const r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}(e)?e:Wn[t];return{width:r,height:r}}};
|
877
859
|
${Zt};
|
878
|
-
`,
|
860
|
+
`,jn=g(Ao)`
|
879
861
|
height: auto;
|
880
862
|
max-width: 60%;
|
881
863
|
max-height: 55%;
|
882
|
-
`;
|
864
|
+
`;_n.defaultProps={inline:!1},jn.displayName="CircleBadge.Icon";var Un=Object.assign(_n,{Icon:jn});function Kn(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,Rt({display:"flex"},i,{alignItems:"center",justifyContent:"center"}),e.createElement(a,{size:r})))}Kn.displayName="CircleOcticon",Kn.defaultProps={...Qt.defaultProps,size:32};const Vn=g.details`
|
883
865
|
& > summary {
|
884
866
|
list-style: none;
|
885
867
|
}
|
@@ -888,11 +870,11 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
888
870
|
}
|
889
871
|
|
890
872
|
${Zt};
|
891
|
-
`;
|
873
|
+
`;Vn.displayName="Details";var Gn=Vn;const qn=()=>null;function Xn(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 Yn=g.span`
|
892
874
|
${Nt};
|
893
875
|
${At};
|
894
876
|
${Zt};
|
895
|
-
`;const
|
877
|
+
`;const Jn=()=>null,Zn=g.div`
|
896
878
|
box-shadow: ${It("shadows.shadow.large")};
|
897
879
|
border-radius: ${It("radii.2")};
|
898
880
|
position: fixed;
|
@@ -914,7 +896,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
914
896
|
}
|
915
897
|
|
916
898
|
${Zt};
|
917
|
-
`,
|
899
|
+
`,Qn=g(Qt)`
|
918
900
|
border-radius: ${It("radii.2")} ${It("radii.2")} 0px 0px;
|
919
901
|
border-bottom: 1px solid ${It("colors.border.default")};
|
920
902
|
display: flex;
|
@@ -924,7 +906,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
924
906
|
}
|
925
907
|
|
926
908
|
${Zt};
|
927
|
-
`;function
|
909
|
+
`;function ei({theme:t,children:r,backgroundColor:o="gray.1",...a}){return e.Children.toArray(r).every((e=>"string"==typeof e))&&(r=e.createElement(Yn,{theme:t,color:"fg.default",fontSize:1,fontWeight:"bold",fontFamily:"sans-serif"},r)),e.createElement(Qn,Rt({theme:t,p:3,backgroundColor:o},a),r)}ei.displayName="DialogHeader";const ti=g.span`
|
928
910
|
&:before {
|
929
911
|
position: fixed;
|
930
912
|
top: 0;
|
@@ -938,10 +920,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
938
920
|
z-index: 99;
|
939
921
|
background: ${It("colors.primer.canvas.backdrop")};
|
940
922
|
}
|
941
|
-
`,
|
923
|
+
`,ri=i((({children:t,onDismiss:n=Jn,isOpen:i,initialFocusRef:l,returnFocusRef:d,...s},c)=>{const g=r(null),f=Do(c),u=r(null),p=()=>{n(),d&&d.current&&d.current.focus()},{getDialogProps:b}=function({modalRef:e,overlayRef:t,isOpen:r,onDismiss:n=qn,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(Xn);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(ti,{ref:g}),e.createElement(Zn,Rt({tabIndex:-1,ref:f,role:"dialog","aria-modal":"true"},s,b()),e.createElement(fo,{ref:u,onClick:p,sx:{position:"absolute",top:"16px",right:"16px"}}),t)):null}));ei.defaultProps={backgroundColor:"canvas.subtle"},ei.propTypes={...Qt.propTypes},ei.displayName="Dialog.Header",ri.displayName="Dialog";var oi=Object.assign(ri,{Header:ei});var ai=(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: ${It("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: ${It("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: ${It("colors.border.default")(e)};\n }\n\n &::after {\n top: 11px;\n left: -14px;\n border-color: transparent;\n border-right-color: ${It("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 ${It("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 ${It("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 ni=g(Gn)`
|
942
924
|
position: relative;
|
943
925
|
display: inline-block;
|
944
|
-
`,
|
926
|
+
`,ii=({children:t,className:r,...o})=>{const{getDetailsProps:a}=fr({closeOnOutsideClick:!0});return e.createElement(ni,Rt({className:r},a(),o),t)};ii.displayName="Dropdown";const li=({children:t,...r})=>e.createElement(jr,Rt({as:"summary","aria-haspopup":"true"},r),t,e.createElement(di,null));li.displayName="DropdownButton";const di=g.div`
|
945
927
|
border: 4px solid transparent;
|
946
928
|
margin-left: 12px;
|
947
929
|
border-top-color: currentcolor;
|
@@ -952,7 +934,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
952
934
|
vertical-align: middle;
|
953
935
|
width: 0;
|
954
936
|
${Zt};
|
955
|
-
`,
|
937
|
+
`,si=g.ul`
|
956
938
|
background-clip: padding-box;
|
957
939
|
background-color: ${It("colors.canvas.overlay")};
|
958
940
|
border: 1px solid ${It("colors.border.default")};
|
@@ -993,9 +975,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
993
975
|
> ul {
|
994
976
|
list-style: none;
|
995
977
|
}
|
996
|
-
${e=>e.direction?
|
978
|
+
${e=>e.direction?ai(e.theme,e.direction):""};
|
997
979
|
${Zt};
|
998
|
-
`,
|
980
|
+
`,ci=g.li`
|
999
981
|
display: block;
|
1000
982
|
padding: ${It("space.1")} 10px ${It("space.1")} 15px;
|
1001
983
|
overflow: hidden;
|
@@ -1027,7 +1009,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1027
1009
|
outline: none;
|
1028
1010
|
}
|
1029
1011
|
${Zt};
|
1030
|
-
`;
|
1012
|
+
`;si.defaultProps={direction:"sw"},si.displayName="Dropdown.Menu",ci.displayName="Dropdown.Item",li.defaultProps=jr.defaultProps,li.displayName="Dropdown.Button",di.displayName="Dropdown.Caret",ii.defaultProps=Gn.defaultProps;var gi=Object.assign(ii,{Caret:di,Menu:si,Item:ci,Button:li});const fi=e.forwardRef((({children:t,...r},o)=>e.createElement(jr,Rt({ref:o,type:"button"},r),t,e.createElement(Ao,{icon:so,sx:{ml:1}}))));function ui({renderAnchor:t=(t=>e.createElement(fi,t)),anchorRef:r,placeholder:a,selectedItem:i,onChange:l,overlayProps:d,items:s,open:c,onOpenChange:g,...f}){const[u,p]=ja(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(_a,{renderAnchor:v,anchorRef:m,open:u,onOpen:b,onClose:h,overlayProps:d},e.createElement(Fa,Rt({},f,{role:"listbox",items:x})))}ui.displayName="DropdownMenu",ui.displayName="DropdownMenu";var pi=g.div`
|
1031
1013
|
display: flex;
|
1032
1014
|
align-items: stretch;
|
1033
1015
|
|
@@ -1045,12 +1027,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1045
1027
|
}
|
1046
1028
|
|
1047
1029
|
${Zt}
|
1048
|
-
`;const
|
1030
|
+
`;const bi=g.ul`
|
1049
1031
|
list-style-type: none;
|
1050
1032
|
margin: 0;
|
1051
1033
|
padding: 0;
|
1052
1034
|
${Zt};
|
1053
|
-
`,
|
1035
|
+
`,hi=({children:t,...r})=>{const o=e.Children.map(t,(t=>e.createElement("li",null,t)));return e.createElement(bi,r,o)};hi.displayName="FilterList";const mi=g.a`
|
1054
1036
|
position: relative;
|
1055
1037
|
display: block;
|
1056
1038
|
padding: ${e=>e.small?`${It("space.1")(e)} 10px`:`${It("space.2")(e)} 11px`};
|
@@ -1077,7 +1059,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1077
1059
|
font-weight: ${It("fontWeights.bold")};
|
1078
1060
|
}
|
1079
1061
|
${Zt};
|
1080
|
-
`;function
|
1062
|
+
`;function vi({children:t,count:r,...o}){return e.createElement(mi,o,r&&e.createElement("span",{title:"results",className:"count"},r),t)}vi.displayName="FilterListItem",vi.displayName="FilterList.Item";var xi=Object.assign(hi,{Item:vi});const yi=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"}}}}),wi=g.div`
|
1081
1063
|
position: relative;
|
1082
1064
|
color: ${It("colors.fg.default")};
|
1083
1065
|
padding: ${It("space.3")};
|
@@ -1094,19 +1076,19 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1094
1076
|
margin-right: ${It("space.2")};
|
1095
1077
|
}
|
1096
1078
|
|
1097
|
-
${
|
1079
|
+
${yi};
|
1098
1080
|
${Zt};
|
1099
|
-
`;
|
1081
|
+
`;wi.defaultProps={variant:"default"};var Bi=wi;const ki=g.div`
|
1100
1082
|
margin: ${It("space.3")} 0;
|
1101
1083
|
font-weight: ${It("fontWeights.normal")};
|
1102
1084
|
${Zt};
|
1103
|
-
|
1085
|
+
`,$i=g.label`
|
1104
1086
|
display: block;
|
1105
1087
|
margin: 0 0 ${It("space.2")};
|
1106
1088
|
font-size: ${It("fontSizes.1")};
|
1107
1089
|
font-weight: ${It("fontWeights.bold")};
|
1108
1090
|
${Zt};
|
1109
|
-
|
1091
|
+
`;$i.displayName="FormGroup.Label";var Ti=Object.assign(ki,{Label:$i});const Si=g.div`
|
1110
1092
|
z-index: 32;
|
1111
1093
|
display: flex;
|
1112
1094
|
padding: ${It("space.3")};
|
@@ -1118,7 +1100,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1118
1100
|
flex-wrap: nowrap;
|
1119
1101
|
|
1120
1102
|
${Zt};
|
1121
|
-
`,
|
1103
|
+
`,Ei=g.div`
|
1122
1104
|
display: flex;
|
1123
1105
|
margin-right: ${It("space.3")};
|
1124
1106
|
align-self: stretch;
|
@@ -1128,7 +1110,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1128
1110
|
${({full:e})=>e&&p(["flex:auto;"])};
|
1129
1111
|
|
1130
1112
|
${Zt};
|
1131
|
-
`;
|
1113
|
+
`;Ei.displayName="Header.Item";const Ci=g.a.attrs((({to:e})=>"string"==typeof e?{"aria-current":"page"}:{}))`
|
1132
1114
|
font-weight: ${It("fontWeights.bold")};
|
1133
1115
|
color: ${It("colors.header.logo")};
|
1134
1116
|
white-space: nowrap;
|
@@ -1143,12 +1125,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1143
1125
|
}
|
1144
1126
|
|
1145
1127
|
${Zt};
|
1146
|
-
`;
|
1128
|
+
`;Ci.displayName="Header.Link";var zi=Object.assign(Si,{Link:Ci,Item:Ei});var Ii=g.h2`
|
1147
1129
|
font-weight: ${It("fontWeights.bold")};
|
1148
1130
|
font-size: ${It("fontSizes.5")};
|
1149
1131
|
margin: 0;
|
1150
1132
|
${Zt};
|
1151
|
-
`;var
|
1133
|
+
`;var Ai=g.span`
|
1152
1134
|
& * {
|
1153
1135
|
margin-right: ${It("space.1")};
|
1154
1136
|
}
|
@@ -1156,7 +1138,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1156
1138
|
margin-right: 0;
|
1157
1139
|
}
|
1158
1140
|
${Zt};
|
1159
|
-
`;const
|
1141
|
+
`;const Ni=p(["margin-top:-1px;margin-bottom:-1px;color:",";border:"," solid ",";box-shadow:none;",";background-color:transparent;"],It("colors.fg.muted"),It("borderWidths.1"),It("colors.border.default"),ct),Ri=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"}}}),Li=g.span`
|
1160
1142
|
display: inline-block;
|
1161
1143
|
font-weight: ${It("fontWeights.semibold")};
|
1162
1144
|
color: ${It("colors.fg.onEmphasis")};
|
@@ -1167,16 +1149,16 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1167
1149
|
text-decoration: none;
|
1168
1150
|
}
|
1169
1151
|
|
1170
|
-
${
|
1152
|
+
${Ri}
|
1171
1153
|
${e=>e.dropshadow?"box-shadow: inset 0 -1px 0 rgba(27, 31, 35, 0.12)":""}
|
1172
|
-
${e=>e.outline?
|
1154
|
+
${e=>e.outline?Ni:""} // must be last to override other values
|
1173
1155
|
${Zt}
|
1174
|
-
`;
|
1156
|
+
`;Li.defaultProps={variant:"medium"};var Fi=Li;const Di=L({hoverColor:{property:"color",scale:"colors"}});var Mi=g.a`
|
1175
1157
|
color: ${e=>e.muted?It("colors.fg.muted")(e):It("colors.accent.fg")(e)};
|
1176
1158
|
text-decoration: ${e=>e.underline?"underline":"none"};
|
1177
1159
|
&:hover {
|
1178
1160
|
text-decoration: ${e=>e.muted?"none":"underline"};
|
1179
|
-
${e=>e.hoverColor?
|
1161
|
+
${e=>e.hoverColor?Di:e.muted?`color: ${It("colors.accent.fg")(e)}`:""};
|
1180
1162
|
}
|
1181
1163
|
&:is(button) {
|
1182
1164
|
display: inline-block;
|
@@ -1190,14 +1172,14 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1190
1172
|
appearance: none;
|
1191
1173
|
}
|
1192
1174
|
${Zt};
|
1193
|
-
`;var
|
1175
|
+
`;var Oi=g.div`
|
1194
1176
|
position: relative;
|
1195
1177
|
padding-top: ${It("space.4")};
|
1196
1178
|
padding-bottom: ${It("space.4")};
|
1197
1179
|
margin-bottom: ${It("space.4")};
|
1198
1180
|
border-bottom: 1px solid ${It("colors.border.default")};
|
1199
1181
|
${Zt};
|
1200
|
-
`;const
|
1182
|
+
`;const Pi=g.a`
|
1201
1183
|
display: inline-block;
|
1202
1184
|
min-width: 32px;
|
1203
1185
|
padding: 5px 10px;
|
@@ -1295,17 +1277,17 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1295
1277
|
);
|
1296
1278
|
}
|
1297
1279
|
}
|
1298
|
-
`;function
|
1280
|
+
`;function Hi({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(Pi,Rt({},o,{key:a,theme:t}),i)}))),[c,n,s,t])}const Wi=g.nav`
|
1299
1281
|
margin-top: 20px;
|
1300
1282
|
margin-bottom: 15px;
|
1301
1283
|
text-align: center;
|
1302
1284
|
${Zt};
|
1303
|
-
`;function
|
1285
|
+
`;function _i({theme:t,pageCount:r,currentPage:o,onPageChange:a=Ui,hrefBuilder:n=ji,marginPageCount:i=1,showPages:l=!0,surroundingPageCount:d=2,...s}){const c=Hi({theme:t,pageCount:r,currentPage:o,onPageChange:a,hrefBuilder:n,marginPageCount:i,showPages:l,surroundingPageCount:d});return e.createElement(Wi,Rt({"aria-label":"Pagination"},s,{theme:t}),e.createElement(Qt,{display:"inline-block",theme:t},c))}function ji(e){return`#${e}`}function Ui(){}function Ki(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,Rt({sx:{position:"relative"}},d),l,e.createElement(Hn,s))}_i.displayName="Pagination",_i.defaultProps={hrefBuilder:ji,marginPageCount:1,onPageChange:Ui,showPages:!0,surroundingPageCount:2},Ki.displayName="PointerBox";const Vi=g.div.attrs((({className:e,caret:t})=>({className:Ya(e,`caret-pos--${t}`)})))`
|
1304
1286
|
position: ${e=>e.relative?"relative":"absolute"};
|
1305
1287
|
z-index: 100;
|
1306
1288
|
display: ${e=>e.open?"block":"none"};
|
1307
1289
|
${Zt};
|
1308
|
-
`,
|
1290
|
+
`,Gi=g.div`
|
1309
1291
|
border: 1px solid ${It("colors.border.default")};
|
1310
1292
|
border-radius: ${It("radii.2")};
|
1311
1293
|
position: relative;
|
@@ -1339,9 +1321,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1339
1321
|
}
|
1340
1322
|
|
1341
1323
|
// Bottom-oriented carets
|
1342
|
-
${
|
1343
|
-
${
|
1344
|
-
${
|
1324
|
+
${Vi}.caret-pos--bottom & ,
|
1325
|
+
${Vi}.caret-pos--bottom-right & ,
|
1326
|
+
${Vi}.caret-pos--bottom-left & {
|
1345
1327
|
&::before,
|
1346
1328
|
&::after {
|
1347
1329
|
top: auto;
|
@@ -1361,8 +1343,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1361
1343
|
}
|
1362
1344
|
|
1363
1345
|
// Top & Bottom: Right-oriented carets
|
1364
|
-
${
|
1365
|
-
${
|
1346
|
+
${Vi}.caret-pos--top-right & ,
|
1347
|
+
${Vi}.caret-pos--bottom-right & {
|
1366
1348
|
right: -9px;
|
1367
1349
|
margin-right: 0;
|
1368
1350
|
|
@@ -1382,8 +1364,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1382
1364
|
}
|
1383
1365
|
|
1384
1366
|
// Top & Bottom: Left-oriented carets
|
1385
|
-
${
|
1386
|
-
${
|
1367
|
+
${Vi}.caret-pos--top-left & ,
|
1368
|
+
${Vi}.caret-pos--bottom-left & {
|
1387
1369
|
left: -9px;
|
1388
1370
|
margin-left: 0;
|
1389
1371
|
|
@@ -1399,12 +1381,12 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1399
1381
|
}
|
1400
1382
|
|
1401
1383
|
// Right- & Left-oriented carets
|
1402
|
-
${
|
1403
|
-
${
|
1404
|
-
${
|
1405
|
-
${
|
1406
|
-
${
|
1407
|
-
${
|
1384
|
+
${Vi}.caret-pos--right & ,
|
1385
|
+
${Vi}.caret-pos--right-top & ,
|
1386
|
+
${Vi}.caret-pos--right-bottom & ,
|
1387
|
+
${Vi}.caret-pos--left & ,
|
1388
|
+
${Vi}.caret-pos--left-top & ,
|
1389
|
+
${Vi}.caret-pos--left-bottom & {
|
1408
1390
|
&::before,
|
1409
1391
|
&::after {
|
1410
1392
|
top: 50%;
|
@@ -1424,9 +1406,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1424
1406
|
}
|
1425
1407
|
|
1426
1408
|
// Right-oriented carets
|
1427
|
-
${
|
1428
|
-
${
|
1429
|
-
${
|
1409
|
+
${Vi}.caret-pos--right & ,
|
1410
|
+
${Vi}.caret-pos--right-top & ,
|
1411
|
+
${Vi}.caret-pos--right-bottom & {
|
1430
1412
|
&::before {
|
1431
1413
|
right: -${It("space.3")};
|
1432
1414
|
border-left-color: ${It("colors.border.default")};
|
@@ -1440,9 +1422,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1440
1422
|
}
|
1441
1423
|
|
1442
1424
|
// Left-oriented carets
|
1443
|
-
${
|
1444
|
-
${
|
1445
|
-
${
|
1425
|
+
${Vi}.caret-pos--left & ,
|
1426
|
+
${Vi}.caret-pos--left-top & ,
|
1427
|
+
${Vi}.caret-pos--left-bottom & {
|
1446
1428
|
&::before {
|
1447
1429
|
left: -${It("space.3")};
|
1448
1430
|
border-right-color: ${It("colors.border.default")};
|
@@ -1456,8 +1438,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1456
1438
|
}
|
1457
1439
|
|
1458
1440
|
// Right & Left: Top-oriented carets
|
1459
|
-
${
|
1460
|
-
${
|
1441
|
+
${Vi}.caret-pos--right-top & ,
|
1442
|
+
${Vi}.caret-pos--left-top & {
|
1461
1443
|
&::before,
|
1462
1444
|
&::after {
|
1463
1445
|
top: ${It("space.4")};
|
@@ -1465,8 +1447,8 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1465
1447
|
}
|
1466
1448
|
|
1467
1449
|
// Right & Left: Bottom-oriented carets
|
1468
|
-
${
|
1469
|
-
${
|
1450
|
+
${Vi}.caret-pos--right-bottom & ,
|
1451
|
+
${Vi}.caret-pos--left-bottom & {
|
1470
1452
|
&::before,
|
1471
1453
|
&::after {
|
1472
1454
|
top: auto;
|
@@ -1482,23 +1464,23 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1482
1464
|
}
|
1483
1465
|
|
1484
1466
|
${Zt};
|
1485
|
-
`;
|
1467
|
+
`;Vi.defaultProps={caret:"top"},Gi.displayName="Popover.Content";var qi=Object.assign(Vi,{Content:Gi});const Xi=g.span`
|
1486
1468
|
width: ${e=>e.progress?`${e.progress}%`:0};
|
1487
1469
|
|
1488
1470
|
${Zt};
|
1489
|
-
`,
|
1471
|
+
`,Yi={small:"5px",large:"10px",default:"8px"},Ji=g.span`
|
1490
1472
|
display: ${e=>e.inline?"inline-flex":"flex"};
|
1491
1473
|
overflow: hidden;
|
1492
1474
|
background-color: ${It("colors.border.default")};
|
1493
1475
|
border-radius: ${It("radii.1")};
|
1494
|
-
height: ${e=>
|
1476
|
+
height: ${e=>Yi[e.barSize||"default"]};
|
1495
1477
|
|
1496
1478
|
${me}
|
1497
1479
|
${Zt};
|
1498
|
-
`;function
|
1499
|
-
${
|
1480
|
+
`;function Zi({progress:t,bg:r,...o}){return e.createElement(Ji,o,e.createElement(Xi,{progress:t,sx:{bg:r}}))}function Qi(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])}Zi.displayName="ProgressBar",Zi.defaultProps={bg:"success.emphasis",barSize:"default"};const el=s({}),tl=p(["padding:"," ",";margin:0;font-size:",";font-weight:",";color:",";background-color:",";border-bottom:"," solid ",";"],It("space.1"),It("space.3"),It("fontSizes.0"),It("fontWeights.bold"),It("colors.fg.muted"),It("colors.canvas.subtle"),It("borderWidths.1"),It("colors.border.muted")),rl=g.div`
|
1481
|
+
${tl}
|
1500
1482
|
${Zt};
|
1501
|
-
`;
|
1483
|
+
`;rl.displayName="SelectMenu.Divider";var ol=rl;const al=g.form`
|
1502
1484
|
padding: ${It("space.3")};
|
1503
1485
|
margin: 0;
|
1504
1486
|
border-bottom: ${It("borderWidths.1")} solid ${It("colors.border.muted")};
|
@@ -1509,10 +1491,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1509
1491
|
}
|
1510
1492
|
|
1511
1493
|
${Zt};
|
1512
|
-
`,
|
1513
|
-
${
|
1494
|
+
`,nl=i((({theme:t,value:o,sx:n,...i},l)=>{const s=r(null),c=null!=l?l:s,{open:g}=d(el);return a((()=>{var e;g&&(null===(e=s.current)||void 0===e||e.focus())}),[g]),e.createElement(al,{theme:t,sx:n},e.createElement(tn,Rt({theme:t,ref:c,width:"100%",block:!0,value:o,contrast:!0},i)))}));nl.displayName="SelectMenu.Filter";var il=nl;const ll=p(["margin-top:-1px;padding:"," ",";font-size:",";color:",";text-align:center;border-top:"," solid ",";@media (min-width:","){padding:"," ",";}"],It("space.2"),It("space.3"),It("fontSizes.0"),It("colors.fg.muted"),It("borderWidths.1"),It("colors.border.muted"),It("breakpoints.0"),It("space.1"),It("space.2")),dl=g.footer`
|
1495
|
+
${ll}
|
1514
1496
|
${Zt};
|
1515
|
-
`;
|
1497
|
+
`;dl.displayName="SelectMenu.Footer";var sl=dl;const cl=g.h3`
|
1516
1498
|
color: ${It("colors.fg.default")};
|
1517
1499
|
flex: auto;
|
1518
1500
|
font-size: ${It("fontSizes.1")};
|
@@ -1522,7 +1504,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1522
1504
|
@media (min-width: ${It("breakpoints.0")}) {
|
1523
1505
|
font-size: inherit;
|
1524
1506
|
}
|
1525
|
-
`,
|
1507
|
+
`,gl=g.header`
|
1526
1508
|
display: flex;
|
1527
1509
|
flex: none; // fixes header from getting squeezed in Safari iOS
|
1528
1510
|
padding: ${It("space.3")};
|
@@ -1534,13 +1516,13 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1534
1516
|
}
|
1535
1517
|
|
1536
1518
|
${Zt};
|
1537
|
-
`,
|
1538
|
-
${
|
1519
|
+
`,fl=({children:t,theme:r,...o})=>e.createElement(gl,Rt({theme:r},o),e.createElement(cl,{theme:r},t));fl.displayName="SelectMenuHeader",fl.displayName="SelectMenu.Header";var ul=fl;const pl=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:",";}"],It("space.3"),It("colors.canvas.overlay"),It("borderWidths.1"),It("colors.border.muted"),It("colors.fg.muted"),It("fontSizes.0"),It("breakpoints.0"),It("space.2"),It("space.2"),It("space.3"),It("space.2"),It("colors.fg.default"),It("colors.neutral.subtle"),It("colors.canvas.subtle"),It("colors.selectMenu.tapHighlight")),bl=g.a.attrs((()=>({role:"menuitemcheckbox"})))`
|
1520
|
+
${pl}
|
1539
1521
|
${Zt};
|
1540
|
-
`,
|
1541
|
-
${
|
1522
|
+
`,hl=i((({children:t,selected:o,theme:a,onClick:n,...i},l)=>{const s=d(el),c=r(null),g=null!=l?l:c;return e.createElement(bl,Rt({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(Ao,{theme:a,className:"SelectMenu-icon SelectMenu-selected-icon",icon:eo}),t)}));hl.defaultProps={selected:!1},hl.displayName="SelectMenu.Item";var ml=hl;const vl=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:",";}}"],It("colors.canvas.overlay"),It("colors.selectMenu.tapFocusBg"),It("colors.fg.default"),It("colors.canvas.subtle"),It("colors.fg.default"),It("colors.canvas.subtle")),xl=g.div`
|
1523
|
+
${vl}
|
1542
1524
|
${Zt};
|
1543
|
-
`;
|
1525
|
+
`;xl.displayName="SelectMenu.List";var yl=xl;const wl={small:"16px",medium:"32px",large:"64px"};function Bl({size:t="medium",...r}){const o=wl[t];return e.createElement("svg",Rt({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"}))}Bl.displayName="Spinner";const kl=g(Bl)`
|
1544
1526
|
@keyframes rotate-keyframes {
|
1545
1527
|
100% {
|
1546
1528
|
transform: rotate(360deg);
|
@@ -1550,36 +1532,36 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1550
1532
|
animation: rotate-keyframes 1s linear infinite;
|
1551
1533
|
|
1552
1534
|
${Zt}
|
1553
|
-
|
1535
|
+
`;kl.displayName="Spinner";var $l=kl;const Tl=g.div`
|
1554
1536
|
padding: ${It("space.6")} ${It("space.4")};
|
1555
1537
|
text-align: center;
|
1556
1538
|
background-color: ${It("colors.canvas.overlay")};
|
1557
1539
|
${Zt}
|
1558
|
-
`,
|
1559
|
-
${
|
1540
|
+
`,Sl=t=>e.createElement(Tl,t,e.createElement($l,null));Sl.displayName="SelectMenuLoadingAnimation";var El=Sl;const Cl=h(["0%{opacity:0;transform:scale(0.9);}"]),zl=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":""),It("colors.canvas.overlay"),It("radii.2"),It("shadows.shadow.small"),Cl,It("breakpoints.0"),It("space.1"),It("space.3"),It("fontSizes.0"),It("borderWidths.1"),It("colors.border.default"),It("radii.2"),It("shadows.shadow.small")),Il=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;}"],It("space.3"),It("colors.primer.canvas.backdrop"),It("breakpoints.0"),It("breakpoints.0"),(e=>"right"===e.align?"0":"auto")),Al=g.div`
|
1541
|
+
${zl}
|
1560
1542
|
${me}
|
1561
|
-
`,
|
1562
|
-
${
|
1543
|
+
`,Nl=g.div`
|
1544
|
+
${Il}
|
1563
1545
|
${Zt};
|
1564
|
-
`,
|
1565
|
-
${
|
1546
|
+
`,Rl=e.forwardRef((({children:t,theme:r,width:o,...a},n)=>e.createElement(Nl,Rt({theme:r},a,{role:"menu",ref:n}),e.createElement(Al,{theme:r,width:o},t))));Rl.defaultProps={align:"left",width:"300px"},Rl.displayName="SelectMenu.Modal";var Ll=Rl;const Fl=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:",";}"],It("space.2"),It("space.3"),It("fontSizes.0"),It("colors.fg.muted"),It("colors.border.muted"),It("breakpoints.0"),It("space.1"),It("space.3"),It("borderWidths.1"),It("radii.2"),It("radii.2"),It("colors.text-primary"),It("colors.canvas.overlay"),It("colors.border.muted"),It("breakpoints.0"),It("colors.border.muted"),It("colors.neutral.subtle")),Dl=g.button`
|
1547
|
+
${Fl}
|
1566
1548
|
${Zt};
|
1567
|
-
`,
|
1549
|
+
`,Ml=({tabName:t="",index:r,className:o,onClick:n,...i})=>{const l=d(el);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(Dl,Rt({role:"tab",className:Ya("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)};Ml.displayName="SelectMenuTab",Ml.displayName="SelectMenu.Tab";var Ol=Ml;const Pl=g.div`
|
1568
1550
|
border-top: ${It("borderWidths.1")} solid ${It("colors.border.muted")};
|
1569
1551
|
${Zt};
|
1570
|
-
`,
|
1571
|
-
${
|
1552
|
+
`,Hl=({tabName:t,className:r,children:o,...a})=>{const n=d(el);return e.createElement(Pl,Rt({role:"tabpanel",className:r,hidden:n.selectedTab!==t},a),e.createElement(yl,null,o))};Hl.displayName="TabPanel",Hl.displayName="SelectMenu.TabPanel";var Wl=Hl;const _l=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:",";}"],It("breakpoints.0"),It("space.2"),It("space.3")),jl=g.div`
|
1553
|
+
${_l}
|
1572
1554
|
${Zt};
|
1573
|
-
`,
|
1555
|
+
`,Ul=({children:t,...r})=>e.createElement(jl,Rt({role:"tablist"},r),t);Ul.displayName="SelectMenuTabs",Ul.displayName="SelectMenu.Tabs";var Kl=Ul;const Vl=g.details`
|
1574
1556
|
${"\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"}
|
1575
1557
|
${Zt};
|
1576
|
-
`,
|
1558
|
+
`,Gl=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]),Qi(g,p,b),e.createElement(el.Provider,{value:h},e.createElement(Vl,Rt({ref:g},d,{open:p,onToggle:function(e){b(e.target.open)}}),n))}));Gl.displayName="SelectMenu";var ql=Object.assign(Gl,{MenuContext:el,List:yl,Divider:ol,Filter:il,Footer:sl,Item:ml,Modal:Ll,Tabs:Kl,Tab:Ol,TabPanel:Wl,Header:ul,LoadingAnimation:El});function Xl({variant:t,className:r,bordered:o,children:a,"aria-label":n}){const i=Ya(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)}Xl.displayName="SideNavBase";const Yl=g(Xl)`
|
1577
1559
|
background-color: ${It("colors.canvas.subtle")};
|
1578
1560
|
|
1579
1561
|
${e=>e.bordered&&p(["& > &{border-left:0;border-right:0;border-bottom:0;}"])}
|
1580
1562
|
|
1581
1563
|
${Zt};
|
1582
|
-
`,
|
1564
|
+
`,Jl=p(["background-color:",";outline:none;text-decoration:none;"],It("colors.neutral.subtle")),Zl=p(["color:",";text-decoration:none;outline:none;"],It("colors.fg.default")),Ql=g(Mi).attrs((e=>"string"==typeof e.to||e.selected?{"aria-current":"page"}:{}))`
|
1583
1565
|
position: relative;
|
1584
1566
|
display: block;
|
1585
1567
|
${e=>"full"===e.variant&&p(["display:flex;align-items:center;justify-content:space-between;"])}
|
@@ -1587,11 +1569,11 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1587
1569
|
text-align: left;
|
1588
1570
|
font-size: ${It("fontSizes.1")};
|
1589
1571
|
|
1590
|
-
& > ${
|
1572
|
+
& > ${Yl} {
|
1591
1573
|
border-bottom: none;
|
1592
1574
|
}
|
1593
1575
|
|
1594
|
-
${
|
1576
|
+
${Yl}.variant-normal > & {
|
1595
1577
|
color: ${It("colors.fg.default")};
|
1596
1578
|
padding: ${It("space.3")};
|
1597
1579
|
border: 0;
|
@@ -1621,11 +1603,11 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1621
1603
|
}
|
1622
1604
|
|
1623
1605
|
&:hover {
|
1624
|
-
${
|
1606
|
+
${Jl}
|
1625
1607
|
}
|
1626
1608
|
|
1627
1609
|
&:focus {
|
1628
|
-
${
|
1610
|
+
${Jl}
|
1629
1611
|
box-shadow: ${It("shadows.primer.shadow.focus")};
|
1630
1612
|
z-index: 1;
|
1631
1613
|
}
|
@@ -1641,16 +1623,16 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1641
1623
|
}
|
1642
1624
|
}
|
1643
1625
|
|
1644
|
-
${
|
1626
|
+
${Yl}.variant-lightweight > & {
|
1645
1627
|
padding: ${It("space.1")} 0;
|
1646
1628
|
color: ${It("colors.accent.fg")};
|
1647
1629
|
|
1648
1630
|
&:hover {
|
1649
|
-
${
|
1631
|
+
${Zl}
|
1650
1632
|
}
|
1651
1633
|
|
1652
1634
|
&:focus {
|
1653
|
-
${
|
1635
|
+
${Zl}
|
1654
1636
|
box-shadow: ${It("shadows.primer.shadow.focus")};
|
1655
1637
|
z-index: 1;
|
1656
1638
|
}
|
@@ -1663,7 +1645,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1663
1645
|
}
|
1664
1646
|
|
1665
1647
|
${Zt};
|
1666
|
-
`;
|
1648
|
+
`;Yl.defaultProps={variant:"normal"},Ql.defaultProps={variant:"normal"},Ql.displayName="SideNav.Link";var ed=Object.assign(Yl,{Link:Ql});const td={issueOpened:no,pullOpened:ro,issueClosed:oo,pullClosed:ro,pullMerged:to,draft:ro,issueDraft:ao},rd=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"}}}),od=ue({prop:"variant",variants:{small:{paddingX:2,paddingY:1,fontSize:0},normal:{paddingX:"12px",paddingY:2,fontSize:1}}}),ad=g.span`
|
1667
1649
|
display: inline-flex;
|
1668
1650
|
align-items: center;
|
1669
1651
|
font-weight: ${It("fontWeights.bold")};
|
@@ -1671,10 +1653,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1671
1653
|
color: ${It("colors.canvas.default")};
|
1672
1654
|
text-align: center;
|
1673
1655
|
border-radius: ${It("radii.3")};
|
1656
|
+
${rd};
|
1674
1657
|
${od};
|
1675
|
-
${ad};
|
1676
1658
|
${Zt};
|
1677
|
-
`;function
|
1659
|
+
`;function nd({children:t,status:r,variant:o,...a}){const n="small"===o?{width:"1em"}:{};return e.createElement(ad,Rt({},a,{variant:o,status:r}),r&&e.createElement(Ao,Rt({},n,{icon:td[r]||lo,sx:{mr:1}})),t)}nd.displayName="StateLabel",nd.defaultProps={variant:"normal"};const id=g.nav`
|
1678
1660
|
display: flex;
|
1679
1661
|
justify-content: space-between;
|
1680
1662
|
|
@@ -1696,10 +1678,10 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1696
1678
|
}
|
1697
1679
|
|
1698
1680
|
${Zt};
|
1699
|
-
`;function
|
1681
|
+
`;function ld({actions:t,className:r,children:o,label:a,...n}){const i=Ya(r,"SubNav");return e.createElement(id,Rt({className:i,"aria-label":a},n),e.createElement("div",{className:"SubNav-body"},o),t&&e.createElement("div",{className:"SubNav-actions"},t))}ld.displayName="SubNav";const dd=g.div`
|
1700
1682
|
display: flex;
|
1701
1683
|
${Zt};
|
1702
|
-
`,
|
1684
|
+
`,sd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("SubNav-item",e.selected&&"selected",e.className)})))`
|
1703
1685
|
padding-left: ${It("space.3")};
|
1704
1686
|
padding-right: ${It("space.3")};
|
1705
1687
|
font-weight: ${It("fontWeights.semibold")};
|
@@ -1747,15 +1729,15 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1747
1729
|
}
|
1748
1730
|
|
1749
1731
|
${Zt};
|
1750
|
-
`;
|
1732
|
+
`;sd.displayName="SubNav.Link",dd.displayName="SubNav.Links";var cd=Object.assign(ld,{Link:sd,Links:dd});const gd=g.div`
|
1751
1733
|
margin-top: 0;
|
1752
1734
|
border-bottom: 1px solid ${It("colors.border.default")};
|
1753
1735
|
${Zt}
|
1754
|
-
`,
|
1736
|
+
`,fd=g.nav`
|
1755
1737
|
display: flex;
|
1756
1738
|
margin-bottom: -1px;
|
1757
1739
|
overflow: auto;
|
1758
|
-
`;function
|
1740
|
+
`;function ud({children:t,"aria-label":r,...o}){return e.createElement(gd,o,e.createElement(fd,{"aria-label":r},t))}ud.displayName="TabNav";const pd=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("TabNav-item",e.selected&&"selected",e.className)})))`
|
1759
1741
|
padding: 8px 12px;
|
1760
1742
|
font-size: ${It("fontSizes.1")};
|
1761
1743
|
line-height: 20px;
|
@@ -1780,18 +1762,18 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1780
1762
|
}
|
1781
1763
|
|
1782
1764
|
${Zt};
|
1783
|
-
`;
|
1765
|
+
`;pd.displayName="TabNav.Link";var bd=Object.assign(ud,{Link:pd}),hd=F(te,P,O,D,H,U,V,q,_,re,pe,be,he),md=new RegExp("^("+hd.propNames.join("|")+")$");const vd={small:"16px",medium:"20px",large:"24px",extralarge:"32px"},xd=({as:e="span",onClick:t,onFocus:r,tabIndex:o=-1})=>Boolean(r||t||o>-1||["a","button"].includes(e)),yd=ue({prop:"size",variants:{small:{fontSize:0,height:vd.small,lineHeight:vd.small,paddingLeft:1,paddingRight:1,paddingTop:0,paddingBottom:0},medium:{fontSize:0,height:vd.medium,lineHeight:vd.medium,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},large:{fontSize:0,height:vd.large,lineHeight:vd.large,paddingLeft:2,paddingRight:2,paddingTop:0,paddingBottom:0},extralarge:{fontSize:1,height:vd.extralarge,lineHeight:vd.extralarge,paddingLeft:3,paddingRight:3,paddingTop:0,paddingBottom:0}}}),wd=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})))`
|
1784
1766
|
align-items: center;
|
1785
1767
|
border-radius: 999px;
|
1786
|
-
cursor: ${e=>
|
1768
|
+
cursor: ${e=>xd(e)?"pointer":"auto"};
|
1787
1769
|
display: inline-flex;
|
1788
1770
|
font-weight: ${It("fontWeights.bold")};
|
1789
1771
|
font-family: inherit;
|
1790
1772
|
text-decoration: none;
|
1791
1773
|
white-space: nowrap;
|
1792
|
-
${
|
1774
|
+
${yd}
|
1793
1775
|
${Zt}
|
1794
|
-
`;
|
1776
|
+
`;wd.defaultProps={as:"span",size:"medium"};var Bd=wd;const kd=ue({prop:"size",variants:{small:{height:vd.small,width:vd.small},medium:{height:vd.medium,width:vd.medium},large:{height:vd.large,width:vd.large},extralarge:{height:vd.extralarge,width:vd.extralarge}}}),$d=e=>.75*parseInt(vd[e||"medium"],10),Td=g.span`
|
1795
1777
|
background-color: transparent;
|
1796
1778
|
font-family: inherit;
|
1797
1779
|
color: currentColor;
|
@@ -1821,9 +1803,9 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1821
1803
|
background-color: ${It("colors.neutral.subtle")};
|
1822
1804
|
}
|
1823
1805
|
|
1824
|
-
${
|
1806
|
+
${kd}
|
1825
1807
|
${Zt}
|
1826
|
-
`,
|
1808
|
+
`,Sd=({"aria-label":t,isParentInteractive:r,size:o,...a})=>(delete a.children,e.createElement(Td,Rt({as:r?"span":"button",tabIndex:r?-1:void 0,"aria-label":r?t:"Remove token",size:o},a),e.createElement(co,{size:$d(o)})));Sd.displayName="RemoveTokenButton",Sd.defaultProps={size:"medium"};var Ed=Sd;var Cd=g("span")`
|
1827
1809
|
flex-grow: 1;
|
1828
1810
|
min-width: 0;
|
1829
1811
|
overflow: hidden;
|
@@ -1864,7 +1846,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1864
1846
|
bottom: 0;
|
1865
1847
|
}
|
1866
1848
|
}
|
1867
|
-
`;const
|
1849
|
+
`;const zd=g(Bd)`
|
1868
1850
|
background-color: ${It("colors.neutral.subtle")};
|
1869
1851
|
border-color: ${e=>e.isSelected?It("colors.fg.default"):It("colors.border.subtle")};
|
1870
1852
|
border-style: solid;
|
@@ -1876,18 +1858,18 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1876
1858
|
${Zt}
|
1877
1859
|
|
1878
1860
|
${e=>{if(e.isTokenInteractive)return p(["&:hover{background-color:",";box-shadow:",";color:",";}"],It("colors.neutral.muted"),It("colors.shadow.medium"),It("colors.fg.default"))}}
|
1879
|
-
`,
|
1861
|
+
`,Id=g("span")`
|
1880
1862
|
flex-shrink: 0;
|
1881
1863
|
line-height: 0;
|
1882
1864
|
|
1883
1865
|
${e=>{switch(e.size){case"large":case"extralarge":return p(["margin-right:",";"],It("space.2"));default:return p(["margin-right:",";"],It("space.1"))}}}
|
1884
|
-
`,
|
1866
|
+
`,Ad=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=xd(t)&&Boolean(a)&&!s,p={as:o,href:c,onClick:g};return e.createElement(zd,Rt({onRemove:a,hideRemoveButton:s||!a,id:null==n?void 0:n.toString(),text:l,size:d,isTokenInteractive:xd(t)},u?{}:p,f,{ref:r}),i?e.createElement(Id,{size:d},e.createElement(i,null)):null,e.createElement(Cd,u?p:{},l),!s&&a?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),a&&a()},size:d,isParentInteractive:xd(t),"aria-hidden":u?"true":"false",sx:u?{position:"relative",zIndex:"1"}:{}}):null)}));Ad.displayName="Token",Ad.defaultProps={size:"medium"};var Nd=Ad;const Rd={small:0,medium:1,large:1,extralarge:2};function Ld({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)md.test(r)||(t[r]=e[r]);return t}(B),C=Tr(k),z=Do(r(null),C),[I,A]=t(),[N,R]=t(Boolean(w)),{containerRef:L}=No({focusOutBehavior:"wrap",bindKeys:Nr.ArrowHorizontal|Nr.HomeAndEnd,focusableElementFilter:e=>!e.getAttributeNames().includes("aria-hidden"),getNextFocusable:e=>{var t;if(!I&&0!==I)return;let r=I+1;return"next"===e&&(r+=1),"previous"===e&&(r-=1),r>c.length||r<1?z.current||void 0:null===(t=L.current)||void 0===t?void 0:t.children[r]}},[I]),F=e=>{g(e),setTimeout((()=>{var e,t;const r=null===(e=L.current)||void 0===e?void 0:e.children[I||0],o=r&&xr(r)?r:Array.from((null===(t=L.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=L.current)&&void 0!==e&&e.contains(document.activeElement)||!w||R(!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(Qa,{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=z.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:L,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(Ja,Rt({ref:z,disabled:l,onFocus:e=>{T&&T(e),A(void 0),w&&R(!1)},onBlur:e=>{$&&$(e),setTimeout((()=>{var e;null!==(e=L.current)&&void 0!==e&&e.contains(document.activeElement)||!w||R(!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,Rt({key:t,onFocus:(a=o,()=>{A(a)}),onBlur:D,onKeyUp:M,onClick:O,isSelected:I===o,onRemove:()=>{F(t)},hideRemoveButton:b,size:p,tabIndex:0},r));var a})):null,N?e.createElement(Yn,{color:"fg.muted",fontSize:p&&Rd[p]},"+",c.length-P.length):null))}Ld.displayName="TextInputWithTokensInnerComponent";const Fd=e.forwardRef(Ld);Fd.defaultProps={tokenComponent:Nd,size:"extralarge",hideTokenRemoveButtons:!1,preventTokenWrapping:!1},Fd.displayName="TextInputWithTokens";var Dd=Fd;const Md=g.div`
|
1885
1867
|
display: flex;
|
1886
1868
|
flex-direction: column;
|
1887
1869
|
${e=>e.clipSidebar&&p([".Timeline-Item:first-child{padding-top:0;}.Timeline-Item:last-child{padding-bottom:0;}"])}
|
1888
1870
|
|
1889
1871
|
${Zt};
|
1890
|
-
`,
|
1872
|
+
`,Od=g.div.attrs((e=>({className:Ya("Timeline-Item",e.className)})))`
|
1891
1873
|
display: flex;
|
1892
1874
|
position: relative;
|
1893
1875
|
padding: ${It("space.3")} 0;
|
@@ -1907,7 +1889,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1907
1889
|
${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;}"],It("space.1"),It("space.3"),It("space.2"),It("space.2"),It("colors.fg.muted"),It("colors.canvas.default"))}
|
1908
1890
|
|
1909
1891
|
${Zt};
|
1910
|
-
`,
|
1892
|
+
`,Pd=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));Pd.displayName="TimelineBadge";const Hd=g.div`
|
1911
1893
|
min-width: 0;
|
1912
1894
|
max-width: 100%;
|
1913
1895
|
margin-top: ${It("space.1")};
|
@@ -1915,7 +1897,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1915
1897
|
flex: auto;
|
1916
1898
|
font-size: ${It("fontSizes.1")};
|
1917
1899
|
${Zt};
|
1918
|
-
`,
|
1900
|
+
`,Wd=g.div`
|
1919
1901
|
position: relative
|
1920
1902
|
z-index: 1;
|
1921
1903
|
height: 24px;
|
@@ -1926,15 +1908,15 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
1926
1908
|
border: 0;
|
1927
1909
|
border-top: ${It("space.1")} solid ${It("colors.border.default")};
|
1928
1910
|
${Zt};
|
1929
|
-
`;
|
1911
|
+
`;Od.displayName="Timeline.Item",Pd.displayName="Timeline.Badge",Hd.displayName="Timeline.Body",Wd.displayName="Timeline.Break";var _d=Object.assign(Md,{Item:Od,Badge:Pd,Body:Hd,Break:Wd});function jd(e,t,r){return Math.min(Math.max(e,r),t)}class Ud extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function Kd(e){if("string"!=typeof e)throw new Ud(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Qd.test(e)?function(e){const t=e.toLowerCase().trim(),r=Gd[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 Ud(e);return`#${r}`}(e):e;const r=Xd.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(qd(e,2),16))),parseInt(qd(e[3]||"f",2),16)/255]}const o=Yd.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=Jd.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=Zd.exec(t);if(n){const[t,r,o,a]=Array.from(n).slice(1).map(parseFloat);if(jd(0,100,r)!==r)throw new Ud(e);if(jd(0,100,o)!==o)throw new Ud(e);return[...ts(t,r,o),a||1]}throw new Ud(e)}const Vd=e=>parseInt(e.replace(/_/g,""),36),Gd="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=Vd(t.substring(0,3)),o=Vd(t.substring(3)).toString(16);let a="";for(let e=0;e<6-o.length;e++)a+="0";return e[r]=`${a}${o}`,e}),{}),qd=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Xd=new RegExp(`^#${qd("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Yd=new RegExp(`^#${qd("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Jd=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${qd(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Zd=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Qd=/^[a-z]+$/i,es=e=>Math.round(255*e),ts=(e,t,r)=>{let o=r/100;if(0===t)return[o,o,o].map(es);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(es)};const rs={"--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))"},os={"--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))"},as=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}=qt(),m=xd(t)&&Boolean(i)&&!g,v=n((()=>{const[e,t,r]=Kd(a),[o,n,l]=function(e){const[t,r,o,a]=Kd(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?rs:os,...d?{background:"light"===h?"hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 5) * 1%))":os.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(Bd,Rt({onRemove:i,id:null==l?void 0:l.toString(),isSelected:d,text:s,size:c,sx:v},m?{}:b,p,{ref:r}),e.createElement(Cd,m?b:{},s),!g&&i?e.createElement(Ed,{borderOffset:1,onClick:e=>{e.stopPropagation(),i&&i()},size:c,"aria-hidden":m?"true":"false",isParentInteractive:xd(t),sx:m?{position:"relative",zIndex:"1"}:{}}):null)}));as.defaultProps={fillColor:"#999",size:"medium"},as.displayName="IssueLabelToken";var ns=as;const is=g.span`
|
1930
1912
|
// 'space.1' is used because to match space from the left of the token to the left of the avatar
|
1931
1913
|
// '* 2' is done to account for the top and bottom
|
1932
1914
|
--spacing: calc(${It("space.1")} * 2);
|
1933
1915
|
|
1934
1916
|
display: block;
|
1935
|
-
height: ${e=>`calc(${
|
1936
|
-
width: ${e=>`calc(${
|
1937
|
-
`,
|
1917
|
+
height: ${e=>`calc(${vd[e.avatarSize]} - var(--spacing))`};
|
1918
|
+
width: ${e=>`calc(${vd[e.avatarSize]} - var(--spacing))`};
|
1919
|
+
`,ls=i((({avatarSrc:t,id:r,size:o,...a},n)=>e.createElement(Nd,Rt({leadingVisual:()=>e.createElement(is,{avatarSize:o||"medium"},e.createElement(un,{src:t,size:parseInt(vd[o||"medium"],10),sx:{width:"100%",height:"100%"}})),size:o,id:null==r?void 0:r.toString(),sx:{paddingLeft:It("space.1")}},a,{ref:n}))));ls.defaultProps={size:"medium"},ls.displayName="AvatarToken";var ds=ls;const ss=g.span`
|
1938
1920
|
position: relative;
|
1939
1921
|
|
1940
1922
|
&::before {
|
@@ -2160,7 +2142,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2160
2142
|
}
|
2161
2143
|
|
2162
2144
|
${Zt};
|
2163
|
-
`;function
|
2145
|
+
`;function cs({direction:t="n",children:r,className:o,text:a,noDelay:n,align:i,wrap:l,...d}){const s=Ya(o,`tooltipped-${t}`,i&&`tooltipped-align-${i}-2`,n&&"tooltipped-no-delay",l&&"tooltipped-multiline");return e.createElement(ss,Rt({role:"tooltip","aria-label":a},d,{className:s}),r)}cs.displayName="Tooltip",cs.alignments=["left","right"],cs.directions=["n","ne","e","se","s","sw","w","nw"];const gs=g.nav`
|
2164
2146
|
display: flex;
|
2165
2147
|
justify-content: space-between;
|
2166
2148
|
border-bottom: 1px solid ${It("colors.border.muted")};
|
@@ -2190,7 +2172,7 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2190
2172
|
}
|
2191
2173
|
|
2192
2174
|
${Zt};
|
2193
|
-
`;function
|
2175
|
+
`;function fs({actions:t,className:r,align:o,children:a,full:n,label:i,theme:l,...d}){const s=Ya(r,"UnderlineNav",o&&`UnderlineNav--${o}`,n&&"UnderlineNav--full");return e.createElement(gs,Rt({className:s,"aria-label":i,theme:l},d),e.createElement("div",{className:"UnderlineNav-body"},a),t&&e.createElement("div",{className:"UnderlineNav-actions"},t))}fs.displayName="UnderlineNav";const us=g.a.attrs((e=>({activeClassName:"string"==typeof e.to?"selected":"",className:Ya("UnderlineNav-item",e.selected&&"selected",e.className)})))`
|
2194
2176
|
padding: ${It("space.3")} ${It("space.2")};
|
2195
2177
|
margin-right: ${It("space.3")};
|
2196
2178
|
font-size: ${It("fontSizes.1")};
|
@@ -2222,11 +2204,11 @@ import e,{useState as t,useRef as r,useCallback as o,useEffect as a,useMemo as n
|
|
2222
2204
|
}
|
2223
2205
|
|
2224
2206
|
${Zt};
|
2225
|
-
`;
|
2207
|
+
`;us.displayName="UnderlineNav.Link";var ps=Object.assign(fs,{Link:us});const bs=g.input`
|
2226
2208
|
cursor: pointer;
|
2227
2209
|
|
2228
2210
|
${e=>e.disabled&&"cursor: not-allowed;"}
|
2229
2211
|
|
2230
2212
|
${Zt}
|
2231
|
-
`,
|
2213
|
+
`,hs=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(bs,Rt({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))}));hs.displayName="Checkbox";var ms=hs;export{dr as Absolute,Da as ActionList,Va as ActionMenu,gn as Autocomplete,un as Avatar,hn as AvatarPair,xn as AvatarStack,ds as AvatarToken,Dt as BaseStyles,tr as BorderBox,Qt as Box,yn as BranchName,Sn as Breadcrumb,Tn as Breadcrumbs,jr as Button,fo as ButtonClose,Ur as ButtonDanger,Vr as ButtonGroup,Xr as ButtonInvisible,Gr as ButtonOutline,qr as ButtonPrimary,Yr as ButtonTableList,Hn as Caret,ms as Checkbox,Un as CircleBadge,Kn as CircleOcticon,fa as ConfirmationDialog,An as CounterLabel,Gn as Details,oi as Dialog,gi as Dropdown,fi as DropdownButton,ui as DropdownMenu,xi as FilterList,pi as FilteredSearch,sr as Fixed,Bi as Flash,or as Flex,Ti as FormGroup,nr as Grid,zi as Header,Ii as Heading,ns as IssueLabelToken,Fi as Label,Ai as LabelGroup,Mi as Link,Rn as NewButton,Wa as Overlay,Oi as Pagehead,_i as Pagination,Ki as PointerBox,qi as Popover,lr as Position,Zi as ProgressBar,cr as Relative,Po as SSRProvider,ql as SelectMenu,ed as SideNav,$l as Spinner,nd as StateLabel,gr as Sticky,Ao as StyledOcticon,cd as SubNav,bd as TabNav,Yn as Text,tn as TextInput,Dd as TextInputWithTokens,Jt as ThemeProvider,_d as Timeline,Nd as Token,cs as Tooltip,xa as Truncate,ps as UnderlineNav,x as theme,It as themeGet,Xt as useColorSchemeVar,ua as useConfirm,fr as useDetails,$r as useOnEscapePress,mr as useOnOutsideClick,wr as useOpenAndCloseFocus,Sr as useOverlay,Wo as useSSRSafeId,ur as useSafeTimeout,qt as useTheme};
|
2232
2214
|
//# sourceMappingURL=browser.esm.js.map
|