<turbo-stream action="append" target="comment_501352_replies"><template>
    <turbo-frame id="reply_501394_wrapper">
  <div id="comment_501394" class="flex flex-row mt-4 reply" data-anchor="comment_501394" data-controller="user-mentions replies" data-user-mentions-content-area-value="true">
    <div class="w-6 h-6 ltr:mr-2 rtl:ml-2 flex-shrink-0">
        <a href="/community/profiles/6140438">
          <ds-avatar
            url="https://alpha.uscreencdn.com/images/user/6140438/small_small_mighty_man.jpg"
            text="JustinRhodes"
            size="xs"
            class="w-6 h-6 absolute"
          ></ds-avatar>
</a>    </div>

    <div class="flex flex-col w-full relative">

      <div id="comment_501394_header">
  <div id="comment-header-501394">
    <div class="flex justify-between relative">
      <div class="flex items-center">
        <div class="font-semibold text-sm">
            <a data-turbo-frame="_top" class="profile-url text-ds-default" href="/community/profiles/6140438">JustinRhodes</a>
        </div>

          <ds-icon name="badge-check" class="text-ds-success-fg ml-1" size="13px"></ds-icon>

        <div class="flex">
          <div class="text-xs text-ds-muted ml-1 mr-1">August 08, 2021</div>

        </div>
      </div>

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


      <div id="comment_501394_body">
  <div id="comment-body-501394" class="relative">
    <div
      data-controller="timestamp"
      class="text-sm mt-1 flex-grow-0 break-words comment-body !max-w-full"
      data-user-mentions-target="body"
      data-highlited-id="">
      they make for great friends and partners
    </div>


    
  </div>

</div>


      <div class="flex mt-2 items-center relative" data-controller="turbo replies">
        <turbo-frame id="comment_501394_likes">

          <div class="flex items-center text-sm likes-bar" style="line-height: 14px;"
  data-controller="users-liked"
  data-action="mouseenter->users-liked#loadUsersPreview mouseleave->users-liked#onMouseLeave"
  data-users-liked-load-users-url-value="/contents/1249409/comments/501394/like"
  data-users-liked-likes-count-value="0"
  >

    <form class="b-form text-ds-muted" data-turbo-frame="comment_501394_likes" action="/contents/1249409/comments/501394/like" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="a3hH8-tTY8ZP7ygEnKrsWwEbLdnxO0dhaUzOehhaxGsqxVvSEO75uuWt-nDKHDrRrzcyvKxhv1MiF2fNE6pcIA" autocomplete="off" />

      <button name="like" type="submit" class="w-full mr-2" disabled="disabled">
        <div class="flex items-center text-xs">
          <div class="mr-1 dark:text-gray-400 likes-counter">0</div>

          <ds-icon name='heart-outlined' size="18"></ds-icon>

        </div>
</button></form>
  
  
</div>

</turbo-frame>
      </div>
    </div>
  </div>
</turbo-frame>
</template></turbo-stream>
  <turbo-stream action="update" target="more_replies_link_501352"><template></template></turbo-stream>

<turbo-stream action="update" target="replies_link_501352"><template>
  <a class="mx-2 text-xs block text-ds-default" data-action="click-&gt;turbo#postTurboStream" href="/contents/1249409/replies/hide?thread_id=501352">Hide replies</a>

</template></turbo-stream>
<turbo-stream action="update" target="comment_501352_reply_form"><template>
  
<div
  id="reply_form_wrapper_501352" class="group mention-form py-4 px-0 " data-controller="post-comment form-image-uploader attach-video" data-mention-content-id="1249409" data-type="reply" data-form-image-uploader-max-files-value="1" data-post-comment-focus-element-id-value="open_reply_from_button_501352" data-reply-button-id="open_reply_from_button_501352"
>
  <ds-modal
  id="attach_video_modal"
  data-attach-video-target="modal"
  size="auto"
  overflow-visible
  with-close-icon
>
  <div class="pb-9">
    <p class="flex-1 text-xl">Choose video</p>
  </div>
  <div>
      <div>
        <div class="relative" data-controller="search-input">
          <div class="absolute top left-4 flex items-center h-full">
            <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" class="fill-gray-600">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.0492 13.4633C10.7874 14.4274 9.21055 15 7.5 15C3.35786 15 0 11.6421 0 7.5C0 3.35786 3.35786 0 7.5 0C11.6421 0 15 3.35786 15 7.5C15 9.21052 14.4274 10.7873 13.4634 12.0491L17.2071 15.7928L15.7929 17.2071L12.0492 13.4633ZM13 7.5C13 10.5376 10.5376 13 7.5 13C4.46243 13 2 10.5376 2 7.5C2 4.46243 4.46243 2 7.5 2C10.5376 2 13 4.46243 13 7.5Z"></path>
</svg>

          </div>

          <form class="flex" data-action="submit-&gt;attach-video#search" onsubmit="event.preventDefault()" action="" accept-charset="UTF-8" method="get">

            <ds-input
              size="big"
              class="w-full"
              name="search"
              id="search"
              placeholder="Search..."
              data-frame-id="fe072928004f628c"
              data-attach-video-target="searchInput"
              data-search-url="/video_search"
              search-input-target="searchInput"
              data-action="input->attach-video#search"
            >
              <ds-icon slot="before" class="text-ds-muted" name='magnifier'></ds-icon>
            </ds-input>

            <div class="clear-button-wrap absolute hidden" data-action="click->search-input#clear click->attach-video#search" data-search-input-target="clearButton">
              <span class="clear-button"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 5.72721L12.3636 0.363602L13.6364 1.63639L8.27279 7L13.6364 12.3636L12.3636 13.6364L7 8.27279L1.63639 13.6364L0.363602 12.3636L5.72721 7L0.363602 1.63639L1.63639 0.363602L7 5.72721Z" fill="#B0B0B0"></path>
</svg>
</span>
            </div>
</form>        </div>
      </div>
  </div>
  <div class="text-base pb-6">
    <turbo-frame id="search_video_list_fe072928004f628c">
</turbo-frame>  </div>
</ds-modal>


  <form id="reply_form_501352" data-turbo="true" data-post-comment-target="form" action="/contents/1249409/replies?thread_id=501352" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="gr5SzpT8peeMRT5KvSbw34ApJQ6_5LdkYjFdOhEviGbGQ4vDyZwVE5BQEnCnM5WEEGqdqo48_KPGYwBDaTV9hw" autocomplete="off" />

    <input autocomplete="off" data-attach-video-target="attachedVideoIdField" data-post-comment-target="attachedVideoIdField" type="hidden" name="comment[attached_video_id]" id="comment_attached_video_id" />

    <ds-text-editor id="video_1249409_comment_input" name="comment[body]" elements="" value="" placeholder="Write a reply" data-controller="timestamp" data-action="suggestions-search-&gt;post-comment#handleSuggestionsSearch change-&gt;post-comment#handleContentChange focus-&gt;post-comment#activate focus-&gt;replies#insertMention" data-post-comment-target="textEditor" companion-url="/uppy" with-links="true" with-timestamps="true" with-mentions="true" characters-limit="3000" autopadding-p="true" variant="minimal">


    <div slot="bottom">
      <ds-bulk-image-uploader class="w-full peer" name="comment[images]" names="" accept="image/jpeg,image/jpg,image/png,image/webp,image/gif" max-files="1" companion-url="/uppy" max-file-size="104857600" non-draggable="true" hide-upload-area="true" show-dnd-hint="true" show-upload-icon="true" non-reactive="true" remote-dir="tmp" hidden-file-name-input-name="comment[image_names]" style="
          --ds-bulk-images-uploader-files-container-margin-top: 0;
          --ds-bulk-images-uploader-image-preview-margin-top: .75rem;
        " data-post-comment-target="uploader" data-form-image-uploader-target="uploader" data-action="
            files-added-&gt;form-image-uploader#handleFilesAdded
            file-removed-&gt;form-image-uploader#handleFilesRemoved
            files-added-&gt;post-comment#handleFilesAdded
            success-&gt;post-comment#handleFilesLoaded
            file-removed-&gt;post-comment#handleFilesRemoved
          "></ds-bulk-image-uploader>

      <ds-icon class="mt-5 hidden" data-attach-video-target="uploadVideoPlaceholder" name='placeholders/challenge-widget'></ds-icon>
<div
  data-attach-video-target="attachedVideoPreview"
  data-post-comment-target="attachedVideoPreview"
  class="hidden mt-5 border rounded border-solid border-gray-300 flex items-start relative form-attached-video-preview"
  style="max-width: 266px"
>
  <div class="mr-3 relative w-[84px] shrink-0">
    <ds-frame-loader variant="progress" data-attach-video-target="loader" progress-size="36">
        <img class="rounded-l" style="height: 56px" data-post-comment-target="attachedVideoPreviewImg" data-attach-video-target="attachedVideoPreviewImg" src="" />
        <div class="badge flex justify-center items-center text-white content-card-badge"
          data-attach-video-target="attachedVideoPreviewDurationBadge"
        >
          <span class="badge-item"
            data-post-comment-target="attachedVideoPreviewDuration"
            data-attach-video-target="attachedVideoPreviewDuration"
          ></span>
        </div>
        <div class="absolute inset-0 flex items-center justify-center rounded-l bg-black/50 !hidden"
          data-attach-video-target="attachedVideoPreviewComingSoonBadge"
        >
          <span class="text-white text-ds-tiny-medium text-center leading-tight px-1">Coming soon</span>
        </div>
    </ds-frame-loader>
  </div>
  <div class="py-1 pt-2 pr-4 truncate">
    <p class="text-ds-tiny-medium truncate mb-1"
      data-attach-video-target="attachedVideoPreviewTitle"
      data-post-comment-target="attachedVideoPreviewTitle"
    ></p>
    <div class="dark:text-gray-300 text-ds-muted text-xs max-w-[166px] truncate-overflow"
      data-attach-video-target="attachedVideoPreviewDesc"
      data-post-comment-target="attachedVideoPreviewDesc"
      ></div>
  </div>
  <span
    data-action="
      click->attach-video#deattachVideo
      click->post-comment#handleAttachedVideoChanged
      click->community--post--form#handleVideoRemoved
      click->community--direct-messages--form#handleVideoRemoved
    "
    class="delete-attached-video-btn cursor-pointer absolute" style="right: 0"
  >
    <ds-icon name='cross-small'></ds-icon>
  </span>
</div>


      <div
        tabindex="0"
        data-post-comment-target="controlContainer"
        class="
          hidden flex-wrap mt-2 items-center
          group-focus-within:flex
          group-data-[has-value=true]:flex
        "
      >
        <ds-icon
          name="image"
          class="cursor-pointer text-gray-600 hover:text-gray-900 dark:hover:text-gray-300"
          data-action="click->form-image-uploader#openUploadPopup"
          data-form-image-uploader-target="uploadButton"
          >
        </ds-icon>

        <ds-dropdown
          float="center"
          class="ml-1 group"
          data-post-comment-target="emojiDropdown"
        >

          <ds-icon class="text-ds-muted hover:text-ds-default group-aria-expanded:text-ds-default" tabindex="0" slot="control" name="smile"></ds-icon>
          <ds-emoji-picker
            tabindex="0"
            data-action="ds-select->post-comment#onEmojiSelect"
            slot="content"></ds-emoji-picker>
        </ds-dropdown>

        <ds-icon
          name="videos-choose"
          data-action="click->attach-video#openModal"
          class="comment-attach-video me-auto cursor-pointer inline-block ml-1 text-gray-600 hover:text-gray-900 dark:hover:text-gray-300"
          >
        </ds-icon>

        <ds-button id="reply_clear_button_501352" variant="regular" size="small" onclick="this.blur()" data-action="
              click-&gt;post-comment#handleCancel
              click-&gt;form-image-uploader#reset
            ">Cancel</ds-button>

        <ds-button id="reply_submit_button_501352" type="submit" size="small" variant="primary" class="ms-1" data-character-limit-target="submitButton" data-post-comment-target="submitButton" onclick="this.disabled = true">Reply</ds-button>
      </div>
    </div>
</ds-text-editor></form></div>

</template></turbo-stream>