<commit_before>// ┌────────┐
// │ Loader │
// └────────┘
//  Adapted from: http://esri.github.io/calcite-web/components/#loader
//  Line 15 is a shortcircuit of functionality found in Calcite-Web
//  Color variables have been changed to $Calcite-*

@mixin loader() {
  display: none;
  position: relative;
  &.is-active {
    display: block;
  }
}

%loader-styles {
  background: $Calcite_Blue_250;
  -webkit-animation: load $loader-speed infinite ease-in-out;
  animation: load $loader-speed infinite ease-in-out;
  width: $loader-width;
  height: $loader-height;
}

%loader-pseudoelements {
  @extend %loader-styles;
  position: absolute;
  top: 0;
  content: '';
}

@mixin loader-bars() {
  @extend %loader-styles;
  text-indent: -9999em;
  margin: auto;
  position: absolute;
  right: 50%;
  font-size: 11px;
  -webkit-animation-delay: $loader-delay;
  animation-delay: $loader-delay;
  &:before{
    @extend %loader-pseudoelements;
    left: -$loader-spacing;
  }
  &:after {
    @extend %loader-pseudoelements;
    left: $loader-spacing;
    -webkit-animation-delay: 2*$loader-delay;
    animation-delay: 2*$loader-delay;
  }
}

@mixin loader-text() {
  text-align: center;
  padding-top: 4rem;
  @extend .avenir-regular;
}

@if $include-loader == true {
  @-webkit-keyframes load {<commit_msg>fixing compile issue where avenir-regular could not be extended<commit_after>// ┌────────┐
// │ Loader │
// └────────┘
//  Adapted from: http://esri.github.io/calcite-web/components/#loader
//  Line 15 is a shortcircuit of functionality found in Calcite-Web
//  Color variables have been changed to $Calcite-*

@mixin loader() {
  display: none;
  position: relative;
  &.is-active {
    display: block;
  }
}

%loader-styles {
  background: $Calcite_Blue_250;
  -webkit-animation: load $loader-speed infinite ease-in-out;
  animation: load $loader-speed infinite ease-in-out;
  width: $loader-width;
  height: $loader-height;
}

%loader-pseudoelements {
  @extend %loader-styles;
  position: absolute;
  top: 0;
  content: '';
}

@mixin loader-bars() {
  @extend %loader-styles;
  text-indent: -9999em;
  margin: auto;
  position: absolute;
  right: 50%;
  font-size: 11px;
  -webkit-animation-delay: $loader-delay;
  animation-delay: $loader-delay;
  &:before{
    @extend %loader-pseudoelements;
    left: -$loader-spacing;
  }
  &:after {
    @extend %loader-pseudoelements;
    left: $loader-spacing;
    -webkit-animation-delay: 2*$loader-delay;
    animation-delay: 2*$loader-delay;
  }
}

@mixin loader-text() {
  text-align: center;
  padding-top: 4rem;
  @extend .avenir-regular !optional;
}

@if $include-loader == true {
  @-webkit-keyframes load {
{'fraction_non_alphanumeric': 0.16165413533834586, 'fraction_numerical': 0.012781954887218045, 'mean_word_length': 3.50253807106599, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5260357', 'n_tokens_mistral': 1012, 'n_tokens_neox': 940, 'n_words': 219}