<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">
      [["2023-09-30T06:50:38.800Z",250.966829820983],["2023-09-30T16:57:14.000Z",178.24528867592218],["2023-11-04T08:02:34.400Z",166.09821835964996]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <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">IA<span class="for-screen-reader">Intrud Air</span></span>&nbsp;Tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/113151">251</a>
          </td>
          <td class="text-right">30.09.2023</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">IA<span class="for-screen-reader">Intrud Air</span></span>&nbsp;Tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/113153">178</a>
          </td>
          <td class="text-right">30.09.2023</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">IA<span class="for-screen-reader">Intrud Air</span></span>&nbsp;Tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/113154">166</a>
          </td>
          <td class="text-right">04.11.2023</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>