| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/greenshiftgsap/libs/rive/ |
Upload File : |
"use strict";let gspbrivenow=document.getElementsByClassName("gs-riveloadnow");for(let i=0;i<gspbrivenow.length;i++){let e=gspbrivenow[i],t=e.querySelector("canvas"),a=t.getAttribute("data-statemachine"),s=t.getAttribute("data-artboard"),n=t.getAttribute("data-id");if(t&&"undefined"!=typeof rive){let r=new rive.Rive({src:t.getAttribute("data-src"),canvas:t,artboard:s,stateMachines:a,autoplay:!0,onLoad(t){e.classList.add("rive-loaded"),r.resizeDrawingSurfaceToCanvas();let s=a;if(!s&&r.stateMachineNames.length>0&&(s=r.stateMachineNames[0]),s){let l=r.stateMachineInputs(s);if(l.length>0&&void 0!==l)for(let o=0;o<l.length;o++){let d=l[o],g="stateMachineInput"+n+o;window[g]=d,console.log(g+" with name "+d.name+" is ready to use")}}let c="gsRIVE"+n;window[c]=r,console.log(c+" object is ready to use")}})}}