<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:24:34
 namespace App\Mail; use App\EmailTemplate; use App\Order; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class OrderCreatedAdmin extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(Order $DiQWJ) { goto jYCZ_; OiyIb: foreach ($fZpzA as $UNlVv) { if (!($DiQWJ->{$UNlVv} != '')) { goto hO9Kj; } $this->_title = str_replace("\173\x7b\40" . $UNlVv . "\x20\x7d\175", $DiQWJ->{$UNlVv}, $this->_title); $this->_content = str_replace("\x7b\173\x20" . $UNlVv . "\40\175\175", $DiQWJ->{$UNlVv}, $this->_content); hO9Kj: Yd4K4: } tbTK4: foreach ($CUktN as $UNlVv) { if (!($DiQWJ->{$UNlVv} != '')) { goto XVK0Q; } $this->_title = str_replace("\x7b\173\40" . $UNlVv . "\x20\x7d\x7d", number_format($DiQWJ->{$UNlVv}), $this->_title); $this->_content = str_replace("\x7b\173\40" . $UNlVv . "\x20\x7d\x7d", number_format($DiQWJ->{$UNlVv}), $this->_content); XVK0Q: xMVUo: } goto XZ8TD; DHzNN: if (!($VM3hs->attachments != null)) { goto XL9G4; } foreach ($VM3hs->attachments as $MKCtl) { $D6bdC = public_path("\165\160\154\x6f\x61\144\163\57\146\x69\x6c\x65\163\57" . $MKCtl->file_name); if (file_exists($D6bdC)) { goto J7FjE; } goto q2ty5; J7FjE: $this->_attachments[] = ["\x6e\141\x6d\145" => $MKCtl->title, "\x66\151\x6c\145" => $D6bdC, "\155\x69\x6d\145" => $MKCtl->file_type]; q2ty5: } wMLGV: goto e9QsM; jYCZ_: $this->onConnection(config("\x71\165\x65\x75\145\56\x64\145\x66\x61\165\154\164")); $this->onQueue(config("\x71\165\145\x75\x65\x2e\x63\157\x6e\x6e\145\143\x74\x69\157\x6e\x73\56\x72\145\x64\x69\x73\56\161\x75\x65\x75\145")); $this->_title = ''; goto i4_bL; XZ8TD: mSgXC: foreach ($tWmrO as $UNlVv) { goto Y9FU_; O3otM: $Pc9dW = $a8mLc == 1 || $a8mLc == "\x31" ? "\xe6\224\257\346\x89\225\xe3\x82\217\xe3\202\x8c\xe3\x81\237" : "\xe6\234\xaa\346\211\225\343\201\204"; mKGXp: $this->_title = str_replace("\173\173\40" . $UNlVv . "\x20\x7d\x7d", $Pc9dW, $this->_title); goto f7M2C; TtqdU: $Pc9dW = $a8mLc == 1 || $a8mLc == "\x31" ? "\345\211\215\346\x89\x95\xe3\x81\x84" : "\xe3\x82\257\xe3\x83\254\xe3\202\270\343\203\x83\xe3\x83\x88\343\x82\253\xe3\203\274\343\203\x89"; goto mKGXp; hFng0: goto O3otM; zmWod: goto OHE_A; zvY_m: $Pc9dW = "\351\x85\x8d\351\x80\201"; goto KThpL; iJgfg: goto OHE_A; t6dV2: $Pc9dW = "\xe6\x88\273\xe3\x81\xa3\xe3\x81\xa6\xe3\x81\x8d\343\x81\x9f"; goto G94HS; u1bXS: if ($a8mLc == 1 || $a8mLc == "\x31") { goto AzI5a; } if ($a8mLc == 2 || $a8mLc == "\x32") { goto zvY_m; } if ($a8mLc == 3 || $a8mLc == "\63") { goto PBfN_; } goto wDNqb; RSJYU: goto OHE_A; AzI5a: $Pc9dW = "\351\200\xb2\350\xa1\214\344\xb8\255"; goto zmWod; Y9FU_: if (!($DiQWJ->{$UNlVv} != '')) { goto cA77w; } $Pc9dW = ''; $a8mLc = $DiQWJ->{$UNlVv}; goto cD3hL; hrDUK: goto OHE_A; KzmXd: $Pc9dW = "\347\242\272\350\xaa\215\343\x82\x92\xe5\xbe\205\xe3\201\xa1\343\x81\xbe\343\201\231"; goto RSJYU; cD3hL: if ($UNlVv == "\x70\141\x79\155\x65\x6e\164\137\x6d\145\164\150\157\144") { goto U7PGI; } if ($UNlVv == "\x70\x61\x79\x6d\x65\156\x74\x5f\x73\164\141\164\165\x73") { goto hFng0; } if ($a8mLc == 0 || $a8mLc == "\x30") { goto KzmXd; } goto u1bXS; G94HS: OHE_A: goto mKGXp; U7PGI: goto TtqdU; wDNqb: if ($a8mLc == 4 || $a8mLc == "\64") { goto rECMH; } if ($a8mLc == 5 || $a8mLc == "\x35") { goto t6dV2; } $Pc9dW = "\343\202\xad\343\203\xa3\343\x83\263\343\202\273\xe3\x83\253"; goto hrDUK; f7M2C: $this->_content = str_replace("\x7b\173\x20" . $UNlVv . "\x20\175\175", $Pc9dW, $this->_content); cA77w: uufX_: goto ZEX2F; KThpL: goto OHE_A; PBfN_: $Pc9dW = "\xe9\x85\215\351\x81\224\xe6\xb8\x88\xe3\x81\xbf"; goto b3lV8; b3lV8: goto OHE_A; rECMH: $Pc9dW = "\345\xae\214\344\xba\x86"; goto iJgfg; ZEX2F: } Yt3UZ: goto DHzNN; i4_bL: $this->_content = ''; $this->_attachments = []; $XRmRj = config("\163\145\164\164\x69\156\x67\163\x2e\x6d\x5f\157\x72\144\x65\x72\x5f\x63\x72\x65\x61\164\x65\144"); goto f1kld; f1kld: $VM3hs = EmailTemplate::where("\151\163\137\144\x65\x6c\x65\164\x65\144", false)->where("\x69\x73\137\141\x63\x74\151\166\x61\164\145\x64", true)->where("\x69\144", $XRmRj)->first(); $fZpzA = ["\143\157\x64\145", "\x66\x69\x72\x73\x74\137\156\x61\155\145", "\x6c\141\163\164\137\x6e\141\x6d\x65", "\x66\165\x72\x69\147\141\156\141\x5f\146\x69\162\x73\164\137\x6e\x61\x6d\145", "\x66\x75\162\x69\147\141\156\141\x5f\x6c\x61\163\x74\137\x6e\141\155\x65", "\160\157\163\x74\x5f\x63\x6f\x64\145", "\x61\x64\144\x72\145\x73\x73\61", "\141\x64\x64\x72\145\x73\x73\x32", "\141\x64\144\x72\x65\163\x73\x33", "\160\x68\157\x6e\145\x5f\x6e\x75\x6d\x62\145\x72", "\145\155\141\x69\x6c", "\156\x6f\x74\x65", "\x63\x72\x65\141\164\x65\144\137\141\x74"]; $CUktN = ["\x74\157\x74\x61\x6c\x5f\160\x72\151\143\x65", "\x64\x69\163\143\x6f\x75\156\x74\137\x70\x6f\x69\x6e\x74\137\141\x6d\x6f\x75\156\164"]; goto o0I2W; e9QsM: XL9G4: P37P1: goto P215R; i4RD2: $this->_title = str_replace("\173\173\x20\163\151\x74\145\137\165\162\154\x20\x7d\175", config("\x61\x70\160\x2e\165\x72\x6c"), $this->_title); $this->_content = str_replace("\x7b\x7b\40\163\x69\x74\x65\x5f\156\x61\x6d\145\40\x7d\x7d", config("\163\145\x74\x74\151\156\x67\163\56\163\151\164\145\137\156\x61\155\x65"), $VM3hs->content); $this->_content = str_replace("\x7b\x7b\40\x73\x69\164\145\x5f\165\x72\154\x20\175\175", config("\x61\160\x70\56\x75\x72\x6c"), $this->_content); goto OiyIb; o0I2W: $tWmrO = ["\160\x61\171\x6d\x65\x6e\164\x5f\x6d\x65\x74\150\157\x64", "\x70\141\171\155\145\156\x74\137\x73\164\141\x74\x75\163", "\x73\164\x61\x74\165\x73"]; if (!($VM3hs && $VM3hs->id != null && $VM3hs->title != '' && $VM3hs->content != '')) { goto P37P1; } $this->_title = str_replace("\173\x7b\x20\x73\151\164\145\137\x6e\x61\155\145\40\175\x7d", config("\x73\x65\164\x74\151\156\147\163\x2e\x73\151\x74\145\x5f\x6e\x61\155\145"), $VM3hs->title); goto i4RD2; P215R: } public function build() { goto YRdZ_; RuNb9: $this->from(config("\155\x61\151\154\x2e\x66\x72\157\155\x2e\141\144\144\x72\145\163\163"), config("\155\141\x69\x6c\x2e\146\x72\x6f\x6d\x2e\x6e\141\155\145"))->replyTo(config("\155\141\151\x6c\56\146\x72\x6f\155\56\x61\144\x64\x72\x65\x73\163"), config("\x6d\141\151\x6c\56\146\x72\x6f\x6d\x2e\x6e\x61\x6d\145"))->subject($this->_title)->view("\145\x6d\x61\x69\154\x73\56\x73\171\x73\164\145\155")->with(["\143\x6f\x6e\x74\x65\156\164" => $this->_content]); if (!($this->_attachments != null)) { goto G4A0m; } foreach ($this->_attachments as $MKCtl) { $this->attach($MKCtl["\146\151\154\x65"], ["\x61\x73" => $MKCtl["\x6e\141\155\x65"], "\x6d\x69\155\145" => $MKCtl["\x6d\x69\x6d\x65"]]); Eo1bA: } goto scjD_; scjD_: PdMq_: G4A0m: return $this; goto uwHRw; YRdZ_: if (!($this->_title == '' || $this->_content == '')) { goto BKouj; } return null; BKouj: goto RuNb9; uwHRw: } }