<commit_before><!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  <title>Expense Manager</title>

  <style is="custom-style">
    body {
      width: 100% !important;
      overflow-y: hidden;
      display: flex;
      flex-direction: column;
      margin: 0;
      height: 100vh;
    }

    body.loading {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
    }

    #loadingScreen {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      opacity: 1 !important;
      background: url(images/app-icon.svg) #37474F center center no-repeat;
      background-size: 200px 200px;
      transition: opacity 400ms;
    }

    .ready #loadingScreen {
      opacity: 0 !important;
    }
  </style>
  <link rel="manifest" href="manifest.json">

  <meta name="theme-color" content="#37474F" />
  <meta name="mobile-web-app-capable" content="yes" />
  <link rel="icon" sizes="192x192" href="images/app-icon-192.png" />
  <meta name="application-name" content="Expense Manager">

  <!-- iOS -->
  <link rel="apple-touch-icon" href="images/app-icon-192.png" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-mobile-web-app-title" content="Expense Manager">

  <!-- build:css styles/main.css -->
  <link rel="stylesheet" href="styles/main.css" async>
  <!-- endbuild-->

  <link rel="import" id="bundle" href="elements/elements.html" async>

  <script>
    window.Polymer = window.Polymer || {};
    window.Polymer.dom = 'shadow';
  </script>
</head>

<body class="loading">
  <div id="loadingScreen"></div>

  <platinum-sw-register auto-register clients-claim skip-waiting on-service-worker-installed="_cachingComplete">
    <platinum-sw-fetch path="/(.*)" handler="networkOnly" origin="https://vaadin-expense-manager\.cloudant\.com"></platinum-sw-fetch>
    <platinum-sw-cache default-cache-strategy="fastest" cache-config-file="cache-config.json">
    </platinum-sw-cache>
  </platinum-sw-register>
  <platinum-https-redirect></platinum-https-redirect>

  <span id="browser-sync-binding"></span>
  <script>
    function onImportLoaded() {
      var loadingScreen = document.querySelector('#loadingScreen');
      loadingScreen.addEventListener('transitionend', function() {
        // Remove the loading screen from DOM after CSS transition.
        document.body.removeChild(loadingScreen);
      });

      document.body.classList.remove('loading');
      document.body.classList.add('ready');
      var appElement = document.createElement('expense-app');
      document.body.appendChild(appElement);
    }

    function finishLazyLoading() {
      var link = document.querySelector('#bundle');
      if (link.import && link.import.readyState === 'complete') {
        onImportLoaded();
      } else {
        link.addEventListener('load', onImportLoaded);
      }
    }
<commit_msg>removed https redirect until backend supports https<commit_after><!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  <title>Expense Manager</title>

  <style is="custom-style">
    body {
      width: 100% !important;
      overflow-y: hidden;
      display: flex;
      flex-direction: column;
      margin: 0;
      height: 100vh;
    }

    body.loading {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
    }

    #loadingScreen {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      opacity: 1 !important;
      background: url(images/app-icon.svg) #37474F center center no-repeat;
      background-size: 200px 200px;
      transition: opacity 400ms;
    }

    .ready #loadingScreen {
      opacity: 0 !important;
    }
  </style>
  <link rel="manifest" href="manifest.json">

  <meta name="theme-color" content="#37474F" />
  <meta name="mobile-web-app-capable" content="yes" />
  <link rel="icon" sizes="192x192" href="images/app-icon-192.png" />
  <meta name="application-name" content="Expense Manager">

  <!-- iOS -->
  <link rel="apple-touch-icon" href="images/app-icon-192.png" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-mobile-web-app-title" content="Expense Manager">

  <!-- build:css styles/main.css -->
  <link rel="stylesheet" href="styles/main.css" async>
  <!-- endbuild-->

  <link rel="import" id="bundle" href="elements/elements.html" async>

  <script>
    window.Polymer = window.Polymer || {};
    window.Polymer.dom = 'shadow';
  </script>
</head>

<body class="loading">
  <div id="loadingScreen"></div>

  <platinum-sw-register auto-register clients-claim skip-waiting on-service-worker-installed="_cachingComplete">
    <platinum-sw-fetch path="/(.*)" handler="networkOnly" origin="https://vaadin-expense-manager\.cloudant\.com"></platinum-sw-fetch>
    <platinum-sw-cache default-cache-strategy="fastest" cache-config-file="cache-config.json">
    </platinum-sw-cache>
  </platinum-sw-register>
  <!-- <platinum-https-redirect></platinum-https-redirect> -->

  <span id="browser-sync-binding"></span>
  <script>
    function onImportLoaded() {
      var loadingScreen = document.querySelector('#loadingScreen');
      loadingScreen.addEventListener('transitionend', function() {
        // Remove the loading screen from DOM after CSS transition.
        document.body.removeChild(loadingScreen);
      });

      document.body.classList.remove('loading');
      document.body.classList.add('ready');
      var appElement = document.createElement('expense-app');
      document.body.appendChild(appElement);
    }

    function finishLazyLoading() {
      var link = document.querySelector('#bundle');
      if (link.import && link.import.readyState === 'complete') {
        onImportLoaded();
      } else {
        link.addEventListener('load', onImportLoaded);
      }
    }

{'fraction_non_alphanumeric': 0.1624126158348236, 'fraction_numerical': 0.016907819866688344, 'mean_word_length': 3.257439446366782, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '2794466', 'n_tokens_mistral': 2017, 'n_tokens_neox': 1895, 'n_words': 362}