private function getPopupEloquentEntry($resource, $limit = 1, $offset = 0)
    {
        $eloquent = $this->eloqent($resource);
        $builder = $eloquent::active()
            ->where('is_popup', 1)
            ->orderBy('active_from', 'DESC')
            ->offset($offset);

        if ($limit == 1) {
            return $builder->first();
        }

        return $builder->limit($limit)->get();
    }