<div class="compact-dialog-head">
 <span class="compact-dialog-icon" aria-hidden="true">
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
   <% if(badgeIcon==='tag'){ %><path d="M20 3h-7a2 2 0 0 0-1.4.6L3 12.2a2 2 0 0 0 0 2.8l6 6a2 2 0 0 0 2.8 0l8.6-8.6a2 2 0 0 0 .6-1.4V4a1 1 0 0 0-1-1Z"/><circle cx="17" cy="7" r="1"/><% }else{ %><use href="#<%= badgeIcon %>"/><% } %>
  </svg>
 </span>
 <div class="compact-dialog-heading">
  <span class="compact-dialog-eyebrow"><%= section %></span>
  <h2 id="<%= titleId %>"><%= heading %></h2>
  <% if(caption){ %><div class="compact-dialog-caption"><span id="<%= captionId %>"><%= caption %></span><% if(siteBadge){ %><span class="compact-dialog-site"><%= siteBadge %></span><% } %></div><% } %>
 </div>
 <button type="button" class="compact-dialog-close" aria-label="Tutup" <%- closeAttrs %>>
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="m6 6 12 12M18 6 6 18"/></svg>
 </button>
</div>
