<?php
namespace Claromentis\Core\CustomCode;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] ?: array()) + array("_1d3cf3f3" . "23454d508" . "0ba2f1946" . "b420e9" => base64_decode("dGhpcmRfcGFydHl" . "fc2NyaXB0LmFwcF" . "9uYW1l"), "_81a63d58717daa" . "2360187cde20126" . "76c" => base64_decode("b25QcmVSZW5k" . "ZXI="));
use Claromentis\Core\Admin\CurrentPanel;
use Claromentis\Core\Event\EventSubscriberInterface;
use Claromentis\Core\Templater\Events\TemplaterPreRenderEvent;
use Claromentis\Core\Templater\TemplaterEvents;
use Claromentis\Core\Twig\Events\TwigPreRenderEvent;
use Claromentis\Core\Twig\TwigEvents;
class CustomCodeRenderSubscriber implements EventSubscriberInterface
{
    
    
    
    
    protected $current_panel;
    public function __construct(CurrentPanel $_777fee2a9f69c8905bdc4ffffa7d93cf)
    {
        $this->current_panel = $_777fee2a9f69c8905bdc4ffffa7d93cf;
    }
    public static function getSubscribedEvents()
    {
        return [TemplaterEvents::PRE_RENDER => $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_81a63d5871" . "7daa2360187" . "cde2012676c"]];
    }
    public function onPreRender(TemplaterPreRenderEvent $event)
    {
        $args = $event->GetArgs();
        $_5b193da9f0138395758a40be26af042a = $this->current_panel->Get();
        $args[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_1d3cf3f" . "323454d5" . "080ba2f1" . "946b420e" . "9"]] = $_5b193da9f0138395758a40be26af042a;
        $event->SetArgs($args);
    }
}