Weak hands cannot be planted, meager skills have no foundation. Shallow wisdom is futile, how can one hope for a good name?扰扰从役倦，屑屑身事微。少壮轻年月，迟暮惜光辉。
<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

namespace Hostinger\Reach\Admin\Surveys;

use Hostinger\Surveys\SurveyManager;

if ( ! defined( 'ABSPATH' ) ) {
    die;
}

abstract class Survey {

    protected const DAY_IN_SECONDS = 86400;

    private SurveyManager $survey_manager;

    public function __construct( SurveyManager $survey_manager ) {
        $this->survey_manager = $survey_manager;
    }

    public function init(): void {
        add_filter( 'hostinger_add_surveys', array( $this, 'add_survey' ) );
    }

    public function add_survey( array $surveys ): array {
        if ( $this->should_load_survey() ) {
            $surveys[] = $this->get_survey();
        }

        return $surveys;
    }

    protected function get_priority(): int {
        return 100;
    }

    protected function should_load_survey(): bool {
        if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
            return false;
        }

        $is_client_eligible = $this->survey_manager->isClientEligible();
        $is_not_completed   = $this->survey_manager->isSurveyNotCompleted( $this->get_id() );
        $is_hidden          = $this->survey_manager->isSurveyHidden();

        return $is_client_eligible && $is_not_completed && ! $is_hidden;
    }

    protected function get_survey(): array {
        return $this->survey_manager->addSurvey(
            $this->get_id(),
            $this->get_score_ques