<?php
/**
 * (c) ININOUT & PYXIS. All Rights Reserved.
 * Wszelkie modyfikacje tego pliku wymagaja zgloszenia oraz zgody autorow.
 * Any modifications to this file require notification and consent of the authors.
 */
/**
 * Particles.js — login page background
 * Include after login-container, before </body>
 */
?>
<script nonce="<?= csp_nonce() ?>" src="js/particles.min.js" integrity="sha384-3u0U01MLvyGLlqCxH5vNw55TTJ2zWaZDnxbCYz81kDzq3RYYXMVSDPLxPJu+jcCg" crossorigin="anonymous"></script>
<script nonce="<?= csp_nonce() ?>">
particlesJS("particles-login", {
    particles: {
        number: { value: 60, density: { enable: true, value_area: 900 } },
        color: { value: "#ffffff" },
        shape: { type: "circle" },
        opacity: { value: 0.25, random: true, anim: { enable: true, speed: 0.6, opacity_min: 0.08, sync: false } },
        size: { value: 3, random: true, anim: { enable: true, speed: 2, size_min: 0.5, sync: false } },
        line_linked: { enable: true, distance: 140, color: "#ffffff", opacity: 0.15, width: 1 },
        move: { enable: true, speed: 1.2, direction: "none", random: true, straight: false, out_mode: "out", bounce: false }
    },
    interactivity: {
        detect_on: "canvas",
        events: { onhover: { enable: true, mode: "grab" }, onclick: { enable: false }, resize: true },
        modes: { grab: { distance: 160, line_linked: { opacity: 0.35 } } }
    },
    retina_detect: true
});
</script>
