/* Decoded by unphp.net */ My tickets. Copyright © 2018 Wyomind. All rights reserved. See LICENSE.txt for * license details. */ namespace Wyomind\EstimatedDeliveryDate\Helper; class Data extends \Magento\Framework\App\Helper\AbstractHelper { public $x6f = null; public $xc3 = null; public $x76 = null; const SEPARTOR = "-"; const DYNAMIC_ATTRIBUTES = [ "lead_time", "message_for_product", "message_foreach_cart_item", "shipping_days", "last_shipping_time_0", "last_shipping_time_1", "last_shipping_time_2", "last_shipping_time_3", "last_shipping_time_4", "last_shipping_time_5", "last_shipping_time_6" ]; private $xa8e = null; private $xa9e = null; private $xaab = null; private $xab7 = null; private $xac7 = null; public $coreHelper = null; private $xae8 = []; private $xaf3 = false; private $xb02 = []; private $xb0d = null; private $xb17 = null; protected $_request = null; protected $_attributeRepository = null; protected $_searchCriteriaBuilder = null; protected $_eddModelAttributeFactory = null; protected $_optionValueFactory = null; public $_jsonDecoder; public $_checkoutCartFactory; public $error = "Invalid License!"; public $shipOut; public $shippingLeadtime; protected $_backendModeldQuoteFactory; protected $_lastShippingDay = 0; protected $_lastShippingHour = "00,00,00"; public function __construct( \Magento\Framework\App\Helper\Context $context, \Magento\Framework\HTTP\PhpEnvironment\Request $request, \Magento\Framework\Stdlib\DateTime\DateTime $coreDateTime, \Magento\CatalogInventory\Model\StockRegistry $stockRegistry, \Wyomind\Core\Helper\Data $coreHelper, \Magento\Store\Model\StoreManager $storeManager, \Magento\Eav\Api\AttributeRepositoryInterface $attributeRepository, \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder, \Wyomind\EstimatedDeliveryDate\Model\AttributeFactory $eddModelAttributeFactory, \Magento\Catalog\Model\Product\Option\ValueFactory $optionValueFactory, \Magento\Framework\Json\Decoder $jsonDecoder, \Magento\Checkout\Model\CartFactory $checkoutCartFactory, \Magento\Backend\Model\Session\QuoteFactory $backendModeldQuoteFactory ) { $coreHelper->constructor($this, func_get_args()); $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}} = $coreHelper; $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}} = $coreDateTime; $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xad3}}} = $stockRegistry; $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xb21}}} = $storeManager; $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xb3e}}}} = $attributeRepository; $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xb51}}}} = $searchCriteriaBuilder; $this->{$this->xc3->xa3b->{$this->x6f->xa3b->x2057}} = $eddModelAttributeFactory; $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xb2c}}} = $request; $this->{$this->x76->xa0d->{$this->xc3->xa0d->xb6d}} = $optionValueFactory; $this->{$this->x76->xa0d->{$this->x76->xa0d->xb7f}} = $jsonDecoder; $this->{$this->xc3->xa3b->{$this->xc3->xa3b->x206c}} = $checkoutCartFactory; $this->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xbc1}}} = $backendModeldQuoteFactory; parent::__construct($context); } public function getLeadTimes( $x31f, $x1c3 = -1, $x321 = 0, $x212 = 0, $x216 = 0, $xfe = 1, $x2d2 = true, $x2b1 = false ) { $xae = $this->xc3->xa61->x3e7a; $x318 = $this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x1509}}; $x31d = $this->xc3->xa3b->x29d6; $x354 = $this->xc3->xa0d->{$this->xc3->xa0d->x1529}; $xc2 = $this->xc3->xa89->x538a; $x185 = $this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3ec7}}}}; $x12f = $this->xc3->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->x1547}}; $x12a = $this->xc3->xa0d->x154c; $x1f7 = $this->x6f->xa89->x53c3; $x1dd = $this->xc3->xa89->{$this->x76->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x53db}}}; $x286 = $this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x2a3e}}; $x289 = $this->x76->xa61->{$this->x76->xa61->x3f16}; $x2ab = $this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->x1590}}; try { ${$this->xc3->xa89->x4bd2} = $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xb2d}}}}->{$this->xc3->xa0d->x16d8}( ); ${$this->x76->xa89->x4be1} = $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/debug_enabled", ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4b93}}} ); ${$this->x6f->xa0d->xcd6} = $xae( $x318( 'trim', $x31d( ",", $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x16e0}( "dev/restrict/allow_ips", ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x76->xa89->{$this->xc3->xa89->{$this->x76->xa89->x4b9c}}}}} ) ) ) ); if (($x354(${$this->xc3->xa89->{$this->x76->xa89->x4bd6}}, ${$this->xc3->xa89->x4bec}) || !$xc2( ${$this->x6f->xa0d->xcd6} )) & ${$this->x76->xa0d->{$this->x76->xa0d->xcce}} || $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xb2c}}}->{$this->x76->xa0d->x16f2}( "edd" ) ) { $this->{$this->x76->xa0d->{$this->x6f->xa0d->xaf6}} = true; } ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x21c1}}}} = null; $this->{$this->xc3->xa3b->x2024} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/date_format", ${$this->x76->xa3b->x2156} ); self::{$this->x6f->xa0d->x1700}("Message", null, "header"); self::{$this->x6f->xa0d->x1700}( "Date Format", $this->{$this->x6f->xa0d->{$this->x6f->xa0d->xb14}} ); if (${$this->x6f->xa89->{$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4b8b}}}} != -1) { $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xab1}}}} = ${$this->x6f->xa61->x364e}; $this->{$this->x76->xa3b->x1fda} = ${$this->x6f->xa0d->{$this->x76->xa0d->xc7c}} - $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->{$this->x6f->xa0d->x171e}( ); } else { $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xab1}}}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->xc3->xa0d->x172f}( ) + $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->x6f->xa0d->x171e}( ); $this->{$this->x76->xa3b->x1fda} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->x6f->xa0d->x1756}( ); } $this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xaa5}}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date( "Y-m-d H:i:s", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xab0}}} ); $this->_todayMidnight = $x12f( $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->date( "y-m-d 00:00:00", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xab1}}}} ) ); self::{$this->x6f->xa0d->x1700}("Context", null, "header"); self::{$this->x6f->xa0d->x1700}( "SKU", ${$this->x6f->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x4b75}}}->{$this->x6f->xa0d->x1779}() ); self::{$this->x6f->xa0d->x1700}( "Store view", $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xb21}}}->{$this->x6f->xa0d->x178f}( ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4b93}}} )->{$this->x76->xa0d->x179e}() ); ${$this->x6f->xa0d->xcf3} = $this->{$this->x76->xa3b->x2927}( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xc72}}}}, ${$this->xc3->xa89->{$this->x76->xa89->x4b92}}, ${$this->xc3->xa89->{$this->xc3->xa89->x4bb5}} ); ${$this->xc3->xa3b->x21cf} = $this->{$this->x76->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2941}}}( ${$this->x6f->xa3b->{$this->xc3->xa3b->x2149}}, ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x215b}}}, ${$this->x6f->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x217f}}} ); ${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xc74}}}}}->{$this->x76->xa0d->x17c5}( $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x146d}}}( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xc6e}}}, "backorders_back_to_stock", ${$this->x76->xa89->x4bfd}, ${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->x3661}}} ) ); if (!${$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x21cb}}} && ${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xc72}}}}->{$this->x6f->xa0d->x17d6}( ) && ${$this->x6f->xa89->{$this->x76->xa89->x4b71}}->{$this->x6f->xa0d->x17d6}( ) >= $this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xaa5}}} ) { ${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x21e3}}} = $x12f( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xc72}}}}->{$this->x6f->xa0d->x17d6}( ) ); ${$this->xc3->xa3b->x21ea} = $x12a( (${$this->xc3->xa89->x4c11} - $x12f( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date() )) / 86400 ); self::{$this->x6f->xa0d->x1700}( "Back to Stock in ", +${$this->x76->xa0d->{$this->xc3->xa0d->xd0c}} . ' days' ); ${$this->x6f->xa3b->x21c5} = true; self::{$this->x6f->xa0d->x1700}( "Back to Stock ", $this->{$this->x76->xa0d->{$this->x6f->xa0d->xaa2}} ); $this->delay = ${$this->x76->xa89->{$this->x76->xa89->x4c21}}; } else { self::{$this->x6f->xa0d->x1700}("Available", ${$this->x76->xa89->x4c0d}); self::{$this->x6f->xa0d->x1700}("In stock", ${$this->x6f->xa89->{$this->xc3->xa89->x4c02}}); $this->delay = 0; } if (!${$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x21da}}}}) { self::{$this->x6f->xa0d->x1700}( "No message to display", null, "alert" ); return false; } else { self::{$this->x6f->xa0d->x1700}( "Processing delay", null, "header" ); ${$this->x76->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->x76->xa61->x36f1}}}} = $x318( 'trim', $x31d( " ", $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/store_days_off", ${$this->xc3->xa61->x3658} ) ) ); self::{$this->x6f->xa0d->x1700}( "Store days off", ${$this->xc3->xa3b->{$this->x76->xa3b->x21f9}} ); ${$this->x6f->xa3b->x2201} = $x31d( ',', $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/store_days", ${$this->x6f->xa3b->{$this->xc3->xa3b->x215a}} ) ); self::{$this->x6f->xa0d->x1700}( "Store opening days", ${$this->x76->xa89->{$this->x76->xa89->x4c31}} ); ${$this->x6f->xa3b->x214e} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->date( "H,i,s", $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xac3}}} + $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->{$this->x6f->xa0d->x171e}( ) ); self::{$this->x6f->xa0d->x1700}( "Current time ", ${$this->x6f->xa0d->{$this->x76->xa0d->xc7c}} ); ${$this->xc3->xa3b->x2212} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->date( "w", $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xabf}} + $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->x6f->xa0d->x171e}( ) ); self::{$this->x6f->xa0d->x1700}("Week day ", ${$this->xc3->xa3b->x2212}); ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xd35}}} = true; $this->_lastShippingTime = $this->{$this->x6f->xa89->{$this->x76->xa89->x52e5}}( ${$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x364a}}}}}, "last_shipping_time_" . ${$this->x76->xa0d->xd27}, ${$this->x76->xa89->x4bfd}, ${$this->x76->xa89->x4b8e} ); $this->{$this->x76->xa0d->{$this->xc3->xa0d->xbd4}} = ${$this->xc3->xa0d->{$this->xc3->xa0d->xd2c}}; while (true) { ${$this->xc3->xa61->{$this->x6f->xa61->x3719}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->date( "Y-m-d", $this->{$this->x76->xa3b->x1fda} + 86400 * $this->delay ); ${$this->x6f->xa3b->x222e} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date( "w", $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xabf}} + 86400 * $this->delay ); $this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xbd6}}} = ${$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->x76->xa89->x4c5f}}}}; $this->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xbe2}}} = $this->{$this->xc3->xa61->x3de4}( ${$this->x76->xa3b->x2147}, "last_shipping_time_" . ${$this->x76->xa0d->{$this->x6f->xa0d->xd4c}}, ${$this->x6f->xa0d->xcf3}, ${$this->x6f->xa0d->{$this->xc3->xa0d->xc86}} ); if (${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x2224}}}}) { self::{$this->x6f->xa0d->x1700}( "Current day", ${$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->x4c55}}} ); self::{$this->x6f->xa0d->x1700}( "Current day of the week", ${$this->x6f->xa61->{$this->xc3->xa61->x372a}} ); } if (!$x354(${$this->x76->xa0d->{$this->x6f->xa0d->xd4c}}, ${$this->xc3->xa89->x4c2d}) || $x354( ${$this->x6f->xa89->{$this->x76->xa89->x4c50}}, ${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x21fc}}} ) ) { $this->{$this->xc3->xa61->x3e12}( "Store closed (${$this->x6f->xa89->{$this->xc3->xa89->x4c5b}} ${$this->x6f->xa3b->x2228}) +1 day" ); $this->delay++; ${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2227}}}}} = false; continue; } else { if (${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x4c4d}}}}) { self::{$this->x6f->xa0d->x1700}( "Last processing time ", $this->_lastShippingTime ); if (${$this->xc3->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3656}}}} > $this->_lastShippingTime) { $this->delay++; ${$this->x76->xa0d->xd2e} = false; self::{$this->x6f->xa0d->x1700}( "After the last shipping time ", "+1 day", "alert" ); continue; } else { self::{$this->x6f->xa0d->x1700}( "Processing the same day (${$this->xc3->xa61->{$this->x76->xa61->{$this->x6f->xa61->x371e}}})", null, "success" ); break; } } else { self::{$this->x6f->xa0d->x1700}( "Processing in $this->delay days (${$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xd46}}}}) ", null, "success" ); break; } } } ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xd60}}}}} = $this; ${$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2252}}}} = $x1f7($x1dd()); $this->${$this->xc3->xa0d->xd64} = ""; ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xd7d}}} = "error"; ${$this->xc3->xa3b->{$this->xc3->xa3b->x223a}}->coreHelper->{$this->x76->xa0d->x16bc}( ${$this->x76->xa61->x372d}, ${$this->x76->xa61->{$this->x76->xa61->x373a}} ); if (${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x2243}}}}->${$this->xc3->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4c76}}} != $x1f7( ${$this->xc3->xa61->x3737} ) ) { throw new \Exception( __( ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xd58}}}->${$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3747}}} ) ); } self::{$this->x6f->xa0d->x1700}( "Shipping delay ", null, "header" ); ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->x4c8b}}}} = $this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x145d}}}( $this->{$this->xc3->xa61->x3de4}( ${$this->xc3->xa61->{$this->x76->xa61->x3640}}, "lead_time", ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x21cb}}}, ${$this->x76->xa3b->x2156} ) ); ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->x4c8b}}}} = $this->{$this->x76->xa89->x52d1}( ${$this->x6f->xa3b->{$this->x76->xa3b->x2266}}, ["from" => ${$this->x76->xa61->x3667}, "to" => ${$this->xc3->xa0d->xc9a}] ); ${$this->x76->xa3b->x2267} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/attributes/scope", ${$this->x76->xa89->x4b8e} ); self::{$this->x6f->xa0d->x1700}( "Attribute scope", ${$this->x6f->xa61->x3753} ); if ((${$this->x76->xa3b->{$this->x76->xa3b->x21c9}} && ${$this->x76->xa3b->x2267} == 2) || (!${$this->xc3->xa61->x36b7} && ${$this->x6f->xa89->x4c92} == 3) || ${$this->x76->xa61->{$this->x76->xa61->x3755}} == 1) { ${$this->x76->xa61->x375e} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/attributes/list", ${$this->x6f->xa0d->{$this->xc3->xa0d->xc86}} ); ${$this->x6f->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xdaa}}} = \Magento\Catalog\Api\Data\ProductAttributeInterface::ENTITY_TYPE_CODE; ${$this->xc3->xa89->x4cb1} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xb4d}}}; ${$this->x6f->xa61->x376d}->{$this->x76->xa0d->x1999}( "attribute_id", $x31d(",", ${$this->x76->xa61->x375e}), "in" ); ${$this->x76->xa89->x4cb9} = $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xb3c}}}->{$this->x6f->xa0d->x19b0}( ${$this->x6f->xa61->{$this->x6f->xa61->x3765}}, ${$this->x76->xa89->{$this->xc3->xa89->{$this->x6f->xa89->{$this->x76->xa89->x4cb7}}}}->{$this->xc3->xa0d->x19bb}( ) )->{$this->x76->xa0d->x19c6}(); ${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x379e}}}}} = $this->{$this->x76->xa0d->{$this->x76->xa0d->xb64}}->{$this->xc3->xa0d->x19bb}( ); foreach (${$this->xc3->xa61->{$this->x76->xa61->x3782}} as ${$this->x76->xa3b->x22a9}) { ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xdd8}}} = ${$this->x76->xa89->{$this->x76->xa89->x4cd2}}->{$this->x76->xa0d->x19dc}( ) . " : " . ${$this->xc3->xa0d->xc69}->{$this->x76->xa0d->x19e5}( ${$this->x76->xa89->{$this->x76->xa89->{$this->xc3->xa89->x4cd3}}}->{$this->x6f->xa0d->x19f4}( ) ); ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xdee}}}} = $this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->x1461}}}}}( ${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x379e}}}}}->{$this->x6f->xa0d->x1a0f}( ${$this->x76->xa89->{$this->x76->xa89->x4cd2}}->{$this->x6f->xa0d->x1a1e}(), ${$this->x6f->xa89->{$this->x76->xa89->x4b71}}->{$this->x76->xa0d->x1a2d}( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xdd0}}}->{$this->x6f->xa0d->x19f4}( ) ) ) ); self::{$this->x6f->xa0d->x1700}( ${$this->x6f->xa0d->xdd3}, "from " . ${$this->xc3->xa89->{$this->x76->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4cea}}}}['from'] . " to " . ${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4ce7}}}['to'] . " days " ); ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xd83}}} = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->x1452}}}}}( ${$this->x76->xa0d->xd7f}, ${$this->x76->xa89->x4ce3} ); } } else { self::{$this->x6f->xa0d->x1700}( "Attributes not appliable ", null, "alert" ); } ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xdfb}}}} = ${$this->x6f->xa89->{$this->x76->xa89->x4c85}}; $this->{$this->x76->xa0d->{$this->x6f->xa0d->xbad}} = ["from" => 0, "to" => 0]; if ((!$x286(${$this->x76->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4bbd}}}) && $x289( ${$this->xc3->xa89->x4bb6} ) && ${$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4bc4}}}}} == true) || ${$this->x6f->xa61->{$this->x6f->xa61->x3683}} ) { self::{$this->x6f->xa0d->x1700}( "Shipping method delay ", null, "header" ); ${$this->x76->xa3b->x22c0} = $this->{$this->x76->xa0d->{$this->x76->xa0d->xb7f}}->{$this->xc3->xa0d->x1a79}( $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/shipping/json", ${$this->x6f->xa0d->{$this->xc3->xa0d->xc86}} ) ); if (!${$this->x6f->xa89->x4bc7}) { ${$this->x6f->xa89->x4bc7} = $this->{$this->xc3->xa3b->{$this->xc3->xa3b->x206c}}->{$this->xc3->xa0d->x19bb}( )->{$this->x6f->xa0d->x1a9d}()->{$this->xc3->xa0d->x1aa4}()->{$this->xc3->xa0d->x1aaf}(); if (!${$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->x76->xa89->{$this->xc3->xa89->x4bd0}}}}} && $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x1abb}( ) ) { ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3685}}} = $this->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xbc3}}}}->{$this->xc3->xa0d->x19bb}( )->{$this->x6f->xa0d->x1a9d}()->{$this->xc3->xa0d->x1aa4}()->{$this->xc3->xa0d->x1aaf}(); } } foreach (${$this->xc3->xa0d->xdff} as ${$this->x76->xa89->{$this->xc3->xa89->x4d0b}}) { if ($x2ab( "#" . ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xe16}}}['code'] . "#", ${$this->x6f->xa89->x4bc7} ) ) { ${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xe25}}} = $this->{$this->x76->xa0d->x1457}( ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x22ce}}}["leadtime"] ); ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4c8e}}}}} = $this->{$this->x76->xa3b->x290d}( ${$this->x76->xa0d->xd7f}, [ "from" => ${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xe28}}}}['from'], "to" => ${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xe28}}}}['to'] ] ); $this->{$this->x76->xa0d->{$this->x6f->xa0d->xbad}} = ${$this->x76->xa0d->xe20}; break; } } self::{$this->x6f->xa0d->x1700}("Leadtime", ${$this->x76->xa61->x374c}); } else { ${$this->x6f->xa89->{$this->x76->xa89->{$this->xc3->xa89->x4c8a}}} = $this->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2919}}}}}( ${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x374f}}}, ["from" => ${$this->xc3->xa89->x4bb6}['from'], "to" => ${$this->xc3->xa0d->xcaa}['to']] ); $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xbb5}}}} = ${$this->xc3->xa3b->x2182}; } self::{$this->x6f->xa0d->x1700}( "Shipping from " . ${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3751}}}}['from'] . " to " . ${$this->x6f->xa0d->{$this->x76->xa0d->xd81}}['to'] . " days ", null, "success" ); ${$this->x76->xa89->{$this->x76->xa89->x4d17}} = [ "from" => $this->delay, "to" => $this->delay ]; ${$this->x76->xa3b->x22e9} = [ "from" => ${$this->x6f->xa89->{$this->x76->xa89->x4cf4}}["from"], "to" => ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xdfb}}}}["to"] ]; if (${$this->xc3->xa89->x4c82}['to'] <= ${$this->x6f->xa89->{$this->x76->xa89->x4c85}}['from']) { ${$this->x76->xa61->x374c}['to'] = ${$this->x6f->xa0d->{$this->x76->xa0d->xd81}}['from'] + 1; } foreach (${$this->x76->xa61->{$this->x76->xa61->x374d}} as ${$this->x76->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3811}}}} => ${$this->x6f->xa3b->x22fa}) { self::{$this->x6f->xa0d->x1700}( "Estimated Delivery Date ${$this->x76->xa0d->{$this->x76->xa0d->xe48}}", null, "header" ); ${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4d40}}}}} = $x31d( ",", $this->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3dec}}}}( ${$this->x6f->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4b77}}}}, "shipping_days", ${$this->xc3->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x36c0}}}}, ${$this->x6f->xa3b->{$this->xc3->xa3b->x215a}} ) ); self::{$this->x6f->xa0d->x1700}( "Shipping days ", ${$this->xc3->xa3b->{$this->x6f->xa3b->x2307}} ); ${$this->x76->xa61->{$this->xc3->xa61->x382f}} = $x318( 'trim', $x31d( " ", $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x146d}}}( ${$this->xc3->xa0d->xc69}, "shipping_days_off", ${$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->x4c04}}}, ${$this->x76->xa61->{$this->xc3->xa61->x365c}} ) ) ); self::{$this->x6f->xa0d->x1700}( "Shipping Days off ", ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4d4d}}}} ); ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x2323}}} = 0; // prevent infinite loop by limiting iterator to 365 days // PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 268435464 bytes) in // /var/domains/staginglampenlicht-staging.lampenlicht.nl/application/app/code/Wyomind/EstimatedDeliveryDate/Helper/Data.php on line 11 $i = 0; while ($i++ <= 365 && ${$this->xc3->xa0d->{$this->x6f->xa0d->xe6b}} <= ${$this->x76->xa61->{$this->x76->xa61->x374d}}[${$this->x76->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3814}}}}}]) { ${$this->x6f->xa3b->x2228} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->{$this->xc3->xa0d->x1b64}( "Y-m-d", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xab0}}} + 86400 * ${$this->x76->xa0d->xe2b}[${$this->x6f->xa89->{$this->xc3->xa89->x4d2d}}] ); ${$this->x76->xa0d->{$this->x6f->xa0d->xd4c}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->xc3->xa0d->x1b64}( "w", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xab0}}} + 86400 * ${$this->x76->xa61->x37ea}[${$this->x76->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3814}}}}}] ); ${$this->xc3->xa89->{$this->x6f->xa89->x4d5d}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->{$this->xc3->xa0d->x1b64}( "l", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xab0}}} + 86400 * ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xe32}}}[${$this->xc3->xa0d->xe46}] ); if (!$x354(${$this->x76->xa0d->{$this->x6f->xa0d->xd4c}}, ${$this->xc3->xa0d->xe55}) || $x354( ${$this->xc3->xa61->x3716}, ${$this->x76->xa61->{$this->xc3->xa61->x382f}} ) ) { $this->{$this->xc3->xa0d->x1486}( ${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4d60}}} . "(${$this->x76->xa89->x4c59}) " . ${$this->xc3->xa61->{$this->x6f->xa61->x3719}} . " > No shipping +1 day", null, "alert" ); if (${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x3841}}}} < ${$this->x76->xa0d->xe3a}[${$this->x76->xa3b->x22ef}]) { ${$this->x76->xa89->x4cf3}[${$this->x76->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3811}}}}]++; } ${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x37f3}}}}[${$this->x76->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x22f9}}}}]++; } else { $this->{$this->x76->xa89->x52f5}( ${$this->x76->xa89->x4d5b} . "(${$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xd52}}}}) " . ${$this->x6f->xa3b->x2228} . " > Shipping in progress" ); if (${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->x383f}}} == ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4c8e}}}}}[${$this->x76->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x22f6}}}]) { break; } else { ${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xe70}}}++; ${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x37f3}}}}[${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xe4c}}}]++; } } } if ($this->delay <= 0) { ${$this->x6f->xa3b->x22ba}[${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xe4c}}}]--; } ${$this->x6f->xa89->{$this->x76->xa89->{$this->x76->xa89->{$this->x76->xa89->x4c8b}}}}[${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xe4c}}}] = ${$this->xc3->xa0d->{$this->x6f->xa0d->xe2f}}[${$this->xc3->xa0d->xe46}]; } $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}} = ${$this->x76->xa89->x4cf3}; $this->{$this->xc3->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3e1b}}}( "Estimated Delivery Date from " . ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xd83}}}["from"] . " to " . ${$this->x76->xa3b->x2265}["to"] . " days", null, "success" ); } return ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xd84}}}}; } catch (\Exception $x3b7) { throw new \Exception($x3b7->{$this->xc3->xa0d->x1ba9}()); } } public function renderCartMessage($x3fa, $x3e2 = 0, $x402 = "cart", $x409 = false) { if ($this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/enabled", ${$this->x76->xa89->{$this->x6f->xa89->x4d74}} ) ) { ${$this->xc3->xa0d->{$this->x76->xa0d->xeb2}} = null; ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x237d}}} = null; ${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x2390}}}}} = (${$this->xc3->xa0d->{$this->x76->xa0d->xea3}} == "preview"); ${$this->x6f->xa61->x38a5} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/global_message/use_message_for_cart", ${$this->xc3->xa3b->x2344} ); self::{$this->x6f->xa0d->x1700}( "Use message in cart ", ${$this->x6f->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->x6f->xa61->x38ae}}}} ); ${$this->x76->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x239e}}} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/global_message/message_for_cart", ${$this->xc3->xa0d->xe90} ); self::{$this->x6f->xa0d->x1700}( "Message in cart ", ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->x38b8}}} ); if (${$this->xc3->xa89->{$this->xc3->xa89->{$this->x76->xa89->x4d91}}}) { ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->x38b8}}} = ${$this->x6f->xa3b->x235d}; } ${$this->x76->xa3b->{$this->x76->xa3b->x23a4}} = $this->{$this->x6f->xa89->x5320}( ${$this->x6f->xa89->{$this->x76->xa89->x4db3}}, ${$this->xc3->xa61->{$this->x6f->xa61->x385a}} ); self::{$this->x6f->xa0d->x1700}( "Parsed Message", ${$this->xc3->xa0d->{$this->x6f->xa0d->xee3}}, "success" ); if (((${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x238e}}}} || ${$this->x6f->xa89->x4d7c} == "cart") && ${$this->x76->xa89->{$this->x76->xa89->x4dab}}) || ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x76->xa89->x4d91}}}) { if (${$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x389a}}}) { ${$this->x76->xa0d->{$this->xc3->xa0d->xebe}} = " "; } ${$this->x6f->xa3b->x2365} .= "
" . ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2382}}}} . ${$this->xc3->xa89->x4db5} . "
"; } ${$this->xc3->xa3b->{$this->x76->xa3b->x2369}} .= self::{$this->x6f->xa0d->x1c1f}(); return ${$this->xc3->xa0d->{$this->x76->xa0d->xeb2}}; } } public function getDatetime($x426) { $x424 = $this->xc3->xa3b->{$this->x76->xa3b->x2a64}; ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xeff}}}}['from'] = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->x14bb}}( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->date( 'Y-m-d H:i:s', $this->{$this->x76->xa3b->x1fda} + 86400 * (${$this->xc3->xa61->{$this->x6f->xa61->x38c3}}['from']) ) ); return ${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->x23b8}}}['from']; } public function renderMessage( $x555 = null, $x45a = -1, $x559 = 0, $x598 = "product", $x45d = 0, $x461 = 0, $x47f = 1, $x468 = false ) { $x527 = $this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x2a71}}}; $x50b = $this->x76->xa0d->x15b0; try { if ($this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/common/enabled", ${$this->x6f->xa3b->{$this->x6f->xa3b->x23e2}} ) ) { ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xf6b}}}} = null; ${$this->xc3->xa3b->x243b} = null; ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xf89}}}} = (${$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->x76->xa89->x4df6}}}} == "preview"); if (!${$this->xc3->xa3b->x23c2}) { return; } ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x245b}}} = $this->{$this->x76->xa61->{$this->x76->xa61->x3dbb}}( ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x23ca}}}, ${$this->x76->xa0d->xf0d}, ${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x38ec}}}}}, ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x23fc}}}}}, ${$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->{$this->x6f->xa61->x390f}}}}, ${$this->x76->xa89->x4e17}, true, ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xf61}}}} ); if (!${$this->x76->xa0d->xf8d}) { ${$this->x76->xa0d->{$this->x6f->xa0d->xf65}} .= self::{$this->x6f->xa0d->x1c1f}(); return ${$this->xc3->xa89->x4e36}; } ${$this->x6f->xa89->{$this->x76->xa89->x4e6a}} = $this->{$this->xc3->xa61->x3df1}( ${$this->xc3->xa3b->x23c2}, ${$this->x6f->xa0d->{$this->x76->xa0d->xf25}}, ${$this->x6f->xa0d->{$this->x76->xa0d->xf53}} ); ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x2437}}} .= $this->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x28f1}}}( ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x245b}}}, ${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x38ec}}}}}, ${$this->x76->xa89->x4dec} ); ${$this->x6f->xa3b->x2462} = $this->{$this->xc3->xa0d->{$this->x6f->xa0d->x1468}}( ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->x23cd}}}}, "use_message_foreach_cart_item", ${$this->x6f->xa3b->x245e}, ${$this->xc3->xa0d->xf20} ); self::{$this->x6f->xa0d->x1700}( "Use message foreach cart item ", ${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2469}}} ); ${$this->x76->xa3b->{$this->x76->xa3b->x246f}} = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x146d}}}( ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x23ca}}}, "message_foreach_cart_item", ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xf93}}}, ${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x38ea}}} ); self::{$this->x6f->xa0d->x1700}( "Message foreach cart item ", ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2474}}}} ); ${$this->x6f->xa89->{$this->x6f->xa89->x4e7d}} = $this->{$this->xc3->xa3b->x2985}( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xfa7}}}, ${$this->x76->xa61->{$this->x76->xa61->x395b}} ); self::{$this->x6f->xa0d->x1700}( "Parsed Message", ${$this->xc3->xa3b->{$this->x6f->xa3b->x2481}}, "success" ); if (${$this->x76->xa61->{$this->xc3->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3955}}}} || (${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xf3d}}}} == "cart_item" && ${$this->x6f->xa3b->x2462}) || ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xf3d}}}} == "osc_item") { if (${$this->xc3->xa3b->x2445}) { ${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3943}}} = " "; } ${$this->xc3->xa0d->xf64} .= "
" . ${$this->x76->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4e44}}} . ${$this->x6f->xa89->{$this->x6f->xa89->x4e7d}} . "
"; } ${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x2494}}} = $this->{$this->xc3->xa3b->{$this->xc3->xa3b->x2924}}( ${$this->x76->xa89->x4dc8}, "message_foreach_email", ${$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x2461}}}, ${$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x38ea}}} ); self::{$this->x6f->xa0d->x1700}( "Message foreach email item ", ${$this->x76->xa61->x3987} ); ${$this->xc3->xa89->x4e94} = $this->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->x298c}}}( ${$this->x6f->xa61->{$this->x76->xa61->{$this->x76->xa61->x398e}}}, ${$this->xc3->xa89->x4e5a} ); self::{$this->x6f->xa0d->x1700}( "Parsed Message", ${$this->x6f->xa0d->{$this->x6f->xa0d->xfc7}}, "success" ); if ((${$this->xc3->xa3b->{$this->xc3->xa3b->x2449}} || ${$this->x76->xa0d->xf31} == "email")) { if (${$this->xc3->xa3b->x2445}) { ${$this->x76->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4e44}}} = " "; } ${$this->xc3->xa0d->xf64} .= "
" . ${$this->xc3->xa0d->xf6d} . ${$this->x6f->xa89->{$this->x6f->xa89->x4e7d}} . "
"; } ${$this->xc3->xa61->x39a3} = $this; ${$this->x6f->xa61->{$this->xc3->xa61->x39b2}} = $x527($x50b()); $this->${$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x24be}}}} = ""; ${$this->x76->xa3b->x24c3} = "error"; ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4ea2}}}}->coreHelper->{$this->x76->xa0d->x16bc}( ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4e9e}}}, ${$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x4eaf}}} ); if (${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xfcf}}}->${$this->xc3->xa0d->xfd2} != $x527( ${$this->x76->xa89->{$this->x6f->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x4eb2}}}} ) ) { throw new \Exception( __( ${$this->xc3->xa89->{$this->x76->xa89->x4e9d}}->${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x24cb}}} ) ); } $this->countdownFormat = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/countdown/format", ${$this->xc3->xa89->{$this->xc3->xa89->x4de4}} ); self::{$this->x6f->xa0d->x1700}( "Countdown format", $this->countdownFormat ); $this->countdownType = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/countdown/type", ${$this->x6f->xa3b->x23e0} ); self::{$this->x6f->xa0d->x1700}("Countdown type", $this->countdownFormat); $this->countdownRealTime = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/countdown/realtime", ${$this->xc3->xa89->x4de0} ); self::{$this->x6f->xa0d->x1700}( "Countdown in real time", $this->countdownRealTime ); ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xfee}}}} = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x146d}}}( ${$this->xc3->xa61->{$this->x76->xa61->{$this->x6f->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x38dd}}}}}, "use_message_for_product", ${$this->x76->xa89->x4e67}, ${$this->xc3->xa89->x4de0} ); self::{$this->x6f->xa0d->x1700}( "Use message in product page ", ${$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->x6f->xa89->x4ec9}}}}} ); ${$this->x76->xa61->x39c9} = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x1470}}}}( ${$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->{$this->x6f->xa89->x4dd0}}}}, "message_for_product", ${$this->x6f->xa3b->x245e}, ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4de9}}} ); self::{$this->x6f->xa0d->x1700}( "Message in product page ", ${$this->x76->xa61->x39c9} ); ${$this->xc3->xa0d->x1006} = $this->{$this->xc3->xa3b->x2985}( ${$this->xc3->xa3b->{$this->x76->xa3b->x24da}}, ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x245b}}}, true ); self::{$this->x6f->xa0d->x1700}( "Parsed Message", ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->x100e}}}, "success" ); if ((${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x244e}}} || ${$this->x76->xa89->x4dec} == "product" || ${$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->x76->xa89->x4df6}}}} == null) && ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xfec}}}) { if (${$this->x76->xa0d->xf7b}) { ${$this->x76->xa89->{$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4e45}}}} = " "; } ${$this->xc3->xa3b->x2433} .= "
" . ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xf76}}}} . ${$this->x6f->xa3b->{$this->xc3->xa3b->x24e3}} . "
"; } ${$this->x76->xa89->{$this->xc3->xa89->x4e39}} .= self::{$this->x6f->xa0d->x1c1f}(); return ${$this->x6f->xa61->x392d}; } } catch (\Exception $x59b) { if (${$this->xc3->xa61->{$this->x76->xa61->x38f1}} == "preview") { throw new \Exception($x59b->{$this->xc3->xa0d->x1ba9}()); } } } private function x59c($x5cb, $x5bf) { ${$this->xc3->xa61->x39fc} = []; foreach (${$this->x6f->xa3b->x24ef} as ${$this->x6f->xa3b->{$this->x6f->xa3b->x2518}} => ${$this->x76->xa61->{$this->xc3->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3a1f}}}}) { if (isset(${$this->x6f->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->x76->xa61->x39f9}}}}}[${$this->xc3->xa3b->x2513}])) { ${$this->xc3->xa0d->x102d}[${$this->x76->xa0d->x1039}] = ${$this->x76->xa89->x4f05} + ${$this->x6f->xa0d->{$this->x6f->xa0d->x1027}}[${$this->x6f->xa3b->{$this->x6f->xa3b->x2518}}]; } else { ${$this->xc3->xa0d->{$this->x76->xa0d->x102f}}[${$this->x6f->xa3b->{$this->x6f->xa3b->x2518}}] = ${$this->x6f->xa3b->x24ef}[${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x103d}}}]; } } return ${$this->x6f->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->x76->xa61->x3a03}}}}; } public function parseFromTo($x5e7) { $x5e4 = $this->x6f->xa61->x3f4f; ${$this->x6f->xa61->{$this->xc3->xa61->x3a2a}} = ["from" => 0, "to" => 0]; ${$this->x76->xa61->x3a33} = $x5e4(self::SEPARTOR, ${$this->x76->xa89->x4f12}); if (isset(${$this->x76->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x253d}}}[0])) { ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->x1067}}}["from"] = (int)${$this->x76->xa61->x3a33}[0]; if (isset(${$this->x76->xa61->x3a33}[1])) { ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3a2f}}}}["to"] = (int)${$this->x76->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3a44}}}}}[1]; } } return ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x106a}}}}; } private function x604($x665, $x681, $x613, $x62d) { $x62e = $this->xc3->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x2a9e}}; $x63a = $this->x76->xa89->{$this->xc3->xa89->x545d}; $x645 = $this->xc3->xa61->x3f74; ${$this->x6f->xa61->x3a70} = (${$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x1099}}}}) ? "orders" : "backorders"; ${$this->x6f->xa3b->x2579} = []; ${$this->x76->xa0d->{$this->x76->xa0d->x10c6}} = "getDefaultConfig"; if (${$this->x6f->xa89->{$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x4f58}}}}) { ${$this->x6f->xa89->{$this->x76->xa89->x4f74}} = "getStoreConfig"; } ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4f6e}}}['config_' . ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x254b}}}}] = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xae5}}}}->{${$this->x6f->xa89->x4f73}}( "estimateddeliverydate/" . ${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4f5f}}} . "/" . ${$this->x76->xa3b->{$this->x6f->xa3b->x2545}}, ${$this->xc3->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3a6e}}}}} ); if ($x62e(${$this->x76->xa3b->{$this->x6f->xa3b->x2545}}, static::DYNAMIC_ATTRIBUTES)) { ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x10d5}}} = null; foreach ($x63a("_", ${$this->x76->xa0d->x1088}) as ${$this->x76->xa0d->{$this->x6f->xa0d->x10d7}}) { ${$this->x6f->xa89->x4f76} .= $x645(${$this->x6f->xa61->x3aa7}, 0, 1); } ${$this->x6f->xa3b->x2579}['store_' . ${$this->x76->xa0d->x1088}] = ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x1084}}}}}->{$this->x76->xa0d->x1a2d}( ${$this->xc3->xa3b->x256c} . "_" . ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x10d5}}} ); ${$this->xc3->xa89->{$this->xc3->xa89->x4f6d}}['store_use_config_' . ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x254b}}}}] = ${$this->x76->xa3b->x253e}->{$this->x76->xa0d->x1a2d}( "use_config_" . ${$this->x6f->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3a79}}}} . "_" . ${$this->xc3->xa89->{$this->x6f->xa89->x4f7a}} ); if (${$this->x76->xa3b->{$this->x76->xa3b->x257c}}['store_use_config_' . ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x254e}}}}}] === "0") { return ${$this->xc3->xa0d->x10bd}['store_' . ${$this->x76->xa61->x3a4a}]; } } return ${$this->x76->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2582}}}}['config_' . ${$this->x6f->xa3b->x2544}]; } public function getStockStatus($x6bf, $x6c4, $x6b5 = 1) { if (!isset( $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xaee}}['stock_status'][${$this->x6f->xa89->{$this->x76->xa89->x4f94}}->{$this->x6f->xa0d->x1779}( )][${$this->x6f->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->x25c5}}}] ) ) { ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x25e5}}}} = $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->xad3}}}->{$this->x76->xa0d->x1e2b}( ${$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3ab5}}}->{$this->x6f->xa0d->x1779}(), ${$this->xc3->xa61->{$this->x76->xa61->x3ac5}} ); ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x25fb}}}}} = ${$this->x76->xa61->{$this->x6f->xa61->x3ade}}->{$this->x6f->xa0d->x1e45}( ) || (${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x1106}}}->{$this->xc3->xa0d->x1e49}( ) && $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x16e0}( "cataloginventory/item_options/manage_stock", ${$this->xc3->xa89->{$this->x6f->xa89->x4f9b}} )); $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xaee}}['stock_status'][${$this->x6f->xa89->{$this->x76->xa89->x4f94}}->{$this->x6f->xa0d->x1779}( )][${$this->x76->xa0d->{$this->xc3->xa0d->x10ee}}] = ((${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3ae1}}}->{$this->xc3->xa0d->x1e6f}( ) >= ${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x25d9}}}} && ${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3af5}}}}}) || !${$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->x3aec}}}); } return $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xaee}}['stock_status'][${$this->xc3->xa61->{$this->x6f->xa61->{$this->xc3->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3abd}}}}}->{$this->x6f->xa0d->x1779}( )][${$this->xc3->xa61->{$this->x76->xa61->x3ac5}}]; } private function x6c8($x6fb, $x6f6, $x6fa = 1) { if ($this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x1abb}()) { $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xaee}}['availability'][${$this->x6f->xa0d->x1119}->{$this->x6f->xa0d->x1779}( )] = 1; } elseif (!isset( $this->{$this->x6f->xa3b->{$this->x6f->xa3b->x1ffd}}['availability'][${$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->x1126}}}}->{$this->x6f->xa0d->x1779}( )] ) ) { ${$this->xc3->xa89->{$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->x4feb}}}} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->xace}}->{$this->x76->xa0d->x1e2b}( ${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x2605}}}->{$this->x6f->xa0d->x1779}(), ${$this->xc3->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x4fd1}}}} ); ${$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3b2d}}} = ${$this->x6f->xa3b->{$this->xc3->xa3b->x2625}}->{$this->xc3->xa0d->x1ec6}( ) || (${$this->x6f->xa61->{$this->x76->xa61->{$this->x76->xa61->{$this->xc3->xa61->x3b26}}}}->{$this->x6f->xa0d->x1ed1}( ) && $this->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xae4}}}->{$this->x76->xa0d->x16e0}( "cataloginventory/item_options/backorders", ${$this->x6f->xa61->{$this->xc3->xa61->x3b02}} )); $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xaee}}['availability'][${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x2609}}}}->{$this->x6f->xa0d->x1779}( )] = (${$this->xc3->xa89->{$this->x76->xa89->{$this->x6f->xa89->x4ff7}}} || $this->{$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->x52eb}}}( ${$this->xc3->xa3b->{$this->x6f->xa3b->x2601}}, ${$this->xc3->xa0d->x112c}, ${$this->x6f->xa3b->{$this->x6f->xa3b->x2622}} )); } return $this->{$this->x6f->xa3b->{$this->x6f->xa3b->x1ffd}}['availability'][${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x2605}}}->{$this->x6f->xa0d->x1779}( )]; } public function addTrace($x705, $x708 = null, $x70a = false) { $this->{$this->xc3->xa0d->{$this->x6f->xa0d->xb0a}}[] = [ ${$this->x6f->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x263b}}}}, ${$this->xc3->xa89->{$this->x76->xa89->x5007}}, ${$this->x76->xa89->x5014} ]; } public function renderTrace() { $x712 = $this->x76->xa0d->{$this->x76->xa0d->x15fd}; $x71b = $this->x76->xa3b->x2aca; $x726 = $this->xc3->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x2ad3}}; $x740 = $this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->{$this->xc3->xa61->x3fb4}}}; if ($this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xaf8}}}) { ${$this->xc3->xa89->{$this->x6f->xa89->x5019}} = ""; if ($x712($this->{$this->xc3->xa0d->{$this->x6f->xa0d->xb0a}})) { foreach ($this->{$this->xc3->xa3b->{$this->x76->xa3b->x2019}} as ${$this->x76->xa61->{$this->xc3->xa61->x3b5e}}) { if ($x71b(${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3b5f}}}[1])) { ${$this->x6f->xa61->{$this->x6f->xa61->x3b61}} = (${$this->xc3->xa89->{$this->x76->xa89->{$this->x76->xa89->x5029}}}[1]) ? "true" : "false"; } elseif ($x726(${$this->xc3->xa0d->{$this->xc3->xa0d->x1182}}[1])) { ${$this->x6f->xa89->{$this->x6f->xa89->x5034}} = []; foreach (${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->x1185}}}[1] as ${$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x119d}}}} => ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->x11a1}}}) { ${$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x266e}}}[] = ${$this->x76->xa89->{$this->x6f->xa89->{$this->xc3->xa89->{$this->x76->xa89->x5051}}}}; } ${$this->x6f->xa61->{$this->x6f->xa61->x3b61}} = $x740( "
", ${$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x266e}}} ); } else { ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x1194}}} = ${$this->xc3->xa0d->{$this->xc3->xa0d->x1182}}[1]; } switch (${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3b5f}}}[2]) { case "alert": ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->x11ac}}} = "red"; ${$this->x76->xa0d->x11b1} = "white"; ${$this->xc3->xa89->x5077} = "center"; break; case "success": ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2692}}}}} = "green"; ${$this->x76->xa3b->{$this->xc3->xa3b->x269a}} = "white"; ${$this->xc3->xa61->x3b98} = "center"; break; case "header": ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3b85}}} = "blue"; ${$this->x76->xa89->{$this->xc3->xa89->{$this->x6f->xa89->x5070}}} = "white"; ${$this->xc3->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x5080}}} = "center"; break; default: ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2691}}}} = "white"; ${$this->x76->xa61->{$this->xc3->xa61->x3b8f}} = "black"; ${$this->xc3->xa61->{$this->xc3->xa61->x3b9d}} = "left"; break; } if (${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x1194}}} == null) { ${$this->x6f->xa61->{$this->x6f->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x6f->xa61->x3b59}}}}} .= ""; } else { ${$this->x6f->xa61->x3b53} .= ""; } } } ${$this->x6f->xa61->x3b53} .= "
" . ${$this->x76->xa61->{$this->xc3->xa61->x3b5e}}[0] . "
" . ${$this->x6f->xa61->x3b5a}[0] . " " . ${$this->x6f->xa61->{$this->x6f->xa61->x3b61}} . "
"; return ${$this->x76->xa0d->{$this->xc3->xa0d->x117c}}; } } public function cmp_from($x7b2, $x7b3) { if (${$this->x76->xa89->{$this->x6f->xa89->x508a}}['from'] > ${$this->xc3->xa89->{$this->xc3->xa89->x5091}}['from']) { return 1; } elseif (${$this->xc3->xa0d->x11c9}['from'] < ${$this->x76->xa0d->{$this->x6f->xa0d->x11d6}}['from']) { return -1; } else { return 0; } } public function cmp_to($x7c5, $x7ca) { if (${$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->x509e}}}['to'] > ${$this->xc3->xa89->{$this->x6f->xa89->x50a2}}['to']) { return 1; } elseif (${$this->x76->xa61->x3bb7}['to'] < ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->x11f0}}}['to']) { return -1; } else { return 0; } } public function getLeadTimeRange($x7e2 = []) { $x7e5 = $this->xc3->xa0d->x1627; $x7ee = $this->xc3->xa3b->x2af8; ${$this->x76->xa89->x50bc} = ${$this->x76->xa89->{$this->x6f->xa89->{$this->x6f->xa89->x50b4}}}; $x7e5(${$this->x76->xa89->{$this->xc3->xa89->x50bd}}, [$this, "cmp_from"]); ${$this->x76->xa0d->x120f} = $x7ee(${$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x26e4}}}); ${$this->xc3->xa61->{$this->xc3->xa61->x3bdf}} = ${$this->xc3->xa3b->x26d7}; $x7e5(${$this->x76->xa89->{$this->x6f->xa89->x50d5}}, [$this, "cmp_to"]); ${$this->x6f->xa89->{$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x50e2}}}} = $x7ee( ${$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x121f}}}} ); return [ "from" => ${$this->x76->xa0d->x120f}['from'], "to" => ${$this->x6f->xa89->{$this->xc3->xa89->x50dc}}['to'] ]; } private function x7f7($x81f) { $x83e = $this->x76->xa0d->x164b; ${$this->x76->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->x1246}}}}} = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday' ]; ${$this->x76->xa3b->x2718} = [ __('Monday'), __('Tuesday'), __('Wednesday'), __('Thursday'), __('Friday'), __('Saturday'), __('Sunday') ]; ${$this->xc3->xa89->{$this->x76->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x5115}}}} = [ 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun' ]; ${$this->x6f->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x1265}}} = [ __('Mon'), __('Tue'), __('Wed'), __('Thu'), __('Fri'), __('Sat'), __('Sun') ]; ${$this->xc3->xa0d->{$this->x76->xa0d->x126c}} = [ "January", 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ]; ${$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x1282}}}} = [ __('January'), __('February'), __('March'), __('April'), __('May'), __('June'), __('July'), __('August'), __('September'), __('October'), __('November'), __('December') ]; ${$this->xc3->xa3b->x2735} = [ "Jan", 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ]; ${$this->xc3->xa3b->x273c} = [ __('Jan'), __('Feb'), __('Mar'), __('Apr'), __('May'), __('Jun'), __('Jul'), __('Aug'), __('Sep'), __('Oct'), __('Nov'), __('Dec') ]; ${$this->x6f->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3c52}}} = $x83e( ${$this->x76->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->x76->xa61->x3bf9}}}}, ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->x1254}}}}, ${$this->xc3->xa89->{$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->{$this->x6f->xa89->x50f5}}}}} ); ${$this->x6f->xa0d->x1297} = $x83e( ${$this->xc3->xa0d->{$this->xc3->xa0d->x1258}}, ${$this->x6f->xa0d->x1260}, ${$this->x6f->xa0d->x1297} ); ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->x129c}}} = $x83e( ${$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x126f}}}, ${$this->xc3->xa3b->x272c}, ${$this->xc3->xa89->{$this->x76->xa89->{$this->x76->xa89->x5157}}} ); return $x83e( ${$this->x6f->xa0d->{$this->x6f->xa0d->x1284}}, ${$this->x6f->xa61->x3c3d}, ${$this->xc3->xa3b->x274e} ); } private function x845($x943 = null, $x92d = [], $x882 = false) { $x8f8 = $this->xc3->xa0d->x1656; $x871 = $this->x76->xa89->x54e4; $x877 = $this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x2b34}}; $x8d6 = $this->xc3->xa61->{$this->x6f->xa61->x4022}; $x8ac = $this->x76->xa89->x550f; $x8d2 = $this->x76->xa3b->{$this->x76->xa3b->x2b53}; $x93f = $this->x76->xa3b->x2b63; if (${$this->x76->xa61->{$this->x76->xa61->x3c5f}}['to'] <= ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x2773}}}}['from']) { ${$this->x76->xa61->{$this->x76->xa61->x3c5f}}['to'] = ${$this->xc3->xa0d->x12b3}['from'] + 1; } ${$this->x76->xa89->x5174}['from'] = $this->{$this->xc3->xa0d->{$this->xc3->xa0d->x14bb}}( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date( $this->{$this->x6f->xa0d->{$this->x6f->xa0d->xb14}}, $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xac3}}} + 86400 * (${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x12b9}}}['from']) ) ); ${$this->xc3->xa0d->x12cd}['to'] = $this->{$this->x6f->xa89->x5312}( $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->date( $this->{$this->x6f->xa0d->{$this->x6f->xa0d->xb14}}, $this->{$this->x76->xa3b->x1fda} + 86400 * (${$this->x6f->xa0d->{$this->x6f->xa0d->x12b6}}['to']) ) ); ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x12dd}}}['from'] = $x871( ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x76->xa89->{$this->x76->xa89->x5169}}}}['from'] / 7 ); ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->x12e4}}}}}['to'] = $x877( ${$this->x76->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x276f}}}['to'] / 7 ); ${$this->xc3->xa89->{$this->x6f->xa89->x518b}} = [ "{{ship_out_from_date}}", "{{ship_out_to_date}}", "{{ship_out_from_x_days}}", "{{ship_out_to_x_days}}", "{{shipping_from_x_days}}", "{{shipping_to_x_days}}", "{{shipping_from_x_business_days}}", "{{shipping_to_x_business_days}}", "{{from_x_day}}", "{{to_x_day}}", "{{from_date}}", "{{to_date}}", "{{from_x_week}}", "{{to_x_week}}", "{{countdown}}", "{{order_limit}}" ]; ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->x27b5}}}}} = null; if (${$this->x76->xa3b->{$this->xc3->xa3b->x2778}}) { ${$this->xc3->xa61->{$this->x6f->xa61->{$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3ca6}}}}} = $x8d6( ',', $this->_lastShippingTime ); ${$this->x76->xa0d->x1302} = $this->_todayMidnight + ${$this->x6f->xa61->x3c9d}[0] * 3600 + ${$this->xc3->xa61->{$this->x76->xa61->x3c9f}}[1] * 60 + ${$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3ca4}}}[2] + 86400 * $this->delay; ${$this->xc3->xa89->x51ad} = ${$this->x76->xa0d->x1302} - $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xab1}}}}; ${$this->x76->xa61->{$this->x6f->xa61->x3cc3}} = null; if ($this->countdownType) { ${$this->x76->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3cc4}}} = "knob-countdown"; } ${$this->xc3->xa61->{$this->x6f->xa61->{$this->x76->xa61->x3c98}}} = ""; ${$this->x6f->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->x12f8}}} .= ''; } ${$this->x76->xa3b->x27d2} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date( "H,i,s", $this->{$this->x76->xa3b->x1fda} + $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->{$this->x6f->xa0d->x171e}( ) ); ${$this->x76->xa0d->x132c} = $this->{$this->x6f->xa0d->{$this->x76->xa0d->xa93}}->date( 'l', $x8d2( "Sunday +{$this->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->x6f->xa0d->xbd6}}}} days" ) ); ${$this->xc3->xa89->x51cd} = $x8d6(',', $this->{$this->x6f->xa3b->x20b5}); if (${$this->x76->xa61->x3ccc} < $this->_lastShippingTime) { ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x6f->xa89->{$this->xc3->xa89->x51e4}}}} = __( "Order today" ); } else { ${$this->x76->xa61->{$this->x6f->xa61->x3cec}} = "Order before " . ${$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x1338}}}[0] . ":" . ${$this->x76->xa3b->{$this->xc3->xa3b->x27e1}}[1] . " - ${$this->x76->xa0d->x132c}"; } ${$this->x6f->xa89->{$this->x6f->xa89->{$this->x6f->xa89->{$this->x76->xa89->{$this->xc3->xa89->x51fa}}}}}["from"] = $this->{$this->x76->xa89->{$this->xc3->xa89->x5317}}( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->xa9a}}}}->date( $this->{$this->x6f->xa0d->{$this->x6f->xa0d->xb14}}, $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->xac3}}} + 86400 * ($this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}}['from']) ) ); ${$this->x76->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3cf8}}}["to"] = $this->{$this->xc3->xa3b->{$this->xc3->xa3b->x2983}}( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->xa98}}}->date( $this->{$this->x6f->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->xb16}}}, $this->{$this->x76->xa3b->x1fda} + 86400 * ($this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}}['to']) ) ); ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x1368}}}["from"] = $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}}['from']; ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x1368}}}["to"] = $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}}['to']; ${$this->xc3->xa0d->{$this->x76->xa0d->x1372}}["from"] = $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xbb5}}}}["from"]; ${$this->x76->xa0d->x136d}["to"] = $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xbb5}}}}["from"]; ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2821}}}}["from"] = ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->x12b9}}}["from"] - $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->xba4}}}['from']; ${$this->xc3->xa3b->x2814}["to"] = ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x5167}}}["to"] - $this->{$this->xc3->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->{$this->x76->xa0d->xba7}}}}['to']; ${$this->xc3->xa89->x5217} = [ ${$this->x76->xa0d->{$this->x76->xa0d->x1356}}["from"], ${$this->xc3->xa61->x3cf3}["to"], ${$this->x6f->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->xc3->xa61->{$this->x6f->xa61->x3d0a}}}}}["from"], ${$this->xc3->xa61->x3cfd}["to"], ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x2821}}}}["from"], ${$this->x76->xa0d->x1375}["to"], ${$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->x2810}}}}}["from"], ${$this->xc3->xa89->x5201}["to"], ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x2773}}}}["from"], ${$this->x6f->xa61->x3c5d}["to"], ${$this->x76->xa89->x5174}["from"], ${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x2790}}}}["to"], ${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x279e}}}}['from'], ${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x279f}}}}}['to'], ${$this->x6f->xa89->x5195}, ${$this->x6f->xa3b->x27e2} ]; return $x93f( ${$this->xc3->xa61->{$this->x6f->xa61->{$this->x6f->xa61->x3c89}}}, ${$this->x6f->xa61->x3d1a}, ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x6f->xa0d->{$this->xc3->xa0d->x12a9}}}} ); } public function getCustomOptions($x95e, $x953) { $x98f = $this->x76->xa0d->{$this->x76->xa0d->x16b2}; ${$this->xc3->xa89->{$this->x76->xa89->{$this->x76->xa89->x5240}}} = $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/custom_options/calculation", ${$this->xc3->xa3b->x2848} ); self::{$this->x6f->xa0d->x1700}( "Custom option calculation method", ${$this->x6f->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x139d}}} ); ${$this->xc3->xa89->x5247} = []; foreach (${$this->xc3->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x2843}}}} as ${$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3d59}}}) { if (isset(${$this->x6f->xa61->{$this->x6f->xa61->{$this->xc3->xa61->x3d59}}}['value_id'])) { foreach ($x98f( ",", ${$this->x6f->xa3b->x286d}['value_id'] ) as ${$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->{$this->xc3->xa89->x5268}}}} ) { ${$this->xc3->xa89->{$this->x76->xa89->x5249}}[] = $x98f( ",", $this->{$this->x76->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->{$this->xc3->xa0d->xb73}}}}->{$this->xc3->xa0d->x19bb}( )->{$this->x76->xa0d->x1f5c}( ${$this->xc3->xa89->{$this->xc3->xa89->{$this->x76->xa89->x5264}}} )->{$this->x76->xa0d->x1a2d}( "lead_time" ) ); } } } ${$this->x76->xa61->x3d6c} = 0; ${$this->xc3->xa3b->x2889} = 0; foreach (${$this->xc3->xa89->{$this->x76->xa89->x5249}} as ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->{$this->xc3->xa3b->x28a2}}}}}) { ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->xc3->xa3b->{$this->x6f->xa3b->x28ab}}}} = $x98f( self::SEPARTOR, ${$this->xc3->xa0d->{$this->xc3->xa0d->x13e3}}[0] ); if (${$this->x76->xa3b->{$this->xc3->xa3b->x2857}} == "0") { if (isset(${$this->x6f->xa0d->x13e6}[0])) { ${$this->x76->xa3b->{$this->x6f->xa3b->x2880}} += (int)${$this->x6f->xa0d->x13e6}[0]; } if (isset(${$this->x6f->xa3b->{$this->x76->xa3b->x28a8}}[1])) { ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x6f->xa0d->{$this->x76->xa0d->x13dc}}}} += (int)${$this->x6f->xa61->x3d80}[1]; } } else { if (isset(${$this->x6f->xa89->x5280}[0]) && ${$this->x6f->xa61->{$this->xc3->xa61->{$this->xc3->xa61->x3d84}}}[0] > ${$this->xc3->xa3b->x287e}) { ${$this->xc3->xa0d->{$this->x76->xa0d->x13c9}} = (int)${$this->x6f->xa61->{$this->x6f->xa61->x3d83}}[0]; } if (isset(${$this->x6f->xa3b->{$this->x76->xa3b->x28a8}}[1]) && ${$this->x6f->xa3b->{$this->xc3->xa3b->{$this->x76->xa3b->x28a9}}}[1] > ${$this->xc3->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x288f}}}) { ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->xc3->xa0d->x13d7}}} = (int)${$this->x6f->xa89->x5280}[1]; } } } self::{$this->x6f->xa0d->x1700}( "Additional lead times", [ ${$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x76->xa3b->x2885}}}}, ${$this->xc3->xa0d->{$this->x76->xa0d->x13d6}} ] ); return [ ${$this->xc3->xa0d->{$this->x76->xa0d->{$this->x76->xa0d->x13ca}}}, ${$this->x76->xa61->{$this->x6f->xa61->x3d73}} ]; } public function getItemEstimatedDeliveryDate($x9ee) { ${$this->x6f->xa61->{$this->x76->xa61->{$this->xc3->xa61->{$this->x76->xa61->{$this->x76->xa61->x3da2}}}}} = ${$this->x76->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->{$this->x76->xa3b->{$this->x6f->xa3b->x28b9}}}}}->{$this->x76->xa0d->x17aa}( ) ? "orders" : "backorders"; ${$this->x6f->xa3b->{$this->x6f->xa3b->{$this->x6f->xa3b->x28cf}}} = $this->{$this->x6f->xa0d->{$this->xc3->xa0d->xae0}}->{$this->x76->xa0d->x16e0}( "estimateddeliverydate/" . ${$this->x76->xa61->x3d95} . "/use_message_foreach_email", ${$this->xc3->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3d93}}}->{$this->x76->xa0d->x1fa2}() ); if (${$this->x6f->xa3b->x28c6}) { return ${$this->xc3->xa61->{$this->x76->xa61->{$this->x6f->xa61->x3d93}}}->{$this->x6f->xa0d->x1faf}(); } } } ?>