/* Decoded by unphp.net */ mVJrb = $zwb1x; } public function J2h0E($IAi8L = null) { $IAi8L = $IAi8L ?: $this->NEASx(); return $this->kcQoP[$IAi8L] = $this->get($IAi8L); } public function WQrtl($TSDq0 = null) { return $this->j2H0e($TSDq0); } protected function get($IAi8L) { return $this->kcQoP[$IAi8L] ?? $this->IknX3($IAi8L); } protected function Iknx3($IAi8L) { goto iqCWw; FN5Yn: if (!is_null($NE32P)) { goto mjJPn; } goto JQDhd; vFGPz: $nt8U1->q2jCm($this->mVJrb["queue"]); goto ZL0DV; IG2rb: mjJPn: goto wasGz; Kg2Oc: SyPkF: goto DzpRm; DzpRm: return $nt8U1; goto mSjtS; ZL0DV: kVxxm: goto tLy20; wasGz: $nt8U1 = new LHffu($IAi8L, $this->mVJrb["view"], $this->UVgcZ($NE32P), $this->mVJrb["events"]); goto B6b17; JQDhd: throw new InvalidArgumentException("Mailer [{$IAi8L}] is not defined."); goto IG2rb; B6b17: if (!$this->mVJrb->WAg51("queue")) { goto kVxxm; } goto vFGPz; tLy20: foreach (["from", "reply_to", "to", "return_path"] as $Su4DX) { $this->zLdbw($nt8U1, $NE32P, $Su4DX); Uqaip: } goto Kg2Oc; iqCWw: $NE32P = $this->efCHi($IAi8L); goto FN5Yn; mSjtS: } public function uVgcZ(array $NE32P) { goto pJ5HL; mgzL8: if (!(trim($lfVb0 ?? '') === '' || !method_exists($this, $VTH6W = "create" . ucfirst(iOKvz::etQxV($lfVb0)) . "Transport"))) { goto Rki9u; } goto mJ1Hx; gjUm3: Rki9u: goto TAACh; HfFi3: TLCQ1: goto mgzL8; mAOl0: if (!isset($this->U5DXl[$lfVb0])) { goto TLCQ1; } goto nmLhf; pJ5HL: $lfVb0 = $NE32P["transport"] ?? $this->mVJrb["config"]["mail.driver"]; goto mAOl0; nmLhf: return call_user_func($this->U5DXl[$lfVb0], $NE32P); goto HfFi3; mJ1Hx: throw new InvalidArgumentException("Unsupported mail transport [{$lfVb0}]."); goto gjUm3; TAACh: return $this->{$VTH6W}($NE32P); goto dGNS9; dGNS9: } protected function BJrvR(array $NE32P) { goto BcfJL; RYDPB: $Av1R4 = $NE32P["scheme"] ?? null; goto sutFv; o8N4E: return $this->gQmXm($lfVb0, $NE32P); goto g2ya2; W8n1i: $Av1R4 = !empty($NE32P["encryption"]) && $NE32P["encryption"] === "tls" ? $NE32P["port"] == 465 ? "smtps" : "smtp" : ''; goto RVnhV; BcfJL: $criOU = new t23vh(); goto RYDPB; L6fSe: $lfVb0 = $criOU->create(new kZtYp($Av1R4, $NE32P["host"], $NE32P["username"] ?? null, $NE32P["password"] ?? null, $NE32P["port"] ?? null, $NE32P)); goto o8N4E; sutFv: if ($Av1R4) { goto nP4nf; } goto W8n1i; RVnhV: nP4nf: goto L6fSe; g2ya2: } protected function gQMXm(hansK $lfVb0, array $NE32P) { goto ar1gc; YKu6L: i0GjL: goto IsWuc; vm0Mz: ku5x4: goto mjvXE; qLesh: if (!isset($NE32P["source_ip"])) { goto ku5x4; } goto Hypma; iIAol: if (!$eBpza instanceof dzrCS) { goto i0GjL; } goto qLesh; MDjVu: oJenZ: goto YKu6L; ar1gc: $eBpza = $lfVb0->VzhYg(); goto iIAol; mjvXE: if (!isset($NE32P["timeout"])) { goto oJenZ; } goto S7MIR; S7MIR: $eBpza->uFjRo($NE32P["timeout"]); goto MDjVu; IsWuc: return $lfVb0; goto apKuo; Hypma: $eBpza->KtX3R($NE32P["source_ip"]); goto vm0Mz; apKuo: } protected function NREMU(array $NE32P) { return new nJ7hD($NE32P["path"] ?? $this->mVJrb["config"]->get("mail.sendmail")); } protected function SNhvx(array $NE32P) { goto j2oOA; KWGms: $NE32P = Kji9j::rK66Y($NE32P, ["transport"]); goto hkz8J; j2oOA: $NE32P = array_merge($this->mVJrb["config"]->get("services.ses", []), ["version" => "latest", "service" => "email"], $NE32P); goto KWGms; hkz8J: return new xyjE_(new RhW3T($this->x6wQZ($NE32P)), $NE32P["options"] ?? []); goto sBQwP; sBQwP: } protected function XvWKS(array $NE32P) { goto wjGaw; wjGaw: $NE32P = array_merge($this->mVJrb["config"]->get("services.ses", []), ["version" => "latest"], $NE32P); goto NA4nK; y7Z31: return new Q2kjR(new UKPyO($this->x6WqZ($NE32P)), $NE32P["options"] ?? []); goto OpPQL; NA4nK: $NE32P = KjI9J::Rk66y($NE32P, ["transport"]); goto y7Z31; OpPQL: } protected function x6WqZ(array $NE32P) { goto zD_9C; GK7EI: $NE32P["credentials"] = KjI9J::BPpwk($NE32P, ["key", "secret", "token"]); goto PFduN; PFduN: dOXCU: goto ljcpv; ljcpv: return Kji9j::RK66y($NE32P, ["token"]); goto d6EEg; zD_9C: if (!(!empty($NE32P["key"]) && !empty($NE32P["secret"]))) { goto dOXCU; } goto GK7EI; d6EEg: } protected function vjxq9(array $NE32P) { return new tFh8l(oIAqZ::U3f3y($this->mVJrb["config"]->get("services.resend.key"))); } protected function sN28e() { return new Nj7hd(); } protected function maesS(array $NE32P) { goto np5r3; np5r3: $criOU = new uwkOr(null, $this->XwoLR($NE32P)); goto dhM9c; bVhG5: $NE32P = $this->mVJrb["config"]->get("services.mailgun", []); goto r295p; r295p: vUXvD: goto xMMHb; xMMHb: return $criOU->create(new kZTyP("mailgun+" . ($NE32P["scheme"] ?? "https"), $NE32P["endpoint"] ?? "default", $NE32P["secret"], $NE32P["domain"])); goto bCDCW; dhM9c: if (isset($NE32P["secret"])) { goto vUXvD; } goto bVhG5; bCDCW: } protected function G97jC(array $NE32P) { goto Pg84M; Pg84M: $criOU = new VGqmm(null, $this->xwolr($NE32P)); goto jExbF; jExbF: $vs2be = isset($NE32P["message_stream_id"]) ? ["message_stream" => $NE32P["message_stream_id"]] : []; goto kM59k; kM59k: return $criOU->create(new KzTyp("postmark+api", "default", $NE32P["token"] ?? $this->mVJrb["config"]->get("services.postmark.token"), null, null, $vs2be)); goto HfSVT; HfSVT: } protected function eG_e6(array $NE32P) { goto uIUQt; hXqlh: return new Fzb6r($bBwzV); goto B7wgD; uIUQt: $bBwzV = []; goto lyqCI; AQO_2: S0EzG: goto hXqlh; lyqCI: foreach ($NE32P["mailers"] as $IAi8L) { goto KiVbk; Ls2FW: Nh8Uh: goto jtmcB; Gy3do: $bBwzV[] = $this->mVJrb["config"]["mail.driver"] ? $this->UvgCz(array_merge($NE32P, ["transport" => $IAi8L])) : $this->uvGCz($NE32P); goto Ls2FW; s8PtF: throw new InvalidArgumentException("Mailer [{$IAi8L}] is not defined."); goto O440j; EenZh: if (!is_null($NE32P)) { goto iYaBI; } goto s8PtF; KiVbk: $NE32P = $this->eFChi($IAi8L); goto EenZh; O440j: iYaBI: goto Gy3do; jtmcB: } goto AQO_2; B7wgD: } protected function K2zqz(array $NE32P) { goto WESrc; ZW3OI: Jnzic: goto OY3KG; H62QU: foreach ($NE32P["mailers"] as $IAi8L) { goto Pj_xW; xCuX4: xjL47: goto TwWPf; Jhb6V: throw new InvalidArgumentException("Mailer [{$IAi8L}] is not defined."); goto pu7kS; pu7kS: fXQuP: goto Eo1DI; Pj_xW: $NE32P = $this->efchI($IAi8L); goto fAv_Y; fAv_Y: if (!is_null($NE32P)) { goto fXQuP; } goto Jhb6V; Eo1DI: $bBwzV[] = $this->mVJrb["config"]["mail.driver"] ? $this->uVgCZ(array_merge($NE32P, ["transport" => $IAi8L])) : $this->UVgCz($NE32P); goto xCuX4; TwWPf: } goto ZW3OI; WESrc: $bBwzV = []; goto H62QU; OY3KG: return new IIk3G($bBwzV); goto ow_WP; ow_WP: } protected function shajZ(array $NE32P) { goto TynW2; K7d5Z: I7YqC: goto YUWjm; TynW2: $NE3Py = $this->mVJrb->R384M(LlBMf::class); goto un34F; un34F: if (!$NE3Py instanceof nfjtV) { goto I7YqC; } goto fiCFC; fiCFC: $NE3Py = $NE3Py->oRJAx($NE32P["channel"] ?? $this->mVJrb["config"]->get("mail.log_channel")); goto K7d5Z; YUWjm: return new M1ot6($NE3Py); goto BAx8v; BAx8v: } protected function D1nfP() { return new RX_Ao(); } protected function XWolR(array $NE32P) { goto UZSNX; O7HtX: $S7s_Y = kjI9J::z77gO($vs2be, "max_pending_pushes", 50); goto gb3lx; gb3lx: return L3THm::create($vs2be, $fnaEi, $S7s_Y); goto SD0wO; UZytV: $fnaEi = kji9j::Z77go($vs2be, "max_host_connections", 6); goto O7HtX; UZSNX: if (!($vs2be = $NE32P["client"] ?? false)) { goto i0eeH; } goto UZytV; SD0wO: i0eeH: goto lFkYw; lFkYw: } protected function zldbw($nt8U1, array $NE32P, string $Su4DX) { goto fNT2T; fNT2T: $VbsOt = KJI9j::get($NE32P, $Su4DX, $this->mVJrb["config"]["mail." . $Su4DX]); goto Wc4zQ; xb0dY: $nt8U1->{"always" . iOkvz::cNnzd($Su4DX)}($VbsOt["address"], $VbsOt["name"]); goto IsCph; Wc4zQ: if (!(is_array($VbsOt) && isset($VbsOt["address"]))) { goto lXxch; } goto xb0dY; IsCph: lXxch: goto YREIs; YREIs: } protected function EfChi(string $IAi8L) { goto goy8Q; NPneG: u5BNj: goto Tg17L; goy8Q: $NE32P = $this->mVJrb["config"]["mail.driver"] ? $this->mVJrb["config"]["mail"] : $this->mVJrb["config"]["mail.mailers.{$IAi8L}"]; goto TzeM7; T2Rfu: $NE32P = array_merge($NE32P, (new U1vrq())->oI_TG($NE32P)); goto FVyTB; Tg17L: return $NE32P; goto srOr3; TzeM7: if (!isset($NE32P["url"])) { goto u5BNj; } goto T2Rfu; FVyTB: $NE32P["transport"] = kJi9j::Z77go($NE32P, "driver"); goto NPneG; srOr3: } public function neAsx() { return $this->mVJrb["config"]["mail.driver"] ?? $this->mVJrb["config"]["mail.default"]; } public function HsxiQ(string $IAi8L) { goto hH2Lr; QaRLh: $this->mVJrb["config"]["mail.default"] = $IAi8L; goto dOdyS; P1Btm: $this->mVJrb["config"]["mail.driver"] = $IAi8L; goto GKuDR; GKuDR: FLEQm: goto QaRLh; hH2Lr: if (!$this->mVJrb["config"]["mail.driver"]) { goto FLEQm; } goto P1Btm; dOdyS: } public function x967o($IAi8L = null) { $IAi8L = $IAi8L ?: $this->nEaSx(); unset($this->kcQoP[$IAi8L]); } public function x9Md8($TSDq0, Closure $Nrhw0) { $this->U5DXl[$TSDq0] = $Nrhw0; return $this; } public function PZf0b() { return $this->mVJrb; } public function P81Gj($zwb1x) { $this->mVJrb = $zwb1x; return $this; } public function zspLs() { $this->kcQoP = []; return $this; } public function __call($VTH6W, $mR48V) { return $this->J2H0e()->{$VTH6W}(...$mR48V); } } ?>