<turbo-stream action="update" target="modal-root"><template>
  
<div data-controller="dialog">
  <dialog class="dialog dialog-size-lg" data-dialog-target="dialog">
    <div class="dialog-header">
      <h2 class="dialog-title">Best results in competition</h2>
      <button class="dialog-close" aria-label="Close" data-action="dialog#close">
        <span class="icon icon--xmark" aria-hidden="true"></span>
      </button>
    </div>

    <div class="dialog-body">
      
  <div data-controller="person-details-chart">
    <div data-person-details-chart-target="chart" style="height: 200px;"></div>
    <script type="application/json" data-person-details-chart-target="data">
      [["2015-07-29T16:21:58.000Z",27.402059775972823],["2015-07-29T18:18:47.000Z",26.939842047930284],["2015-07-31T10:28:13.000Z",29.260778224406135],["2015-07-31T11:33:48.000Z",30.975766134726733],["2015-08-01T17:37:35.000Z",29.437485736798873]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Place</th>
        <th class="text-right">Result</th>
        <th class="text-right">Recorded at</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>DZ Kaposvar</span> (<span class="text-warning" data-controller="tooltip">HUN<span class="for-screen-reader">Hungary</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/1872">31.0</a>
          </td>
          <td class="text-right">31.07.2015</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>DZ Kaposvar</span> (<span class="text-warning" data-controller="tooltip">HUN<span class="for-screen-reader">Hungary</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/2123">29.4</a>
          </td>
          <td class="text-right">01.08.2015</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>DZ Kaposvar</span> (<span class="text-warning" data-controller="tooltip">HUN<span class="for-screen-reader">Hungary</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/1861">29.3</a>
          </td>
          <td class="text-right">31.07.2015</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>DZ Kaposvar</span> (<span class="text-warning" data-controller="tooltip">HUN<span class="for-screen-reader">Hungary</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/1835">27.4</a>
          </td>
          <td class="text-right">29.07.2015</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>DZ Kaposvar</span> (<span class="text-warning" data-controller="tooltip">HUN<span class="for-screen-reader">Hungary</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/1849">26.9</a>
          </td>
          <td class="text-right">29.07.2015</td>
        </tr>
    </tbody>
  </table>

    </div>
  </dialog>
</div>

</template></turbo-stream>