<commit_before>'use strict';

// Vendor imports
import { TweenMax } from 'gsap';
import $ from 'jquery';
import _ from 'lodash';

// Module imports
const BREWSER = require('brewser/dist/brewser.min').br;

// Singleton innit
var instance = null;

export default class VideoOverlay {
  constructor() {
    if (!instance) {
      instance = this;
      this._init();
    }

    return instance;
  }





////////////////////////////////////
/////// Private methods
////////////////

  _init() {
    var dom =  `<div class="video-overlay is-hidden">
                  <div class="close-screen-button">
                    <span class="sprite -x-white icon" aria-hidden="true">
                      <svg viewBox="0 0 32 32"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="images/icons.svg#x--white"></use>
                      </svg>
                    </span>
                  </div><commit_msg>Help Video overlay to find the SVG sprite<commit_after>'use strict';

// Vendor imports
import { TweenMax } from 'gsap';
import $ from 'jquery';
import _ from 'lodash';

// Module imports
const BREWSER = require('brewser/dist/brewser.min').br;

import json from '../../html/data/global.json';

// Singleton innit
var instance = null;

export default class VideoOverlay {
  constructor() {
    if (!instance) {
      instance = this;
      this._init();
    }

    return instance;
  }





////////////////////////////////////
/////// Private methods
////////////////

  _init() {
    const icon = `${json.doc_root}/images/icons.svg#x--white`;
    const dom =  `<div class="video-overlay is-hidden">
                  <div class="close-screen-button">
                    <span class="sprite -x-white icon" aria-hidden="true">
                      <svg viewBox="0 0 32 32"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${icon}"></use>
                      </svg>
                    </span>
                  </div>
{'fraction_non_alphanumeric': 0.19917440660474717, 'fraction_numerical': 0.011351909184726523, 'mean_word_length': 1.746458923512748, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '7139871', 'n_tokens_mistral': 596, 'n_tokens_neox': 551, 'n_words': 135}