<?php
namespace Claromentis\Admin\Sysadmin;

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] ?: array()) + array("_04c851ced65682f1411090dee7a" . "da43b" => base64_decode("cmVzd" . "A=="), "_5102ccea6de57" . "c3a0cfdb28deb0" . "1c923" => base64_decode("L2FwcGxlLWFwc" . "C1zaXRlLWFzc2" . "9jaWF0aW9u"), "_a317272df" . "0aa6124578" . "07eccab78a" . "115" => base64_decode("Ly53ZW" . "xsLWtu" . "b3du"), "_ba95abda522f1512f" . "9dc31cf1c1cbc98" => base64_decode("L21hbmlmZXN0Lmpzb" . "24="), "_c7a35cdd863753e83240fb" . "b3e732a6b7" => base64_decode("bm9uZQ=" . "="), "_4d707fab93bebb00bbe69e815969" . "7c90" => base64_decode(""), "_924835b096ba361c1" . "fba85983d4951d8" => base64_decode("bWFuaWZlc" . "3RfdmFsdW" . "Vz"), "_6176ac8d920" . "61164564bf47" . "2618c3d53" => base64_decode("d2VsbF" . "9rbm93" . "bg=="), "_32ab0a4a53de7" . "d99d94310c0258" . "5cdf0" => base64_decode("OjpTaG93QXBwbG" . "VBc3NvY2lhdGlv" . "bg=="), "_d7237a5d80ae9624de28d92fc12" . "26750" => base64_decode("bWFuaWZlc3Qu" . "Y3JlYXRl"), "_e981c08372fe54286e5c540" . "83c093943" => base64_decode("OjpTaG93QXNzZXRMaW" . "5rcw=="), "_fd5f10b831af262413" . "4e5049a7f44447" => base64_decode("L2Fzc2V0bGl" . "ua3MuanNvbg" . "=="));
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"]["_4d707fab93bebb00bbe69e815" . "9697c90"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_04c851ced65682" . "f1411090dee7ada" . "43b"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_c7a35cdd863753e83" . "240fbb3e732a6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_ba95abda522f1512f9dc3" . "1cf1c1cbc98"], function (Application $app) {
                $_2ab3f661331d702c9375bcba8448b459 = $app->config[$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_924835b096ba361c1fba859" . "83d4951d8"]] ?? [];
                $_e62ca7bbb93b52cafc82da1c2aefe9ec = new ManifestCreateEvent($_2ab3f661331d702c9375bcba8448b459);
                $app->dispatcher->dispatch($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_d7237a5d80ae9624de28d9" . "2fc1226750"], $_e62ca7bbb93b52cafc82da1c2aefe9ec);
                $_2ab3f661331d702c9375bcba8448b459 = $_e62ca7bbb93b52cafc82da1c2aefe9ec->GetManifestData();
                return new JsonPrettyResponse($_2ab3f661331d702c9375bcba8448b459);
            });
        }, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_a317272df0aa612457807eccab" . "78a115"] => function (ControllerCollection $_6c20f4873f12c6bcced6c1dda9a06b86) {
            $_6c20f4873f12c6bcced6c1dda9a06b86->secure($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_04c851ced65682" . "f1411090dee7ada" . "43b"], $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_c7a35cdd863753e83240fbb3e732a" . "6b7"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_fd5f10b83" . "1af2624134" . "e5049a7f44" . "447"], WellKnownController::class . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_e981c08372fe54286e5c5" . "4083c093943"]);
            $_6c20f4873f12c6bcced6c1dda9a06b86->get($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_5102ccea6de57c3a0cfdb28deb01c9" . "23"], WellKnownController::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_32ab0a4a53de7d99d94310c02585" . "cdf0"]);
        }];
    }
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[WellKnownController::class] = function ($app) {
            return new WellKnownController($app[Repository::class], $app->GetLogger($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_6176ac8d9" . "2061164564" . "bf472618c3" . "d53"]));
        };
    }
}