<div class="swirl-iframe-container">
  <iframe
    id="swirl-chat-iframe"
    frameborder="0"
    allowfullscreen
    style="width:100%; height:80vh;"
  ></iframe>
</div>
{% assign chat_origin = include.chat_origin | default: "https://chat.docs.swirlaiconnect.com" %}
<script>
  const CHAT_ORIGIN = {{ chat_origin | jsonify }};

  const getCookie = (name) =>
    document.cookie.split('; ').find(c => c.startsWith(name + '='))?.split('=')[1] || null;

  async function initSwirlChat() {
    console.log('initSwir