Japanese English

PHP 難読化コードの復元・デコード

Wordpress 等でのPHPのマルウェア・ウィルス・改ざんコードをデコードして難読化をオンラインで解除し、
元の読みやすいコードに戻し解読できます。

※すべての難読化コードを解除できるわけではございませんのでご理解とご了承をお願いいたします。

下記のコードを難読化解除しました

<?php declare(strict_types=1); namespace OneTeamSoftware\WC\Shipping\Form; use OneTeamSoftware\LazyClassProxy\LazyClassProxy; use OneTeamSoftware\WC\Admin\LogExporter\LogExporter; use OneTeamSoftware\WC\Options\Taxonomies; use WP_Query; class SettingsForm { protected $id; protected $countriesProx...



難読化されたPHPコード

<?php
declare(strict_types=1);
namespace OneTeamSoftware\WC\Shipping\Form;
use OneTeamSoftware\LazyClassProxy\LazyClassProxy;
use OneTeamSoftware\WC\Admin\LogExporter\LogExporter;
use OneTeamSoftware\WC\Options\Taxonomies;
use WP_Query;
class SettingsForm
{
    protected $id;
    protected $countriesProxy;
    protected $taxonomies;
    protected $logExporter;
    protected $proFeatureSuffix;
    protected $proFeatureAttributes;
    protected $settings;
    public function __construct(string $hsNwz, LogExporter $XwCBl)
    {
        $this->id = $hsNwz;
        $this->countriesProxy = new LazyClassProxy("\x57\x43\x5f\x43\157\x75\x6e\164\x72\151\145\x73", WC()->countries);
        $this->taxonomies = new Taxonomies($this->id);
        $this->logExporter = $XwCBl;
        $this->proFeatureSuffix = '';
        $this->proFeatureAttributes = [];
        $this->settings = [];
    }
    public function setSettings(array $QUiBf): void
    {
        $this->settings = array_merge($this->settings, $QUiBf);
    }
    public function setProFeatureSuffix(string $kOA8U): void
    {
        $this->proFeatureSuffix = $kOA8U;
    }
    public function setProFeatureAttributes(array $iSUSj): void
    {
        $this->proFeatureAttributes = $iSUSj;
    }
    public function getFields(): array
    {
        $YHtmW = [];
        $YHtmW += $this->getGeneralFields();
        $YHtmW += $this->getOriginFields();
        $YHtmW += $this->getShipmentDefaultsFields();
        $YHtmW += $this->getMultiVendorFields();
        $YHtmW += $this->getShippingRatesFields();
        $YHtmW += $this->getAdjustmentsFields();
        $YHtmW += $this->getBoxesFields();
        $YHtmW += $this->getCarriersFields();
        $YHtmW += $this->getServicesFields();
        $YHtmW += $this->getShippingLabelsFields();
        $YHtmW += $this->getAutomationFields();
        return $YHtmW;
    }
    public function getOriginFields(string $iEbzY = null): array
    {
        if (false === apply_filters($this->id . "\137\x68\x61\163\x4f\x72\151\147\x69\156\x46\x65\141\x74\x75\162\x65", false)) {
            return [];
        }
        $oxPDB = $this->countriesProxy->get_states($iEbzY ?? $this->settings["\x6f\162\151\x67\151\x6e"]["\143\157\x75\156\164\x72\171"] ?? "\125\x53");
        $YHtmW = ["\x6f\x72\x69\147\151\x6e\x5f\x74\151\164\x6c\145" => ["\x74\151\164\x6c\x65" => __("\x46\162\x6f\x6d\x20\x41\x64\144\162\145\x73\x73", $this->id), "\164\x79\160\x65" => "\164\x69\164\154\145", "\x63\x6c\x61\x73\163" => "\164\141\x62", "\144\145\163\x63\162\x69\x70\x74\151\157\156" => __("\x57\150\141\x74\x20\151\163\x20\164\150\x65\40\x61\144\x64\162\x65\x73\163\40\157\146\40\x74\x68\145\x20\x70\x6c\x61\x63\145\x20\x66\162\157\x6d\40\167\x68\145\x72\145\x20\160\x61\x72\143\145\x6c\x73\x20\x61\162\145\x20\x67\157\x69\156\x67\x20\164\x6f\40\x62\145\40\x73\150\151\160\x70\x65\144\x3f", $this->id)], "\157\162\x69\147\151\156\133\156\141\x6d\145\x5d" => ["\x74\x69\x74\x6c\145" => __("\x4e\x61\155\x65", $this->id), "\164\171\160\x65" => "\164\145\170\164"], "\x6f\162\151\x67\x69\x6e\x5b\143\157\155\160\141\156\x79\x5d" => ["\164\151\164\154\145" => __("\103\157\x6d\x70\x61\x6e\x79", $this->id), "\164\171\x70\x65" => "\164\x65\x78\164"], "\157\162\x69\147\x69\x6e\x5b\x65\x6d\141\151\x6c\x5d" => ["\x74\151\x74\154\145" => __("\x45\155\x61\151\154", $this->id), "\x74\x79\160\145" => "\x65\155\141\151\154"], "\x6f\x72\x69\147\151\156\x5b\x70\150\x6f\x6e\145\135" => ["\x74\x69\164\154\145" => __("\x50\x68\x6f\156\x65", $this->id), "\x74\x79\x70\145" => "\x74\x65\x78\x74"], "\157\162\x69\147\x69\156\133\143\157\x75\x6e\x74\162\x79\x5d" => ["\164\151\164\154\145" => __("\103\x6f\x75\156\164\x72\171", $this->id), "\x74\171\x70\145" => "\x73\x65\154\x65\x63\x74", "\157\160\164\x69\157\x6e\x73" => $this->countriesProxy->get_countries(), "\x63\x75\163\164\157\x6d\137\x61\x74\164\x72\x69\x62\165\x74\x65\163" => ["\157\x6e\x63\x68\x61\x6e\x67\x65" => "\152\121\165\145\x72\x79\50\x22\x5b\x6e\141\x6d\x65\x3d\x73\x61\x76\145\135\x22\x29\56\x63\154\151\x63\153\x28\51"]], "\x6f\x72\x69\x67\151\156\x5b\x73\164\141\164\145\x5d" => ["\x74\x69\164\154\x65" => __("\x53\164\141\x74\x65", $this->id), "\x74\171\160\x65" => empty($oxPDB) ? "\x74\x65\170\164" : "\163\x65\154\x65\x63\164", "\x6f\160\x74\x69\x6f\x6e\x73" => $oxPDB], "\x6f\x72\151\147\x69\x6e\133\143\151\x74\171\x5d" => ["\164\x69\164\154\x65" => __("\x43\151\x74\171", $this->id), "\x74\171\x70\145" => "\164\x65\x78\x74"], "\x6f\162\x69\x67\x69\x6e\x5b\x70\157\163\x74\143\x6f\x64\145\x5d" => ["\x74\151\x74\154\x65" => __("\132\x69\160\x20\57\40\x50\x6f\163\164\x61\154\x20\103\157\144\x65", $this->id), "\164\171\x70\x65" => "\x74\x65\170\164"], "\157\x72\151\x67\x69\156\x5b\141\x64\144\x72\145\163\x73\135" => ["\x74\x69\x74\154\x65" => __("\x41\144\144\x72\x65\163\163\40\61", $this->id), "\164\x79\x70\x65" => "\x74\145\170\164"], "\x6f\x72\x69\147\151\x6e\133\141\144\144\162\145\x73\x73\x5f\x32\135" => ["\x74\151\x74\154\145" => __("\101\x64\144\x72\x65\163\x73\40\62", $this->id), "\x74\171\160\145" => "\x74\145\x78\164"]];
        return $YHtmW;
    }
    public function getBoxesFields(): array
    {
        return apply_filters($this->id . "\x5f\x67\x65\x74\102\157\x78\145\163\x46\157\162\x6d\106\151\145\154\x64\163", []);
    }
    public function getCarriersFields(): array
    {
        if (empty($this->settings["\x63\141\x72\x72\151\x65\x72\163"]) && empty(apply_filters($this->id . "\x5f\x67\145\x74\x43\141\x72\162\x69\145\162\163", []))) {
            return [];
        }
        return apply_filters($this->id . "\x5f\147\145\164\x43\x61\x72\162\151\x65\x72\163\x46\157\x72\x6d\x46\151\145\x6c\144\x73", []);
    }
    public function getServicesFields(): array
    {
        if (empty($this->settings["\x73\145\162\x76\x69\x63\145\x73"]) && empty(apply_filters($this->id . "\x5f\x67\x65\x74\x53\145\162\166\151\x63\x65\163", []))) {
            return [];
        }
        return apply_filters($this->id . "\137\x67\x65\164\x53\145\162\x76\x69\x63\145\x73\x46\x6f\x72\155\106\151\x65\154\144\x73", []);
    }
    protected function getGeneralFields(): array
    {
        $YHtmW = ["\x67\145\156\x65\x72\141\154\137\x74\151\x74\154\145" => ["\x74\151\164\x6c\x65" => __("\x47\145\156\145\162\x61\x6c", $this->id), "\164\171\x70\145" => "\164\x69\164\x6c\145", "\x63\x6c\x61\x73\163" => "\x74\x61\x62", "\144\145\x73\143\x72\x69\x70\164\151\157\x6e" => __("\x47\x65\x6e\x65\162\141\154\40\x70\154\x75\x67\151\x6e\40\163\x65\x74\164\151\156\147\x73", $this->id)], "\x64\157\143\x75\x6d\145\x6e\x74\141\x74\151\x6f\x6e\x5f\x74\x69\164\154\145" => ["\144\x65\x73\x63\162\151\x70\x74\x69\x6f\156" => sprintf("\x3c\144\151\x76\40\143\154\141\163\163\x3d\42\x6f\156\x65\x74\x65\141\155\163\157\146\x74\x77\141\162\x65\x20\x6e\157\x74\151\x63\x65\40\x6e\x6f\x74\151\x63\145\55\151\x6e\x66\157\40\151\156\154\151\156\x65\x22\x3e\12\11\11\x9\x9\11\x9\x3c\160\x3e\74\163\x74\x72\157\156\x67\x3e\x25\x73\74\x2f\163\x74\x72\157\x6e\x67\x3e\x3c\x2f\160\76\xa\11\x9\x9\11\x9\11\x3c\154\x69\x3e\x25\163\40\74\141\x20\150\162\145\146\x3d\42\150\x74\164\x70\x73\72\x2f\57\x31\x74\x65\141\155\x73\x6f\x66\164\167\141\x72\145\x2e\x63\157\x6d\57\144\x6f\x63\165\x6d\145\156\164\x61\x74\151\x6f\x6e\x2f\x25\163\57\42\40\x74\141\162\147\x65\164\x3d\x22\x5f\x62\154\x61\x6e\153\x22\76\x25\x73\x3c\57\141\x3e\74\57\x6c\x69\x3e\xa\x9\11\x9\x9\x9\11\74\x6c\x69\x3e\x25\x73\40\x3c\x61\40\x68\162\x65\x66\x3d\42\45\x73\42\x20\x74\x61\162\x67\x65\164\75\42\x5f\x62\154\141\x6e\x6b\x22\x3e\45\x73\x3c\57\141\76\x3c\x2f\154\x69\76\xa\x9\x9\x9\x9\x9\74\x2f\x64\x69\x76\76", __("\x48\157\x77\40\164\157\40\x67\145\164\x20\163\164\x61\x72\164\x65\x64\77", $this->id), __("\114\145\x61\162\x6e\x20\x68\157\x77\40\164\x6f\x20\x63\157\156\146\151\x67\165\x72\145\x20\141\156\144\x20\x75\x73\145\x20\164\x68\x69\x73\40\160\154\165\147\151\x6e\x2e", $this->id), preg_replace("\57\x77\x63\x2d\174\55\160\162\x6f\x2f", '', $this->id), __("\103\x6c\x69\143\153\x20\x68\145\162\145\x20\x74\x6f\x20\x72\x65\141\x64\40\x64\157\143\165\x6d\145\156\x74\x61\x74\x69\157\x6e\x2e", $this->id), __("\123\164\x72\x65\141\155\x6c\151\x6e\x65\40\x79\x6f\x75\x72\40\x69\x6e\x73\164\141\154\154\x61\164\151\x6f\156\40\160\x72\157\x63\x65\x73\x73\x20\x61\156\144\x20\x73\x61\166\145\40\x76\141\154\x75\x61\x62\x6c\145\x20\164\x69\155\145\40\x62\171\40\165\x73\151\156\x67\40\x6f\x75\162\40\42\150\x61\156\144\163\40\x6f\146\146\42\40\151\x6e\163\x74\141\x6c\154\141\164\x69\x6f\156\x20\x73\145\162\x76\x69\143\145\56", $this->id), "\150\164\x74\x70\x73\x3a\57\57\x31\x74\145\141\155\x73\x6f\146\x74\x77\141\x72\x65\x2e\x63\157\155\x2f\160\162\157\x64\x75\143\x74\57\151\156\x73\164\x61\x6c\x6c\x61\x74\x69\157\x6e\55\157\146\55\x73\x68\x69\x70\x70\x69\156\x67\x2d\x6c\141\x62\145\154\x73\x2d\x70\x6c\x75\x67\151\x6e\57", __("\107\x65\x74\40\163\164\141\x72\x74\145\x64\x20\x6e\x6f\x77\41", $this->id)), "\x74\x79\x70\145" => "\x74\x69\164\x6c\x65"]];
        $YHtmW += $this->getPromoFields();
        $YHtmW += $this->getIntegrationFields();
        $YHtmW += $this->getStoreFields();
        $YHtmW += $this->getWarehouseFields();
        $YHtmW += $this->getGeneralSettingFields();
        return $YHtmW;
    }
    protected function getAdjustmentsFields(): array
    {
        $YHtmW = ["\x61\144\x6a\x75\x73\x74\155\x65\x6e\x74\x73\137\164\151\x74\x6c\x65" => ["\164\x69\x74\x6c\145" => __("\x41\x64\152\165\163\x74\x6d\x65\156\164\163", $this->id), "\164\x79\x70\x65" => "\x74\x69\164\154\145", "\143\x6c\x61\x73\163" => "\x74\x61\x62", "\144\145\163\143\x72\x69\160\x74\151\157\156" => __("\x43\165\x73\164\157\155\151\x7a\145\40\141\156\144\40\163\145\164\x20\141\144\x6a\x75\163\164\x6d\145\x6e\164\163\40\x66\157\162\x20\x62\x6f\x74\150\40\160\141\x72\x63\145\154\163\40\x61\156\x64\x20\x70\162\x69\143\151\156\x67\x2e", $this->id)]];
        $YHtmW += $this->getParcelAdjustmentsFields();
        $YHtmW += $this->getPriceAdjustmentsFields();
        return $YHtmW;
    }
    protected function getShippingLabelsFields(): array
    {
        $YHtmW = ["\163\x68\x69\x70\160\151\x6e\147\137\x6c\141\x62\x65\x6c\163\137\x74\x69\164\x6c\x65" => ["\164\151\x74\x6c\x65" => __("\x53\x68\151\160\160\151\156\x67\x20\114\x61\x62\145\x6c\x73", $this->id), "\x74\x79\x70\x65" => "\x74\151\x74\x6c\x65", "\x63\x6c\x61\163\163" => "\164\141\x62", "\x64\x65\163\x63\x72\x69\x70\164\151\x6f\x6e" => __("\x41\x64\152\x75\x73\164\x20\164\x68\145\x20\x70\x72\x65\x66\145\x72\x65\156\x63\145\x73\40\x74\150\x61\164\40\167\x69\x6c\x6c\40\x62\x65\x20\x61\x70\x70\154\x69\145\144\x20\167\x68\x65\x6e\40\160\162\151\x6e\x74\x69\156\147\40\x69\x6e\x64\151\166\151\144\x75\141\154\x20\x6c\x61\142\145\154\163\40\x6f\162\x20\x6d\x75\154\164\x69\x70\154\x65\40\154\141\142\145\154\163\40\x69\x6e\40\141\x20\142\x61\x74\143\x68\56", $this->id)]];
        $YHtmW += $this->getPdfPrintSettingsFields();
        $YHtmW += $this->getPurchasePostageFields();
        $YHtmW += $this->getBulkPurchasePostageFields();
        return $YHtmW;
    }
    protected function getPromoFields(): array
    {
        $YHtmW = [];
        if (false === is_plugin_active("\167\143\x2d\146\162\145\x65\x2d\x73\x68\151\x70\160\151\x6e\147\x2d\160\x65\x72\55\x70\141\143\x6b\x61\x67\145\55\160\162\157\x2f\167\143\x2d\146\x72\x65\x65\x2d\163\x68\x69\160\160\151\156\x67\55\160\x65\162\x2d\160\141\143\153\141\147\x65\55\x70\x72\x6f\56\160\x68\x70")) {
            $YHtmW += ["\x66\x72\145\x65\137\163\150\x69\x70\160\x69\x6e\x67\137\x70\145\x72\x5f\160\x61\143\153\x61\x67\145\137\154\151\156\153" => ["\x74\171\160\x65" => "\164\x69\164\154\x65", "\144\145\163\x63\162\151\x70\x74\x69\x6f\156" => sprintf("\74\144\x69\x76\x20\x63\154\141\x73\x73\75\42\157\x6e\x65\164\x65\x61\155\x73\x6f\146\164\x77\x61\x72\x65\40\156\157\164\151\143\145\40\x6e\157\164\151\143\145\x2d\x69\156\146\x6f\x20\x69\x6e\154\x69\156\x65\x22\76\74\x70\76\74\163\164\162\157\156\147\76\45\x73\74\57\163\164\x72\157\x6e\147\76\74\142\162\x2f\x3e\x3c\x73\x74\162\x6f\x6e\147\x3e\74\x61\x20\150\162\145\x66\75\x22\x25\163\42\x20\164\141\162\x67\x65\x74\75\x22\x5f\x62\x6c\x61\x6e\153\42\76\x25\163\x3c\x2f\x61\76\74\57\163\164\x72\157\x6e\147\x3e\x20\x25\x73\x3c\57\160\x3e\74\x2f\x64\151\166\x3e", __("\x4e\x65\x65\x64\40\x61\40\102\x65\164\164\x65\162\x20\106\x72\145\145\40\x53\x68\x69\160\160\x69\x6e\x67\x20\x53\157\154\x75\164\151\157\x6e\x3f", $this->id), "\x68\164\164\160\163\72\57\57\61\164\x65\x61\x6d\x73\x6f\146\164\167\141\x72\145\x2e\143\x6f\155\x2f\x70\x72\157\144\x75\143\x74\x2f\167\x6f\x6f\143\157\x6d\x6d\145\162\143\x65\x2d\146\x72\x65\x65\x2d\163\x68\x69\x70\160\x69\156\147\55\x70\145\x72\55\160\141\143\x6b\141\x67\145\x2d\x70\x72\157\57", __("\x46\x72\x65\x65\40\x53\150\x69\160\x70\151\156\147\40\x50\x65\x72\x20\x50\x61\x63\153\141\x67\x65\x20\120\x52\117", $this->id), __("\x70\154\165\147\151\156\x20\x77\151\154\154\40\141\x6c\154\157\x77\x20\x79\157\x75\x20\164\157\40\144\145\146\x69\x6e\145\x20\x61\x64\166\x61\156\x63\x65\144\40\x46\x72\145\x65\x20\x53\150\151\160\x70\x69\156\x67\x20\x73\143\x65\x6e\141\x72\x69\x6f\x73\56", $this->id))]];
        }
        if (false === is_plugin_active("\167\x63\x2d\x66\x6c\145\x78\151\142\154\x65\55\x73\x68\x69\160\160\151\156\147\55\160\x65\x72\55\x70\x61\143\153\141\147\x65\x2d\160\162\x6f\57\167\x63\x2d\x66\x6c\x65\x78\x69\142\x6c\x65\x2d\163\150\x69\160\160\x69\x6e\x67\55\160\145\162\55\160\141\143\x6b\x61\147\x65\x2d\x70\x72\x6f\56\x70\150\160")) {
            $YHtmW += ["\x66\x6c\x65\170\x69\x62\154\145\x5f\x73\150\151\160\160\151\156\147\137\160\x65\x72\137\x70\x61\x63\153\x61\147\x65\x5f\154\x69\x6e\153" => ["\x74\x79\160\x65" => "\164\151\164\154\145", "\x64\x65\x73\143\162\151\160\x74\151\x6f\156" => sprintf("\74\x64\x69\x76\40\143\154\x61\163\x73\x3d\x22\x6f\x6e\x65\164\145\x61\x6d\x73\157\146\x74\167\x61\x72\x65\40\156\157\x74\151\143\x65\40\x6e\157\164\x69\x63\x65\55\x69\156\x66\x6f\40\151\156\x6c\x69\x6e\145\x22\x3e\74\x70\76\x3c\163\164\162\157\x6e\147\x3e\x25\x73\x3c\x2f\163\x74\162\157\x6e\x67\76\x3c\142\x72\57\76\x3c\163\x74\x72\x6f\x6e\147\76\x3c\141\40\150\162\x65\x66\x3d\x22\45\163\42\x20\164\x61\x72\x67\145\164\75\x22\137\x62\154\x61\x6e\x6b\42\76\x25\163\74\57\141\x3e\74\x2f\163\164\162\x6f\x6e\x67\x3e\x20\x25\x73\74\x2f\x70\76\74\57\x64\x69\166\x3e", __("\116\x65\x65\x64\40\x46\x61\154\x6c\x62\x61\143\153\40\x53\x68\x69\x70\160\x69\156\x67\40\x4d\x65\x74\x68\x6f\x64\x73\40\123\x6f\154\165\x74\151\x6f\156\77", $this->id), "\x68\x74\x74\160\x73\x3a\x2f\x2f\x31\x74\x65\x61\155\x73\157\x66\164\x77\141\162\145\x2e\143\157\155\57\160\162\157\144\165\x63\164\x2f\167\157\157\x63\157\x6d\x6d\145\162\x63\145\x2d\146\x6c\x65\170\151\142\x6c\x65\55\163\150\151\160\x70\151\x6e\147\55\160\x65\162\55\160\141\x63\153\141\x67\x65\55\x70\162\157\x2f", __("\106\x6c\145\170\151\142\154\x65\40\123\150\x69\160\160\x69\156\x67\x20\120\145\162\40\x50\141\143\153\141\147\145\x20\x50\x52\x4f", $this->id), __("\160\x6c\x75\x67\151\x6e\40\x77\151\x6c\154\40\x61\x6c\154\x6f\x77\x20\171\x6f\165\x20\164\x6f\40\x64\x65\x66\151\x6e\145\40\x66\x61\x6c\154\142\141\x63\153\x20\163\x68\x69\160\160\151\x6e\147\x20\155\x65\x74\x68\157\144\x73\40\167\x68\145\x6e\x20\101\120\x49\40\x73\x65\x72\166\x69\143\145\40\151\x73\40\x64\x6f\x77\156\56", $this->id))]];
        }
        $YHtmW += $this->getWcfmPromoFields();
        $YHtmW += $this->getDokanPromoFields();
        return $YHtmW;
    }
    protected function getAutomationFields(): array
    {
        $YHtmW = ["\x61\x75\164\157\155\x61\x74\151\157\156\137\164\151\164\154\145" => ["\x74\x69\x74\x6c\145" => __("\101\165\164\157\155\141\x74\x69\x6f\x6e", $this->id), "\x74\x79\x70\145" => "\164\x69\164\154\145", "\x63\x6c\141\163\x73" => "\x74\x61\142", "\x64\x65\163\x63\162\151\160\164\151\157\156" => __("\103\x6f\x6e\x66\151\147\x75\x72\145\x20\141\x75\164\157\x6d\x61\164\151\x6f\x6e\x20\163\145\164\164\x69\156\x67\163\40\164\150\141\x74\x20\x77\x69\154\154\40\x62\145\40\165\x73\x65\x64\x20\164\x6f\x20\141\165\x74\x6f\x6d\x61\x74\145\x20\x74\x68\x65\40\x73\150\x69\x70\160\151\x6e\147\40\160\x72\x6f\x63\145\163\x73\56", $this->id)]];
        $YHtmW += $this->getGetShipmentFields();
        $YHtmW += $this->getEmailNotificationsFields();
        $YHtmW += $this->getCreateOrderFields();
        $YHtmW += $this->getGetShipmentsFields();
        return $YHtmW;
    }
    protected function getMultiVendorFields(): array
    {
        $YHtmW = ["\x6d\165\154\x74\x69\x5f\x76\145\x6e\x64\x6f\x72\137\x74\x69\164\154\145" => ["\164\x69\164\154\x65" => __("\x4d\165\x6c\164\x69\x20\x56\145\x6e\x64\157\162", $this->id), "\x74\x79\160\145" => "\164\151\x74\154\x65", "\143\154\x61\x73\163" => "\164\141\142", "\144\x65\163\143\162\151\x70\x74\151\x6f\156" => __("\x43\157\x6e\x66\151\x67\165\162\x65\40\155\165\x6c\x74\151\x20\x76\145\156\144\157\x72\x20\x73\x65\164\164\x69\156\147\x73\40\x74\x68\141\164\40\x77\151\x6c\154\40\x62\x65\40\165\163\x65\144\x20\x74\157\x20\x69\156\x74\145\147\x72\x61\164\x65\40\167\x69\164\150\40\163\x75\x70\160\x6f\x72\164\x65\x64\40\x6d\165\x6c\x74\x69\x76\145\x6e\x64\157\162\40\x6d\141\162\153\145\x74\x70\x6c\x61\143\145\40\x70\154\x75\x67\151\x6e\x73\56", $this->id)], "\x75\163\145\x56\145\156\x64\x6f\162\123\x65\164\x74\x69\156\147\163" => ["\x74\x69\164\154\145" => __("\125\163\x65\x20\x56\x65\x6e\144\x6f\162\x20\123\x65\164\164\151\x6e\x67\163", $this->id), "\x74\x79\160\x65" => "\143\x68\x65\143\x6b\x62\x6f\170", "\x6c\141\x62\145\x6c" => __("\125\163\145\40\x76\145\156\144\157\x72\40\x73\145\x74\x74\151\x6e\x67\163\40\167\150\x65\x6e\40\x70\162\151\156\x74\x69\156\147\40\x73\x68\151\x70\160\x69\x6e\147\40\x6c\x61\x62\145\154\x73\x20\157\x72\40\x65\170\x70\157\x72\x74\x69\x6e\147\x20\x6f\162\x64\145\x72\163\x20\141\163\x20\x61\156\40\141\144\x6d\x69\x6e\56", $this->id)]];
        if (apply_filters($this->id . "\137\150\141\x73\125\x73\145\123\x65\154\x6c\x65\x72\101\144\x64\162\x65\x73\163\106\145\141\x74\x75\x72\145", false)) {
            $YHtmW += ["\165\x73\x65\123\145\x6c\x6c\145\x72\101\144\x64\x72\x65\x73\x73" => ["\x74\x69\x74\x6c\145" => __("\x55\163\145\x20\126\145\x6e\144\157\x72\x20\x41\x64\144\x72\145\x73\163", $this->id) . $this->proFeatureSuffix, "\164\x79\x70\x65" => "\143\150\x65\x63\153\x62\x6f\170", "\x6c\x61\142\145\154" => __("\x55\x73\145\40\x56\x65\x6e\144\157\162\x27\x73\x20\141\144\144\162\x65\163\163\40\x61\163\40\x61\40\x46\122\x4f\115\40\x61\144\144\x72\x65\x73\x73\x20\146\x6f\x72\40\163\x68\x69\x70\160\151\x6e\x67\x20\162\x61\x74\x65\40\x71\x75\x6f\x74\151\156\147", $this->id) . $this->proFeatureSuffix, "\143\x75\163\164\x6f\155\137\x61\164\164\162\151\x62\x75\x74\145\x73" => ["\x6f\156\143\x68\141\156\x67\145" => sprintf("\151\146\x20\50\x74\150\x69\163\x2e\143\x68\x65\143\153\145\144\40\x26\46\40\41\x63\157\156\x66\x69\x72\x6d\50\x27\45\163\134\156\134\156\45\x73\x5c\x6e\x5c\x6e\45\x73\x5c\x6e\134\156\45\163\x27\x29\x29\40\x7b\x20\x74\150\151\163\56\143\x68\x65\143\153\x65\144\x20\x3d\x20\x66\141\154\163\145\73\40\x7d", __("\127\101\122\116\111\x4e\107\x21\41\41", $this->id), __("\111\x74\x20\167\x69\x6c\x6c\x20\x6f\156\154\171\x20\x77\157\162\153\40\151\146\x20\x79\x6f\x75\x20\x68\141\166\x65\40\x6f\156\145\40\157\146\x20\163\165\x70\160\x6f\162\x74\x65\144\x20\155\x75\x6c\164\x69\166\145\x6e\144\157\162\40\x6d\x61\162\x6b\145\164\x70\154\141\x63\145\x20\x70\154\x75\147\x69\156\x73\40\145\156\x61\x62\154\145\144\56", $this->id), __("\126\145\156\144\157\162\163\40\163\150\x6f\x75\154\144\x20\150\141\x76\145\40\141\40\x76\141\x6c\151\144\x20\x61\144\144\x72\145\163\163\x20\x63\x6f\156\x66\151\x67\x75\x72\x65\x64\40\x62\145\146\x6f\162\x65\40\163\x68\x69\160\160\x69\x6e\147\40\x72\141\x74\x65\x73\40\143\x61\156\40\142\145\x20\x64\151\163\x70\154\x61\x79\x65\144\56", $this->id), __("\104\157\x20\x79\x6f\x75\40\163\x74\151\x6c\x6c\x20\167\x61\156\x74\x20\x74\157\x20\x65\156\x61\142\154\x65\40\151\x74\x3f", $this->id))] + $this->proFeatureAttributes]];
            if (false === is_plugin_active("\x77\143\x2d\163\x68\151\160\x70\151\x6e\x67\x2d\x70\x61\x63\153\x61\147\x65\163\57\x77\x63\55\x73\150\151\160\160\x69\156\147\55\x70\141\143\153\x61\147\x65\x73\56\160\150\x70")) {
                $YHtmW += ["\167\x63\55\x73\150\151\160\x70\151\x6e\147\55\x70\x61\x63\153\x61\147\145\163\137\154\x69\156\x6b" => ["\x74\x79\160\145" => "\x74\151\x74\154\145", "\x64\x65\163\x63\162\x69\160\x74\151\157\x6e" => sprintf("\74\x64\151\x76\40\x63\154\x61\163\163\x3d\42\157\x6e\x65\164\x65\141\x6d\163\157\146\x74\x77\x61\162\145\x20\156\157\164\151\143\145\40\x6e\x6f\x74\x69\x63\x65\x2d\151\x6e\x66\157\40\151\156\x6c\x69\x6e\x65\42\x3e\x3c\x70\x3e\x3c\163\164\x72\157\x6e\147\76\45\x73\x3c\57\x73\x74\x72\157\156\147\76\x3c\142\162\57\x3e\x3c\x73\164\x72\157\x6e\x67\x3e\74\x61\x20\x68\162\x65\146\x3d\x22\x25\x73\x22\x20\164\141\162\147\145\x74\x3d\42\x5f\x62\x6c\x61\x6e\153\42\x3e\x25\163\74\x2f\x61\76\74\x2f\x73\x74\x72\157\156\147\76\x20\45\x73\x3c\57\x70\x3e\x3c\x2f\x64\151\166\x3e", __("\104\157\x20\171\157\x75\x20\x77\x61\156\x74\40\164\x6f\40\x63\150\141\x72\x67\145\x20\163\x65\160\141\162\x61\164\145\40\163\x68\x69\160\160\151\156\147\x20\x66\157\x72\40\x65\141\143\x68\x20\x76\145\x6e\144\x6f\x72\77", $this->id), "\x68\164\164\160\163\72\57\x2f\x31\x74\x65\x61\155\163\x6f\x66\x74\167\141\162\x65\56\x63\157\155\57\x70\162\157\144\165\143\164\x2f\167\157\157\x63\157\155\x6d\145\162\143\145\x2d\163\150\x69\x70\160\151\156\147\x2d\x70\x61\x63\x6b\x61\x67\145\163\x2f", __("\123\150\x69\160\160\151\156\x67\x20\x50\x61\143\153\141\147\x65\x73", $this->id), __("\160\154\x75\147\151\156\40\x77\151\x6c\154\40\141\x72\162\141\x6e\x67\145\x20\x70\x72\x6f\144\x75\x63\164\x73\x2c\x20\x62\x61\x73\145\144\x20\x6f\x6e\40\x47\162\157\x75\x70\x20\102\171\40\143\157\x6e\144\151\x74\151\x6f\156\40\x69\156\164\157\40\x70\141\x63\x6b\x61\x67\145\163\40\141\156\144\x20\145\141\143\x68\x20\x70\x61\143\153\141\147\x65\40\x77\151\154\154\x20\x68\141\166\x65\x20\151\x74\163\40\x6f\167\x6e\40\x73\150\x69\x70\160\x69\x6e\x67\x20\155\145\164\150\x6f\144\40\163\x65\x6c\145\x63\x74\151\x6f\x6e\40\x69\x6e\40\164\150\x65\x20\x63\141\x72\164\x20\x61\156\144\x20\143\x68\145\x63\x6b\157\x75\164\x20\160\x61\x67\x65\x73\56", $this->id))]];
            }
        }
        return $YHtmW;
    }
    protected function getShipmentDefaultsFields(): array
    {
        $YHtmW = ["\x73\150\x69\x70\x6d\x65\156\164\x5f\144\x65\x66\x61\165\x6c\x74\163\137\x74\151\164\x6c\x65" => ["\164\x69\164\154\145" => __("\x53\150\151\x70\x6d\145\156\164\40\104\x65\146\141\165\154\x74\163", $this->id), "\x74\x79\160\145" => "\164\x69\164\x6c\145", "\143\154\141\x73\x73" => "\x74\141\142", "\144\x65\x73\143\162\x69\x70\164\151\157\156" => __("\x43\157\x6e\x66\x69\x67\165\x72\145\x20\144\x65\146\x61\x75\x6c\x74\x20\163\x65\x74\x74\x69\156\x67\x73\40\164\150\141\x74\x20\167\x69\x6c\154\40\142\145\x20\x75\x73\145\144\x20\164\157\x20\x72\145\x71\x75\x65\x73\164\40\x61\x20\x73\x68\x69\x70\x70\151\x6e\x67\40\x71\165\157\164\145\54\x20\x63\x72\145\x61\164\x65\x20\x73\x68\151\x70\155\x65\x6e\164\x20\141\156\144\x20\160\165\162\x63\150\x61\163\145\x20\160\x6f\163\x74\141\147\145\56", $this->id)], "\144\145\146\141\165\154\x74\123\150\x69\x70\155\x65\x6e\x74\104\x65\163\x63\x72\x69\160\164\x69\x6f\156" => ["\x74\151\x74\154\145" => __("\x53\x68\x69\160\x6d\x65\x6e\164\x20\104\x65\x73\x63\x72\x69\160\x74\151\x6f\x6e", $this->id), "\x74\x79\160\x65" => "\x74\145\170\x74", "\144\x65\163\143\x72\x69\x70\x74\151\157\156" => __("\124\x68\x69\163\40\x64\145\x73\143\162\151\160\x74\x69\x6f\156\x20\x77\x69\x6c\154\40\x62\x65\x20\165\163\145\x64\x20\142\171\40\x64\145\x66\x61\x75\x6c\x74\54\x20\142\x75\x74\40\143\x61\156\40\x62\x65\x20\157\x76\145\x72\167\x72\151\164\x74\145\x6e\x2e", $this->id)]];
        $YHtmW += $this->getDefaultContentsFields();
        if (apply_filters($this->id . "\137\x68\x61\163\124\141\x72\x69\x66\146\x46\145\x61\164\x75\x72\145", false)) {
            $YHtmW += ["\144\x65\x66\141\x75\154\164\x54\x61\162\151\x66\x66" => ["\x74\x69\x74\x6c\145" => __("\x44\145\146\141\x75\x6c\164\x20\124\x61\x72\x69\146\x66\40\43", $this->id), "\x74\x79\x70\x65" => "\164\x65\x78\x74", "\144\145\x73\x63\x72\151\x70\x74\151\x6f\x6e" => sprintf(__("\45\x73\x54\141\x72\x69\146\146\x20\x6e\x75\x6d\x62\x65\162\45\x73\x20\x69\x73\x20\162\145\161\165\151\x72\145\144\40\x62\171\x20\163\157\x6d\x65\40\143\141\162\x72\151\x65\162\x73\40\146\157\x72\x20\151\156\x74\145\x72\156\141\164\x69\x6f\156\x61\154\40\x73\150\151\160\155\145\156\x74\x73\x2e\40\111\164\x20\167\x69\154\x6c\40\x62\145\x20\x75\163\145\x64\40\164\x6f\40\147\x65\x74\40\163\x68\151\160\x70\151\156\x67\x20\x71\165\157\164\145\163\40\165\x6e\x6c\145\x73\x73\40\157\x76\x65\162\x77\x72\151\164\x74\145\156\40\x64\x75\x72\151\156\x67\40\x73\x68\151\x70\x70\151\156\x67\x20\154\x61\x62\x65\154\40\x63\x72\145\141\164\151\157\156\x2e", $this->id), "\x3c\141\40\x68\x72\145\146\x3d\42\x68\164\164\x70\163\72\x2f\57\150\x74\163\56\x75\163\151\x74\x63\56\x67\x6f\x76\x2f\42\x20\x74\x61\x72\147\x65\x74\75\x22\x5f\142\154\x61\x6e\153\42\76", "\x3c\x2f\141\76")]];
        }
        $IAeKJ = apply_filters($this->id . "\x5f\x67\x65\164\123\x65\162\x76\x69\143\145\x73", []);
        $YHtmW += ["\x64\x65\146\x61\165\154\164\103\157\x75\x6e\164\162\x79\x4f\x66\117\162\151\147\151\156" => ["\164\151\164\x6c\x65" => __("\x43\x6f\x75\156\164\162\171\x20\157\x66\x20\117\162\151\x67\151\156", $this->id), "\x74\x79\160\145" => "\x73\145\x6c\145\x63\x74", "\157\x70\x74\151\157\156\x73" => $this->countriesProxy->get_countries()], "\x64\145\146\141\165\154\164\104\157\x6d\145\163\164\151\143\x53\x65\162\x76\151\x63\145" => ["\164\x69\164\x6c\x65" => __("\x44\x6f\155\145\x73\x74\151\143\x20\x53\x65\x72\166\151\143\x65", $this->id) . $this->proFeatureSuffix, "\144\x65\x73\143\x72\151\160\x74\x69\157\x6e" => __("\102\171\40\144\x65\146\x61\165\x6c\x74\40\x75\163\145\x20\x74\x68\x69\163\40\163\x65\x72\x76\151\x63\145\40\146\x6f\162\x20\x44\157\x6d\x65\163\164\151\143\40\123\x68\x69\x70\155\x65\156\164\x73", $this->id), "\x74\x79\x70\145" => "\x73\145\154\x65\x63\x74", "\x6f\160\164\x69\157\x6e\163" => array_replace_recursive(['' => __("\116\x6f\40\x64\145\146\x61\x75\x6c\164\40\163\x65\x72\166\151\143\145", $this->id)], $IAeKJ), "\x63\x75\x73\x74\x6f\x6d\x5f\x61\164\x74\162\151\x62\165\x74\145\163" => $this->proFeatureAttributes], "\144\145\146\141\165\154\x74\x49\156\164\145\162\156\x61\164\x69\x6f\x6e\123\x65\162\166\x69\143\145" => ["\164\x69\x74\154\x65" => __("\x49\156\164\x65\162\156\x61\x74\151\x6f\156\141\x6c\40\123\x65\162\166\151\x63\x65", $this->id) . $this->proFeatureSuffix, "\x64\145\163\143\x72\x69\x70\x74\x69\157\x6e" => __("\x42\171\40\x64\145\x66\x61\x75\154\x74\x20\x75\163\145\x20\164\x68\151\163\40\x73\x65\162\x76\151\x63\145\x20\146\x6f\162\40\x49\x6e\164\x65\162\156\x61\x74\151\x6f\x6e\x61\x6c\x20\x53\x68\151\x70\155\145\156\164\163", $this->id), "\164\x79\160\145" => "\x73\145\x6c\x65\143\x74", "\x6f\x70\x74\151\157\x6e\x73" => array_replace_recursive(['' => __("\x4e\157\x20\x64\x65\x66\141\165\x6c\164\40\163\145\x72\166\x69\143\145", $this->id)], $IAeKJ), "\x63\x75\x73\164\157\x6d\x5f\141\x74\164\162\151\x62\165\x74\x65\163" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "\x5f\150\141\x73\x41\x64\144\162\145\x73\x73\126\x61\x6c\x69\144\141\x74\x69\157\x6e\x46\x65\x61\x74\x75\x72\x65", false)) {
            $YHtmW += ["\x76\x61\154\151\x64\x61\x74\145\x41\144\x64\x72\x65\x73\163" => ["\164\x69\164\x6c\x65" => __("\126\141\x6c\x69\x64\x61\164\145\40\x41\x64\x64\162\x65\163\163", $this->id), "\x6c\141\x62\145\154" => __("\122\x65\161\165\x69\162\145\x20\x73\150\151\x70\x70\151\156\147\40\x61\x64\144\162\145\x73\163\x20\x74\157\40\x62\145\40\166\x61\x6c\x69\144\x61\x74\145\x64\x20\142\x65\x66\157\162\x65\40\141\143\143\x65\x70\x74\x69\x6e\147\x20\x61\156\x20\157\162\x64\145\162", $this->id), "\164\x79\x70\x65" => "\x63\150\145\x63\x6b\x62\x6f\170", "\143\165\x73\x74\x6f\x6d\137\x61\164\x74\162\151\x62\x75\164\x65\163" => ["\x6f\156\x63\x68\141\x6e\147\145" => sprintf("\x69\x66\x20\x28\x74\x68\151\x73\x2e\x63\150\145\x63\153\x65\144\x20\46\x26\40\41\143\157\156\146\151\x72\x6d\50\x27\x25\163\134\x6e\x5c\156\x25\x73\x5c\x6e\x5c\156\x25\x73\134\x6e\x5c\156\45\x73\47\51\x29\40\x7b\x20\x74\150\x69\163\x2e\x63\x68\145\143\153\145\x64\40\75\x20\x66\x61\154\x73\x65\73\x20\x7d", __("\x57\101\x52\116\x49\116\x47\41\41\41", $this->id), __("\x59\x6f\x75\40\155\x69\x67\150\164\40\x62\145\40\x63\150\x61\x72\147\x65\144\40\x62\x79\40\141\40\163\x68\151\x70\160\x69\156\x67\x20\x70\162\157\166\151\144\145\x72\x20\x66\x6f\162\40\145\x61\x63\150\40\141\144\x64\x72\145\163\x73\x20\166\141\154\x69\x64\x61\164\151\x6f\156\x2e", $this->id), __("\111\x6e\x20\143\141\163\x65\x73\40\167\150\145\156\40\171\157\x75\x20\x64\x6f\x20\156\x6f\164\x20\150\x61\166\x65\x20\142\x69\x6c\x6c\x69\x6e\x67\40\160\162\157\x70\145\162\154\171\x20\x73\145\164\165\x70\x2c\x20\x6c\151\x76\145\x20\x73\x68\x69\x70\160\x69\156\147\x20\162\141\x74\x65\163\x20\155\x69\147\150\164\x20\x6e\x6f\164\40\142\x65\40\162\145\164\x75\162\156\x65\x64\56", $this->id), __("\104\x6f\40\x79\157\x75\40\163\x74\151\x6c\x6c\40\167\x61\156\164\40\164\x6f\x20\145\x6e\141\x62\x6c\x65\x20\x69\164\77", $this->id))]]];
        }
        if (false === empty($this->proFeatureAttributes)) {
            $YHtmW += ["\143\157\155\142\x69\156\145\x42\157\x78\x65\163" => ["\164\151\x74\x6c\145" => __("\103\157\x6d\x62\x69\x6e\145\40\101\154\154\x20\120\x72\x6f\x64\165\143\164\x73", $this->id), "\x6c\141\x62\145\x6c" => __("\103\x6f\155\142\151\x6e\x65\40\x61\154\x6c\40\164\x68\x65\x20\x70\x72\157\x64\x75\143\x74\163\x20\x61\156\x64\40\163\x68\x69\160\40\x74\157\x67\145\164\x68\145\x72\x2e\40\x50\162\157\x64\x75\x63\x74\x20\144\151\x6d\145\156\x73\151\157\156\163\40\141\156\144\x20\x77\x65\151\147\x68\x74\x20\167\151\x6c\154\x20\142\145\x20\163\165\155\155\145\x64\40\141\x6e\144\40\x73\x68\151\x70\x70\x69\x6e\x67\x20\x72\x61\164\x65\40\x77\151\154\x6c\40\142\x65\40\x71\x75\157\164\x65\144\x20\x6f\156\154\171\40\x6f\156\143\x65\x2e", $this->id), "\164\171\x70\145" => "\x63\x68\x65\x63\x6b\x62\157\x78", "\143\x75\163\x74\157\x6d\x5f\141\164\164\162\151\142\165\x74\145\x73" => ["\157\156\143\150\141\156\x67\145" => "\151\x66\x20\50\146\141\154\x73\x65\40\75\75\75\x20\x74\x68\x69\163\x2e\143\x68\145\x63\153\x65\x64\x29\40\x7b\40\x6a\121\x75\x65\162\171\x28\x22\x5b\x69\144\x2a\x3d\165\163\x65\103\x75\x62\x65\x44\x69\155\x65\156\x73\151\157\156\163\135\42\x29\56\160\x72\x6f\160\x28\42\x63\x68\x65\143\x6b\145\x64\x22\54\40\146\x61\154\163\x65\51\x3b\x20\175"]], "\x75\163\145\x43\x75\142\x65\104\x69\155\145\156\163\151\x6f\x6e\163" => ["\164\x69\164\x6c\x65" => __("\x55\x73\145\40\x43\165\142\x65\x20\x44\x69\x6d\x65\156\163\x69\x6f\x6e\x73", $this->id), "\x6c\x61\142\145\x6c" => __("\x50\x61\x72\143\x65\x6c\40\x64\151\155\145\x6e\163\151\x6f\x6e\163\40\x77\151\154\154\x20\x62\x65\x20\143\x6f\x6e\x76\x65\162\x74\x65\144\x20\151\x6e\x74\157\40\143\165\142\145\40\167\151\x74\150\40\x65\x71\x75\x61\154\x6c\171\40\154\x6f\x6e\147\40\x73\151\144\145\x73\56\x20\111\x74\40\x63\x61\156\x20\x6f\156\154\x79\x20\142\145\40\x75\163\145\144\40\167\x68\x65\156\40\103\157\155\x62\151\x6e\x65\40\x41\154\154\40\x50\162\x6f\x64\165\143\164\163\40\151\163\x20\145\x6e\x61\142\x6c\145\x64\56", $this->id), "\164\x79\160\145" => "\143\x68\145\143\x6b\x62\157\x78", "\143\165\x73\164\157\x6d\137\141\164\164\x72\151\142\165\x74\145\163" => ["\157\x6e\143\x68\x61\156\147\145" => sprintf("\x69\146\40\x28\164\150\151\x73\x2e\x63\x68\145\x63\153\145\144\40\46\x26\x20\41\152\121\x75\x65\162\x79\50\x22\x5b\151\144\x2a\x3d\143\157\x6d\x62\151\x6e\x65\102\157\170\x65\x73\x5d\42\x29\56\x70\x72\x6f\160\50\x22\143\x68\x65\143\153\145\x64\42\51\x29\x20\173\x20\x74\150\151\x73\x2e\x63\x68\145\143\153\x65\x64\40\x3d\40\x66\141\154\163\145\x3b\x20\141\154\x65\162\x74\50\x22\45\163\x5c\x6e\x5c\x6e\x25\x73\42\51\73\40\175", __("\x57\101\122\116\111\116\107\x21\x21\x21", $this->id), __("\x43\x6f\x6d\142\151\156\145\40\x41\154\154\40\120\x72\x6f\x64\165\143\164\x73\40\155\x75\x73\164\x20\142\x65\40\145\x6e\141\x62\x6c\x65\x64\x20\x62\145\x66\157\162\145\x20\125\163\x65\x20\103\x75\x62\145\x20\104\151\x6d\x65\156\163\151\157\x6e\x73\40\x63\x61\x6e\x20\142\x65\40\x75\x73\x65\x64\x2e", $this->id))], "\x63\154\x61\x73\x73" => "\141\x64\x76\x61\x6e\143\x65\144\55\163\145\164\164\151\156\147"]];
        }
        if (apply_filters($this->id . "\137\150\x61\x73\111\x6e\163\165\162\141\x6e\143\145\106\x65\141\x74\165\x72\145", false)) {
            $YHtmW += ["\x69\156\163\165\162\141\x6e\x63\145" => ["\164\x69\x74\154\x65" => __("\111\x6e\143\x6c\165\144\145\40\111\x6e\163\165\x72\141\156\143\x65", $this->id), "\x6c\141\x62\145\154" => __("\x41\144\x64\x20\x69\156\163\x75\162\141\x6e\x63\x65\x20\x66\145\145\40\x74\157\40\164\150\145\x20\163\150\151\x70\160\151\x6e\147\x20\x72\x61\x74\145", $this->id), "\164\x79\x70\x65" => "\143\150\145\143\153\142\x6f\170"]];
        }
        if (apply_filters($this->id . "\137\150\x61\163\123\x61\164\165\x72\x64\x61\171\x44\x65\x6c\x69\x76\145\162\171\x46\x65\x61\164\x75\162\145", false)) {
            $YHtmW += ["\x73\x61\164\165\x72\x64\x61\171\x5f\144\x65\x6c\x69\166\x65\x72\171" => ["\164\151\x74\x6c\x65" => __("\x53\141\x74\165\x72\x64\141\171\x20\104\145\154\x69\x76\x65\162\x79", $this->id), "\x6c\x61\x62\x65\154" => __("\x44\151\163\160\154\x61\x79\x20\157\156\154\x79\x20\163\x68\151\160\x70\x69\156\147\40\x72\141\x74\145\x73\x20\164\150\x61\164\x20\x61\x72\145\40\x65\x6c\151\x67\x69\x62\154\145\x20\146\157\162\x20\x53\141\164\165\x72\144\x61\x79\40\x64\x65\154\x69\166\x65\162\171", $this->id) . $this->proFeatureSuffix, "\x74\171\160\145" => "\143\x68\x65\x63\x6b\142\157\170", "\143\x75\x73\x74\x6f\x6d\x5f\141\164\x74\x72\151\142\x75\164\145\163" => $this->proFeatureAttributes]];
        }
        if (apply_filters($this->id . "\137\x68\x61\163\x48\157\154\x64\x46\x6f\x72\x50\x69\x63\153\165\160\x46\145\x61\164\165\162\145", false)) {
            $YHtmW += ["\150\x6f\154\x64\x5f\x66\x6f\x72\x5f\x70\151\143\153\x75\x70" => ["\164\151\x74\154\x65" => __("\x48\157\x6c\144\x20\106\x6f\162\40\x50\151\143\x6b\165\160", $this->id), "\154\141\142\x65\x6c" => __("\120\x61\143\153\x61\147\145\x20\167\151\x6c\x6c\40\x77\x61\151\x74\x20\141\x74\40\143\x61\162\x72\151\145\x72\40\x66\141\x63\151\x6c\151\x74\x79\40\146\157\162\40\x70\x69\143\x6b\x75\160", $this->id) . $this->proFeatureSuffix, "\x74\171\x70\145" => "\143\150\x65\143\153\142\x6f\170", "\x63\x75\163\164\x6f\155\137\141\x74\x74\x72\x69\142\x75\164\145\163" => $this->proFeatureAttributes]];
        }
        $YHtmW += $this->getCodFields();
        $YHtmW += $this->getShipmentExtraFields();
        $hUURn = $this->settings["\144\151\155\145\156\163\x69\157\x6e\137\165\156\x69\164"] ?? '';
        $mAEg_ = $this->settings["\x77\x65\151\x67\x68\x74\137\x75\156\x69\x74"] ?? '';
        $YHtmW += ["\162\x65\161\165\x69\x72\x65\103\157\155\160\141\x6e\x79\116\x61\x6d\x65" => ["\x74\151\x74\x6c\x65" => __("\122\145\161\x75\151\162\x65\x20\x43\157\x6d\160\x61\156\x79\x20\x4e\141\x6d\145", $this->id), "\154\x61\142\145\x6c" => __("\120\x6c\165\147\151\x6e\40\x77\151\154\x6c\x20\156\x6f\x74\40\141\x6c\x6c\x6f\167\40\x74\157\40\x63\150\x65\x63\x6b\157\x75\164\x20\165\156\x6c\145\163\163\40\x63\x6f\155\160\x61\x6e\x79\40\156\x61\155\145\40\x69\x73\40\x66\x69\x6c\154\145\x64", $this->id), "\x64\x65\x73\143\x72\x69\160\164\151\157\156" => __("\x49\164\40\x63\x61\156\40\142\145\40\165\163\145\x66\165\x6c\x20\167\x68\145\x6e\x20\171\x6f\x75\162\40\x63\x61\162\162\x69\145\x72\x20\162\x65\x71\165\151\x72\x65\x73\40\164\150\x61\164\x20\x72\x65\x63\151\x70\x69\145\156\164\40\167\x69\x6c\154\x20\150\141\x76\145\40\x61\x20\143\x6f\x6d\160\x61\x6e\171\x20\156\x61\155\145\40\142\145\x66\157\162\x65\40\151\x74\x20\x77\151\154\x6c\40\x72\x65\164\165\x72\156\x20\141\x6e\x79\40\163\150\151\160\x70\x69\x6e\147\x20\162\x61\164\145\x73\x2e", $this->id), "\164\171\160\145" => "\x63\x68\145\x63\153\142\x6f\170", "\x63\x6c\141\163\163" => "\x61\144\x76\x61\x6e\143\145\x64\x2d\163\x65\x74\164\151\x6e\x67"], "\144\145\146\141\165\154\x74\x4c\145\x6e\147\x74\x68" => ["\x74\x69\x74\154\145" => sprintf(__("\x44\145\x66\141\x75\x6c\164\x20\x4c\x65\156\x67\x74\150\x20\50\x25\x73\51", $this->id), $hUURn), "\164\x79\160\145" => "\156\165\x6d\x62\145\x72", "\x63\x6c\141\x73\x73" => "\141\144\x76\x61\x6e\143\x65\144\x2d\x73\x65\164\164\151\156\x67", "\x63\165\163\164\157\155\x5f\141\164\x74\x72\x69\142\165\164\145\163" => ["\x73\164\x65\160" => 0.01, "\155\151\x6e" => 0], "\x64\145\x73\x63\162\151\x70\164\x69\x6f\156" => __("\x54\x68\x69\x73\40\x76\141\154\x75\x65\x20\167\x69\x6c\154\x20\x62\x65\x20\x75\x73\145\x64\40\x77\x68\x65\x6e\40\160\x61\143\x6b\x61\147\145\40\x64\x6f\145\163\40\156\157\164\40\x68\x61\166\145\x20\x6c\145\156\147\x74\x68\40\151\x6e\x66\157\162\x6d\141\x74\151\157\156", $this->id), "\x73\165\x66\x66\151\x78" => $hUURn], "\x64\145\x66\141\x75\154\164\x57\151\144\x74\150" => ["\x74\151\x74\154\x65" => sprintf(__("\x44\145\x66\141\x75\x6c\164\40\x57\x69\x64\164\x68\x20\50\45\163\x29", $this->id), $hUURn), "\x74\x79\160\x65" => "\x6e\165\x6d\142\145\162", "\143\154\141\163\163" => "\x61\144\x76\141\x6e\143\145\x64\55\x73\x65\164\164\x69\156\x67", "\143\165\163\164\157\x6d\x5f\141\164\x74\162\151\142\165\164\145\163" => ["\163\x74\x65\160" => 0.01, "\x6d\x69\x6e" => 0], "\x64\145\163\143\162\x69\160\x74\x69\157\156" => __("\124\150\151\x73\x20\166\x61\154\x75\145\40\x77\151\x6c\x6c\x20\142\145\x20\165\x73\x65\144\x20\167\x68\145\x6e\x20\x70\141\143\x6b\141\147\x65\40\x64\x6f\x65\x73\40\x6e\157\x74\x20\150\x61\166\x65\x20\x77\151\x64\164\x68\x20\x69\156\146\157\162\x6d\x61\x74\x69\157\156", $this->id), "\163\165\x66\146\x69\170" => $hUURn], "\x64\145\146\x61\165\154\164\x48\x65\151\x67\150\164" => ["\164\x69\x74\154\x65" => sprintf(__("\x44\145\x66\141\x75\154\x74\40\x48\145\151\x67\150\164\x20\50\x25\x73\51", $this->id), $hUURn), "\164\x79\x70\x65" => "\x6e\x75\155\142\x65\x72", "\x63\x6c\141\163\x73" => "\141\x64\x76\141\156\x63\145\x64\55\163\145\164\164\151\156\147", "\143\x75\163\x74\157\x6d\x5f\141\x74\x74\x72\x69\x62\x75\x74\145\x73" => ["\163\x74\x65\160" => 0.01, "\x6d\151\156" => 0], "\144\145\x73\x63\162\x69\160\x74\x69\x6f\156" => __("\x54\x68\151\163\40\166\x61\154\165\x65\40\x77\151\x6c\x6c\40\142\145\x20\x75\x73\145\144\40\x77\x68\145\156\x20\160\141\143\153\141\x67\x65\x20\144\x6f\x65\163\x20\x6e\157\164\x20\x68\x61\166\x65\40\x68\145\x69\x67\x68\164\x20\151\156\x66\157\162\155\141\x74\x69\x6f\156", $this->id), "\163\165\x66\x66\x69\x78" => $hUURn], "\144\x65\146\141\x75\x6c\x74\127\x65\x69\147\150\x74" => ["\164\151\x74\x6c\145" => sprintf(__("\104\145\146\x61\165\x6c\164\40\x57\x65\151\x67\x68\x74\x20\50\45\163\51", $this->id), $mAEg_), "\164\x79\160\145" => "\156\165\x6d\142\x65\162", "\x63\x6c\x61\x73\163" => "\141\144\x76\x61\x6e\143\x65\x64\x2d\163\x65\x74\164\151\156\147", "\143\x75\x73\x74\x6f\x6d\137\x61\x74\x74\162\151\142\x75\x74\145\x73" => ["\163\x74\145\x70" => 0.01, "\x6d\x69\x6e" => 0], "\x64\x65\163\x63\162\151\160\164\151\x6f\x6e" => __("\124\150\x69\163\40\166\141\x6c\165\x65\40\x77\x69\x6c\x6c\x20\x62\145\x20\165\163\x65\x64\x20\x77\150\x65\156\x20\x70\x61\143\153\141\147\145\40\144\x6f\x65\163\x20\x6e\157\x74\40\x68\141\x76\145\x20\x77\145\151\147\150\164\x20\151\156\146\x6f\x72\x6d\x61\164\x69\157\156", $this->id), "\x73\165\x66\x66\151\170" => $mAEg_]];
        return $YHtmW;
    }
    protected function getShipmentExtraFields(): array
    {
        $YHtmW = [];
        if (apply_filters($this->id . "\x5f\150\x61\x73\103\162\x65\141\x74\145\115\141\x6e\x69\x66\145\x73\x74\106\x65\141\x74\165\x72\145", false) && !is_plugin_active("\167\143\x2d\x73\150\x69\160\x70\x69\x6e\x67\x2d\155\x61\x6e\151\146\x65\x73\x74\x73\55\160\x72\x6f\x2f\167\143\55\x73\x68\x69\160\160\151\x6e\147\x2d\x6d\x61\x6e\151\x66\x65\x73\x74\x73\x2d\160\162\x6f\x2e\160\150\x70")) {
            $YHtmW += ["\x73\x68\151\160\160\151\x6e\x67\x5f\x6d\x61\x6e\151\x66\145\x73\164\x73\x5f\154\151\x6e\153" => ["\x74\171\160\145" => "\164\x69\x74\x6c\x65", "\144\x65\x73\x63\162\x69\160\164\151\157\x6e" => sprintf("\x3c\144\151\166\40\143\154\x61\x73\163\75\42\157\x6e\x65\x74\145\141\x6d\163\x6f\x66\x74\x77\141\x72\145\x20\156\157\164\x69\143\x65\40\156\157\164\x69\x63\145\x2d\x69\156\x66\x6f\x20\x69\x6e\154\x69\x6e\x65\x22\x3e\74\x70\x3e\74\163\164\x72\x6f\156\x67\76\x25\x73\x3c\x2f\x73\164\162\x6f\x6e\147\x3e\74\x62\x72\x2f\x3e\74\x73\x74\x72\157\156\x67\76\x3c\x61\40\x68\x72\x65\146\75\x22\45\163\42\x20\164\141\x72\x67\145\x74\x3d\42\137\x62\x6c\141\156\x6b\x22\76\x25\x73\x3c\x2f\x61\76\74\57\163\x74\x72\157\156\x67\x3e\x20\45\x73\x3c\x2f\x70\x3e\x3c\57\x64\x69\x76\x3e", __("\116\x65\x65\144\x20\115\x61\x6e\x69\146\x65\163\x74\163\x3f", $this->id), "\x68\x74\164\160\163\x3a\x2f\57\61\164\145\141\155\163\x6f\x66\x74\x77\141\x72\145\56\x63\157\x6d\x2f\x70\162\157\144\165\143\164\57\x77\x6f\x6f\143\x6f\155\x6d\x65\162\143\145\55\163\x68\x69\160\x70\151\156\147\x2d\x6d\141\156\x69\146\145\x73\164\x73\55\x70\162\x6f\57", __("\x53\x68\x69\160\x70\151\x6e\x67\40\x4d\x61\x6e\151\x66\145\163\x74\x73\40\120\x52\x4f", $this->id), __("\160\154\x75\x67\151\156\x20\x77\x69\154\154\x20\147\162\157\x75\x70\x20\x73\150\151\160\155\145\156\164\163\40\151\x6e\164\x6f\40\142\141\x74\143\x68\145\163\40\141\x6e\x64\x20\x6c\145\x74\40\x79\157\165\x20\160\x72\x69\x6e\x74\x20\x6d\x61\156\151\146\145\163\164\x73\40\x66\157\162\40\x74\x68\x65\155\x2e", $this->id))]];
        }
        $YHtmW += $this->getSignatureFields();
        $YHtmW += $this->getMediaMailFields();
        $YHtmW += $this->getAlcoholFields();
        $YHtmW += $this->getDryIceFields();
        return $YHtmW;
    }
    protected function getCodFields(): array
    {
        if (false === apply_filters($this->id . "\137\x68\x61\x73\x43\157\x64\106\145\x61\164\x75\162\x65", false)) {
            return [];
        }
        $YHtmW = ["\143\x6f\144" => ["\x74\x69\164\x6c\x65" => __("\x43\x61\x73\x68\x20\157\156\x20\104\145\154\151\166\145\x72\x79", $this->id) . $this->proFeatureSuffix, "\154\x61\142\x65\154" => __("\122\145\161\165\x65\163\164\40\x63\x6f\x6c\x6c\x65\143\164\151\x6f\156\40\157\146\40\x74\x68\x65\x20\x70\x61\171\x6d\x65\156\x74\40\x6f\x6e\40\144\x65\x6c\151\x76\x65\162\171", $this->id), "\x74\171\x70\145" => "\143\x68\145\x63\x6b\142\x6f\170", "\143\x75\x73\164\x6f\155\x5f\x61\x74\164\162\x69\142\x75\x74\145\163" => $this->proFeatureAttributes]];
        $D38hz = apply_filters($this->id . "\137\x67\x65\164\103\x6f\144\x4d\145\x74\x68\x6f\144\163", []);
        if (false === empty($D38hz)) {
            $YHtmW += ["\x63\x6f\144\137\x6d\145\x74\150\x6f\x64" => ["\x74\151\x74\x6c\x65" => __("\103\x4f\104\x20\x4d\x65\164\x68\157\144", $this->id) . $this->proFeatureSuffix, "\154\141\142\x65\154" => __("\x4d\145\164\150\x6f\x64\x20\165\163\x65\144\x20\x74\157\40\143\157\154\x6c\x65\x63\x74\40\164\150\x65\40\160\x61\x79\155\145\156\164", $this->id), "\164\171\x70\145" => "\x73\x65\154\145\143\164", "\157\x70\x74\x69\157\x6e\163" => $D38hz, "\143\x75\163\164\x6f\155\x5f\141\164\x74\162\x69\x62\x75\164\x65\163" => $this->proFeatureAttributes]];
        }
        return $YHtmW;
    }
    protected function getGeneralSettingFields(): array
    {
        $YHtmW = ["\x67\x65\156\145\x72\x61\154\137\x73\145\164\164\151\156\147\x73\x5f\x74\x69\x74\154\145" => ["\x74\151\x74\154\145" => __("\x47\145\x6e\x65\162\141\x6c\x20\123\145\x74\x74\x69\156\x67\x73", $this->id), "\x74\171\160\x65" => "\x74\x69\164\154\145"]];
        $YHtmW += $this->getSandboxFields();
        $YHtmW += ["\166\141\x6c\151\x64\141\x74\x65\120\x72\x6f\144\165\x63\x74\163" => ["\164\151\x74\x6c\x65" => __("\x56\x61\154\151\144\141\x74\145\40\120\162\x6f\x64\x75\x63\x74\163", $this->id), "\154\x61\x62\x65\x6c" => __("\126\141\x6c\151\x64\141\x74\145\x20\x50\x72\x6f\x64\x75\143\x74\163\x20\x57\x65\151\147\x68\x74\40\x61\x6e\144\40\104\151\x6d\145\156\x73\151\x6f\x6e\163", $this->id), "\x74\x79\160\x65" => "\143\150\145\x63\153\x62\x6f\x78", "\x64\145\x73\x63\162\x69\160\x74\x69\157\x6e" => sprintf("\x3c\163\160\141\156\x20\x73\164\171\x6c\145\x3d\x22\143\157\154\x6f\162\72\x20\162\145\144\x22\x3e\x25\163\74\x2f\163\x70\141\x6e\76", __("\x50\162\157\144\x75\143\164\x73\40\x6d\x75\x73\164\x20\x68\x61\x76\x65\40\167\145\151\147\x68\164\x20\x61\x6e\x64\40\x64\x69\x6d\145\x6e\163\151\157\x6e\163\40\163\145\164\x20\x66\x6f\162\x20\x6c\x69\166\145\x20\x73\x68\x69\x70\x70\151\156\x67\40\x72\x61\164\145\163\40\x74\157\x20\167\x6f\x72\153\x2e\40\105\156\x61\x62\x6c\x65\40\x74\x68\151\163\x20\157\160\x74\151\157\x6e\40\x61\x6e\x64\40\x70\x6c\165\147\x69\156\x20\167\x69\x6c\154\x20\144\x69\x73\160\154\x61\x79\x20\x49\x44\163\40\157\146\40\164\x68\x65\40\160\x72\157\x64\x75\143\x74\x73\x20\164\x68\x61\x74\x20\x64\157\40\156\x6f\164\x20\x6d\145\x65\x74\x20\164\150\x69\163\x20\162\145\161\165\x69\162\145\x6d\x65\x6e\164\56", $this->id)), "\x63\165\x73\x74\157\x6d\x5f\x61\164\164\x72\x69\142\x75\164\x65\163" => ["\x6f\156\x63\x68\141\156\147\145" => sprintf("\x69\x66\x20\50\164\150\x69\163\56\x63\x68\x65\143\x6b\x65\144\40\x26\x26\x20\x21\143\x6f\156\146\151\162\x6d\x28\47\x25\x73\134\x6e\134\x6e\x25\x73\x5c\156\134\156\x25\163\x5c\156\134\x6e\x25\x73\47\x29\x29\40\x7b\40\x74\x68\x69\163\x2e\x63\150\x65\x63\153\x65\144\x20\x3d\x20\146\x61\x6c\x73\145\x3b\x20\175", __("\127\101\x52\x4e\x49\116\x47\41\41\41", $this->id), __("\x59\x6f\165\x20\163\x68\157\165\154\144\x20\x6f\156\x6c\171\40\145\156\x61\x62\x6c\x65\x20\164\x68\151\163\x20\x6f\160\164\x69\157\156\x20\x69\146\40\x79\157\x75\40\x77\141\x6e\164\x20\x74\x6f\x20\166\x65\162\x69\x66\x79\40\x74\x68\141\164\x20\141\154\x6c\40\x79\157\165\162\40\x70\162\157\144\x75\x63\x74\x73\x20\x68\141\x76\145\x20\x77\x65\151\x67\x68\164\40\141\156\144\x20\x64\151\155\x65\156\163\x69\157\156\x73\x2e", $this->id), __("\105\156\x61\142\x6c\151\x6e\147\x20\x74\x68\x69\x73\x20\x6f\x70\164\151\x6f\x6e\40\x6d\151\147\x68\164\x20\143\141\x75\163\x65\40\164\151\155\145\157\165\x74\163\40\141\156\144\40\163\x65\162\166\145\x72\x20\145\x72\x72\157\162\x73\54\40\163\157\40\151\x66\40\x79\157\x75\40\145\x78\160\145\162\151\145\x6e\x63\145\40\x74\150\x61\x74\x20\x74\150\145\x6e\x20\144\151\163\141\142\x6c\145\40\x69\164\56", $this->id), __("\104\x6f\40\171\157\x75\40\x73\164\151\x6c\x6c\40\167\141\156\164\40\164\157\40\145\156\141\142\x6c\145\x20\x69\164\x3f", $this->id))]], "\x64\x65\142\x75\147" => ["\x74\x69\x74\154\145" => __("\104\145\142\x75\147\40\x4d\157\x64\x65", $this->id), "\x6c\x61\142\x65\154" => __("\x4c\157\x67\x20\160\154\x75\147\151\156\x20\141\143\x74\x69\166\x69\x74\151\145\x73", $this->id), "\x64\145\163\143\162\151\160\x74\151\157\156" => sprintf("\74\x73\164\162\157\156\147\76\x25\x73\x3c\57\163\x74\x72\x6f\156\x67\x3e\74\x62\x72\x2f\x3e\x20\x25\x73\x20\74\141\x20\x68\x72\x65\146\75\42\150\x74\x74\160\x73\x3a\57\57\167\x77\x77\x2e\154\x6f\x6f\155\x2e\143\x6f\155\x2f\x22\40\x74\x61\162\147\x65\x74\x3d\42\137\x62\154\141\156\153\42\x3e\x6c\x6f\157\x6d\56\x63\157\x6d\74\57\x61\76\x2c\x20\x25\x73\x20\xa\11\x9\11\11\x9\74\141\40\x68\162\x65\146\75\42\45\x73\x22\40\x74\141\162\x67\x65\x74\75\x22\137\x62\x6c\141\x6e\153\x22\x3e\x25\x73\x3c\57\141\x3e\x20\45\x73\40\74\141\40\150\x72\145\x66\x3d\x22\x25\163\x22\x20\164\141\162\x67\145\164\x3d\42\x5f\x62\x6c\x61\x6e\x6b\42\76\x25\x73\x3c\x2f\x61\76\40\x25\163\x2e", __("\x44\157\40\171\157\x75\40\145\x78\160\x65\x72\x69\145\x6e\143\145\x20\141\156\x79\x20\151\x73\163\165\145\163\77", $this->id), __("\x45\x6e\x61\142\x6c\x65\x20\x61\40\x64\x65\142\x75\147\40\155\x6f\144\x65\x2c\40\x72\145\x70\162\x6f\x64\x75\143\x65\x20\164\150\145\x20\x69\163\x73\x75\x65\54\x20\x77\x68\151\154\145\40\162\145\x63\x6f\162\144\x69\156\x67\x20\163\x63\x72\x65\x65\156\x20\x77\151\164\150", $this->id), __("\x74\150\x65\156", $this->id), $this->logExporter->getExportUrl(), __("\x63\x6c\151\x63\x6b\40\164\157\40\144\x6f\x77\x6e\x6c\157\141\144\x20\x61\x20\x6c\x6f\147\40\x66\151\x6c\145", $this->id), __("\x61\x6e\144\x20\163\x65\x6e\x64\40\151\164\x20\x76\151\x61\40\x6f\165\x72", $this->id), "\150\x74\x74\x70\163\72\x2f\x2f\61\164\x65\x61\155\x73\157\x66\x74\167\141\x72\145\56\x63\157\155\57\143\x6f\156\164\141\143\164\55\x75\163\57", __("\143\157\x6e\164\x61\x63\164\40\146\x6f\162\155", $this->id), __("\167\x69\164\x68\40\164\150\x65\40\x64\145\x74\141\x69\x6c\145\x64\x20\x64\145\163\143\162\x69\160\164\x69\x6f\x6e\40\x6f\146\x20\x74\x68\145\40\151\163\x73\x75\x65", $this->id)), "\164\171\160\x65" => "\143\150\x65\x63\x6b\142\157\x78"], "\144\x69\x73\x70\x6c\x61\x79\x41\144\x76\x61\156\x63\145\x64\x53\x65\164\164\x69\x6e\147\x73" => ["\x74\x69\x74\154\145" => __("\x41\144\x76\x61\x6e\143\x65\144\40\x53\x65\x74\164\x69\x6e\147\x73", $this->id), "\x6c\141\142\145\x6c" => __("\104\151\163\x70\154\141\171\x20\141\x64\x76\141\x6e\x63\x65\x64\x20\x73\x65\x74\x74\x69\156\x67\163\x20\x66\157\162\x20\x66\151\156\x65\x72\40\143\x6f\156\x74\x72\157\x6c\x20\x6f\166\x65\162\40\146\x75\156\143\164\151\x6f\156\141\x6c\x69\164\171\x20\x6f\146\40\164\150\145\40\x70\x6c\165\147\x69\156", $this->id), "\164\x79\x70\x65" => "\143\x68\145\x63\x6b\x62\x6f\x78", "\x63\x6c\141\163\163" => "\x61\144\x76\141\x6e\x63\145\x64\55\x73\x65\x74\x74\x69\156\147\163\x2d\164\157\147\x67\x6c\145"], "\143\x61\x63\x68\x65" => ["\x74\x69\164\x6c\145" => __("\125\x73\145\40\103\141\143\x68\x65", $this->id), "\x6c\x61\142\145\154" => __("\105\x6e\x61\142\154\x65\40\x63\141\143\150\x69\156\x67\40\x6f\x66\40\101\120\111\40\x72\145\163\x70\157\156\163\x65\x73", $this->id), "\164\x79\x70\145" => "\143\150\145\143\153\142\157\170", "\143\154\x61\163\163" => "\141\144\x76\x61\x6e\x63\145\144\55\163\x65\164\164\x69\156\147", "\x64\x65\x73\143\162\151\160\x74\151\157\156" => __("\103\x61\x63\150\151\x6e\x67\x20\151\155\x70\x72\157\x76\x65\x73\40\160\x65\162\146\x6f\x72\155\141\156\x63\145\x20\141\156\x64\x20\x68\145\154\x70\x73\x20\x74\x6f\x20\162\145\x64\165\143\145\40\x41\120\111\40\165\163\x61\x67\145\x20\142\171\40\x70\162\145\166\x65\156\164\151\156\x67\40\144\165\x70\154\151\x63\141\x74\x65\40\162\145\x71\x75\145\163\164\163\x20\164\x6f\40\x74\x68\145\40\163\x65\x72\166\151\x63\145\x2e\40\131\157\165\40\x63\141\x6e\x20\164\162\171\40\x74\157\40\144\151\163\x61\142\154\x65\x20\x69\x74\x20\146\x6f\162\x20\x64\145\x62\x75\147\x20\x70\x75\162\160\157\x73\x65\x73\x2e", $this->id)], "\143\x61\x63\x68\145\x45\x78\160\x69\162\x61\164\151\x6f\x6e\111\156\x53\x65\x63\163" => ["\x74\x69\x74\154\145" => __("\103\x61\143\x68\x65\x20\x45\x78\160\x69\162\141\164\x69\157\156\x20\50\x73\145\x63\x73\51", $this->id), "\164\x79\x70\x65" => "\156\x75\x6d\142\x65\162", "\x63\154\x61\x73\163" => "\x61\x64\166\141\x6e\143\145\x64\55\x73\145\x74\164\151\x6e\x67", "\144\145\163\143\x72\x69\160\164\x69\157\x6e" => __("\106\x6f\165\156\x64\x20\162\x61\164\145\x73\54\40\x61\x64\x64\162\x65\163\163\x65\x73\54\x20\x70\141\x72\143\x65\154\163\54\40\x63\x75\x73\164\157\155\x73\x20\151\156\146\x6f\x20\x77\151\154\154\x20\143\x61\x63\150\145\x64\40\x66\157\x72\40\x61\x20\147\x69\x76\x65\x6e\40\x61\x6d\157\x75\x6e\164\x20\157\x66\x20\x73\145\x63\157\x6e\x64\x73\40\141\156\x64\x20\150\x65\154\x70\x20\164\x6f\x20\x72\x65\x64\165\x63\x65\x20\156\165\155\x62\145\x72\40\157\146\40\x72\145\161\165\151\x72\145\x64\x20\x41\120\x49\x20\162\x65\x71\x75\145\x73\x74\x73\x2e\x20\106\x6f\162\x20\160\162\x6f\x64\165\x63\164\151\x6f\x6e\40\167\x65\40\x72\145\x63\x6f\x6d\x6d\145\x6e\x64\40\x74\157\x20\163\145\164\40\164\x68\151\x73\40\166\x61\154\165\x65\40\x66\157\x72\40\141\164\40\154\145\141\x73\164\40\141\40\x66\x65\x77\40\144\x61\171\163\x2e", $this->id)], "\164\151\155\145\x6f\165\164" => ["\164\151\x74\x6c\145" => __("\122\x65\x71\165\145\163\x74\40\x54\151\x6d\x65\x6f\x75\164\x20\x28\163\145\x63\x73\x29", $this->id), "\x74\x79\x70\x65" => "\x6e\x75\x6d\x62\145\x72", "\143\154\141\163\x73" => "\x61\144\166\141\x6e\x63\145\x64\55\163\x65\164\x74\151\156\x67", "\x64\145\163\x63\x72\151\160\164\x69\157\156" => __("\x44\145\146\151\156\x65\163\40\146\157\162\40\x68\x6f\167\x20\x6c\157\156\147\x20\x70\154\165\147\x69\156\40\163\150\157\x75\x6c\x64\x20\167\x61\151\164\40\x66\x6f\x72\x20\x61\40\x72\145\163\x70\x6f\x6e\x73\145\x20\141\146\x74\145\x72\40\x41\x50\111\x20\162\145\x71\165\145\x73\x74\40\150\141\163\40\x62\x65\x65\156\x20\x73\145\156\164\x2e", $this->id)]];
        return $YHtmW;
    }
    protected function getSandboxFields(): array
    {
        if (false === apply_filters($this->id . "\137\x68\141\x73\123\x61\x6e\x64\142\x6f\170\106\x65\141\164\165\162\145", false)) {
            return [];
        }
        $YHtmW = ["\163\x61\156\x64\142\x6f\x78" => ["\164\151\x74\x6c\145" => __("\x53\x61\156\x64\x62\x6f\x78\40\x4d\x6f\144\145", $this->id), "\154\141\x62\145\x6c" => __("\124\145\163\164\x20\x70\x6c\x75\x67\151\x6e\x20\163\x65\x74\164\x69\156\x67\x73\x20\x77\151\x74\150\x6f\x75\x74\x20\x62\165\x79\151\156\147\40\160\157\x73\x74\141\x67\x65\x2e", $this->id), "\x74\x79\x70\145" => "\x63\150\145\x63\x6b\x62\x6f\x78", "\x64\145\163\x63\162\151\160\x74\151\x6f\x6e" => __("\x50\x6c\165\147\151\x6e\x20\x77\151\154\154\x20\165\163\x65\x20\123\141\x6e\x64\x62\x6f\x78\x20\57\40\124\x65\163\x74\40\x41\x50\111\x20\x63\162\145\x64\x65\156\x74\151\x61\154\x73\56", $this->id)]];
        return $YHtmW;
    }
    protected function getBulkPurchasePostageFields(): array
    {
        $YHtmW = ["\142\x75\154\x6b\120\165\162\x63\x68\x61\x73\x65\x50\157\x73\x74\141\x67\145\x5f\164\x69\x74\154\145" => ["\164\x69\x74\154\145" => __("\120\x72\151\156\164\x20\102\165\154\x6b\40\x53\150\x69\160\160\151\x6e\x67\40\x4c\141\x62\x65\x6c\163", $this->id) . $this->proFeatureSuffix, "\x74\171\160\x65" => "\x74\x69\x74\x6c\x65", "\x64\x65\x73\x63\162\151\x70\x74\151\x6f\156" => __("\103\157\156\146\x69\147\165\162\x65\x20\x61\x62\x69\154\x69\164\171\40\164\157\40\x63\x72\x65\141\x74\145\x20\163\150\x69\160\155\x65\x6e\x74\x73\40\x61\156\x64\40\x62\x75\x79\40\163\150\x69\160\160\151\156\x67\40\x6c\141\142\x65\x6c\163\x20\x69\156\40\x62\x75\x6c\x6b\x20\146\x72\x6f\155\40\101\144\155\x69\156\x20\117\x72\x64\x65\162\163\56\40\x49\156\x20\164\150\x69\x73\x20\143\141\163\x65\x2c\40\141\154\154\40\160\162\157\144\x75\x63\164\163\x20\141\x72\x65\x20\145\170\160\145\143\164\145\144\x20\x74\157\x20\x62\145\40\x73\150\151\160\x70\145\144\40\x69\156\x20\157\x6e\x65\x20\160\x61\162\143\145\154\56", $this->id)], "\145\156\141\x62\154\145\x42\165\154\153\123\x68\x69\x70\x6d\145\x6e\164\103\x72\145\141\x74\151\157\156" => ["\164\151\x74\154\145" => __("\105\156\141\x62\x6c\145\x20\x2f\40\x44\151\163\141\142\x6c\145", $this->id), "\154\141\142\145\154" => __("\x45\x6e\141\x62\154\x65\40\142\165\x6c\153\40\163\150\x69\x70\155\x65\x6e\x74\x20\x63\162\x65\141\x74\x69\x6f\x6e\x20\x61\x6e\144\x20\x70\157\x73\x74\x61\147\x65\x20\160\x75\162\143\150\x61\x73\145", $this->id), "\x74\x79\160\145" => "\143\150\x65\143\x6b\142\157\170", "\143\165\163\164\157\155\137\141\x74\164\162\x69\142\x75\164\x65\163" => $this->proFeatureAttributes], "\x75\x73\x65\x53\145\x72\x76\151\x63\x65\123\x65\x74\164\151\x6e\x67\x73\x46\157\162\x42\165\x6c\x6b\123\x68\x69\x70\155\x65\x6e\164\x43\x72\145\x61\x74\x69\x6f\x6e" => ["\164\151\164\154\145" => __("\125\163\x65\40\123\145\162\166\151\143\x65\40\x53\x65\x74\164\151\156\147\x73", $this->id), "\x6c\x61\x62\x65\x6c" => __("\114\x69\155\151\x74\x20\x73\145\162\x76\x69\143\x65\40\163\x65\154\145\143\164\151\157\x6e\x20\142\x61\x73\x65\x64\x20\157\156\40\x53\x65\162\166\x69\x63\145\40\x53\145\164\164\151\156\x67\163\x20\157\x66\x20\164\x68\x65\x20\160\154\165\x67\x69\x6e", $this->id), "\164\x79\x70\x65" => "\x63\150\x65\x63\153\142\x6f\170", "\143\x6c\x61\x73\163" => "\141\144\x76\141\156\143\145\x64\55\163\145\x74\x74\x69\156\147", "\143\x75\x73\x74\157\x6d\137\x61\x74\164\162\x69\142\x75\164\x65\163" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "\x5f\x68\x61\163\103\162\x65\x61\x74\145\x53\x68\151\x70\155\145\156\x74\106\145\141\x74\165\162\x65", false)) {
            $YHtmW += ["\162\x65\161\x75\151\162\x65\x54\x6f\102\x75\154\153\x43\162\x65\141\x74\145\123\x68\x69\x70\155\145\x6e\x74\x73" => ["\x74\151\164\x6c\x65" => __("\122\145\x71\x75\151\162\x65\x20\164\157\x20\103\162\x65\x61\164\x65\40\123\150\x69\x70\155\145\x6e\x74", $this->id), "\x6c\141\x62\x65\x6c" => __("\103\162\x65\x61\x74\145\40\x73\150\151\x70\155\x65\x6e\164\40\x62\145\146\x6f\162\145\40\141\x6c\154\157\x77\151\156\x67\x20\x74\x6f\x20\x62\165\x79\40\141\156\144\x20\160\162\151\156\x74\40\x73\150\x69\160\x70\x69\x6e\147\x20\x6c\141\x62\145\154", $this->id), "\x74\x79\160\145" => "\143\x68\x65\x63\153\142\157\x78", "\x63\x6c\x61\x73\x73" => "\141\x64\x76\x61\156\143\145\x64\55\x73\x65\x74\164\151\156\147", "\x63\x75\163\x74\157\x6d\x5f\141\164\164\x72\151\142\165\x74\x65\x73" => $this->proFeatureAttributes]];
        }
        $YHtmW += ["\x72\145\161\165\x69\162\x65\x54\157\x42\x75\x6c\x6b\x50\165\x72\x63\150\141\x73\x65\120\x6f\x73\x74\141\147\x65" => ["\164\151\x74\154\x65" => __("\122\145\161\165\151\x72\145\x20\164\x6f\40\102\165\171\40\123\150\151\160\x70\151\x6e\x67\40\x4c\x61\142\x65\154", $this->id), "\154\141\142\145\154" => __("\x42\x75\171\40\163\x68\x69\x70\160\x69\156\147\40\x6c\141\142\145\x6c\x20\141\x73\40\x61\x20\163\145\x70\141\x72\x61\x74\145\40\x73\x74\145\160\40\142\x65\146\x6f\x72\x65\40\x61\x6c\x6c\x6f\x77\x69\156\147\x20\x74\157\x20\x70\x72\x69\156\x74\x20\x69\164", $this->id), "\x74\171\160\x65" => "\x63\150\145\143\153\142\x6f\x78", "\143\x6c\141\x73\163" => "\141\144\166\141\x6e\x63\145\144\55\163\x65\164\164\x69\156\147", "\x63\x75\x73\x74\x6f\155\137\141\x74\x74\162\151\142\165\x74\x65\x73" => $this->proFeatureAttributes]];
        $YHtmW += ["\162\x65\161\x75\x69\162\x65\124\x6f\x42\165\x6c\x6b\x50\x75\x72\x63\x68\141\163\145\x4e\x65\x77\x50\x6f\163\164\141\x67\x65" => ["\164\151\164\154\x65" => __("\101\x6c\167\141\171\163\40\x42\x75\x79\40\141\x20\x4e\145\x77\x20\123\x68\151\160\160\151\156\147\x20\114\x61\x62\145\x6c", $this->id), "\154\x61\x62\145\x6c" => __("\102\165\171\x20\x6e\x65\167\40\163\x68\x69\x70\160\x69\x6e\147\40\x6c\141\142\145\154\x20\167\x68\x65\156\x20\157\162\x64\x65\x72\x20\x68\x61\163\x20\160\x72\x65\x76\151\x6f\x75\163\x6c\x79\x20\x63\162\145\141\164\x65\144\x20\163\x68\x69\160\155\145\156\164\163\40\x61\156\144\x20\157\164\x68\x65\162\x20\x70\165\162\143\150\x61\163\145\40\x77\157\162\x6b\146\154\x6f\x77\40\x73\164\145\160\x73\40\141\162\x65\40\x64\x69\163\141\142\154\x65\144", $this->id), "\x74\x79\160\145" => "\x63\x68\x65\143\153\142\157\x78", "\143\154\x61\163\x73" => "\x61\x64\166\x61\x6e\143\x65\144\55\163\145\x74\x74\x69\x6e\x67", "\x63\165\x73\164\157\155\x5f\x61\164\x74\162\x69\x62\x75\164\145\163" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getPurchasePostageFields(): array
    {
        $YHtmW = ["\x70\162\151\x6e\164\x53\x68\151\160\x70\151\x6e\x67\114\x61\142\x65\154\x5f\x74\151\164\x6c\145" => ["\x74\151\x74\x6c\145" => __("\120\162\x69\156\164\x20\x53\150\151\160\x70\151\156\147\40\114\141\x62\145\x6c", $this->id) . $this->proFeatureSuffix, "\164\x79\160\x65" => "\164\151\164\154\145", "\x64\145\163\143\x72\x69\160\164\x69\157\156" => __("\103\157\156\146\151\147\x75\x72\145\x20\x72\145\x71\165\x69\x72\x65\x64\x20\x6d\x61\156\x75\141\x6c\40\x73\x74\145\160\163\x20\142\x65\146\157\162\145\40\167\x65\40\x77\x69\x6c\x6c\40\141\x74\x74\x65\x6d\160\164\40\x74\x6f\40\160\165\x72\x63\150\141\163\145\40\160\157\x73\x74\x61\147\x65\x20\146\x6f\162\40\x74\150\145\x20\163\150\151\160\155\x65\x6e\164\56", $this->id)], "\x61\154\x6c\x6f\167\115\x75\x6c\x74\151\x70\154\145\123\x68\151\160\155\145\x6e\x74\x73" => ["\164\151\164\x6c\x65" => __("\101\154\x6c\x6f\167\x20\115\x75\154\x74\x69\x70\x6c\x65\x20\x53\x68\x69\x70\155\x65\x6e\164\163", $this->id), "\x6c\141\142\145\154" => __("\101\154\154\157\167\40\x63\162\145\x61\x74\x69\x6f\156\40\157\146\x20\x74\x68\145\40\x6d\165\154\164\x69\x70\x6c\x65\x20\x73\x68\151\160\x6d\145\156\x74\163\x20\x66\157\x72\x20\164\x68\145\40\x73\141\155\145\x20\x6f\x72\x64\x65\x72", $this->id), "\164\171\x70\x65" => "\143\150\x65\143\153\142\x6f\170", "\x63\154\141\163\x73" => "\x61\x64\166\141\x6e\x63\145\144\55\x73\145\x74\164\x69\156\x67", "\143\165\163\164\157\x6d\137\141\x74\164\162\151\x62\x75\164\145\x73" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "\x5f\150\141\163\103\162\145\141\x74\x65\123\150\x69\x70\x6d\145\156\x74\106\x65\141\x74\x75\162\145", false)) {
            $YHtmW += ["\162\x65\161\165\151\162\145\124\157\103\x72\145\141\x74\x65\123\x68\x69\160\155\145\x6e\x74" => ["\x74\x69\x74\x6c\x65" => __("\x52\x65\161\x75\x69\x72\145\x20\164\157\x20\x43\x72\145\x61\x74\x65\x20\x53\x68\151\160\155\x65\156\164", $this->id), "\x6c\x61\x62\145\x6c" => __("\x43\162\x65\141\x74\x65\40\163\150\151\160\x6d\x65\x6e\164\40\142\145\146\x6f\x72\145\40\x61\x6c\154\157\x77\x69\156\147\x20\164\157\x20\x62\165\171\40\141\156\144\40\160\162\x69\x6e\x74\40\163\x68\151\160\160\x69\156\x67\40\154\141\x62\145\x6c", $this->id), "\164\x79\160\145" => "\143\150\145\x63\153\x62\x6f\x78", "\143\154\x61\163\163" => "\141\144\x76\141\156\x63\145\x64\x2d\x73\x65\x74\164\151\156\x67", "\x63\x75\x73\x74\157\155\137\x61\164\x74\x72\x69\x62\x75\x74\145\163" => $this->proFeatureAttributes]];
        }
        $YHtmW += ["\162\145\161\165\x69\162\x65\124\157\120\x75\162\x63\150\141\x73\145\120\x6f\x73\164\x61\147\145" => ["\164\x69\164\x6c\x65" => __("\122\x65\161\x75\x69\x72\145\x20\x74\157\x20\102\165\171\40\123\150\151\x70\160\151\156\147\40\114\141\x62\145\154", $this->id), "\x6c\141\142\x65\x6c" => __("\x42\x75\x79\x20\x73\x68\151\160\x70\151\x6e\x67\40\x6c\x61\x62\x65\x6c\40\x61\x73\40\141\x20\163\x65\x70\x61\162\x61\164\145\x20\163\164\145\x70\40\x62\145\x66\x6f\162\x65\x20\141\154\154\157\167\x69\x6e\x67\x20\x74\x6f\40\160\162\x69\156\164\x20\151\x74", $this->id), "\x74\x79\160\x65" => "\x63\150\145\x63\x6b\142\157\x78", "\x63\x6c\x61\163\x73" => "\x61\144\166\141\x6e\143\145\144\55\x73\145\x74\164\151\x6e\147", "\x63\165\163\x74\x6f\155\137\x61\164\x74\162\151\x62\165\x74\145\x73" => $this->proFeatureAttributes]];
        $YHtmW += ["\x72\x65\x71\x75\151\162\x65\124\157\106\145\164\143\x68\123\150\x69\x70\x70\x69\x6e\147\122\141\164\x65\163" => ["\x74\151\x74\154\x65" => __("\x52\x65\x71\165\151\x72\145\40\x74\x6f\x20\x47\x65\x74\40\x41\x20\121\x75\157\164\x65", $this->id), "\154\x61\142\x65\154" => __("\x52\145\161\x75\x65\x73\164\x20\163\x68\x69\x70\x70\151\x6e\x67\40\x72\141\164\x65\x73\40\161\165\x6f\x74\145\40\142\145\146\157\162\145\40\141\x6c\x6c\x6f\167\x69\156\147\x20\164\x6f\40\143\x72\145\141\164\145\40\141\x20\163\150\151\160\155\145\x6e\164\x20\x61\x6e\144\x20\142\165\171\40\163\x68\x69\160\x70\151\x6e\147\x20\154\x61\142\x65\x6c", $this->id), "\164\171\x70\145" => "\x63\x68\145\143\153\142\x6f\170", "\143\x6c\x61\163\x73" => "\x61\x64\x76\x61\156\143\145\144\x2d\x73\145\x74\164\x69\156\x67", "\x63\x75\x73\x74\x6f\x6d\x5f\141\164\164\x72\151\142\165\x74\145\163" => $this->proFeatureAttributes]];
        $YHtmW += ["\x72\145\161\x75\151\162\x65\x54\x6f\x43\157\156\146\x69\x72\155\123\x68\151\x70\155\x65\x6e\x74\x44\145\x74\x61\x69\154\163" => ["\x74\x69\164\154\145" => __("\122\145\161\165\x69\x72\x65\x20\x74\x6f\x20\103\157\x6e\x66\151\x72\x6d\40\x53\150\x69\160\x6d\145\x6e\164\40\104\145\164\141\151\x6c\x73", $this->id), "\154\141\142\x65\x6c" => __("\104\x69\163\x70\154\x61\x79\40\143\x6f\156\x66\x69\x72\x6d\141\x74\151\157\156\40\x64\151\141\x6c\157\147\40\167\x69\x74\150\x20\x74\x68\x65\x20\x73\150\x69\x70\x6d\145\x6e\x74\40\144\145\164\x61\x69\154\163\x20\142\x65\x66\x6f\162\x65\40\141\154\x6c\157\167\151\156\x67\x20\x74\x6f\x20\x63\162\145\x61\164\145\x20\163\150\151\x70\x6d\x65\156\x74\x20\x6f\162\40\142\x75\x79\40\163\150\x69\160\160\x69\156\x67\40\154\x61\142\145\x6c", $this->id), "\164\x79\x70\x65" => "\x63\150\x65\x63\153\x62\x6f\170", "\x63\x75\x73\x74\x6f\x6d\137\141\x74\164\162\151\x62\165\x74\145\x73" => $this->proFeatureAttributes]];
        $YHtmW += $this->getLabelFormatFields();
        return $YHtmW;
    }
    protected function getLabelFormatFields(): array
    {
        $yCRW6 = apply_filters($this->id . "\x5f\x67\x65\x74\x4c\141\142\145\x6c\x46\x6f\x72\x6d\x61\x74\x73", []);
        if (empty($yCRW6)) {
            return [];
        }
        $YHtmW = ["\154\x61\x62\x65\154\x5f\x66\157\162\155\141\164" => ["\x74\x69\164\154\x65" => __("\x4c\141\142\x65\154\x20\x46\x6f\162\x6d\x61\x74", $this->id), "\144\145\163\x63\x72\151\160\164\x69\x6f\x6e" => __("\x46\151\x6c\x65\40\146\x6f\162\x6d\141\x74\40\165\x73\x65\144\x20\164\157\x20\x67\x65\x6e\145\x72\141\x74\145\x20\x73\150\x69\160\160\151\156\147\x20\154\141\x62\x65\154\163", $this->id), "\164\171\x70\x65" => "\163\x65\x6c\x65\143\x74", "\x6f\160\x74\x69\157\x6e\163" => $yCRW6, "\143\165\x73\x74\x6f\155\137\141\x74\164\x72\151\x62\x75\164\x65\163" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
  

デコード(難読化解除)されたコード

<?php

declare (strict_types=1);
namespace OneTeamSoftware\WC\Shipping\Form;

use OneTeamSoftware\LazyClassProxy\LazyClassProxy;
use OneTeamSoftware\WC\Admin\LogExporter\LogExporter;
use OneTeamSoftware\WC\Options\Taxonomies;
use WP_Query;
class SettingsForm
{
    protected $id;
    protected $countriesProxy;
    protected $taxonomies;
    protected $logExporter;
    protected $proFeatureSuffix;
    protected $proFeatureAttributes;
    protected $settings;
    public function __construct(string $hsNwz, LogExporter $XwCBl)
    {
        $this->id = $hsNwz;
        $this->countriesProxy = new LazyClassProxy("WC_Countries", WC()->countries);
        $this->taxonomies = new Taxonomies($this->id);
        $this->logExporter = $XwCBl;
        $this->proFeatureSuffix = '';
        $this->proFeatureAttributes = [];
        $this->settings = [];
    }
    public function setSettings(array $QUiBf) : void
    {
        $this->settings = array_merge($this->settings, $QUiBf);
    }
    public function setProFeatureSuffix(string $kOA8U) : void
    {
        $this->proFeatureSuffix = $kOA8U;
    }
    public function setProFeatureAttributes(array $iSUSj) : void
    {
        $this->proFeatureAttributes = $iSUSj;
    }
    public function getFields() : array
    {
        $YHtmW = [];
        $YHtmW += $this->getGeneralFields();
        $YHtmW += $this->getOriginFields();
        $YHtmW += $this->getShipmentDefaultsFields();
        $YHtmW += $this->getMultiVendorFields();
        $YHtmW += $this->getShippingRatesFields();
        $YHtmW += $this->getAdjustmentsFields();
        $YHtmW += $this->getBoxesFields();
        $YHtmW += $this->getCarriersFields();
        $YHtmW += $this->getServicesFields();
        $YHtmW += $this->getShippingLabelsFields();
        $YHtmW += $this->getAutomationFields();
        return $YHtmW;
    }
    public function getOriginFields(string $iEbzY = null) : array
    {
        if (false === apply_filters($this->id . "_hasOriginFeature", false)) {
            return [];
        }
        $oxPDB = $this->countriesProxy->get_states($iEbzY ?? $this->settings["origin"]["country"] ?? "US");
        $YHtmW = ["origin_title" => ["title" => __("From Address", $this->id), "type" => "title", "class" => "tab", "description" => __("What is the address of the place from where parcels are going to be shipped?", $this->id)], "origin[name]" => ["title" => __("Name", $this->id), "type" => "text"], "origin[company]" => ["title" => __("Company", $this->id), "type" => "text"], "origin[email]" => ["title" => __("Email", $this->id), "type" => "email"], "origin[phone]" => ["title" => __("Phone", $this->id), "type" => "text"], "origin[country]" => ["title" => __("Country", $this->id), "type" => "select", "options" => $this->countriesProxy->get_countries(), "custom_attributes" => ["onchange" => "jQuery(\"[name=save]\").click()"]], "origin[state]" => ["title" => __("State", $this->id), "type" => empty($oxPDB) ? "text" : "select", "options" => $oxPDB], "origin[city]" => ["title" => __("City", $this->id), "type" => "text"], "origin[postcode]" => ["title" => __("Zip / Postal Code", $this->id), "type" => "text"], "origin[address]" => ["title" => __("Address 1", $this->id), "type" => "text"], "origin[address_2]" => ["title" => __("Address 2", $this->id), "type" => "text"]];
        return $YHtmW;
    }
    public function getBoxesFields() : array
    {
        return apply_filters($this->id . "_getBoxesFormFields", []);
    }
    public function getCarriersFields() : array
    {
        if (empty($this->settings["carriers"]) && empty(apply_filters($this->id . "_getCarriers", []))) {
            return [];
        }
        return apply_filters($this->id . "_getCarriersFormFields", []);
    }
    public function getServicesFields() : array
    {
        if (empty($this->settings["services"]) && empty(apply_filters($this->id . "_getServices", []))) {
            return [];
        }
        return apply_filters($this->id . "_getServicesFormFields", []);
    }
    protected function getGeneralFields() : array
    {
        $YHtmW = ["general_title" => ["title" => __("General", $this->id), "type" => "title", "class" => "tab", "description" => __("General plugin settings", $this->id)], "documentation_title" => ["description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\">\n\t\t\t\t\t\t<p><strong>%s</strong></p>\n\t\t\t\t\t\t<li>%s <a href=\"https://1teamsoftware.com/documentation/%s/\" target=\"_blank\">%s</a></li>\n\t\t\t\t\t\t<li>%s <a href=\"%s\" target=\"_blank\">%s</a></li>\n\t\t\t\t\t</div>", __("How to get started?", $this->id), __("Learn how to configure and use this plugin.", $this->id), preg_replace("/wc-|-pro/", '', $this->id), __("Click here to read documentation.", $this->id), __("Streamline your installation process and save valuable time by using our \"hands off\" installation service.", $this->id), "https://1teamsoftware.com/product/installation-of-shipping-labels-plugin/", __("Get started now!", $this->id)), "type" => "title"]];
        $YHtmW += $this->getPromoFields();
        $YHtmW += $this->getIntegrationFields();
        $YHtmW += $this->getStoreFields();
        $YHtmW += $this->getWarehouseFields();
        $YHtmW += $this->getGeneralSettingFields();
        return $YHtmW;
    }
    protected function getAdjustmentsFields() : array
    {
        $YHtmW = ["adjustments_title" => ["title" => __("Adjustments", $this->id), "type" => "title", "class" => "tab", "description" => __("Customize and set adjustments for both parcels and pricing.", $this->id)]];
        $YHtmW += $this->getParcelAdjustmentsFields();
        $YHtmW += $this->getPriceAdjustmentsFields();
        return $YHtmW;
    }
    protected function getShippingLabelsFields() : array
    {
        $YHtmW = ["shipping_labels_title" => ["title" => __("Shipping Labels", $this->id), "type" => "title", "class" => "tab", "description" => __("Adjust the preferences that will be applied when printing individual labels or multiple labels in a batch.", $this->id)]];
        $YHtmW += $this->getPdfPrintSettingsFields();
        $YHtmW += $this->getPurchasePostageFields();
        $YHtmW += $this->getBulkPurchasePostageFields();
        return $YHtmW;
    }
    protected function getPromoFields() : array
    {
        $YHtmW = [];
        if (false === is_plugin_active("wc-free-shipping-per-package-pro/wc-free-shipping-per-package-pro.php")) {
            $YHtmW += ["free_shipping_per_package_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Need a Better Free Shipping Solution?", $this->id), "https://1teamsoftware.com/product/woocommerce-free-shipping-per-package-pro/", __("Free Shipping Per Package PRO", $this->id), __("plugin will allow you to define advanced Free Shipping scenarios.", $this->id))]];
        }
        if (false === is_plugin_active("wc-flexible-shipping-per-package-pro/wc-flexible-shipping-per-package-pro.php")) {
            $YHtmW += ["flexible_shipping_per_package_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Need Fallback Shipping Methods Solution?", $this->id), "https://1teamsoftware.com/product/woocommerce-flexible-shipping-per-package-pro/", __("Flexible Shipping Per Package PRO", $this->id), __("plugin will allow you to define fallback shipping methods when API service is down.", $this->id))]];
        }
        $YHtmW += $this->getWcfmPromoFields();
        $YHtmW += $this->getDokanPromoFields();
        return $YHtmW;
    }
    protected function getAutomationFields() : array
    {
        $YHtmW = ["automation_title" => ["title" => __("Automation", $this->id), "type" => "title", "class" => "tab", "description" => __("Configure automation settings that will be used to automate the shipping process.", $this->id)]];
        $YHtmW += $this->getGetShipmentFields();
        $YHtmW += $this->getEmailNotificationsFields();
        $YHtmW += $this->getCreateOrderFields();
        $YHtmW += $this->getGetShipmentsFields();
        return $YHtmW;
    }
    protected function getMultiVendorFields() : array
    {
        $YHtmW = ["multi_vendor_title" => ["title" => __("Multi Vendor", $this->id), "type" => "title", "class" => "tab", "description" => __("Configure multi vendor settings that will be used to integrate with supported multivendor marketplace plugins.", $this->id)], "useVendorSettings" => ["title" => __("Use Vendor Settings", $this->id), "type" => "checkbox", "label" => __("Use vendor settings when printing shipping labels or exporting orders as an admin.", $this->id)]];
        if (apply_filters($this->id . "_hasUseSellerAddressFeature", false)) {
            $YHtmW += ["useSellerAddress" => ["title" => __("Use Vendor Address", $this->id) . $this->proFeatureSuffix, "type" => "checkbox", "label" => __("Use Vendor's address as a FROM address for shipping rate quoting", $this->id) . $this->proFeatureSuffix, "custom_attributes" => ["onchange" => sprintf("if (this.checked && !confirm('%s\\n\\n%s\\n\\n%s\\n\\n%s')) { this.checked = false; }", __("WARNING!!!", $this->id), __("It will only work if you have one of supported multivendor marketplace plugins enabled.", $this->id), __("Vendors should have a valid address configured before shipping rates can be displayed.", $this->id), __("Do you still want to enable it?", $this->id))] + $this->proFeatureAttributes]];
            if (false === is_plugin_active("wc-shipping-packages/wc-shipping-packages.php")) {
                $YHtmW += ["wc-shipping-packages_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Do you want to charge separate shipping for each vendor?", $this->id), "https://1teamsoftware.com/product/woocommerce-shipping-packages/", __("Shipping Packages", $this->id), __("plugin will arrange products, based on Group By condition into packages and each package will have its own shipping method selection in the cart and checkout pages.", $this->id))]];
            }
        }
        return $YHtmW;
    }
    protected function getShipmentDefaultsFields() : array
    {
        $YHtmW = ["shipment_defaults_title" => ["title" => __("Shipment Defaults", $this->id), "type" => "title", "class" => "tab", "description" => __("Configure default settings that will be used to request a shipping quote, create shipment and purchase postage.", $this->id)], "defaultShipmentDescription" => ["title" => __("Shipment Description", $this->id), "type" => "text", "description" => __("This description will be used by default, but can be overwritten.", $this->id)]];
        $YHtmW += $this->getDefaultContentsFields();
        if (apply_filters($this->id . "_hasTariffFeature", false)) {
            $YHtmW += ["defaultTariff" => ["title" => __("Default Tariff #", $this->id), "type" => "text", "description" => sprintf(__("%sTariff number%s is required by some carriers for international shipments. It will be used to get shipping quotes unless overwritten during shipping label creation.", $this->id), "<a href=\"https://hts.usitc.gov/\" target=\"_blank\">", "</a>")]];
        }
        $IAeKJ = apply_filters($this->id . "_getServices", []);
        $YHtmW += ["defaultCountryOfOrigin" => ["title" => __("Country of Origin", $this->id), "type" => "select", "options" => $this->countriesProxy->get_countries()], "defaultDomesticService" => ["title" => __("Domestic Service", $this->id) . $this->proFeatureSuffix, "description" => __("By default use this service for Domestic Shipments", $this->id), "type" => "select", "options" => array_replace_recursive(['' => __("No default service", $this->id)], $IAeKJ), "custom_attributes" => $this->proFeatureAttributes], "defaultInternationService" => ["title" => __("International Service", $this->id) . $this->proFeatureSuffix, "description" => __("By default use this service for International Shipments", $this->id), "type" => "select", "options" => array_replace_recursive(['' => __("No default service", $this->id)], $IAeKJ), "custom_attributes" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "_hasAddressValidationFeature", false)) {
            $YHtmW += ["validateAddress" => ["title" => __("Validate Address", $this->id), "label" => __("Require shipping address to be validated before accepting an order", $this->id), "type" => "checkbox", "custom_attributes" => ["onchange" => sprintf("if (this.checked && !confirm('%s\\n\\n%s\\n\\n%s\\n\\n%s')) { this.checked = false; }", __("WARNING!!!", $this->id), __("You might be charged by a shipping provider for each address validation.", $this->id), __("In cases when you do not have billing properly setup, live shipping rates might not be returned.", $this->id), __("Do you still want to enable it?", $this->id))]]];
        }
        if (false === empty($this->proFeatureAttributes)) {
            $YHtmW += ["combineBoxes" => ["title" => __("Combine All Products", $this->id), "label" => __("Combine all the products and ship together. Product dimensions and weight will be summed and shipping rate will be quoted only once.", $this->id), "type" => "checkbox", "custom_attributes" => ["onchange" => "if (false === this.checked) { jQuery(\"[id*=useCubeDimensions]\").prop(\"checked\", false); }"]], "useCubeDimensions" => ["title" => __("Use Cube Dimensions", $this->id), "label" => __("Parcel dimensions will be converted into cube with equally long sides. It can only be used when Combine All Products is enabled.", $this->id), "type" => "checkbox", "custom_attributes" => ["onchange" => sprintf("if (this.checked && !jQuery(\"[id*=combineBoxes]\").prop(\"checked\")) { this.checked = false; alert(\"%s\\n\\n%s\"); }", __("WARNING!!!", $this->id), __("Combine All Products must be enabled before Use Cube Dimensions can be used.", $this->id))], "class" => "advanced-setting"]];
        }
        if (apply_filters($this->id . "_hasInsuranceFeature", false)) {
            $YHtmW += ["insurance" => ["title" => __("Include Insurance", $this->id), "label" => __("Add insurance fee to the shipping rate", $this->id), "type" => "checkbox"]];
        }
        if (apply_filters($this->id . "_hasSaturdayDeliveryFeature", false)) {
            $YHtmW += ["saturday_delivery" => ["title" => __("Saturday Delivery", $this->id), "label" => __("Display only shipping rates that are eligible for Saturday delivery", $this->id) . $this->proFeatureSuffix, "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        }
        if (apply_filters($this->id . "_hasHoldForPickupFeature", false)) {
            $YHtmW += ["hold_for_pickup" => ["title" => __("Hold For Pickup", $this->id), "label" => __("Package will wait at carrier facility for pickup", $this->id) . $this->proFeatureSuffix, "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        }
        $YHtmW += $this->getCodFields();
        $YHtmW += $this->getShipmentExtraFields();
        $hUURn = $this->settings["dimension_unit"] ?? '';
        $mAEg_ = $this->settings["weight_unit"] ?? '';
        $YHtmW += ["requireCompanyName" => ["title" => __("Require Company Name", $this->id), "label" => __("Plugin will not allow to checkout unless company name is filled", $this->id), "description" => __("It can be useful when your carrier requires that recipient will have a company name before it will return any shipping rates.", $this->id), "type" => "checkbox", "class" => "advanced-setting"], "defaultLength" => ["title" => sprintf(__("Default Length (%s)", $this->id), $hUURn), "type" => "number", "class" => "advanced-setting", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("This value will be used when package does not have length information", $this->id), "suffix" => $hUURn], "defaultWidth" => ["title" => sprintf(__("Default Width (%s)", $this->id), $hUURn), "type" => "number", "class" => "advanced-setting", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("This value will be used when package does not have width information", $this->id), "suffix" => $hUURn], "defaultHeight" => ["title" => sprintf(__("Default Height (%s)", $this->id), $hUURn), "type" => "number", "class" => "advanced-setting", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("This value will be used when package does not have height information", $this->id), "suffix" => $hUURn], "defaultWeight" => ["title" => sprintf(__("Default Weight (%s)", $this->id), $mAEg_), "type" => "number", "class" => "advanced-setting", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("This value will be used when package does not have weight information", $this->id), "suffix" => $mAEg_]];
        return $YHtmW;
    }
    protected function getShipmentExtraFields() : array
    {
        $YHtmW = [];
        if (apply_filters($this->id . "_hasCreateManifestFeature", false) && !is_plugin_active("wc-shipping-manifests-pro/wc-shipping-manifests-pro.php")) {
            $YHtmW += ["shipping_manifests_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Need Manifests?", $this->id), "https://1teamsoftware.com/product/woocommerce-shipping-manifests-pro/", __("Shipping Manifests PRO", $this->id), __("plugin will group shipments into batches and let you print manifests for them.", $this->id))]];
        }
        $YHtmW += $this->getSignatureFields();
        $YHtmW += $this->getMediaMailFields();
        $YHtmW += $this->getAlcoholFields();
        $YHtmW += $this->getDryIceFields();
        return $YHtmW;
    }
    protected function getCodFields() : array
    {
        if (false === apply_filters($this->id . "_hasCodFeature", false)) {
            return [];
        }
        $YHtmW = ["cod" => ["title" => __("Cash on Delivery", $this->id) . $this->proFeatureSuffix, "label" => __("Request collection of the payment on delivery", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        $D38hz = apply_filters($this->id . "_getCodMethods", []);
        if (false === empty($D38hz)) {
            $YHtmW += ["cod_method" => ["title" => __("COD Method", $this->id) . $this->proFeatureSuffix, "label" => __("Method used to collect the payment", $this->id), "type" => "select", "options" => $D38hz, "custom_attributes" => $this->proFeatureAttributes]];
        }
        return $YHtmW;
    }
    protected function getGeneralSettingFields() : array
    {
        $YHtmW = ["general_settings_title" => ["title" => __("General Settings", $this->id), "type" => "title"]];
        $YHtmW += $this->getSandboxFields();
        $YHtmW += ["validateProducts" => ["title" => __("Validate Products", $this->id), "label" => __("Validate Products Weight and Dimensions", $this->id), "type" => "checkbox", "description" => sprintf("<span style=\"color: red\">%s</span>", __("Products must have weight and dimensions set for live shipping rates to work. Enable this option and plugin will display IDs of the products that do not meet this requirement.", $this->id)), "custom_attributes" => ["onchange" => sprintf("if (this.checked && !confirm('%s\\n\\n%s\\n\\n%s\\n\\n%s')) { this.checked = false; }", __("WARNING!!!", $this->id), __("You should only enable this option if you want to verify that all your products have weight and dimensions.", $this->id), __("Enabling this option might cause timeouts and server errors, so if you experience that then disable it.", $this->id), __("Do you still want to enable it?", $this->id))]], "debug" => ["title" => __("Debug Mode", $this->id), "label" => __("Log plugin activities", $this->id), "description" => sprintf("<strong>%s</strong><br/> %s <a href=\"https://www.loom.com/\" target=\"_blank\">loom.com</a>, %s \n\t\t\t\t\t<a href=\"%s\" target=\"_blank\">%s</a> %s <a href=\"%s\" target=\"_blank\">%s</a> %s.", __("Do you experience any issues?", $this->id), __("Enable a debug mode, reproduce the issue, while recording screen with", $this->id), __("then", $this->id), $this->logExporter->getExportUrl(), __("click to download a log file", $this->id), __("and send it via our", $this->id), "https://1teamsoftware.com/contact-us/", __("contact form", $this->id), __("with the detailed description of the issue", $this->id)), "type" => "checkbox"], "displayAdvancedSettings" => ["title" => __("Advanced Settings", $this->id), "label" => __("Display advanced settings for finer control over functionality of the plugin", $this->id), "type" => "checkbox", "class" => "advanced-settings-toggle"], "cache" => ["title" => __("Use Cache", $this->id), "label" => __("Enable caching of API responses", $this->id), "type" => "checkbox", "class" => "advanced-setting", "description" => __("Caching improves performance and helps to reduce API usage by preventing duplicate requests to the service. You can try to disable it for debug purposes.", $this->id)], "cacheExpirationInSecs" => ["title" => __("Cache Expiration (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("Found rates, addresses, parcels, customs info will cached for a given amount of seconds and help to reduce number of required API requests. For production we recommend to set this value for at least a few days.", $this->id)], "timeout" => ["title" => __("Request Timeout (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("Defines for how long plugin should wait for a response after API request has been sent.", $this->id)]];
        return $YHtmW;
    }
    protected function getSandboxFields() : array
    {
        if (false === apply_filters($this->id . "_hasSandboxFeature", false)) {
            return [];
        }
        $YHtmW = ["sandbox" => ["title" => __("Sandbox Mode", $this->id), "label" => __("Test plugin settings without buying postage.", $this->id), "type" => "checkbox", "description" => __("Plugin will use Sandbox / Test API credentials.", $this->id)]];
        return $YHtmW;
    }
    protected function getBulkPurchasePostageFields() : array
    {
        $YHtmW = ["bulkPurchasePostage_title" => ["title" => __("Print Bulk Shipping Labels", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure ability to create shipments and buy shipping labels in bulk from Admin Orders. In this case, all products are expected to be shipped in one parcel.", $this->id)], "enableBulkShipmentCreation" => ["title" => __("Enable / Disable", $this->id), "label" => __("Enable bulk shipment creation and postage purchase", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes], "useServiceSettingsForBulkShipmentCreation" => ["title" => __("Use Service Settings", $this->id), "label" => __("Limit service selection based on Service Settings of the plugin", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "_hasCreateShipmentFeature", false)) {
            $YHtmW += ["requireToBulkCreateShipments" => ["title" => __("Require to Create Shipment", $this->id), "label" => __("Create shipment before allowing to buy and print shipping label", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        }
        $YHtmW += ["requireToBulkPurchasePostage" => ["title" => __("Require to Buy Shipping Label", $this->id), "label" => __("Buy shipping label as a separate step before allowing to print it", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        $YHtmW += ["requireToBulkPurchaseNewPostage" => ["title" => __("Always Buy a New Shipping Label", $this->id), "label" => __("Buy new shipping label when order has previously created shipments and other purchase workflow steps are disabled", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getPurchasePostageFields() : array
    {
        $YHtmW = ["printShippingLabel_title" => ["title" => __("Print Shipping Label", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure required manual steps before we will attempt to purchase postage for the shipment.", $this->id)], "allowMultipleShipments" => ["title" => __("Allow Multiple Shipments", $this->id), "label" => __("Allow creation of the multiple shipments for the same order", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        if (apply_filters($this->id . "_hasCreateShipmentFeature", false)) {
            $YHtmW += ["requireToCreateShipment" => ["title" => __("Require to Create Shipment", $this->id), "label" => __("Create shipment before allowing to buy and print shipping label", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        }
        $YHtmW += ["requireToPurchasePostage" => ["title" => __("Require to Buy Shipping Label", $this->id), "label" => __("Buy shipping label as a separate step before allowing to print it", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        $YHtmW += ["requireToFetchShippingRates" => ["title" => __("Require to Get A Quote", $this->id), "label" => __("Request shipping rates quote before allowing to create a shipment and buy shipping label", $this->id), "type" => "checkbox", "class" => "advanced-setting", "custom_attributes" => $this->proFeatureAttributes]];
        $YHtmW += ["requireToConfirmShipmentDetails" => ["title" => __("Require to Confirm Shipment Details", $this->id), "label" => __("Display confirmation dialog with the shipment details before allowing to create shipment or buy shipping label", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        $YHtmW += $this->getLabelFormatFields();
        return $YHtmW;
    }
    protected function getLabelFormatFields() : array
    {
        $yCRW6 = apply_filters($this->id . "_getLabelFormats", []);
        if (empty($yCRW6)) {
            return [];
        }
        $YHtmW = ["label_format" => ["title" => __("Label Format", $this->id), "description" => __("File format used to generate shipping labels", $this->id), "type" => "select", "options" => $yCRW6, "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getDefaultContentsFields() : array
    {
        $H90Yy = apply_filters($this->id . "_getContentTypes", []);
        if (empty($H90Yy)) {
            return [];
        }
        $YHtmW = ["defaultContents" => ["title" => __("Contents", $this->id), "type" => "select", "options" => $H90Yy, "description" => __("Selected contents will be used in customs declaration", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getPdfPrintSettingsFields() : array
    {
        $YHtmW = ["pdf_title" => ["title" => __("PDF Settings", $this->id) . $this->proFeatureSuffix, "type" => "title", "class" => "advanced-setting"], "pdfAutoPrint" => ["title" => __("Auto Print", $this->id), "type" => "checkbox", "label" => __("Add script to generated PDF documents, which will trigger printing upon opening with supported viewers", $this->id), "custom_attributes" => $this->proFeatureAttributes, "class" => "advanced-setting"], "pdfAutoPrintDialog" => ["title" => __("Printer Dialog", $this->id), "type" => "checkbox", "label" => __("Display printer settings dialog before submiting a printer job", $this->id), "custom_attributes" => $this->proFeatureAttributes, "class" => "advanced-setting"]];
        return $YHtmW;
    }
    protected function getGetShipmentsFields() : array
    {
        if (false === apply_filters($this->id . "_hasGetShipmentsFeature", false)) {
            return [];
        }
        $YHtmW = ["importShipmentsSettings_title" => ["title" => __("Import Shipments", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("If you create shipping labels in the Dashboard of the service provider, then you can configure settings of auto importing of these shipments into WooCommerce Orders here.", $this->id)], "importShipmentsEnabled" => ["title" => __("Enable / Disable", $this->id), "label" => __("Enable auto import of shipments feature", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes], "importShipmentsCronTaskInterval" => ["title" => __("Run Import Shipments Interval (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How often in seconds import shipments job should be executed. It usually depends on how often you create shipments.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "importShipmentsMaxLimit" => ["title" => __("Max Shipments At Once", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How many shipments do you usually create in the inverval configured above?", $this->id), "custom_attributes" => array_replace_recursive(["step" => 1, "min" => 1, "max" => 1000], $this->proFeatureAttributes)]];
        return $YHtmW;
    }
    protected function getCreateOrderFields() : array
    {
        if (false === apply_filters($this->id . "_hasCreateOrderFeature", false)) {
            return [];
        }
        $YHtmW = ["createOrderSettings_title" => ["title" => __("Export Orders", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure settings for auto exporting of the new WooCommerce Orders into the service provider here.", $this->id)], "createOrderEnabled" => ["title" => __("Enable / Disable", $this->id), "label" => __("Enable auto export of new orders feature", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        $YHtmW += $this->getExportOrdersFields();
        $YHtmW += ["createOrderForStatuses" => ["title" => __("Export Order Statuses", $this->id), "type" => "multiselect", "options" => $this->getOrderStatuses(), "class" => "wc-enhanced-select", "description" => __("Define the order statuses you wish to export.", $this->id), "custom_attributes" => ["data-placeholder" => __("Select Order Statuses", $this->id)]], "createOrderCronTaskInterval" => ["title" => __("Run Export Orders Interval (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How often in seconds export orders job should be executed. It usually depends on how many orders your store receives.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "createOrderDelayBetweenAttempts" => ["title" => __("Delay Between Attemps (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("The time plugin should wait before attempting to export the same order when last attempt has failed. It is recommended for it to be greater than Run Export Orders Interval.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "createOrderMaxLimit" => ["title" => __("Max Orders At Once", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How many orders should be exported at once?", $this->id), "custom_attributes" => array_replace_recursive(["step" => 1, "min" => 1, "max" => 1000], $this->proFeatureAttributes)]];
        return $YHtmW;
    }
    protected function getExportOrdersFields() : array
    {
        if (false === apply_filters($this->id . "_hasCreateOrderForShipmentFeature", false)) {
            return [];
        }
        $YHtmW = ["exportOrders" => ["type" => "checkbox", "title" => __("Export Orders for Labels", $this->id), "label" => __("Create orders in shipping service provider before printing shipping labels.", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getEmailNotificationsFields() : array
    {
        $s3YC5 = apply_filters($this->id . "_getStatuses", []);
        $YHtmW = ["emailNotifications_title" => ["title" => __("Email Notifications", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure when shipment status updates should be emailed to the customers.", $this->id)], "notifyForStatus" => ["title" => __("Notify for Statuses", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => array_replace_recursive(["any" => __("Any", $this->id)], $s3YC5), "description" => __("Email with tracking status update will be sent to the customers when shipment status will change to one of the listed values.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "autoCompleteOrders_title" => ["title" => __("Orders Auto Completion", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure for what shipment statuses order should be automatically marked as completed.", $this->id)], "completeOrderForStatuses" => ["title" => __("Complete Order for Statuses", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $s3YC5, "description" => __("Order will be marked as completed when shipment status will change to one of the listed values. By default order will not automatically change its status to completed.", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getGetShipmentFields() : array
    {
        if (false === apply_filters($this->id . "_hasGetShipmentFeature", false)) {
            return [];
        }
        $YHtmW = ["updateShipmentsSettings_title" => ["title" => __("Auto Tracking Settings", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure how often plugin should attempt to look for tracking updates. Plugin will use order email template with the added customer note containing current status of the shipment.", $this->id)], "updateShipmentsEnabled" => ["title" => __("Enable / Disable", $this->id), "label" => __("Enable auto tracking feature", $this->id), "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes], "updateShipmentsCronTaskInterval" => ["title" => __("Run Auto Tracking Interval (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How often in seconds auto tracking job should be executed.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "updateShipmentsFetchInterval" => ["title" => __("Update Shipments Interval (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("How often in seconds tracking of shipments should be updated.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "updateShipmentsStatusChangeTimeout" => ["title" => __("Status Change Timeout (secs)", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("Stop checking for shipment status update when it does not change within specified period.", $this->id), "custom_attributes" => $this->proFeatureAttributes], "updateShipmentsMaxLimit" => ["title" => __("Max Shipments At Once", $this->id), "type" => "number", "class" => "advanced-setting", "description" => __("Tracking of how many shipments we should update at once.", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getParcelAdjustmentsFields() : array
    {
        $mAEg_ = $this->settings["weight_unit"] ?? '';
        $YHtmW = ["parcelAdjustments_title" => ["title" => __("Parcel Adjustments", $this->id), "type" => "title", "description" => __("Configure how final weight of the parcel should be adjusted before requesting a quote.", $this->id)], "weightAdjustment" => ["title" => sprintf(__("Add to Weight (%s)", $this->id), $mAEg_), "type" => "number", "custom_attributes" => ["step" => 0.01], "description" => __("This fixed value will be added to weight", $this->id), "suffix" => $mAEg_], "weightAdjustmentPercent" => ["title" => __("Multiply Weight By", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01], "description" => __("Weight will be multiplied by this value", $this->id)]];
        return $YHtmW;
    }
    protected function getPriceAdjustmentsFields() : array
    {
        $YHtmW = ["priceAdjustments_title" => ["title" => __("Shipping Rate Adjustments", $this->id), "type" => "title", "description" => __("Configure how quoted shipping rates should be adjusted.", $this->id)], "priceAdjustment" => ["title" => __("Add to Rate", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01], "description" => __("This value will be added to all quoted shipping rates", $this->id)], "priceAdjustmentPercent" => ["title" => __("Multiply Rate By", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01], "description" => __("All quoted shipping rates will be multiplied by this value", $this->id)]];
        return $YHtmW;
    }
    protected function getShippingZoneFieldsOptions() : array
    {
        $phiHz = ["boxes" => __("Parcel Packing", $this->id), "services" => __("Shipping Services", $this->id)];
        if (apply_filters($this->id . "_hasOriginFeature", false)) {
            $phiHz["origin"] = __("From Address", $this->id);
        }
        if (apply_filters($this->id . "_hasRequestPerCarrierFeature", false)) {
            $phiHz["carriers"] = __("Carriers", $this->id);
        }
        return $phiHz;
    }
    protected function getShippingRatesFields() : array
    {
        $YHtmW = ["displaySettings_title" => ["title" => __("Live Shipping Rates", $this->id), "type" => "title", "class" => "tab", "description" => __("Configure live shipping rate settings that will be displayed on the cart and checkout pages.", $this->id)], "enableLiveShippingRates" => ["title" => __("Enable / Disable", $this->id), "type" => "checkbox", "label" => __("Display live shipping rates on cart and checkout pages", $this->id), "description" => __("Please note that having it enabled can affect your API limits", $this->id)], "liveShippingRatesDisclaimer" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-warning inline\"><p>%s<br/>%s</p></div>", __("If you see shipping rates that are not what you expected, please check the size and weight of your products and boxes, as well as any changes you made in the plugin settings.", $this->id), __("It's important to know that the rates you see depend on the settings you choose and not the plugin itself.", $this->id))]];
        $YHtmW += $this->getDisplayDeliveryTimeFields();
        $YHtmW += $this->getDisplayTrackingTypeFields();
        $YHtmW += $this->getShippingZonesFields();
        $YHtmW += $this->getShippingRatesConditionsFields();
        $YHtmW += $this->getShipmentExtraFields();
        return $YHtmW;
    }
    protected function getShippingZonesFields() : array
    {
        $YHtmW = ["shippingZones" => ["title" => __("Shipping Zones", $this->id), "label" => __("Control availability of this shipping method with Shipping Zones", $this->id), "type" => "checkbox", "custom_attributes" => ["onchange" => sprintf("if (this.checked && !confirm('%s\\n\\n%s\\n\\n%s')) { this.checked = false; }", __("WARNING!!!", $this->id), __("No shipping rates will be displayed until you will add plugin to desired Shipping Zones.", $this->id), __("Do you still want to enable it?", $this->id))], "description" => sprintf("<span style=\"color: red\">%s</span>", __("If this option is enabled, then live shipping rates will not be displayed until you will add plugin to the relevant shipping zones. Please note that WooCommerce does not support overlapping shipping zones.", $this->id))], "shippingZoneFields" => ["title" => __("Shipping Zone Fields", $this->id) . $this->proFeatureSuffix, "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $this->getShippingZoneFieldsOptions(), "description" => __("Choose what fields from the plugin settings you would like to overwrite in shipping zone settings", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getShippingRatesConditionsFields() : array
    {
        $YHtmW = ["fetchRatesPageCondition" => ["title" => __("Page Condition", $this->id), "type" => "select", "class" => "wc-enhanced-select advanced-setting", "options" => ['' => __("Any", $this->id), "cart" => __("Cart and Checkout", $this->id), "checkout" => __("Checkout", $this->id)], "description" => __("Plugin will attempt to fetch live shipping rates only on pages that meet specified condition", $this->id)], "maxShippingRates" => ["title" => __("Max Displayed Rates", $this->id), "type" => "number", "custom_attributes" => ["step" => 1, "min" => 1], "description" => __("Limit number of shipping rates displayed at once", $this->id)], "minRateCost" => ["title" => __("Min Shipping Rate Cost", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("Only shipping rates that are higher or equal than a given amount will be displayed", $this->id)], "maxRateCost" => ["title" => __("Max Shipping Rate Cost", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("Only shipping rates that are lower or equal than a given amount will be displayed", $this->id)]];
        return $YHtmW;
    }
    protected function getDisplayDeliveryTimeFields() : array
    {
        if (false === apply_filters($this->id . "_hasDisplayDeliveryTimeFeature", false)) {
            return [];
        }
        $YHtmW = ["displayDeliveryTime" => ["title" => __("Display Delivery Time", $this->id), "label" => __("Display delivery time next to the name of a shipping method", $this->id) . $this->proFeatureSuffix, "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes], "addToDeliveryDays" => ["title" => __("Processing time", $this->id), "type" => "number", "custom_attributes" => ["step" => 1, "min" => 0], "suffix" => __("days", $this->id), "description" => __("It will be added to the estimated delivery time", $this->id) . $this->proFeatureSuffix]];
        return $YHtmW;
    }
    protected function getDisplayTrackingTypeFields() : array
    {
        if (false === apply_filters($this->id . "_hasDisplayTrackingTypeFeature", false)) {
            return [];
        }
        $YHtmW = ["displayTrackingType" => ["title" => __("Display Tracking Type", $this->id), "label" => __("Display type of the tracking included next to the name of a shipping method", $this->id) . $this->proFeatureSuffix, "type" => "checkbox", "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getSignatureFields() : array
    {
        if (false === apply_filters($this->id . "_hasSignatureFeature", false)) {
            return [];
        }
        $YHtmW = ["signatureSettings_title" => ["title" => __("Signature Settings", $this->id), "type" => "title", "description" => __("All conditions should match for signature service should be requested.", $this->id)]];
        $JV3_T = apply_filters($this->id . "_getSignatureTypes", []);
        if (false === empty($JV3_T)) {
            $YHtmW += ["signature_type" => ["title" => __("Signature Type", $this->id), "label" => __("Display only shipping methods that support signature service", $this->id), "type" => "select", "options" => $JV3_T]];
        } else {
            $YHtmW += ["signature" => ["title" => __("Signature Required", $this->id), "label" => __("Display only shipping methods that support signature service", $this->id), "type" => "checkbox"]];
        }
        $YHtmW += ["signatureCondition" => ["title" => __("Condition", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $this->taxonomies->getOptions(), "description" => __("If any of the products in the cart or a shipping package match all of these conditions, then signature service will be requested.", $this->id)], "signatureMinTotalPrice" => ["title" => __("Min Total", $this->id), "type" => "number", "custom_attributes" => ["step" => 0.01, "min" => 0], "description" => __("If cart of shipping package total is above that amount then, then signature service will be requested.", $this->id)]];
        return $YHtmW;
    }
    protected function getMediaMailFields() : array
    {
        if (false === apply_filters($this->id . "_hasMediaMailFeature", false)) {
            return [];
        }
        $YHtmW = ["mediaMailSettings_title" => ["title" => __("Media Mail Settings", $this->id), "type" => "title", "description" => __("Configure whenever media mail shipping should be offered and under which conditions.", $this->id)], "mediaMail" => ["title" => __("Media Mail", $this->id), "type" => "select", "options" => ["exclude" => __("Do not offer it", $this->id), "only" => __("Show only Media Mail shipping method", $this->id), "include" => __("Show it together with other shipping methods", $this->id)]], "mediaMailCondition" => ["title" => __("Condition", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $this->taxonomies->getOptions(), "description" => __("If all products in the cart or a shipping package exactly match this condition, then Medial Mail shipping will be offered. It is ignored when empty.", $this->id)]];
        return $YHtmW;
    }
    protected function getAlcoholFields() : array
    {
        if (false === apply_filters($this->id . "_hasAlcoholFeature", false)) {
            return [];
        }
        $YHtmW = ["alcoholSettings_title" => ["title" => __("Alcohol Settings", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure what conditions products have to match to be considered as an alcohol.", $this->id)], "alcoholCondition" => ["title" => __("Condition", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $this->taxonomies->getOptions(), "description" => __("If any of the products in the cart or a shipping package match all of these conditions, then shipment will be marked as containing alcohol.", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getDryIceFields() : array
    {
        if (false === apply_filters($this->id . "_hasDryIceFeature", false)) {
            return [];
        }
        $YHtmW = ["dryIceSettings_title" => ["title" => __("Dry Ice Settings", $this->id) . $this->proFeatureSuffix, "type" => "title", "description" => __("Configure what conditions products have to match to be considered as a dry ice.", $this->id)], "dryIceCondition" => ["title" => __("Condition", $this->id), "type" => "multiselect", "class" => "wc-enhanced-select", "options" => $this->taxonomies->getOptions(), "description" => __("If any of the products in the cart or a shipping package match all of these conditions, then shipment will be marked as dry ice.", $this->id), "custom_attributes" => $this->proFeatureAttributes]];
        return $YHtmW;
    }
    protected function getIntegrationFields() : array
    {
        $YHtmW = apply_filters($this->id . "_getIntegrationFormFields", []);
        if (empty($YHtmW)) {
            return [];
        }
        $YHtmW = ["integration_title" => ["title" => __("Integration Settings", $this->id), "type" => "title", "description" => __("Configure settings required for plugin to properly work with the service.", $this->id)]] + $YHtmW;
        return $YHtmW;
    }
    protected function getStoreFields() : array
    {
        $iGcw0 = apply_filters($this->id . "_getStores", []);
        if (empty($iGcw0)) {
            return [];
        }
        $YHtmW = ["store" => ["title" => __("Store", $this->id), "type" => "select", "options" => array_replace_recursive(['' => __("Choose a store", $this->id)], $iGcw0)]];
        return $YHtmW;
    }
    protected function getWarehouseFields() : array
    {
        $vXjyq = apply_filters($this->id . "_getWarehouses", []);
        if (empty($vXjyq)) {
            return [];
        }
        $YHtmW = ["warehouse" => ["title" => __("Warehouse", $this->id), "type" => "select", "options" => array_replace_recursive(['' => __("Choose a warehouse", $this->id)], $vXjyq)]];
        return $YHtmW;
    }
    protected function getWcfmPromoFields() : array
    {
        if (false === is_plugin_active("wc-multivendor-marketplace/wc-multivendor-marketplace.php")) {
            return [];
        }
        if (is_plugin_active("wc-shipping-labels-for-wcfm-pro/wc-shipping-labels-for-wcfm-pro.php")) {
            return [];
        }
        $YHtmW = ["shipping_labels_for_wcfm_pro_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Do you want Vendors to be able to Print Shipping Labels?", $this->id), "https://1teamsoftware.com/product/woocommerce-shipping-labels-for-wcfm-pro/", __("Shipping Labels for WCFM PRO", $this->id), __("plugin is required, to add an ability to Vendors to print Shipping Labels in WCFM Frontend.", $this->id))]];
        return $YHtmW;
    }
    protected function getDokanPromoFields() : array
    {
        if (false === function_exists("dokan_get_store_info")) {
            return [];
        }
        if (is_plugin_active("wc-shipping-labels-for-dokan-pro/wc-shipping-labels-for-dokan-pro.php")) {
            return [];
        }
        $YHtmW = ["shipping_labels_for_dokan_pro_link" => ["type" => "title", "description" => sprintf("<div class=\"oneteamsoftware notice notice-info inline\"><p><strong>%s</strong><br/><strong><a href=\"%s\" target=\"_blank\">%s</a></strong> %s</p></div>", __("Do you want Vendors to be able to Print Shipping Labels?", $this->id), "https://1teamsoftware.com/product/woocommerce-shipping-labels-for-dokan-pro/", __("Shipping Labels for Dokan PRO", $this->id), __("plugin is required, to add an ability to Vendors to print Shipping Labels in Dokan Dashboard.", $this->id))]];
        return $YHtmW;
    }
    protected function getOrderStatuses() : array
    {
        $s3YC5 = wc_get_order_statuses();
        if (empty($s3YC5)) {
            $s3YC5 = [];
        }
        if (function_exists("wc_order_status_manager")) {
            $mZ8Mu = new WP_Query(["post_type" => "wc_order_status", "post_status" => "publish", "posts_per_page" => 1, "suppress_filters" => 1, "orderby" => "menu_order", "order" => "ASC"]);
            foreach ($mZ8Mu->posts as $aCNOl) {
                $s3YC5["wc-" . $aCNOl->post_name] = $aCNOl->post_title;
            }
            wp_reset_postdata();
        }
        return $s3YC5;
    }
}


■【無料】ワードプレス:マルウェアスキャン&セキュリティープラグイン [マルウェア・ウィルス検出と駆除]

■WordPress のマルウェア駆除、セキュリティー対策 カスタマイズや修正、引っ越し・復旧のご依頼承ります

(C)2019 ワードプレス ドクター All rights reserved.