Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.116.89.70
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/sacbradescolivelo/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/sacbradescolivelo/js/index-footer.js
"use strict";

(function () {

    let item = document.querySelectorAll(".js-collapse");
    let content = document.querySelectorAll(".js-content");
    let popup = document.querySelectorAll(".js-popup");
    let popupContent = document.querySelectorAll(".js-popup-content");


    let state = {
        active: "is-active",
        close: "is-closed",
        open: "is-open",
        animationIn: "a-fadeIn"
    }

    function contentHidden() {

        for (let i = 0; i < content.length; i++) {

            content[i].classList.add(state.close);
        }
    }

    function toggleHandler() {

        for (let i = 0; i < item.length; i++) {
            item[i].addEventListener('click', toggle, false);

        }

    }

    function toggle(e) {

        e.preventDefault();

        let contentClass = this.nextElementSibling.className;
        let itemClass = this.previousSibling.nextSibling.className;

        for (let j = 0; j < item.length; j++) {


            item[j].className = 'c-uteis__lnk js-collapse';
            item[j].setAttribute('aria-expanded', 'false');

            for (let i = 0; i < content.length; i++) {

                content[i].className = 'c-uteis__content js-content is-closed';

            }
            if (contentClass == 'c-uteis__content js-content is-closed' && itemClass == 'c-uteis__lnk js-collapse') {

                this.nextElementSibling.className = 'c-uteis__content js-content is-open';

                this.previousSibling.nextSibling.className = 'c-uteis__lnk js-collapse is-active';
                this.previousSibling.nextSibling.setAttribute('aria-expanded', 'true');

                this.nextElementSibling.classList.add(state.animationIn);
            }
        }
    }

    function popupHandler() {

        for (let i = 0; i < popup.length; i++) {

            popup[i].addEventListener('click', popUpOpen, false);
        }


    }

    function popUpOpen(e) {
        e.preventDefault();

        let visible = false;

        if (!visible) {

            for (let i = 0; i < popupContent.length; i++) {

                let content = popupContent[i];

                content.classList.toggle(state.open);
                content.classList.toggle(state.animationIn);

            }
        } else {
            console.log("Error");
        }

    }

    function init() {
        contentHidden()
        toggleHandler()
        popupHandler()

    }

        init();

})()

Youez - 2016 - github.com/yon3zu
LinuXploit