<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">
      [["2019-05-27T15:41:14.400Z",70.5029999999997],["2020-01-17T11:54:55.600Z",70.3420000000001]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Ort</th>
        <th class="text-right">Result</th>
        <th class="text-right">Aufnahmdatum</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;C-Race</span></td>
            <td><span>DZ Lyon Corbas</span> (<span class="text-warning" data-controller="tooltip">FRA<span class="for-screen-reader">France</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/30242">70.5</a>
          </td>
          <td class="text-right">27.05.2019</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;C-Race</span></td>
            <td><span>DZ Béni Mellal</span> (<span class="text-warning" data-controller="tooltip">MAR<span class="for-screen-reader">Morocco</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/44869">70.3</a>
          </td>
          <td class="text-right">17.01.2020</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>