@php $initial = [ 'paper_size' => $template->paper_size, 'orientation' => $template->orientation, 'width_mm' => $template->width_mm, 'height_mm' => $template->height_mm, 'margin_top_mm' => $template->margin_top_mm, 'margin_right_mm' => $template->margin_right_mm, 'margin_bottom_mm' => $template->margin_bottom_mm, 'margin_left_mm' => $template->margin_left_mm, 'ticket_width_mm' => $template->ticket_width_mm, 'ticket_height_mm' => $template->ticket_height_mm, 'slots' => $template->slotList(), 'elements' => $template->elementList(), 'print_mode' => $template->print_mode->value, 'bindings' => $bindings, 'sample' => $this->sample, 'qr_preview' => $qrPreview, ]; @endphp {{-- The canvas is driven entirely by Alpine (see resources/js/designer.js) and renders its slots and elements through