<?php
namespace Claromentis\Pages\UseCase;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("_5c51b0e4b7267b43adabf8015a" . "8e1cf8" => base64_decode("Y2FsbGJhY" . "2s="), "_838211affdd7" . "4e88e815ab0b2" . "d317ef6" => base64_decode("RmllbGQgbm90I" . "GZvdW5k"));
use Claromentis\Core\Application;
use Claromentis\Pages\Exception\AjaxFieldLookupException;
use Claromentis\Pages\Repository\TileProvider;




class GetAjaxResults
{
    public function __construct(TileProvider $tile_provider, callable $_fb83e764e4585493fd342bef3f476506)
    {
        $this->tile_provider = $tile_provider;
        $this->lookup_service = $_fb83e764e4585493fd342bef3f476506;
    }
    public function GetResults($_3fe79c1c3dbe98dac252d4b18cccf315, $_66dc8b21e839a9a4739443a621ecc45a, $_918e0dcc556bc977f277818c7e2f3c6c, $_221da17e3055fae8d3ff516b832a5f3b)
    {
        $tile = $this->tile_provider->GetTile($_3fe79c1c3dbe98dac252d4b18cccf315);
        $_a0814aca3c0a1889b8fa232899f7af70 = ($this->lookup_service)($tile->class_key);
        $_1c7a5c39763d615d9d1c14cddceadb1b = $_a0814aca3c0a1889b8fa232899f7af70->GetOptions();
        if (isset($_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a]) && isset($_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a][$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_5c51b0e4b7267b43adabf8015" . "a8e1cf8"]])) {
            $_5c51b0e4b7267b43adabf8015a8e1cf8 = $_1c7a5c39763d615d9d1c14cddceadb1b[$_66dc8b21e839a9a4739443a621ecc45a][$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_5c51b0e4b" . "7267b43ada" . "bf8015a8e1" . "cf8"]];
            return $_a0814aca3c0a1889b8fa232899f7af70->{$_5c51b0e4b7267b43adabf8015a8e1cf8}($_918e0dcc556bc977f277818c7e2f3c6c, $_221da17e3055fae8d3ff516b832a5f3b);
        }
        throw new AjaxFieldLookupException($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_838211affdd74e88e815ab0b2d31" . "7ef6"]);
    }
}