<?php
namespace Claromentis\Search\ItemType;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("_3c260f3beb2f533" . "c7abcfe6f9793aae" . "3" => base64_decode("eW" . "Vz"), "_fa0ea3ff84d62d9eb5c8e215ce912e5" . "7" => base64_decode("Y" . "W" . "5" . "k"), "_900d48ade8c2df0520b76de5ee4052" . "24" => base64_decode("dGVybXM" . "="), "_3429a564f3319bcce4277c92b566301" . "a" => base64_decode("aW50cmFuZX" . "R1c2Vy"), "_9aa1db89206e80c571adeb0f95" . "f475a9" => base64_decode("ZXh0cmFuZXRfYXJlYV9pZ" . "A=="));
use Claromentis\Core\Security\SecurityContext;
use Claromentis\Search\GlobalSearchItemInterface;






class User implements GlobalSearchItemInterface
{
    
    
    
    
    public function GetIndexingObject()
    {
        return new Indexing\User();
    }
    public function GetPermissionsSearchFilter(SecurityContext $context)
    {
        if (!$context->IsPrimaryExtranet()) {
            $filter = [$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_fa0ea3ff84d62d9eb5" . "c8e215ce912e57"] => [[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_900d48ade8c2df0520b7" . "6de5ee405224"] => [$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_9aa1db89206e80c5" . "71adeb0f95f475a9"] => [$context->GetExtranetAreaId(), \UserExtranetArea::GetPrimaryId()]]], [$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_900d48ade8c2d" . "f0520b76de5ee4" . "05224"] => [$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_3429a564f3319bcce4277c" . "92b566301a"] => [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_3c260f3beb2f533c7abcfe6f9793aa" . "e3"]]]]]];
            return $filter;
        } else {
            $filter = [$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_900d48ade8c2df05" . "20b76de5ee405224"] => [$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_3429a564f3319bcce4277c92b56630" . "1a"] => [$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_3c260f3beb2f533c7abcfe6f9793aae" . "3"]]]];
            return $filter;
        }
    }
    
    
    
    
    public function GetView()
    {
        return new View\User();
    }
}