<?php
namespace Claromentis\Core\Acl;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("d" . "b" => base64_decode("Z" . "G" . "I" . "="), "_84718d828d2acc3c366f96b0" . "7e841f6a" => base64_decode("YWNsLnNp" . "bXBsZQ=="), "_afa401daac5bead9c" . "7c9c3c6c848170e" => base64_decode("YWNsLnJvbGVfYmFzZWQuc" . "m9sZV9xdWVyeQ=="), "_8dce90d5e4dd53b6cfe7ac39c68" . "0d9a9" => base64_decode("YWNsLnJvbGVfYmFzZWQudXNlX2Nhc2U" . "uc2F2ZV9yb2xlcw=="), "_775461e60584660d3e4" . "e2d0d6c04e117" => base64_decode("YWNsLnJvbGVfYmFzZWQucmVwb3N" . "pdG9yeQ=="), "ac" . "l" => base64_decode("Y" . "W" . "N" . "s"), "_039daaac429f8943b54f2e265" . "343f5e3" => base64_decode("YWNsLnJlcG9zaXRv" . "cnk="), "_609a2a8893b" . "47cfb75460dc" . "cc5da96ba" => base64_decode("YWNsLnJvbGVfYmFzZWQucm9" . "sZV9kaWFsb2c="));
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["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["a" . "c" . "l"]] = function ($app) {
            return new AclRepository($app->db, \ClaCache::I(\ClaCache::C_SHORT));
        };
        $app[AclRepository::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["a" . "c" . "l"];
        $app[$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_039daaac429f8943b54f2e" . "265343f5e3"]] = function ($app) {
            return $app[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["a" . "c" . "l"]];
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_84718d828d2" . "acc3c366f96b" . "07e841f6a"]] = function ($app) {
            return new Simple\SimpleAclRepository($app->db);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_775461e60584660d3e4e2d" . "0d6c04e117"]] = function ($app) {
            return new RoleBased\RoleRepository($app[$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["d" . "b"]], $app[AclRepository::class]);
        };
        $app[$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_afa401daac5bead9c7c9c3c6" . "c848170e"]] = function ($app) {
            return new RoleBased\RoleAclChecker($app[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_775461e60584660d3e4e2d0d6c0" . "4e117"]]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_609a2a8893b47cfb75460dccc" . "5da96ba"]] = function ($app) {
            return new RoleBased\RoleDialog($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_775461e6058" . "4660d3e4e2d0" . "d6c04e117"]]);
        };
        $app[$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_8dce90d5e4dd53b6cfe7ac39c680" . "d9a9"]] = function ($app) {
            return new RoleBased\UseCase\SaveRoles($app[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_775461e60584660d3e4e2d0" . "d6c04e117"]]);
        };
        $app[RoleBased\RoleRepository::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_775461e605846" . "60d3e4e2d0d6c0" . "4e117"];
        $app[RoleBased\RoleAclChecker::class] = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_afa401daac5be" . "ad9c7c9c3c6c84" . "8170e"];
        $app[RoleBased\RoleDialog::class] = $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_609a2a8893b47cfb75460dccc5da" . "96ba"];
    }
}