<?php
namespace Claromentis\Core\Acl;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_039daaac429f8943b54f2e26534" . "3f5e3" => base64_decode("YWNsLnJlcG9" . "zaXRvcnk="), "_84718d828d2acc3c366f96b07e" . "841f6a" => base64_decode("YWNsLnNpbX" . "BsZQ=="), "d" . "b" => base64_decode("ZGI" . "="), "_775461e60584" . "660d3e4e2d0d6" . "c04e117" => base64_decode("YWNsLnJvbGVfYm" . "FzZWQucmVwb3Np" . "dG9yeQ=="), "ac" . "l" => base64_decode("YWN" . "s"), "_afa401daac5bead9c7c9c3c6c8" . "48170e" => base64_decode("YWNsLnJvbG" . "VfYmFzZWQu" . "cm9sZV9xdW" . "VyeQ=="), "_609a2a8893b47cfb7" . "5460dccc5da96ba" => base64_decode("YWNsLnJvbGVfYmFzZWQucm9sZV9kaW" . "Fsb2c="), "_8dce90d5e4dd" . "53b6cfe7ac39c" . "680d9a9" => base64_decode("YWNsLnJvbGVfYmFz" . "ZWQudXNlX2Nhc2Uu" . "c2F2ZV9yb2xlcw=="));
use Claromentis\Core\Application;
use Claromentis\Core\Acl\RoleBased;
use Pimple\ServiceProviderInterface;
use Pimple\Container;





class AclServiceProvider implements ServiceProviderInterface
{
    
    
    
    
    
    
    
    
    
    public function register(Container $app)
    {
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["a" . "c" . "l"]] = function ($app) {
            return new AclRepository($app->db, \ClaCache::I(\ClaCache::C_SHORT));
        };
        $app[AclRepository::class] = $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["ac" . "l"];
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_039daaac429f8943b54f2e2" . "65343f5e3"]] = function ($app) {
            return $app[$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["ac" . "l"]];
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_84718d82" . "8d2acc3c3" . "66f96b07e" . "841f6a"]] = function ($app) {
            return new Simple\SimpleAclRepository($app->db);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_775461e60584660d3e4e2d0d6c0" . "4e117"]] = function ($app) {
            return new RoleBased\RoleRepository($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["d" . "b"]], $app[AclRepository::class]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_afa401daac5bead9" . "c7c9c3c6c848170e"]] = function ($app) {
            return new RoleBased\RoleAclChecker($app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_775461e60584660d3e4e2" . "d0d6c04e117"]]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_609a2a88" . "93b47cfb7" . "5460dccc5" . "da96ba"]] = function ($app) {
            return new RoleBased\RoleDialog($app[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_775461e6" . "0584660d3" . "e4e2d0d6c" . "04e117"]]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_8dce90d5e4dd53b6cfe7ac39c" . "680d9a9"]] = function ($app) {
            return new RoleBased\UseCase\SaveRoles($app[$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_775461e60584660d3e4e" . "2d0d6c04e117"]]);
        };
        $app[RoleBased\RoleRepository::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_775461e60584660d3e4e2d" . "0d6c04e117"];
        $app[RoleBased\RoleAclChecker::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_afa401daac5be" . "ad9c7c9c3c6c84" . "8170e"];
        $app[RoleBased\RoleDialog::class] = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_609a2a8893b47cfb75460d" . "ccc5da96ba"];
    }
}