<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:39
 namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class ProductDetailResource extends JsonResource { public function toArray($request) { return ["\151\144" => $this->id, "\143\141\x74\x65\147\x6f\162\x79\x5f\151\144" => $this->category_id, "\x63\x61\164\145\147\157\162\171" => $this->category, "\155\141\x6e\165\x66\x61\x63\164\165\162\x65\162\x5f\151\144" => $this->manufacturer_id, "\155\x61\156\x75\x66\141\143\164\x75\162\145\x72" => $this->manufacturer, "\x74\x79\x70\145" => $this->type, "\163\153\x75" => $this->sku, "\x6e\141\x6d\145" => $this->name, "\163\154\165\x67" => $this->slug, "\163\x75\x62\137\x74\151\164\x6c\145" => $this->sub_title, "\x67\162\x6f\165\x70" => $this->group, "\x69\x6d\141\147\145" => $this->image == null || $this->image == '' ? "\x6e\x6f\55\151\155\141\x67\145\x2e\160\156\147" : $this->image, "\144\145\x73\x63\162\151\x70\x74\x69\x6f\x6e" => $this->description, "\160\x72\x69\143\x65\137\146\x72\x6f\x6d" => $this->price_from, "\x70\x72\151\143\145\x5f\x74\157" => $this->price_to, "\x64\x69\163\x63\157\165\x6e\x74" => $this->discount, "\x64\x69\163\x63\157\x75\156\164\x5f\x63\157\162\145" => $this->discount_core, "\162\x65\147\165\x6c\141\x72\x5f\x70\162\x69\143\x65\x5f\x66\x72\157\155" => $this->regular_price_from, "\162\145\147\x75\154\x61\162\x5f\x70\162\x69\143\x65\137\164\157" => $this->regular_price_to, "\x73\164\x61\156\x64\x61\x72\144\137\143\x6f\x6e\163\x74\162\165\143\x74\151\x6f\156\137\x66\145\x65" => $this->standard_construction_fee, "\143\x6f\156\163\x74\162\x75\143\x74\x69\157\x6e\x5f\x63\157\x73\x74" => $this->construction_cost, "\x73\x68\151\160\160\151\x6e\147\x5f\x63\x6f\x73\x74" => $this->shipping_cost, "\x6e\x6f\x74\145" => $this->note, "\x70\157\x6c\x69\x63\x79" => $this->policy, "\160\157\x73\163\x69\x62\154\x65\137\x64\145\x6c\x69\166\145\x72\x79\x5f\164\151\x6d\145" => $this->possible_delivery_time, "\x63\157\x6e\x73\x74\162\x75\143\x74\151\157\156\137\x61\162\x65\141\163\137\156\157\164\x65" => $this->construction_areas_note, "\143\x6f\x6e\163\x74\x72\165\143\164\x69\157\156\137\x73\150\151\x70\160\x69\x6e\147\137\x64\x61\164\x65" => $this->construction_shipping_date, "\x63\x6f\x6e\163\164\x72\165\x63\164\x69\157\156\x5f\163\x68\x69\160\160\151\x6e\147\x5f\x74\x69\155\x65" => $this->construction_shipping_time, "\143\x6f\156\163\x74\162\165\143\x74\151\157\156\x5f\156\x6f\164\x65\x73" => $this->construction_notes, "\x73\165\160\x70\157\162\164\x65\144\x5f\141\162\x65\141\x73\137\156\157\x74\145" => $this->supported_areas_note, "\x73\x75\160\x70\157\x72\164\x65\x64\137\x6e\157\164\x65\163" => $this->supported_notes, "\x63\157\x6e\163\x74\x72\x75\143\164\151\157\156\x5f\141\162\x65\141\x73" => array_map(function ($Xb5yZ) { return $Xb5yZ["\x63\x69\164\x79"]; }, $this->construction_areas->toArray()), "\163\x75\x70\160\x6f\162\x74\145\x64\137\x61\x72\x65\141\x73" => array_map(function ($Xb5yZ) { return $Xb5yZ["\x63\151\x74\171"]; }, $this->supported_areas->toArray()), "\167\x69\x73\150\137\154\151\163\164" => $this->wish_list, "\x6f\160\x74\x69\157\156\x73" => $this->options_public, "\160\x75\x72\x63\150\141\x73\145\163" => $this->purchases, "\151\x6d\141\x67\145\163" => $this->images]; } }