<commit_before>// Base format for the navigation parts.
//
=INDENT($DEPTH, $BASE, $STEP, $PROGRESS:$DEPTH)
    @if $PROGRESS > 0
        & li
            +INDENT($DEPTH, $BASE, $STEP, $PROGRESS - 1)
    @else
        & a
            padding-left: #{($BASE + $STEP * ($DEPTH - 1))}px

=INDENTS($COUNT, $BASE, $STEP)
    @for $DEPTH from 1 through $COUNT
        +INDENT($DEPTH, $BASE, $STEP)

.tsd-navigation
    padding: 0 0 0 0
    // Fill most of the available content on the page
    height: calc(100vh - 260px)
    overflow-y: auto

    a
        display: block
        padding-top: 2px
        padding-bottom: 2px
        border-left: 2px solid transparent
        color: $COLOR_TEXT
        text-decoration: none
        transition: border-left-color 0.1s
        font-size: 13px
        word-break: break-word
        margin-left: 1em

        &:hover
            color: blue

    ul
        margin: 0
        padding: 0
        list-style: none

    li
        padding: 0

    div
        font-size: 13px


// Primary part of the navigation containing the available modules.
//
// <nav class="tsd-navigation primary">
//   <ul>
//     <li class="globals"><a href="#"><em>Globals</em></a></li>
//     <li class="current tsd-kind-container">
//       <a href="#">TypeDoc</a>
//       <ul>
//         <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Factories</a></li>
//         <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Models</a></li>
//         <li class="current tsd-kind-container tsd-parent-kind-container"><a href="#">Output</a></li>
//       </ul>
//     </li>
//   </ul>
// </nav>
//
.tsd-navigation.primary
    padding-bottom: 40px

    a
        display: block
        padding-top: 6px
        padding-bottom: 6px

    a.selected
        font-weight: bold

    ul
        +INDENTS(6, 5, 20)

    > ul
        border-bottom: 1px solid $COLOR_PANEL_DIVIDER

    li
        border-top: 1px solid $COLOR_PANEL_DIVIDER

        &.current > a
            font-weight: bold

        &.label span
            display: block
            padding: 20px 0 6px 5px
            color: $COLOR_MENU_LABEL

        &.globals + li > span,
        &.globals + li > a
            padding-top: 20px


// Secondary part of the navigation containing the table of contents
// of the current module.
// Can be made sticky by `typedoc.MenuSticky` and will highlight current sticky with `typedoc.MenuHighlight`.
//
// <nav class="tsd-navigation secondary">
//   <ul class="before-current">
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">AssetsPlugin</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BasePlugin</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BaseTheme</a></li>
//   </ul>
//   <ul class="current">
//     <li class="current tsd-kind-class tsd-parent-kind-container">
//       <a href="#" class="tsd-kind-icon">OutputEvent</a>
//       <ul>
//         <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isDefaultPrevented</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isPropagationStopped</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">outputDirectory</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">project</a></li>
//       </ul>
//     </li>
//   </ul>
//   <ul class="after-current">
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">OutputPageEvent</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">PartialsPlugin</a></li>
//   </ul>
// </nav>
//
.tsd-navigation.secondary
    ul
        +INDENTS(6, 25, 20)
        transition: opacity 0.2s

        &.current a
            border-left-color: $COLOR_PANEL_DIVIDER

    li.focus > a,
    ul.current li.focus > a
        border-left-color: $COLOR_MENU_DIVIDER_FOCUS

    li.current
        margin-top: 20px
        margin-bottom: 20px
        border-left-color: $COLOR_PANEL_DIVIDER

        > a
            font-weight: bold


// Sticky menu setup
//
.menu-sticky-wrap
    +size-md-lg
        position: static

        .no-csspositionsticky &
            &.sticky
                position: fixed

            &.sticky-current
                position: fixed

                ul.before-current,
                ul.after-current
                    opacity: 0

            &.sticky-bottom
                position: absolute
                top: auto !important
                left: auto !important
                bottom: 0
                right: 0

        .csspositionsticky &
            &.sticky
                position: sticky

            &.sticky-current
                position: sticky

.col-menu
    position: fixed
    top: 120px

.secondary-menu
    margin-left: calc(83% - 50px)
    overflow-y: auto

@media (min-width: 1300px)
    .secondary-menu
        margin-left: 1000px

// Right-hand side table of contents will have labels instead of just icons
.root
    > ul
        > .tsd-parent-kind-class
            margin-left: 16px

        // Only apply to first element of each class
        // https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class
        > .tsd-kind-constructor
            &:before
                content: "Constructors"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-constructor::before
                content: none

        > .tsd-kind-property
            &:before
                content: "Properties"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-property::before
                content: none

        > .tsd-kind-get-signature
            &:before
                content: "Accessors"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-get-signature::before
                content: none

        > .tsd-kind-method
            &:before
                content: "Methods"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-method::before
                content: none

.root.tsd-kind-class
    &:before
        content: "Classes"
        font-size: 13px
    ~ .tsd-kind-class::before
        content: none

.root.tsd-kind-interface
    &:before
        content: "Interfaces"
        font-size: 13px
    ~ .tsd-kind-interface::before
        content: none

.root.tsd-kind-type-alias
    &:before
        content: "Types"
        font-size: 13px
    ~ .tsd-kind-type-alias::before
        content: none

.root.tsd-kind-function
    &:before
        content: "Functions"
        font-size: 13px
    ~ .tsd-kind-function::before
        content: none<commit_msg>Match height of all primary nav elements<commit_after>// Base format for the navigation parts.
//
=INDENT($DEPTH, $BASE, $STEP, $PROGRESS:$DEPTH)
    @if $PROGRESS > 0
        & li
            +INDENT($DEPTH, $BASE, $STEP, $PROGRESS - 1)
    @else
        & a
            padding-left: #{($BASE + $STEP * ($DEPTH - 1))}px

=INDENTS($COUNT, $BASE, $STEP)
    @for $DEPTH from 1 through $COUNT
        +INDENT($DEPTH, $BASE, $STEP)

.tsd-navigation
    padding: 0 0 0 0
    // Fill most of the available content on the page
    height: calc(100vh - 260px)
    overflow-y: auto

    a
        display: block
        padding-top: 2px
        padding-bottom: 2px
        border-left: 2px solid transparent
        color: $COLOR_TEXT
        text-decoration: none
        transition: border-left-color 0.1s
        font-size: 13px
        word-break: break-word
        margin-left: 1em

        &:hover
            color: blue

    ul
        margin: 0
        padding: 0
        list-style: none

    li
        padding: 0

    div
        font-size: 13px


// Primary part of the navigation containing the available modules.
//
// <nav class="tsd-navigation primary">
//   <ul>
//     <li class="globals"><a href="#"><em>Globals</em></a></li>
//     <li class="current tsd-kind-container">
//       <a href="#">TypeDoc</a>
//       <ul>
//         <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Factories</a></li>
//         <li class="tsd-kind-container tsd-parent-kind-container"><a href="#">Models</a></li>
//         <li class="current tsd-kind-container tsd-parent-kind-container"><a href="#">Output</a></li>
//       </ul>
//     </li>
//   </ul>
// </nav>
//
.tsd-navigation.primary
    padding-bottom: 40px

    a, div
        display: block
        height: 29px
        line-height: 29px
        box-sizing: border-box
        font-size: 14px
        padding: 0

    a.selected
        font-weight: bold

    ul
        +INDENTS(6, 5, 20)

    > ul
        border-bottom: 1px solid $COLOR_PANEL_DIVIDER

    li
        border-top: 1px solid $COLOR_PANEL_DIVIDER

        &.current > a
            font-weight: bold

        &.label span
            display: block
            padding: 20px 0 6px 5px
            color: $COLOR_MENU_LABEL

        &.globals + li > span,
        &.globals + li > a
            padding-top: 20px


// Secondary part of the navigation containing the table of contents
// of the current module.
// Can be made sticky by `typedoc.MenuSticky` and will highlight current sticky with `typedoc.MenuHighlight`.
//
// <nav class="tsd-navigation secondary">
//   <ul class="before-current">
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">AssetsPlugin</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BasePlugin</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">BaseTheme</a></li>
//   </ul>
//   <ul class="current">
//     <li class="current tsd-kind-class tsd-parent-kind-container">
//       <a href="#" class="tsd-kind-icon">OutputEvent</a>
//       <ul>
//         <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isDefaultPrevented</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="#" class="tsd-kind-icon">isPropagationStopped</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">outputDirectory</a></li>
//         <li class="tsd-kind-property tsd-parent-kind-class"><a href="#" class="tsd-kind-icon">project</a></li>
//       </ul>
//     </li>
//   </ul>
//   <ul class="after-current">
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">OutputPageEvent</a></li>
//     <li class="tsd-kind-class tsd-parent-kind-container"><a href="#" class="tsd-kind-icon">PartialsPlugin</a></li>
//   </ul>
// </nav>
//
.tsd-navigation.secondary
    ul
        +INDENTS(6, 25, 20)
        transition: opacity 0.2s

        &.current a
            border-left-color: $COLOR_PANEL_DIVIDER

    li.focus > a,
    ul.current li.focus > a
        border-left-color: $COLOR_MENU_DIVIDER_FOCUS

    li.current
        margin-top: 20px
        margin-bottom: 20px
        border-left-color: $COLOR_PANEL_DIVIDER

        > a
            font-weight: bold


// Sticky menu setup
//
.menu-sticky-wrap
    +size-md-lg
        position: static

        .no-csspositionsticky &
            &.sticky
                position: fixed

            &.sticky-current
                position: fixed

                ul.before-current,
                ul.after-current
                    opacity: 0

            &.sticky-bottom
                position: absolute
                top: auto !important
                left: auto !important
                bottom: 0
                right: 0

        .csspositionsticky &
            &.sticky
                position: sticky

            &.sticky-current
                position: sticky

.col-menu
    position: fixed
    top: 120px

.secondary-menu
    margin-left: calc(83% - 50px)
    overflow-y: auto

@media (min-width: 1300px)
    .secondary-menu
        margin-left: 1000px

// Right-hand side table of contents will have labels instead of just icons
.root
    > ul
        > .tsd-parent-kind-class
            margin-left: 16px

        // Only apply to first element of each class
        // https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class
        > .tsd-kind-constructor
            &:before
                content: "Constructors"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-constructor::before
                content: none

        > .tsd-kind-property
            &:before
                content: "Properties"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-property::before
                content: none

        > .tsd-kind-get-signature
            &:before
                content: "Accessors"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-get-signature::before
                content: none

        > .tsd-kind-method
            &:before
                content: "Methods"
                font-size: 13px
                margin-left: 24px
            ~ .tsd-kind-method::before
                content: none

.root.tsd-kind-class
    &:before
        content: "Classes"
        font-size: 13px
    ~ .tsd-kind-class::before
        content: none

.root.tsd-kind-interface
    &:before
        content: "Interfaces"
        font-size: 13px
    ~ .tsd-kind-interface::before
        content: none

.root.tsd-kind-type-alias
    &:before
        content: "Types"
        font-size: 13px
    ~ .tsd-kind-type-alias::before
        content: none

.root.tsd-kind-function
    &:before
        content: "Functions"
        font-size: 13px
    ~ .tsd-kind-function::before
        content: none

{'fraction_non_alphanumeric': 0.14049762529240803, 'fraction_numerical': 0.01538243425249876, 'mean_word_length': 1.7603208765407943, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 187, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '676450', 'n_tokens_mistral': 4780, 'n_tokens_neox': 4330, 'n_words': 962}