<?php
namespace Claromentis\Core\Component;

$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] ?: array()) + array("titl" . "e" => base64_decode("dGl0bG" . "U="), "_5e5ff29e" . "5570db7c9" . "2f6a3fb65" . "526022" => base64_decode("PGRpdiBjbGFzcz0iYWxlcnQgYWxlcnQtZGFuZ2VyIiByb2xlPSJhbG" . "VydCI+"), "_9d563921" . "fc01094b4" . "d118c5bf2" . "187d4b" => base64_decode("Y2xhX2h0bWxzYW" . "Zl"), "_32710812e9f3c73" . "0de6579937e571ec" . "3" => base64_decode("PC" . "9k" . "aX" . "Y+"), "_daabcaef5d13ad11434c594d45" . "e1fc0e" => base64_decode("RXJyb3Ig" . "bWVzc2Fn" . "ZQ=="), "_4d707fa" . "b93bebb0" . "0bbe69e8" . "159697c9" . "0" => base64_decode(""));
use Claromentis\Core\Application;
use Claromentis\Core\Component\Exception\ComponentException;






class MessageComponent implements ComponentInterface
{
    protected string $header;
    protected string $body;
    protected ?ComponentInterface $parent;
    public function __construct(string $_c8e54c9b73e8f8de2a97a9c3a1daf1c3, string $_f50e845669e7cd06bbc643eeb57aa01d, ComponentInterface $_bc1b84b0f9f841f8b734489a4a3783ad = null)
    {
        $this->header = $_c8e54c9b73e8f8de2a97a9c3a1daf1c3;
        $this->body = $_f50e845669e7cd06bbc643eeb57aa01d;
        $this->parent = $_bc1b84b0f9f841f8b734489a4a3783ad;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function GetOptions()
    {
        if (null !== $this->parent) {
            return $this->parent->GetOptions();
        }
        return [];
    }
    
    
    
    
    
    
    
    
    
    
    
    public function ShowBody($id_string, OptionsInterface $options, Application $app)
    {
        $_f50e845669e7cd06bbc643eeb57aa01d = $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_9d563921f" . "c01094b4d1" . "18c5bf2187" . "d4b"]($this->body);
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_5e5ff29e5570db" . "7c92f6a3fb65526" . "022"] . $_f50e845669e7cd06bbc643eeb57aa01d . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_32710812e9f3c730de6579937e571ec" . "3"];
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function ShowHeader($id_string, OptionsInterface $options, Application $app)
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_9d563921fc01" . "094b4d118c5bf" . "2187d4b"]($this->header);
    }
    
    
    
    
    
    
    
    
    public function GetSizeConstraints()
    {
        if (null !== $this->parent) {
            return $this->parent->GetSizeConstraints();
        }
        return [];
    }
    
    
    
    
    
    
    
    
    
    
    
    public function GetCssClass()
    {
        if (null !== $this->parent) {
            return $this->parent->GetCssClass();
        }
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_4d707fab93bebb00bbe69e81596" . "97c90"];
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function GetCoverInfo()
    {
        if (null !== $this->parent) {
            return $this->parent->GetOptions();
        }
        return [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["ti" . "tl" . "e"] => $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_daabcaef5d13ad11434c594" . "d45e1fc0e"]];
    }
}