<turbo-stream action="replace" target="tree-browser-container"><template>
  <div
  id="tree-browser-container"
  class="tree-data-browser border fixed inset-24 rounded-sm z-50 bg-white shadow-2xl p-8 overflow-y-auto"
  data-controller="toggle"
  data-toggle-target="toggleContainer"
  data-toggle-hide-content-value="false"
  data-action="click@window->toggle#toggleClickOutSide"
>
  <div class="flex justify-between">
    <div class="leading-tight flex items-center flex-1">
      <h1 class="inline-block mr-2 whitespace-nowrap">
        CPVs <span class="text-gray-300">/</span>
      </h1>
      <div class="w-full" data-controller="refresh-form">
        <form data-refresh-form-target="form" action="/cpv/browser" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="GSKA9wHDLbIiH6-99yuouKvBhKLRJW8OFvvHY0cG-zukwkCauxOIkiKteHepnsfEmIFXi9uGLgRpxurTvnIroQ" />
          <div data-controller="remote-select">
            <select name="cpv_id" id="cpv_id" class="form-input mt-1 block w-full mr-8 max-w-2xl" style="width: 100%; margin-bottom: .75rem;" data-action="change-&gt;refresh-form#refresh" data-remote-select-target="selectField" data-filter="" data-url="/cpv"><option selected="selected" value="75112000">75112000 - Servicios administrativos para operaciones comerciales</option></select>
          </div>
</form>      </div>
    </div>

    <button
      data-action="click->toggle#toggle"
      data-toggle-target="button"
    >
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon" class="toggle-tree-data-browser inline text-blue w-6 transition-transform hover:cursor-pointer">
  <path fill-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z" clip-rule="evenodd"></path>
</svg>
    </button>
  </div>

  <div class="text-sm my-8">
      <div class="items-list-container">
        <table id="tree-browser-table" class="items-list">
          <tr>
            <th class="text-left">CPV</th>
            <th># Licitaciones</th>
            <th># Adjudicaciones</th>
            <th>€ Adjudicado</th>
          </tr>

            <tr class="">
    <td>
      <div class="">
        <a class="inline-block mr-2 opacity-50 hover:opacity-100" aria-label="Añadir a la búsqueda" data-microtip-position="top" role="tooltip" href="/explorador/busqueda?search%5Bcpv_ids%5D%5B%5D=75000000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path>
</svg></a>

          <a data-turbo-stream="true" href="/cpv/browser?cpv_id=75000000">75000000 – Servicios de administración pública, defensa y servicios de seguridad social</a>

        <a class="inline-block mx-3 opacity-50 hover:opacity-100" aria-label="Ver página del CPV" role="tooltip" data-turbo="false" data-microtip-position="top" href="/cpv/75000000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path>
</svg></a>
        </div>
      </td>
    <td class="field-type-number">406</td>
    <td class="field-type-number">673</td>
    <td class="field-type-number">52,7M €</td>
  </tr>
  <tr class="">
    <td>
      <div class="tree-browser-level-2 tree-browser-with-children">
        <a class="inline-block mr-2 opacity-50 hover:opacity-100" aria-label="Añadir a la búsqueda" data-microtip-position="top" role="tooltip" href="/explorador/busqueda?search%5Bcpv_ids%5D%5B%5D=75100000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path>
</svg></a>

          <a data-turbo-stream="true" href="/cpv/browser?cpv_id=75100000">75100000 – Servicios de administración pública</a>

        <a class="inline-block mx-3 opacity-50 hover:opacity-100" aria-label="Ver página del CPV" role="tooltip" data-turbo="false" data-microtip-position="top" href="/cpv/75100000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path>
</svg></a>
        </div>
      </td>
    <td class="field-type-number">667</td>
    <td class="field-type-number">909</td>
    <td class="field-type-number">164,43M €</td>
  </tr>
  <tr class="">
    <td>
      <div class="tree-browser-level-3 tree-browser-with-children">
        <a class="inline-block mr-2 opacity-50 hover:opacity-100" aria-label="Añadir a la búsqueda" data-microtip-position="top" role="tooltip" href="/explorador/busqueda?search%5Bcpv_ids%5D%5B%5D=75110000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path>
</svg></a>

          <a data-turbo-stream="true" href="/cpv/browser?cpv_id=75110000">75110000 – Servicios públicos generales</a>

        <a class="inline-block mx-3 opacity-50 hover:opacity-100" aria-label="Ver página del CPV" role="tooltip" data-turbo="false" data-microtip-position="top" href="/cpv/75110000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path>
</svg></a>
        </div>
      </td>
    <td class="field-type-number">164</td>
    <td class="field-type-number">3044</td>
    <td class="field-type-number">97,73M €</td>
  </tr>
  <tr class="row-highlighted">
    <td>
      <div class="tree-browser-level-4 tree-browser-with-children">
        <a class="inline-block mr-2 opacity-50 hover:opacity-100" aria-label="Añadir a la búsqueda" data-microtip-position="top" role="tooltip" href="/explorador/busqueda?search%5Bcpv_ids%5D%5B%5D=75112000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path>
</svg></a>

          <a data-turbo-stream="true" href="/cpv/browser?cpv_id=75112000">75112000 – Servicios administrativos para operaciones comerciales</a>

        <a class="inline-block mx-3 opacity-50 hover:opacity-100" aria-label="Ver página del CPV" role="tooltip" data-turbo="false" data-microtip-position="top" href="/cpv/75112000"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path>
</svg></a>
        </div>
      </td>
    <td class="field-type-number">57</td>
    <td class="field-type-number">108</td>
    <td class="field-type-number">6,73M €</td>
  </tr>
  <tr class="">
    <td>
      <div class="tree-browser-level-5">
        <a class="inline-block mr-2 opacity-50 hover:opacity-100" aria-label="Añadir a la búsqueda" data-microtip-position="top" role="tooltip" href="/explorador/busqueda?search%5Bcpv_ids%5D%5B%5D=75112100"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"></path>
</svg></a>

          75112100 – Servicios de administración de proyectos de desarrollo

        <a class="inline-block mx-3 opacity-50 hover:opacity-100" aria-label="Ver página del CPV" role="tooltip" data-turbo="false" data-microtip-position="top" href="/cpv/75112100"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" class="w-4 inline-block align-middle text-blue flex-none">
  <path stroke-linecap="round" stroke-linejoin="round" d="m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path>
</svg></a>
        </div>
      </td>
    <td class="field-type-number">146</td>
    <td class="field-type-number">244</td>
    <td class="field-type-number">37,26M €</td>
  </tr>


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

</template></turbo-stream>