<commit_before><!doctype html>
<!--[if lt IE 9]><html class="lt-ie9 ie"><![endif]-->
<!--[if IE 9]><html class="ie"><![endif]-->
<!--[if gt IE 9]><html lang="en"><![endif]-->
  <head>
    <base target="_self">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Referral SaaSquatch Dollar Credit Theme</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700">
    <link rel="stylesheet" href="{{assets 'css/widget.css'}}">

    {{> theme_messages}}
    {{squatchHead}}
    <script src="{{assets 'libs/mobile-detect.min.js'}}"></script>
    <script src="{{assets 'javascript/base.js'}}"></script>
    <script src="{{assets 'javascript/events.js'}}"></script>

    <!--[if lt IE 9]>
      <script src="{{assets 'libs/bind-polyfill.js'}}"></script>
      <script src="{{assets 'libs/html5shiv-printshiv.min.js'}}"></script>
    <![endif]-->

    <!--[if lte IE 9]>
      <script src="{{assets 'libs/matchMedia.js'}}"></script>
      <script src="{{assets 'libs/matchMedia.addListener.js'}}"></script>
    <![endif]-->

   <style>
      .squatch-container .squatch-title {
        color: {{variables 'widget.REFERRER_WIDGET.content.widgetCustomization.headerColor'}};
      }
      body .squatch-container {
        font-family: {{variables 'widget.REFERRER_WIDGET.content.widgetCustomization.widgetFont'}};
      }
    </style>
  </head>

  <body>
    <main class="squatch-container squatch-container-{{lower mode}}">
      <div class="squatch-body">
        {{> title}}

        <button class="close squatch-header-close" data-close-panel="#squatch-panel">Close</button>

        {{> lead}}
        {{> cta}}
        {{> share}}
      </div>

      {{#if user.email}}
        <div id="squatch-panel">
          {{> panel_summary}}
          {{> referrals}}
          {{> attribution}}
        </div>

        {{> actions}}
      {{else}}
        {{> form
            text=(variables 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationHeader')
            fields=(variables-object 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationFields')}}
      {{/if}}
    </main>

    <div id="cta">
      {{> cta-widget cta=(variables-object 'widget.REFERRER_WIDGET.cta')}}
    </div>

    <script src="{{assets 'libs/ready.min.js'}}"></script>
    <script src="{{assets 'libs/clipboard.min.js'}}"></script>
    <script src="{{assets 'libs/moment.min.js'}}"></script>
    <script src="{{assets 'javascript/widget.js'}}"></script><commit_msg>show squatch panel if no registration fields are visible<commit_after><!doctype html>
<!--[if lt IE 9]><html class="lt-ie9 ie"><![endif]-->
<!--[if IE 9]><html class="ie"><![endif]-->
<!--[if gt IE 9]><html lang="en"><![endif]-->
  <head>
    <base target="_self">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Referral SaaSquatch Dollar Credit Theme</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700">
    <link rel="stylesheet" href="{{assets 'css/widget.css'}}">

    {{> theme_messages}}
    {{squatchHead}}
    <script src="{{assets 'libs/mobile-detect.min.js'}}"></script>
    <script src="{{assets 'javascript/base.js'}}"></script>
    <script src="{{assets 'javascript/events.js'}}"></script>

    <!--[if lt IE 9]>
      <script src="{{assets 'libs/bind-polyfill.js'}}"></script>
      <script src="{{assets 'libs/html5shiv-printshiv.min.js'}}"></script>
    <![endif]-->

    <!--[if lte IE 9]>
      <script src="{{assets 'libs/matchMedia.js'}}"></script>
      <script src="{{assets 'libs/matchMedia.addListener.js'}}"></script>
    <![endif]-->

   <style>
      .squatch-container .squatch-title {
        color: {{variables 'widget.REFERRER_WIDGET.content.widgetCustomization.headerColor'}};
      }
      body .squatch-container {
        font-family: {{variables 'widget.REFERRER_WIDGET.content.widgetCustomization.widgetFont'}};
      }
    </style>
  </head>

  <body>
    <main class="squatch-container squatch-container-{{lower mode}}">
      <div class="squatch-body">
        {{> title}}

        <button class="close squatch-header-close" data-close-panel="#squatch-panel">Close</button>

        {{> lead}}
        {{> cta}}
        {{> share}}
      </div>

      {{#if user.email}}
        <div id="squatch-panel">
          {{> panel_summary}}
          {{> referrals}}
          {{> attribution}}
        </div>

        {{> actions}}
      {{else}}
        {{> form
            text=(variables 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationHeader')
            fields=(variables-object 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationFields')}}
        {{#unless (variables 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationFields.email')}}
          {{#unless (variables 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationFields.lastName')}}
            {{#unless (variables 'widget.REFERRER_WIDGET.content.widgetCustomization.registrationFields.lastName')}}
              <div id="squatch-panel">
                {{> panel_summary}}
                {{> referrals}}
                {{> attribution}}
              </div>
            {{/unless}}
          {{/unless}}
        {{/unless}}
      {{/if}}
    </main>

    <div id="cta">
      {{> cta-widget cta=(variables-object 'widget.REFERRER_WIDGET.cta')}}
    </div>

    <script src="{{assets 'libs/ready.min.js'}}"></script>
    <script src="{{assets 'libs/clipboard.min.js'}}"></script>
    <script src="{{assets 'libs/moment.min.js'}}"></script>
    <script src="{{assets 'javascript/widget.js'}}"></script>
{'fraction_non_alphanumeric': 0.20547020091170015, 'fraction_numerical': 0.006078001013000169, 'mean_word_length': 3.0968188105117567, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 150, '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': '4400025', 'n_tokens_mistral': 1978, 'n_tokens_neox': 1868, 'n_words': 307}