<turbo-stream action="update" target="all_posts_list"><template>
  <div class="h-100 social-gallery position-relative overflow-hidden">
    <turbo-stream action="update" target="social_header"><template>
      <div class="card-header border-0 p-0 p-lg-3 mb-3 mb-lg-0">
  <div class="row align-items-center justify-content-between">
    <div class="col-lg-4 col-12 d-flex align-items-center">
      <h6 class="card-title text-gradient-blue mb-0">Showcase</h6>
      <a class="btn p-2 overlay-none" data-turbo-stream="" href="/users/showcases/new">
        <svg class="" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path d="M8 12H16M12 16V8M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z" stroke="url(#paint0_linear_5185_12)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  <defs>
    <linearGradient id="paint0_linear_5185_12" x1="2" y1="11.9999" x2="22" y2="11.9999" gradientUnits="userSpaceOnUse">
      <stop offset="0" stop-color="#C24545"/>
      <stop offset="1" stop-color="#E9D362"/>
    </linearGradient>
  </defs>
</svg>

</a>    </div>
    <div class="col-lg-8 col-12">
      <turbo-frame id="showcase_filter">
  <form data-turbo="true" data-controller="showcase form-validation" data-action="turbo:submit-end-&gt;showcase#closeLoader" action="/users/showcases/filter" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="2aUIQGzs9BTDy4bqX6eH9e3OMIh0fCVt7SeSqa4_ds7fZpe58kL6xe5tX-CMvn-TeGQilKOTecueWXsmtBIiUQ" />
    <input type="hidden" name="username" id="username" />
    <div class="d-flex align-items-center justify-content-between gap-3">
      <div class="position-relative w-100">
        <div class="w-100 position-relative card-border d-flex align-items-center justify-content-start rounded-5 overflow-hidden   max-w-420px">
  <div class="h-100 bg-transparent border-0 p-3 d-flex align-items-center justify-content-center mail-search-icon">
    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
      <path d="M11.5 21C16.7467 21 21 16.7467 21 11.5C21 6.25329 16.7467 2 11.5 2C6.25329 2 2 6.25329 2 11.5C2 16.7467 6.25329 21 11.5 21Z" stroke="var(--white)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
      <path d="M22 22L20 20" stroke="var(--white)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
    </svg>
  </div>
  <input type="search" name="searches_show_case_search[title]" id="searches_show_case_search_title" class="border-0 bg-transparent filled-bg-none p-3 ps-0 pe-6 w-100 " placeholder="Search" aria-label="Search" data-action="keyup-&gt;showcase#searchShowcase" />
  <div class="position-absolute align-items-center justify-content-center px-3 top-0 end-0 h-100 bg-transparent d-none" id="showcase-search-loader">
    <div class="cv-spinner d-flex align-items-center justify-content-center h-100">
      <span class="spinner-border text-primary" style="width: 1.2rem; height: 1.2rem;"></span>
    </div>
  </div>
  <span class="position-absolute end-0 top-0 h-100 d-flex align-items-center px-3 cursor-pointer d-none " data-action="click-&gt;showcase#clear" id="close_icon">
    <span class="fa fa-times fs-18 text-white fw-normal" aria-hidden="true"></span>
</span></div>

      </div>
      <div class="dropdown menu-options social-filter">
        <button type="button" class="btn card-border rounded-circle border-3 p-3" id="showcase-filter-dropdown" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
          <img src="https://www.dmdb.com/assets/svgs/filter-a0810f98a1f5e04532a8b76da130807b8907624ed00230ab3d38908cef4a2a92.svg" />
        </button>
        <div class="dropdown-menu dropdown-menu-end card-border p-0 w-25rem" aria-labelledby="showcase-filter-dropdown">
          <div class="d-flex flex-column gap-3 align-items-start justify-content-start w-100 p-3 showcase-empty-div">
            <legend class="form-label mb-0">Sort by</legend>
            <div class="d-flex flex-column align-items-start justify-content-start gap-3 w-100">
                <div class="form-check d-flex align-items-center justify-content-start gap-2 m-0 p-0 w-100">
                  <input class="form-check-input flex-shrink-0 m-0" id="new_to_old" type="radio" value="new_to_old" name="searches_show_case_search[sorting]" />
                  <label class="form-check-label fs-16 w-100" for="new_to_old">
                    Newest to Oldest
                  </label>
                </div>
                <div class="form-check d-flex align-items-center justify-content-start gap-2 m-0 p-0 w-100">
                  <input class="form-check-input flex-shrink-0 m-0" id="old_to_new" type="radio" value="old_to_new" name="searches_show_case_search[sorting]" />
                  <label class="form-check-label fs-16 w-100" for="old_to_new">
                    Oldest to Newest
                  </label>
                </div>
            </div>

            <div class="d-flex flex-column align-items-start justify-content-start gap-3 w-100">
            </div>
            <div class="w-100" data-controller="showcase">
              <div class="form-check d-flex align-items-center justify-content-start gap-2 m-0 p-0 w-100">
                <input name="searches_show_case_search[showcase_date_range]" type="hidden" value="0" /><input class="form-check-input flex-shrink-0 m-0" id="showcase_date_range" data-action="change-&gt;showcase#toggleDateRange" type="checkbox" value="1" name="searches_show_case_search[showcase_date_range]" />
                <label class="form-check-label ms-25 text-gray" for="showcase_date_range">Date Range</label>
              </div>
              <div class="date-range-block d-flex flex-column align-items-start gap-2 w-100 d-none mt-3" data-showcase-target="dateRangeBlock">
                <div class="w-100">
                  <label class="form-label required" for="searches_show_case_search_showcase_date_range_from">From</label>
                  <div class="d-flex align-items-start justify-content-start gap-3">
                    <div class="w-100 position-relative">
                      <div class="flatpickr-container position-relative w-100">
  <label class="cursor-pointer d-block" for="searches_show_case_search_showcase_date_range_from">
    <input class="date-range-field form-control cursor-pointer bg-transparent " placeholder="MM-DD-YYYY" data-click-opens="false" data-mask-target="date" data-max-date="today" data-min-date="&quot;1916-04-05&quot;" data-showcase-target="showcaseDateRangeFrom" data-controller="flatpickr mask" value="" type="text" name="searches_show_case_search[showcase_date_range_from]" id="searches_show_case_search_showcase_date_range_from" />
    <span class="bg-transparent border-0 position-absolute p-3 top-0 end-0 text-gradient-pink d-flex align-items-center justify-content-center">
      <svg class="text-white" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M8 2V4.9985M16 2V4.9985M20.75 17.5922H3.25M11.9064 10.1732C10.8535 10.1732 10 11.0263 10 12.0786C10 13.1309 10.8535 13.984 11.9064 13.984C12.9592 13.984 13.8127 13.1309 13.8127 12.0786C13.8127 11.0263 12.9592 10.1732 11.9064 10.1732ZM11.9064 10.1732C12.7837 10.1732 13.495 9.46228 13.495 8.58534C13.495 7.7084 12.7837 6.9975 11.9064 6.9975C11.029 6.9975 10.3177 7.7084 10.3177 8.58534C10.3177 9.46228 11.029 10.1732 11.9064 10.1732ZM16 3.49925C19.33 3.67916 21 4.94853 21 9.64618V15.8231C21 19.941 20 22 15 22H9C4 22 3 19.941 3 15.8231V9.64618C3 4.94853 4.67 3.68916 8 3.49925H16Z" stroke="#AE8A27" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
      </svg>
    </span>
</label></div>
                    </div>
                  </div>
                </div>
                <div class="w-100">
                  <label class="form-label required" for="searches_show_case_search_showcase_date_range_to">To</label>
                  <div class="d-flex align-items-start justify-content-start gap-3">
                    <div class="w-100 position-relative">
                      <div class="flatpickr-container position-relative w-100">
  <label class="cursor-pointer d-block" for="searches_show_case_search_showcase_date_range_to">
    <input class="date-range-field form-control cursor-pointer bg-transparent " placeholder="MM-DD-YYYY" data-click-opens="false" data-mask-target="date" data-max-date="today" data-min-date="&quot;1916-04-05&quot;" data-showcase-target="showcaseDateRangeTo" data-controller="flatpickr mask" value="" type="text" name="searches_show_case_search[showcase_date_range_to]" id="searches_show_case_search_showcase_date_range_to" />
    <span class="bg-transparent border-0 position-absolute p-3 top-0 end-0 text-gradient-pink d-flex align-items-center justify-content-center">
      <svg class="text-white" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M8 2V4.9985M16 2V4.9985M20.75 17.5922H3.25M11.9064 10.1732C10.8535 10.1732 10 11.0263 10 12.0786C10 13.1309 10.8535 13.984 11.9064 13.984C12.9592 13.984 13.8127 13.1309 13.8127 12.0786C13.8127 11.0263 12.9592 10.1732 11.9064 10.1732ZM11.9064 10.1732C12.7837 10.1732 13.495 9.46228 13.495 8.58534C13.495 7.7084 12.7837 6.9975 11.9064 6.9975C11.029 6.9975 10.3177 7.7084 10.3177 8.58534C10.3177 9.46228 11.029 10.1732 11.9064 10.1732ZM16 3.49925C19.33 3.67916 21 4.94853 21 9.64618V15.8231C21 19.941 20 22 15 22H9C4 22 3 19.941 3 15.8231V9.64618C3 4.94853 4.67 3.68916 8 3.49925H16Z" stroke="#AE8A27" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
      </svg>
    </span>
</label></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="d-flex align-items-center justify-content-center gap-2 w-100 mt-2">
              <button name="button" type="submit" class="btn btn-gradient-pink text-dark fs-14 p-3 text-uppercase rounded-3 w-100" data-action="showcase#filterShowcase">Apply</button>
              <button name="button" type="button" class="btn btn-outline-gradient btn-gradient-outline-pink overlay-none fs-14 p-3 text-uppercase rounded-3 w-100" data-action="click-&gt;showcase#resetShowcaseFilter">
                <span class="text-gradient-pink">Reset</span>
</button>
            </div>
          </div>
        </div>
      </div>
    </div>
</form></turbo-frame>
    </div>
  </div>
</div>
</template></turbo-stream>    <turbo-frame id="showcase_block">
      <div class="d-flex flex-column align-items-center justify-content-start gap-3">
        <turbo-frame class="size-full" id="all_showcase">
  <div class="showcase-height-responsive px-lg-3 pt-0 d-grid gap-3" style="grid-template-rows: 1fr 50px;">
    <div class="showcase-slider h-100">
        <div class="text-center py-10 d-flex align-items-center justify-content-center h-100">
          <div>
            <img class="img-fluid object-cover" src="https://www.dmdb.com/assets/heart_showcase-d39a976c06c6086d995b7f98bd4bb3801efb59b0dd5a62b1e7874c1160b10215.png" />
            <p class="mt-5 text-gradient-blue">
              DMDb Inc. hasn&#39;t uploaded anything to Showcase yet.
            </p>
          </div>
        </div>
    </div>
  </div>
</turbo-frame>
      </div>
</turbo-frame>  </div>
</template></turbo-stream>