<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] ?: array()) + array("_27d36ba68a85217963497e" . "66d46a8f86" => base64_decode("Z2V0dHl" . "wZQ=="), "_680cc2b822" . "0e94c8c32b8" . "bc7c65519b4" => base64_decode("aXN" . "faW" . "50"), "_da3cd6b11b4" . "ba425130992f" . "549836b7f" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJ" . "pbmdzIG9yIGludGVnZXJzLCBvZmZzZXQg"), "_679665a8d413f3af" . "1393462bc4d2894f" => base64_decode("IGlzIA=" . "="), "_ea7a040ae8d83797a9d185188ff86" . "4a2" => base64_decode("QXJndW1lbnQgMSBwYXNzZ" . "WQgdG8g"), "_8ade8d758705e3ab" . "55c8100e6ea320d7" => base64_decode("KCkgbXVzdCBiZSBhIG5vbi1lbXB0eSBhcnJheSBvZiBzdHJpbmdzIG9yIGludGVnZX" . "JzLCBlbXB0eSBhcnJheSBwcm92aWRlZA=="), "_5c535722540e1ef86eeede22" . "74ec9cd4" => base64_decode("Oj" . "o="), "_5e30c4717ced36cff9e93e" . "19a5c576cc" => base64_decode("aXNfc3RyaW5" . "n"));
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["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_ea7a040ae8d83797a9d185" . "188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_5c535722540e1ef86" . "eeede2274ec9cd4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_8ade8d758" . "705e3ab55c" . "8100e6ea32" . "0d7"]);
        }
        foreach ($values as $_1f50e30be8c2fefa6881834e71d504a2 => $value) {
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_680cc2b8220e94" . "c8c32b8bc7c6551" . "9b4"]($value) && !$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_5e30c4717ced36cff9e93e19" . "a5c576cc"]($value)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_ea7a040ae8d83797a9d185188ff864a" . "2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_5c535722540e1ef86e" . "eede2274ec9cd4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_da3cd6b11b4ba425130992f549" . "836b7f"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_679665a8d413" . "f3af1393462bc" . "4d2894f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_27d36ba68a8" . "5217963497e6" . "6d46a8f86"]($value));
            }
        }
        $this->values = $values;
    }
}