

  <div id="plausible-banner" tabindex="-1" class="hidden fixed bottom-0 right-0 z-50 flex justify-end w-full p-4 pb-8 border-b border-gray-200 dark:border-gray-600">
    <div class="flex items-center justify-end">
        
        <div class="cookie-banner relative bg-white shadow-lg dark:bg-gray-700 dark:border-gray-600 rounded-lg shadow-xl text-sm text-gray-500 dark:text-white lg:mb-0">
            <div class="justify-between items-center p-5 lg:flex">
                <div class="items-center space-y-4 sm:space-y-0 sm:space-x-4 sm:flex lg:pl-10 shrink-0 px-2 w-full">
                    <div>
                        <div class="mx-2">
                            <div>
                                We use <a href="https://plausible.io">Plausible Analytics</a>, a privacy first web analytics tool.<br/>
                            </div>
                            <div class="text-xs text-gray-400">By clicking accept, you agree to this site's <a href="/terms/" class="hover:underline">terms and conditions</a> including the <a href="/cookies" class="hover:underline">cookie policy</a>.</div>
                            <div class="text-xs text-gray-400">View details or customize your data retention experience by clicking Configure</a>.</div>
                        </div>
                    </div>
                    <div class="h-full">
                        <button id="plausible-configure" data-modal-target="plausible-modal" data-modal-toggle="plausible-modal"type="button" class="py-2 px-4 w-full text-sm font-medium text-center text-white rounded-lg focus:ring-4 focus:outline-none bg-primary-700 sm:w-auto hover:bg-primary-800 dark:bg-primary-600 dark:hover:bg-primary-700 cursor-pointer">Configure</button>
                    </div>
                    <div class="align-bottom h-full">
                        <button id="plausible-ok" type="button" class="py-2 px-4 w-full text-sm font-medium text-center text-white rounded-lg focus:ring-4 focus:outline-none bg-primary-700 sm:w-auto hover:bg-primary-800 dark:bg-primary-600 dark:hover:bg-primary-700 cursor-pointer">Accept</button>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<div id="plausible-modal" tabindex="-1" class="hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full">
    <div class="relative p-4 w-full max-w-md max-h-full">
        <div class="relative bg-white rounded-lg shadow-sm dark:bg-gray-700 border-1 format dark:format-invert ">
            <button type="button" class="absolute top-3 end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white" data-modal-hide="plausible-modal">
                <svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
                    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
                </svg>
                <span class="sr-only">Close modal</span>
            </button>
            <div class="py-8 px-4 md:py-8 text-balance">
                <div class="pb-4">
                    <h1 class="mb-5 font-normal text-gray-500 dark:text-gray-400 text-center">Plausible Analytics</h1>

                    <p>
                        We use Plausible Analytics Community Edition hosted on this server to gather <strong>anonymous</strong> statistics about our website traffic that:
                    </p>
                    <ul>
                        <li>Does <strong>not</strong> use cookies</li>
                        <li>Does <strong>not</strong> track you across websites</li>
                        <li>Does <strong>not</strong> collect any personal data</li>
                    </ul>
                    <p>
                        All data is <strong>aggregated and anonymized</strong> and stored <strong>on this server</strong> to help us understand general website usage, such as page view and referrers.
                    </p>
                    <p>
                        Because we respect your choice to privacy, we offer the ability to disable Plausible analytics by storing "false" in your browser's <span class="courier-prime-regular">'localStorage'</span> under the variable name <span class="courier-prime-regular">'plausible_ignore'</span>
                    </p>

                </div>
                <div class="flex justify-end pt-2">
                    <span class="px-2">Enable Plausible Analytics</span>
                    <label class="switch">
                        <input id="plausible-switch" type="checkbox">
                        <span class="slider"></span>
                    </label>
                </div>
                <div class="flex justify-end pt-4">
                    <button data-modal-hide="plausible-modal" type="button" class="py-2 px-4 w-full text-sm font-medium text-center text-white rounded-lg focus:ring-4 focus:outline-none bg-primary-700 sm:w-auto hover:bg-primary-800 dark:bg-primary-600 dark:hover:bg-primary-700 cursor-pointer">OK</button>
                    
                </div>
            </div>
        </div>
    </div>
</div>
