<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">Лучшие результаты в соревновании</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">
      [["2021-01-03T23:44:36.800Z",442.73078967115],["2025-08-24T15:40:50.600Z",381.0710527384054],["2025-08-24T17:01:58.000Z",624.0473080355399]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Костюм</th>
          <th>Локация</th>
        <th class="text-right">Result</th>
        <th class="text-right">Дата записи</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Track suit</span></td>
            <td></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/148744">624</a>
          </td>
          <td class="text-right">24.08.2025</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Track suit</span></td>
            <td>elevate</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/56230">443</a>
          </td>
          <td class="text-right">03.01.2021</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
            <td></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/148739">381</a>
          </td>
          <td class="text-right">24.08.2025</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>