<?php
namespace Claromentis\Calendar;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] ?: array()) + array("_1ac0966" . "b7243505" . "442d5eca" . "53013e75" . "7" => base64_decode("RXhjZXB0aW9uIGR1cmluZyB0aGUgY2FsZW" . "5kYXIgc3luY2hyb25pemF0aW9uIGZyb20g" . "dGhlIFVSTDog"));
use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerAwareTrait;
use Psr\Log\NullLogger;
class CalendarBackgroundTask implements LoggerAwareInterface
{
    use LoggerAwareTrait;
    protected $logger;
    protected Api $api;
    public function __construct(Api $api)
    {
        $this->api = $api;
        $this->logger = new NullLogger();
    }
    
    
    
    
    public function ProcessBackground()
    {
        try {
            $this->api->updateImportedCalendars();
        } catch (\Exception $_c35473364fa7a050299058f332ec29c1) {
            $this->logger->error($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_1ac0966b7243505442d5eca53" . "013e757"] . $_c35473364fa7a050299058f332ec29c1->getMessage(), [$_c35473364fa7a050299058f332ec29c1]);
        }
    }
}