<commit_before><div class="niceBox">
  <div class="niceBoxHd">Map Center:</div>

  <div class="niceBoxBody">
    <ol>
      <li>DD:</li>
      <li><g:textField name="ddMapCtr" id="ddMapCtr" value="" onChange="setMapCtr('dd', this.value)" size="28"
                       title="Enter decimal degree coordinates and click off the text field to re-center the map. Example: 25.77, -80.18"
                       /></li>
    </ol>
    <ol>
      <li>DMS:</li>
      <li><g:textField name="dmsMapCtr" id="dmsMapCtr" value="" onChange="setMapCtr('dms', this.value)" size="28"
                       title="Enter degree minute seconds coordinates and click off the text field to re-center the map. Example: 25Â°46'20.66'' N, 80Â°11'23.64'' W"
                       /></li>
    </ol>
    <ol>
      <li>MGRS:</li>
      <li><g:textField name="point" id="point" value="" onChange="setMapCtr('mgrs', this.value)" size="28"
                       title="Enter mgrs coordinate and click off the text field to re-center the map. Example: 17RNJ8123050729 or 17 RNJ 81230 50729"
                       /></li>
    </ol>

    <div align="center">
      <button id="applyCenterButton" type="button" onclick="">Apply</button>
      <button id="resetCenterButton" type="button" onclick="javascript:OMAR.imageManipulator.moveToCenter()"
              title="Resets the view to the center of the image but keeps the current zoom level">Reset</button>
    </div>
  </div>
</div>

<div class="niceBox">
  <div class="niceBoxHd">Image Adjustments:</div>

  <div class="niceBoxBody">
    <ol>
      <li>Interpolation:</li>
      <li>
        <g:select
            id="interpolation"
            name="interpolation"
            value="${params.interpolation ?: bilinear}"
            from="${['bilinear', 'nearest neighbor', 'cubic', 'sinc']}"
            onChange="chgInterpolation()"/>
      </li>
      <hr/>
      <label>Brightness: <input type="text" readonly="true" id="brightnessTextField" size="3"
                                                       maxlength="5" value="">
      </label>
      <li>
        <div id="slider-brightness-bg" class="yui-h-slider" tabindex="-1" hidefocus="false">
          <div id="slider-brightness-thumb" class="yui-slider-thumb"><img
              src="${resource(plugin: 'yui', dir: 'js/yui/slider/assets', file: 'thumb-n.gif')}"></div>
        </div>
      </li>

      <label>Contrast: <input type="text" readonly="true" id="contrastTextField" size="3"
                                                     maxlength="5" value="">
      </label>
      <li>
        <div id="slider-contrast-bg" class="yui-h-slider" tabindex="-1" hidefocus="false">
          <div id="slider-contrast-thumb" class="yui-slider-thumb"><img
              src="${resource(plugin: 'yui', dir: 'js/yui/slider/assets', file: 'thumb-n.gif')}"></div>
        </div>
      </li>

      <div align="center"><button id="brightnessContrastReset" type="button"
                                  onclick="javascript:resetBrightnessContrast()">Reset</button></div>
      <hr/>

      <li>Sharpen:</li>
      <li>
        <g:select
            id="sharpen_mode"
            name="sharpen_mode"
            value="${params.sharpen_mode ?: 'none'}"
            from="${['none', 'light', 'heavy']}"
            onChange="changeSharpenOpts()"/>
      </li>

      <li>Dynamic Range Adjustment:</li>
      <li>
        <g:select
            id="stretch_mode"
            name="stretch_mode"
            value="${params.stretch_mode ?: 'linear_auto_min_max'}"
            from="${[[name: 'Automatic', value: 'linear_auto_min_max'], [name: '1st Std', value: 'linear_1std_from_mean'], [name: '2nd Std', value: 'linear_2std_from_mean'], [name: '3rd Std', value: 'linear_3std_from_mean'], [name: 'No Adjustment', value: 'none']]}"
            optionValue="name"
            optionKey="value"
            onChange="changeHistoOpts()"/>
      </li>

      <li>Region:</li>
      <li>
        <g:select
            id="stretch_mode_region"
            name="stretch_mode_region"
            from="${['global', 'viewport']}"
            onChange="changeHistoOpts()"
            value="${params.stretch_mode_region ?: 'viewport'}"/>
      </li>

      <li>Band:</li>
      <g:if test="${rasterEntry?.numberOfBands == 1}">
        <li>
          <g:select
              id="bands"
              name="bands"
              value="${params.bands ?: '0'}"
              from="${['0']}"
              onChange="changeBandsOpts()"
              style="background: black; color: white"/>
        </li>
      </g:if>
      <g:if test="${rasterEntry?.numberOfBands == 2}">
        <li>
          <g:select
              id="bands"
              name="bands"<commit_msg>The band selection drop down menu for panchromatic images had a style that had the background set to black and the text set to white. This was different from every other combination so I made all band drop down menus the same, white background with black text.<commit_after><div class="niceBox">
  <div class="niceBoxHd">Map Center:</div>

  <div class="niceBoxBody">
    <ol>
      <li>DD:</li>
      <li><g:textField name="ddMapCtr" id="ddMapCtr" value="" onChange="setMapCtr('dd', this.value)" size="28"
                       title="Enter decimal degree coordinates and click off the text field to re-center the map. Example: 25.77, -80.18"
                       /></li>
    </ol>
    <ol>
      <li>DMS:</li>
      <li><g:textField name="dmsMapCtr" id="dmsMapCtr" value="" onChange="setMapCtr('dms', this.value)" size="28"
                       title="Enter degree minute seconds coordinates and click off the text field to re-center the map. Example: 25Â°46'20.66'' N, 80Â°11'23.64'' W"
                       /></li>
    </ol>
    <ol>
      <li>MGRS:</li>
      <li><g:textField name="point" id="point" value="" onChange="setMapCtr('mgrs', this.value)" size="28"
                       title="Enter mgrs coordinate and click off the text field to re-center the map. Example: 17RNJ8123050729 or 17 RNJ 81230 50729"
                       /></li>
    </ol>

    <div align="center">
      <button id="applyCenterButton" type="button" onclick="">Apply</button>
      <button id="resetCenterButton" type="button" onclick="javascript:OMAR.imageManipulator.moveToCenter()"
              title="Resets the view to the center of the image but keeps the current zoom level">Reset</button>
    </div>
  </div>
</div>

<div class="niceBox">
  <div class="niceBoxHd">Image Adjustments:</div>

  <div class="niceBoxBody">
    <ol>
      <li>Interpolation:</li>
      <li>
        <g:select
            id="interpolation"
            name="interpolation"
            value="${params.interpolation ?: bilinear}"
            from="${['bilinear', 'nearest neighbor', 'cubic', 'sinc']}"
            onChange="chgInterpolation()"/>
      </li>
      <hr/>
      <label>Brightness: <input type="text" readonly="true" id="brightnessTextField" size="3"
                                                       maxlength="5" value="">
      </label>
      <li>
        <div id="slider-brightness-bg" class="yui-h-slider" tabindex="-1" hidefocus="false">
          <div id="slider-brightness-thumb" class="yui-slider-thumb"><img
              src="${resource(plugin: 'yui', dir: 'js/yui/slider/assets', file: 'thumb-n.gif')}"></div>
        </div>
      </li>

      <label>Contrast: <input type="text" readonly="true" id="contrastTextField" size="3"
                                                     maxlength="5" value="">
      </label>
      <li>
        <div id="slider-contrast-bg" class="yui-h-slider" tabindex="-1" hidefocus="false">
          <div id="slider-contrast-thumb" class="yui-slider-thumb"><img
              src="${resource(plugin: 'yui', dir: 'js/yui/slider/assets', file: 'thumb-n.gif')}"></div>
        </div>
      </li>

      <div align="center"><button id="brightnessContrastReset" type="button"
                                  onclick="javascript:resetBrightnessContrast()">Reset</button></div>
      <hr/>

      <li>Sharpen:</li>
      <li>
        <g:select
            id="sharpen_mode"
            name="sharpen_mode"
            value="${params.sharpen_mode ?: 'none'}"
            from="${['none', 'light', 'heavy']}"
            onChange="changeSharpenOpts()"/>
      </li>

      <li>Dynamic Range Adjustment:</li>
      <li>
        <g:select
            id="stretch_mode"
            name="stretch_mode"
            value="${params.stretch_mode ?: 'linear_auto_min_max'}"
            from="${[[name: 'Automatic', value: 'linear_auto_min_max'], [name: '1st Std', value: 'linear_1std_from_mean'], [name: '2nd Std', value: 'linear_2std_from_mean'], [name: '3rd Std', value: 'linear_3std_from_mean'], [name: 'No Adjustment', value: 'none']]}"
            optionValue="name"
            optionKey="value"
            onChange="changeHistoOpts()"/>
      </li>

      <li>Region:</li>
      <li>
        <g:select
            id="stretch_mode_region"
            name="stretch_mode_region"
            from="${['global', 'viewport']}"
            onChange="changeHistoOpts()"
            value="${params.stretch_mode_region ?: 'viewport'}"/>
      </li>

      <li>Band:</li>
      <g:if test="${rasterEntry?.numberOfBands == 1}">
        <li>
          <g:select
              id="bands"
              name="bands"
              value="${params.bands ?: '0'}"
              from="${['0']}"
              onChange="changeBandsOpts()"/>
        </li>
      </g:if>
      <g:if test="${rasterEntry?.numberOfBands == 2}">
        <li>
          <g:select
              id="bands"
              name="bands"
{'fraction_non_alphanumeric': 0.169100134617376, 'fraction_numerical': 0.014497255876566221, 'mean_word_length': 2.2139767054908486, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 189, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '255758', 'n_tokens_mistral': 3089, 'n_tokens_neox': 2971, 'n_words': 623}