<?php
namespace Claromentis\Admin\Sysadmin;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_5102ccea6de57c3a0cfdb28deb" . "01c923" => base64_decode("L2FwcGxlLWFwcC1zaXRlLWFzc2" . "9jaWF0aW9u"), "_a317272df0aa612457807ecc" . "ab78a115" => base64_decode("Ly53" . "ZWxs" . "LWtu" . "b3du"), "_d7237a5d80ae9624de28d92fc122675" . "0" => base64_decode("bWFuaWZlc3QuY3JlYX" . "Rl"), "_924835b096ba361c1fba85983d49" . "51d8" => base64_decode("bWFuaWZlc3" . "RfdmFsdWVz"), "_c7a35cdd863753e83240fbb3e732a6b" . "7" => base64_decode("bm9uZ" . "Q=="), "_fd5f10b831af2624134e5049a7" . "f44447" => base64_decode("L2Fzc2V0bGlua3Mua" . "nNvbg=="), "_e981c08372fe54286e5c54083c093" . "943" => base64_decode("OjpTaG93QXNz" . "ZXRMaW5rcw=="), "_6176ac8d9206116456" . "4bf472618c3d53" => base64_decode("d2VsbF9rbm9" . "3bg=="), "_32ab0a4a53de7d99" . "d94310c02585cdf0" => base64_decode("OjpTaG93QX" . "BwbGVBc3Nv" . "Y2lhdGlvbg" . "=="), "_4d707fab93bebb00bbe69e8159697c" . "90" => base64_decode(""), "_ba95abda522f15" . "12f9dc31cf1c1cb" . "c98" => base64_decode("L21hbmlmZXN0Lmpz" . "b24="), "_04c851ced6568" . "2f1411090dee7a" . "da43b" => base64_decode("cmVz" . "dA=="));
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["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_4d707fab93bebb0" . "0bbe69e8159697c9" . "0"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_04c851ced65682f141109" . "0dee7ada43b"], $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_c7a35cdd863753e83240fbb3e7" . "32a6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_ba95abda522f1512f9dc31cf1c" . "1cbc98"], function (Application $app) {
                $_2ab3f661331d702c9375bcba8448b459 = $app->config[$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_924835b096ba361c1fb" . "a85983d4951d8"]] ?? [];
                $_e62ca7bbb93b52cafc82da1c2aefe9ec = new ManifestCreateEvent($_2ab3f661331d702c9375bcba8448b459);
                $app->dispatcher->dispatch($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_d7237a5d80ae9624de28d92f" . "c1226750"], $_e62ca7bbb93b52cafc82da1c2aefe9ec);
                $_2ab3f661331d702c9375bcba8448b459 = $_e62ca7bbb93b52cafc82da1c2aefe9ec->GetManifestData();
                return new JsonPrettyResponse($_2ab3f661331d702c9375bcba8448b459);
            });
        }, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_a317272df0aa612457807eccab78a11" . "5"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_04c851ced65682" . "f1411090dee7ada" . "43b"], $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_c7a35cd" . "d863753e" . "83240fbb" . "3e732a6b" . "7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_fd5f10b831" . "af2624134e5" . "049a7f44447"], WellKnownController::class . $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_e981c083" . "72fe54286" . "e5c54083c" . "093943"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_5102ccea6de57c3a0cfdb" . "28deb01c923"], WellKnownController::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_32ab0a4a53de7d9" . "9d94310c02585cdf" . "0"]);
        }];
    }
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[WellKnownController::class] = function ($app) {
            return new WellKnownController($app[Repository::class], $app->GetLogger($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_6176ac8d920611645" . "64bf472618c3d53"]));
        };
    }
}