<commit_before><span class="close"><svg><use xlink:href="#shape-arrow-down"></use></svg></span>
{{#if layer}}
  <ul class="analysis-stats">
    {{#if totalArea}}
      <li>
        <span class="stats-title">Total selected area</span>
        <span class="stats-count"><strong>{{totalArea}}</strong> ha</span>
      </li>
    {{/if}}
    {{#if loss}}
      <li>
        <span class="stats-title">Loss <a href="#" class="source" data-source="how_to_adjust_date">{{lossDateRange}}</a><span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
        <span class="stats-count" style="color: {{layer.category_color}};"><strong>{{lossAlerts}}</strong> ha</span>
      </li>
      {{#if both}}
      <li>
        <span class="stats-title">Gain 2001-2012</span>
        <span class="stats-count" style="color: #6D6DE5;"><strong>{{gainAlerts}}</strong> ha</span>
      </li>
      {{/if}}
      <li>
        <span class="stats-title">Total extent<span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
        <span class="stats-count" style="color: #97bd3d;"><strong>{{extent}}</strong> ha</span>
      </li>

      <li>
        <a href="#" class="advanced-analysis-button">View Advanced Analysis</a>
      </li>

      {{#if warning_text}}
      <li>
        <div class="stats-notice">This algorithm approximates the results by sampling the selected area. Results are more accurate at closer zoom levels.</div>
      </li>
      {{/if}}
      <div id="toggleIFL" class="ifl-switch">
        <span class="label checked">Total area selected</span><span class="onoffswitch"><span></span></span><span class="label">Intact Forest Landscapes</span>
      </div>

    {{else}}
      {{#if forestgain}}
        <li>
          <span class="stats-title">Gain 2001-2012</span>
          <span class="stats-count" style="color: #6D6DE5;"><strong>{{gainAlerts}}</strong> ha</span>
        </li>
        <li>
          <span class="stats-title">Total extent<span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
          <span class="stats-count" style="color: #97bd3d;"><strong>{{extent}}</strong> ha</span><commit_msg>Analysis: disable advanced analysis before going to PRO<commit_after><span class="close"><svg><use xlink:href="#shape-arrow-down"></use></svg></span>
{{#if layer}}
  <ul class="analysis-stats">
    {{#if totalArea}}
      <li>
        <span class="stats-title">Total selected area</span>
        <span class="stats-count"><strong>{{totalArea}}</strong> ha</span>
      </li>
    {{/if}}
    {{#if loss}}
      <li>
        <span class="stats-title">Loss <a href="#" class="source" data-source="how_to_adjust_date">{{lossDateRange}}</a><span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
        <span class="stats-count" style="color: {{layer.category_color}};"><strong>{{lossAlerts}}</strong> ha</span>
      </li>
      {{#if both}}
      <li>
        <span class="stats-title">Gain 2001-2012</span>
        <span class="stats-count" style="color: #6D6DE5;"><strong>{{gainAlerts}}</strong> ha</span>
      </li>
      {{/if}}
      <li>
        <span class="stats-title">Total extent<span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
        <span class="stats-count" style="color: #97bd3d;"><strong>{{extent}}</strong> ha</span>
      </li>

      {{!-- <li>
        <a href="#" class="advanced-analysis-button">View Advanced Analysis</a>
      </li> --}}

      {{#if warning_text}}
      <li>
        <div class="stats-notice">This algorithm approximates the results by sampling the selected area. Results are more accurate at closer zoom levels.</div>
      </li>
      {{/if}}
      <div id="toggleIFL" class="ifl-switch">
        <span class="label checked">Total area selected</span><span class="onoffswitch"><span></span></span><span class="label">Intact Forest Landscapes</span>
      </div>

    {{else}}
      {{#if forestgain}}
        <li>
          <span class="stats-title">Gain 2001-2012</span>
          <span class="stats-count" style="color: #6D6DE5;"><strong>{{gainAlerts}}</strong> ha</span>
        </li>
        <li>
          <span class="stats-title">Total extent<span class="stats-threshold" title="Click the gear icon located on the map to change the tree cover canopy density">with >{{threshold}}% <a href="#" class="canopy-button">canopy density</a></span></span>
          <span class="stats-count" style="color: #97bd3d;"><strong>{{extent}}</strong> ha</span>
{'fraction_non_alphanumeric': 0.19514091350826046, 'fraction_numerical': 0.010884353741496598, 'mean_word_length': 3.636036036036036, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 181, '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': '18202', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1537, 'n_words': 378}