<?php
namespace Claromentis\Admin\Sysadmin;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_924835b096ba361c" . "1fba85983d4951d8" => base64_decode("bWFuaWZlc3Rfdm" . "FsdWVz"), "_5102ccea6de57" . "c3a0cfdb28deb0" . "1c923" => base64_decode("L2FwcGxlLWFwcC1zaX" . "RlLWFzc29jaWF0aW9u"), "_6176ac8d92" . "061164564bf" . "472618c3d53" => base64_decode("d2VsbF9rb" . "m93bg=="), "_04c851ced65682f1" . "411090dee7ada43b" => base64_decode("cmV" . "zdA" . "=="), "_ba95abda522f1512f9dc3" . "1cf1c1cbc98" => base64_decode("L21hbmlm" . "ZXN0Lmpz" . "b24="), "_a317272df0aa612457807eccab78a" . "115" => base64_decode("Ly53ZWxsLWtu" . "b3du"), "_32ab0a4a53de7d9" . "9d94310c02585cdf" . "0" => base64_decode("OjpTaG93QXBwbGVBc3NvY2lh" . "dGlvbg=="), "_d7237a5d80ae9624de28" . "d92fc1226750" => base64_decode("bWFuaWZl" . "c3QuY3Jl" . "YXRl"), "_c7a35cdd863753e83240fbb3" . "e732a6b7" => base64_decode("bm" . "9u" . "ZQ" . "=="), "_e981c08372fe5" . "4286e5c54083c0" . "93943" => base64_decode("OjpTaG" . "93QXNz" . "ZXRMaW" . "5rcw=="), "_4d707fab93bebb00bbe69e8159" . "697c90" => base64_decode(""), "_fd5f10b831af2624" . "134e5049a7f44447" => base64_decode("L2Fzc2V0bGlua3MuanNvbg" . "=="));
use Claromentis\Admin\Sysadmin\Controller\WellKnownController;
use Claromentis\Admin\Sysadmin\Events\ManifestCreateEvent;
use Claromentis\Core\Application;
use Claromentis\Core\ControllerCollection;
use Claromentis\Core\Http\JsonPrettyResponse;
use Claromentis\Core\Integration\Repository;
use Claromentis\Core\RouteProviderInterface;
use Pimple\Container;
use Pimple\ServiceProviderInterface;






class IntegrationApplication implements RouteProviderInterface, ServiceProviderInterface
{
    public function GetRoutes(Application $app)
    {
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_4d707fab93bebb00bbe" . "69e8159697c90"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_04c851ced6568" . "2f1411090dee7a" . "da43b"], $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_c7a35cdd8637" . "53e83240fbb3e" . "732a6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_ba95abda522f1512f9dc31cf1c1cbc9" . "8"], function (Application $app) {
                $_2ab3f661331d702c9375bcba8448b459 = $app->config[$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_924835b096ba361c1fb" . "a85983d4951d8"]] ?? [];
                $_e62ca7bbb93b52cafc82da1c2aefe9ec = new ManifestCreateEvent($_2ab3f661331d702c9375bcba8448b459);
                $app->dispatcher->dispatch($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_d7237a5d80ae9" . "624de28d92fc12" . "26750"], $_e62ca7bbb93b52cafc82da1c2aefe9ec);
                $_2ab3f661331d702c9375bcba8448b459 = $_e62ca7bbb93b52cafc82da1c2aefe9ec->GetManifestData();
                return new JsonPrettyResponse($_2ab3f661331d702c9375bcba8448b459);
            });
        }, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_a317272df0aa612457807eccab7" . "8a115"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_04c851ced65682f1411090" . "dee7ada43b"], $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_c7a35cdd863753" . "e83240fbb3e732a" . "6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_fd5f10b831" . "af2624134e5" . "049a7f44447"], WellKnownController::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_e981c08372fe54286e5c5408" . "3c093943"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_5102ccea6de57c" . "3a0cfdb28deb01c" . "923"], WellKnownController::class . $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_32ab0a4a" . "53de7d99d" . "94310c025" . "85cdf0"]);
        }];
    }
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[WellKnownController::class] = function ($app) {
            return new WellKnownController($app[Repository::class], $app->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_6176ac8d92061164564bf472618c3d5" . "3"]));
        };
    }
}