<?php
namespace Claromentis\Quiz\Search\Application;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("sur" . "vey" => base64_decode("c3V" . "ydm" . "V5"), "_8bcb6cd2dea4891636e3d" . "b3c9fe5d750" => base64_decode("YXBwX3BvbGxfc3Vydm" . "V5"), "_b3ee1ca1d7e4bff" . "63ae777968483325" . "d" => base64_decode("cG9sbA=" . "="), "_383eb6a52ac879d52bae89b" . "6e0d6e944" => base64_decode("cXVpei5wb2xsLmNvbW1vbi5tb2R1bGVfbmF" . "tZQ=="));
use Claromentis\Core\Acl\AclRepository;
use Claromentis\Core\CDN\CDNInterface;
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Core\TextUtil\ClaText;
use Claromentis\Quiz\Facade\PollFacade;
use Claromentis\Quiz\Permissions\SurveyAdminPermissions;
use Claromentis\Quiz\Repository\PollRepository;
use Claromentis\Quiz\Repository\SurveyRepository;
use Claromentis\Quiz\Search\PollSearch;
use Claromentis\Quiz\Search\SurveySearch;
use Claromentis\Search\Application\ApplicationInterface;




class PollsSurveysApplication implements ApplicationInterface
{
    protected $lmsg;
    protected $cdn;
    protected $cla_text;
    protected $poll_repo;
    protected $survey_repo;
    protected $acl_repo;
    protected $survey_admin_permissions;
    protected $poll_facade;
    public function __construct(Lmsg $lmsg, CDNInterface $cdn, ClaText $cla_text, PollRepository $poll_repo, SurveyRepository $survey_repo, AclRepository $_3436ad73cf80729d5a2e43d861c31e8b, SurveyAdminPermissions $survey_admin_permissions, PollFacade $poll_facade)
    {
        $this->lmsg = $lmsg;
        $this->cdn = $cdn;
        $this->cla_text = $cla_text;
        $this->poll_repo = $poll_repo;
        $this->survey_repo = $survey_repo;
        $this->acl_repo = $_3436ad73cf80729d5a2e43d861c31e8b;
        $this->survey_admin_permissions = $survey_admin_permissions;
        $this->poll_facade = $poll_facade;
    }
    
    
    
    
    
    
    
    
    public function GetTypes()
    {
        $cdn = $this->cdn;
        $cla_text = $this->cla_text;
        $poll_repo = $this->poll_repo;
        $survey_repo = $this->survey_repo;
        $_3436ad73cf80729d5a2e43d861c31e8b = $this->acl_repo;
        $survey_admin_permissions = $this->survey_admin_permissions;
        $poll_facade = $this->poll_facade;
        return [$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_b3ee1ca1d7e4bff6" . "3ae777968483325d"] => function () use($cdn, $cla_text, $poll_repo, $survey_admin_permissions, $poll_facade) {
            return new PollSearch($cdn, $cla_text, $poll_repo, $survey_admin_permissions, $poll_facade);
        }, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["surv" . "ey"] => function () use($cdn, $cla_text, $survey_repo, $survey_admin_permissions) {
            return new SurveySearch($cdn, $cla_text, $survey_repo, $survey_admin_permissions);
        }];
    }
    
    
    
    
    
    
    public function GetName()
    {
        return ($this->lmsg)($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_383eb6a52ac879d52" . "bae89b6e0d6e944"]);
    }
    
    
    
    
    
    
    public function GetCode()
    {
        return $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_8bcb6cd2dea4891636e3db3c" . "9fe5d750"];
    }
}