<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"] ?: array()) + array("_5c535722540" . "e1ef86eeede2" . "274ec9cd4" => base64_decode("Oj" . "o="), "_5e30c4717c" . "ed36cff9e93" . "e19a5c576cc" => base64_decode("aXNfc3Ry" . "aW5n"), "_680cc2b8220e94c8c32b8b" . "c7c65519b4" => base64_decode("aXNfa" . "W50"), "_679665a8d413f3af13" . "93462bc4d2894f" => base64_decode("IGlzIA" . "=="), "_ea7a040ae8d83797a9d18518" . "8ff864a2" => base64_decode("QXJndW1lbnQgMSBwYXNzZWQgd" . "G8g"), "_da3cd6b11b4ba425130" . "992f549836b7f" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbmdzIG9yIGludGVnZX" . "JzLCBvZmZzZXQg"), "_8ade8d758705e3ab55c8100e6ea320" . "d7" => base64_decode("KCkgbXVzdCBiZSBhIG5vbi1lbXB0eSBhcnJheSBvZiBzdHJpbmdzIG9yIGlu" . "dGVnZXJzLCBlbXB0eSBhcnJheSBwcm92aWRlZA=="), "_27d36ba68a85217963497e66d46" . "a8f86" => base64_decode("Z2V0dHl" . "wZQ=="));
use TypeError;






class Terms
{
    protected string $field;
    
    
    protected array $values = [];
    public function __construct(string $field, array $values)
    {
        $this->SetField($field);
        $this->SetValues($values);
    }
    
    
    
    
    
    
    public function GetValues() : array
    {
        return $this->values;
    }
    
    
    
    
    
    
    public function GetField() : string
    {
        return $this->field;
    }
    
    
    
    
    
    
    public function SetField(string $field) : void
    {
        $this->field = $field;
    }
    
    
    
    
    
    
    public function SetValues(array $values) : void
    {
        if (empty($values)) {
            throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_ea7a040ae8d83797a9d1851" . "88ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_5c535722540e1ef86eeede2274ec9cd" . "4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_8ade8d7587" . "05e3ab55c81" . "00e6ea320d7"]);
        }
        foreach ($values as $_1f50e30be8c2fefa6881834e71d504a2 => $value) {
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_680cc2b8220e94c8c32b8" . "bc7c65519b4"]($value) && !$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_5e30c4717ced36" . "cff9e93e19a5c57" . "6cc"]($value)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_ea7a040a" . "e8d83797a" . "9d185188f" . "f864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_5c535722540e1e" . "f86eeede2274ec9" . "cd4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_da3cd6b11b4b" . "a425130992f54" . "9836b7f"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_679665a8d413f3af13" . "93462bc4d2894f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_27d36ba68a85217963" . "497e66d46a8f86"]($value));
            }
        }
        $this->values = $values;
    }
}