<commit_before>@charset "UTF-8";

// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
  xs: (
    begin: 0,
    end: 599.99px
  ),
  sm: (
    begin: 600px,
    end: 959.99px
  ),
  md: (
    begin: 960px,
    end: 1279.99px
  ),
  lg: (
    begin: 1280px,
    end: 1919.99px
  ),
  xl: (
    begin: 1920px,
    end: 4999.99px
  ),
) !default;

// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
  gt-xs: 600px,
  gt-sm: 960px,
  gt-md: 1280px,
  gt-lg: 1920px,
) !default;

// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
  lt-sm: 599.99px,
  lt-md: 959.99px,
  lt-lg: 1279.99px,
  lt-xl: 1919.99px,
) !default;


// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
//   background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
//   background-color: red;
// }
@mixin layout-bp($bp) {
  @if map-has-key($breakpoints, $bp) {
    $min: map-get(map-get($breakpoints, $bp), begin);
    $max: map-get(map-get($breakpoints, $bp), end);
    @media (min-width: $min) and (max-width: $max) { @content; }
  }
  @else if map-has-key($overlapping-gt, $bp) {
    $min: map-get($breakpoints, $bp);
    @media (min-width: $min) { @content; }
  }
  @else if map-has-key($overlapping-lt, $bp) {
    $max: map-get($breakpoints, $bp);
    @media (max-width: $max) { @content; }
  }
}<commit_msg>fix(core): update layout-bp mixin to use right overlapping maps (#1020)<commit_after>@charset "UTF-8";

// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
  xs: (
    begin: 0,
    end: 599.99px
  ),
  sm: (
    begin: 600px,
    end: 959.99px
  ),
  md: (
    begin: 960px,
    end: 1279.99px
  ),
  lg: (
    begin: 1280px,
    end: 1919.99px
  ),
  xl: (
    begin: 1920px,
    end: 4999.99px
  ),
) !default;

// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
  gt-xs: 600px,
  gt-sm: 960px,
  gt-md: 1280px,
  gt-lg: 1920px,
) !default;

// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
  lt-sm: 599.99px,
  lt-md: 959.99px,
  lt-lg: 1279.99px,
  lt-xl: 1919.99px,
) !default;


// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
//   background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
//   background-color: red;
// }
@mixin layout-bp($bp) {
  @if map-has-key($breakpoints, $bp) {
    $min: map-get(map-get($breakpoints, $bp), begin);
    $max: map-get(map-get($breakpoints, $bp), end);
    @media (min-width: $min) and (max-width: $max) { @content; }
  }
  @else if map-has-key($overlapping-gt, $bp) {
    $min: map-get($overlapping-gt, $bp);
    @media (min-width: $min) { @content; }
  }
  @else if map-has-key($overlapping-lt, $bp) {
    $max: map-get($overlapping-lt, $bp);
    @media (max-width: $max) { @content; }
  }
}
{'fraction_non_alphanumeric': 0.18304977945809703, 'fraction_numerical': 0.05419029615626969, 'mean_word_length': 2.757396449704142, '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': '6867551', 'n_tokens_mistral': 1441, 'n_tokens_neox': 1278, 'n_words': 305}