<?php
namespace Claromentis\Core\CustomCode;

$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_f2a2aa78dcc887478def97719a5027" . "40" => base64_decode("Y3VzdG9tX2NvZGVf" . "cmVwb3NpdG9yeQ=="), "_a2af0878" . "73c2b95ce" . "1328bcab0" . "0114b7" => base64_decode("dGVtcGxhdGVyL" . "nVpLmN1c3RvbV" . "9jb2Rl"));
use Claromentis\Core\Application;
use Claromentis\Core\Event\LazyResolver;
use Claromentis\Core\Widget\CustomCode;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Silex\Api\EventListenerProviderInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
class CustomCodeServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface
{
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_a2af087873c2b95" . "ce1328bcab00114b" . "7"]] = CustomCode::class;
        $app[$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_f2a2aa78dcc887478def97719a50274" . "0"]] = function ($app) {
            return new CustomCodeRepository($app->db);
        };
        $app[CustomCodeRepository::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_f2a2aa78dcc" . "887478def977" . "19a502740"];
        $app[CustomCodeRenderSubscriber::class] = function (Application $app) {
            return $app->create(CustomCodeRenderSubscriber::class);
        };
    }
    public function subscribe(Container $app, EventDispatcherInterface $_b497ce6f2af10f67516aed0ecf34d8cf)
    {
        (new LazyResolver($app, CustomCodeRenderSubscriber::class, CustomCodeRenderSubscriber::getSubscribedEvents()))->subscribe($_b497ce6f2af10f67516aed0ecf34d8cf);
    }
}