Output:
Chunk ID: 029b29
Wall time: 0.0001 seconds
Process exited with code 2
Original token count: 36596
Output:
Total output lines: 1214

rg: vendor/livewire/flux/resources: No such file or directory (os error 2)
vendor/livewire/flux/src/Console/IconCommand.php:103:            'variant' => 'outline',
vendor/livewire/flux/src/Console/IconCommand.php:107:        if ($variant === 'solid') {
vendor/livewire/flux/src/Console/IconCommand.php:108:            throw new \Exception('The "solid" variant is not supported in Lucide.');
vendor/livewire/flux/src/Console/IconCommand.php:112:            ->add(match($variant) {
vendor/livewire/flux/src/Console/IconCommand.php:119:        $strokeWidth = match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/badge/close.blade.php:3:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/badge/close.blade.php:11:// When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/badge/close.blade.php:21:        <flux:icon :$icon :variant="$iconVariant" :class="$iconClasses" />
vendor/livewire/flux/src/Concerns/InteractsWithComponents.php:65:    public function toast($text, $heading = null, $duration = 5000, $variant = null, $position = null)
vendor/livewire/flux/src/Concerns/InteractsWithComponents.php:75:        if ($variant) $params['dataset']['variant'] = $variant;
vendor/livewire/flux/src/Concerns/InteractsWithComponents.php:76:        if ($position) $params['dataset']['position'] = $position;
vendor/livewire/flux/stubs/resources/views/flux/field.blade.php:4:    'variant' => 'block',
vendor/livewire/flux/stubs/resources/views/flux/field.blade.php:13:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/field.blade.php:25:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/field.blade.php:32:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:4:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:9:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:18:// Backwards compatibility for 'pill' variant...
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:19:if ($variant === 'pill') {
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:21:    $variant = null;
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:26:// When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:44:     * We can't compile classes for each color because of variants color to color and Tailwind's JIT compiler.
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:47:    ->add($variant === 'solid' ? match ($color) {
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:90:        <flux:icon :$icon :variant="$iconVariant" :class="$iconClasses" data-flux-badge-icon />
vendor/livewire/flux/stubs/resources/views/flux/badge/index.blade.php:100:                <flux:icon :icon="$iconTrailing" :variant="$iconVariant" :class="$iconClasses" />
vendor/livewire/flux/stubs/resources/views/flux/header.blade.php:17:        'x-bind:style' => '{ position: \'sticky\', top: $el.offsetTop + \'px\', \'max-height\': \'calc(100vh - \' + $el.offsetTop + \'px)\' }',
vendor/livewire/flux/stubs/resources/views/flux/text.blade.php:5:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/text.blade.php:36:    } : match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/with-tooltip.blade.php:11:@php $tooltipPosition = $tooltipPosition ??= $attributes->pluck('tooltip:position'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/with-tooltip.blade.php:22:    <flux:tooltip :content="$tooltip" :position="$tooltipPosition" :kbd="$tooltipKbd">
vendor/livewire/flux/stubs/resources/views/flux/navbar/badge.blade.php:4:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/navbar/badge.blade.php:12:     * We can't compile classes for each color because of variants color to color and Tailwind's JIT compiler.
vendor/livewire/flux/stubs/resources/views/flux/navbar/badge.blade.php:15:    ->add($variant === 'solid' ? match ($color) {
vendor/livewire/flux/stubs/resources/views/flux/sidebar/toggle.blade.php:5:    variant="subtle"
vendor/livewire/flux/stubs/resources/views/flux/checkbox/indicator.blade.php:30:    <flux:icon.check variant="micro" class="hidden text-[var(--color-accent-foreground)]" />
vendor/livewire/flux/stubs/resources/views/flux/checkbox/indicator.blade.php:31:    <flux:icon.minus variant="micro" class="hidden text-[var(--color-accent-foreground)]" />
vendor/livewire/flux/stubs/resources/views/flux/tooltip/index.blade.php:5:    'position' => 'top',
vendor/livewire/flux/stubs/resources/views/flux/tooltip/index.blade.php:24:    <ui-dropdown position="{{ $position }} {{ $align }}" {{ $attributes }} data-flux-tooltip>
vendor/livewire/flux/stubs/resources/views/flux/tooltip/index.blade.php:32:    <ui-tooltip position="{{ $position }} {{ $align }}" {{ $attributes }} data-flux-tooltip @if ($interactive) interactive @endif>
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:3:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:33:    // When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:44:                <flux:icon :$icon :variant="$iconVariant" class="{{ $iconClasses }}" />
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:52:                <flux:icon :$icon :variant="$iconVariant" class="{{ $iconClasses }}" />
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:60:        <flux:icon icon="chevron-right" variant="mini" class="{{ $separatorClasses->add('rtl:hidden') }}" />
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:61:        <flux:icon icon="chevron-left" variant="mini" class="{{ $separatorClasses->add('hidden rtl:inline') }}" />
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:65:        <flux:icon icon="slash" variant="mini" class="{{ $separatorClasses->add('rtl:-scale-x-100') }}" />
vendor/livewire/flux/stubs/resources/views/flux/breadcrumbs/item.blade.php:67:        <flux:icon :icon="$separator" variant="mini" class="{{ $separatorClasses }}" />
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:2:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:4:@aware([ 'variant' ])
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:10:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:27:    ->add('relative') // This is here for the "active" bar at the bottom to be positioned correctly...
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:55:                <flux:icon :$icon :variant="$iconVariant" class="{!! $iconClasses !!}" />
vendor/livewire/flux/stubs/resources/views/flux/navbar/item.blade.php:73:        <flux:icon :icon="$iconTrailing" variant="micro" class="size-4 ms-1" />
vendor/livewire/flux/stubs/resources/views/flux/sidebar/profile.blade.php:3:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/sidebar/profile.blade.php:19:// When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/sidebar/profile.blade.php:49:            <flux:icon :icon="$iconTrailing" :variant="$iconVariant" :class="$iconClasses" />
vendor/livewire/flux/stubs/resources/views/flux/navbar/index.blade.php:5:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/sidebar/search.blade.php:3:@php $tooltipPosition = $tooltipPosition ??= $attributes->pluck('tooltip:position'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/sidebar/search.blade.php:32:<flux:tooltip :position="$tooltipPosition" :class="$tooltipClasses">
vendor/livewire/flux/stubs/resources/views/flux/sidebar/search.blade.php:39:            <flux:icon class="size-4" icon="magnifying-glass" variant="outline" />
vendor/livewire/flux/stubs/resources/views/flux/separator.blade.php:6:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/separator.blade.php:15:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/checkbox/group/index.blade.php:2:    'variant' => 'default',
vendor/livewire/flux/stubs/resources/views/flux/checkbox/group/index.blade.php:5:<flux:delegate-component :component="'checkbox.group.variants.' . $variant">{{ $slot }}</flux:delegate-component>
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:3:@aware([ 'variant' ])
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:6:    'variant' => 'default',
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:10:// This prevents variants picked up by `@aware()` from other wrapping components like flux::modal from being used here...
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:11:$variant = $variant !== 'default' && Flux::componentExists('checkbox.variants.' . $variant)
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:12:    ? $variant
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:16:<flux:delegate-component :component="'checkbox.variants.' . $variant">{{ $slot }}</flux:delegate-component>
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/default.blade.php:7:<flux:with-inline-field variant="inline" :$attributes>
vendor/livewire/flux/stubs/resources/views/flux/checkbox/group/variants/cards.blade.php:2:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/input/copyable.blade.php:5:    'variant' => 'subtle',
vendor/livewire/flux/stubs/resources/views/flux/input/copyable.blade.php:20:    <flux:icon.clipboard-document-check variant="mini" class="hidden [[data-copyable-copied]>&]:block" />
vendor/livewire/flux/stubs/resources/views/flux/input/copyable.blade.php:21:    <flux:icon.clipboard-document variant="mini" class="block [[data-copyable-copied]>&]:hidden" />
vendor/livewire/flux/stubs/resources/views/flux/radio/group/variants/default.blade.php:3:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/switch.blade.php:33:        // We have to add the dark variant of the `translate-x-[15px]` to ensure that if `.dark` is added to an element mid way
vendor/livewire/flux/stubs/resources/views/flux/sidebar/item.blade.php:1:@php $tooltipPosition = $tooltipPosition ??= $attributes->pluck('tooltip:position'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/sidebar/item.blade.php:5:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/sidebar/item.blade.php:53:<flux:tooltip :position="$tooltipPosition">
vendor/livewire/flux/stubs/resources/views/flux/sidebar/item.blade.php:58:                    <flux:icon :$icon :variant="$iconVariant" class="{!! $iconClasses !!}" />
vendor/livewire/flux/stubs/resources/views/flux/sidebar/item.blade.php:78:            <flux:icon :icon="$iconTrailing" :variant="$iconVariant" class="in-data-flux-sidebar-collapsed-desktop:not-in-data-flux-sidebar-group-dropdown:hidden size-4!" />
vendor/livewire/flux/stubs/resources/views/flux/checkbox/group/variants/pills.blade.php:2:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/checkbox/group/variants/buttons.blade.php:2:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/segmented.blade.php:4:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/segmented.blade.php:32:    // When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/segmented.blade.php:42:        <flux:icon :$icon :variant="$iconVariant" class="{!! $iconClasses !!}" />
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/segmented.blade.php:50:        <flux:icon :icon="$iconTrailing" variant="micro" />
vendor/livewire/flux/stubs/resources/views/flux/radio/group/variants/segmented.blade.php:3:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/link.blade.php:7:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/link.blade.php:15:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/link.blade.php:21:    ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/input/file.blade.php:22:    // NOTE: We need to add relative positioning here to prevent odd overflow behaviors because of
vendor/livewire/flux/stubs/resources/views/flux/dropdown.blade.php:4:    'position' => 'bottom',
vendor/livewire/flux/stubs/resources/views/flux/dropdown.blade.php:19:<ui-dropdown position="{{ $position }} {{ $align }}" {{ $attributes }} data-flux-dropdown>
vendor/livewire/flux/stubs/resources/views/flux/radio/group/variants/pills.blade.php:2:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/checkbox/variants/cards.blade.php:3:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/checkbox/variants/cards.blade.php:20:    // When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/checkbox/variants/cards.blade.php:60:                <flux:icon :icon="$icon" :variant="$iconVariant" :class="$iconClasses" />
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:5:    'position' => null,
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:8:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:9:    'flyout' => null,
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:14:if ($variant === 'flyout') {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:15:    $flyout = true;
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:16:    $variant = null;
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:19:$closable ??= $variant === 'bare' ? false : true;
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:21:if ($flyout) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:23:        ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:24:            default => match($position) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:25:                'bottom' => 'fixed m-0 p-8 min-w-[100vw] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)] border-t',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:26:                'left' => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] border-e rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:27:                default => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] border-s rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:29:            'floating' => match($position) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:30:                'bottom' => 'fixed m-2 p-8 min-w-[calc(100vw-1rem)] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)]',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:31:                'left' => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:32:                default => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:36:        ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:43:        ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:47:        ->add(match ($variant) {
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:92:        @if ($flyout) data-flux-flyout @endif
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:102:                    <flux:button variant="ghost" icon="x-mark" size="sm" aria-label="Close modal" class="text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!"></flux:button>
vendor/livewire/flux/stubs/resources/views/flux/input/clearable.blade.php:5:    'variant' => 'subtle',
vendor/livewire/flux/stubs/resources/views/flux/input/clearable.blade.php:21:    <flux:icon.x-mark variant="micro" />
vendor/livewire/flux/stubs/resources/views/flux/input/expandable.blade.php:5:    'variant' => 'subtle',
vendor/livewire/flux/stubs/resources/views/flux/input/expandable.blade.php:16:    <flux:icon.chevron-down variant="micro" />
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/cards.blade.php:3:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/cards.blade.php:19:    // When using the outline icon variant, we need to size it down to match the default icon sizes...
vendor/livewire/flux/stubs/resources/views/flux/radio/variants/cards.blade.php:59:                <flux:icon :icon="$icon" :variant="$iconVariant" :class="$iconClasses" />
vendor/livewire/flux/stubs/resources/views/flux/radio/group/variants/cards.blade.php:2:    'variant' => null,
vendor/livewire/flux/stubs/resources/views/flux/checkbox/variants/buttons.blade.php:50:    'variant' => 'micro',
vendor/livewire/flux/stubs/resources/views/flux/input/viewable.blade.php:5:    'variant' => 'subtle',
vendor/livewire/flux/stubs/resources/views/flux/input/viewable.blade.php:20:    <flux:icon.eye-slash variant="micro" class="hidden [[data-viewable-open]>&]:block" />
vendor/livewire/flux/stubs/resources/views/flux/input/viewable.blade.php:21:    <flux:icon.eye variant="micro" class="block [[data-viewable-open]>&]:hidden" />
vendor/livewire/flux/stubs/resources/views/flux/sidebar/group.blade.php:4:@php $iconVariant ??= $attributes->pluck('icon:variant'); @endphp
vendor/livewire/flux/stubs/resources/views/flux/sidebar/group.blade.php:21:                        <flux:icon :icon="$icon" :variant="$iconVariant" class="size-4" />
vendor/livewire/flux/stubs/resources/views/flux/sidebar/group.blade.php:42:        <flux:dropdown hover class="in-data-flux-sidebar-on-mobile:hidden not-in-data-flux-sidebar-collapsed-desktop:hidden" position="right" align="start" data-flux-sidebar-group-dropdown>
vendor/livewire/flux/stubs/resources/views/flux/sidebar/group.blade.php:47:                            <flux:icon :icon="$icon" :variant="$iconVariant" class="in-data-flux-menu:text-zinc-400 in-data-flux-menu:dark:text-white/80 in-data-flux-me…26596 tokens truncated…-currency-yen.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/square-2-stack.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/square-2-stack.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/square-2-stack.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/cursor-arrow-ripple.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/cursor-arrow-ripple.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/cursor-arrow-ripple.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/power.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/power.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/power.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bell-snooze.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bell-snooze.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bell-snooze.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/scale.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/scale.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/scale.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/list-bullet.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/list-bullet.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/list-bullet.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-airplane.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-airplane.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-airplane.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/server-stack.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/server-stack.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/server-stack.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/scissors.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/scissors.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/scissors.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/numbered-list.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/numbered-list.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/numbered-list.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/identification.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/identification.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/identification.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/eye-slash.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/eye-slash.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/eye-slash.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/eye.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/eye.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/eye.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/wrench-screwdriver.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/wrench-screwdriver.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/wrench-screwdriver.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/folder-minus.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/folder-minus.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/folder-minus.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-arrow-down.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-arrow-down.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-arrow-down.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-turn-right-down.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-turn-right-down.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-turn-right-down.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket-square.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket-square.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/code-bracket-square.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/rectangle-group.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/rectangle-group.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/rectangle-group.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/lock-closed.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/lock-closed.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/lock-closed.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/magnifying-glass.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/magnifying-glass.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/magnifying-glass.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-plus.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-plus.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-plus.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/chart-bar-square.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/chart-bar-square.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/chart-bar-square.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/qr-code.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/qr-code.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/qr-code.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/user-group.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/user-group.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/user-group.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-up.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-up.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-up.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/chat-bubble-left-ellipsis.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/chat-bubble-left-ellipsis.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/chat-bubble-left-ellipsis.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrows-pointing-in.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrows-pointing-in.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrows-pointing-in.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/user.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/user.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/user.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/h1.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/h1.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/h1.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark-slash.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark-slash.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark-slash.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/cog-6-tooth.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/cog-6-tooth.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/cog-6-tooth.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bug-ant.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bug-ant.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bug-ant.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/radio.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/radio.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/radio.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-uturn-right.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-uturn-right.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-uturn-right.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/x-circle.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/x-circle.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/x-circle.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/battery-50.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/battery-50.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/battery-50.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-clip.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-clip.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/paper-clip.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/map.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/map.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/map.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/briefcase.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/briefcase.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/briefcase.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bookmark.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/academic-cap.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/academic-cap.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/academic-cap.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/cube.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/cube.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/cube.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-3-center-left.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-3-center-left.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/bars-3-center-left.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-down.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-down.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-long-down.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/ticket.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/ticket.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/ticket.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/calendar-days.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/calendar-days.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/calendar-days.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/pause-circle.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/pause-circle.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/pause-circle.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/divide.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/divide.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/divide.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/signal-slash.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/signal-slash.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/signal-slash.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-on-square.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-on-square.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-on-square.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-2x2.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-2x2.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/squares-2x2.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/megaphone.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/megaphone.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/megaphone.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-tray.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-tray.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-up-tray.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/share.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/share.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/share.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/ellipsis-horizontal-circle.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/ellipsis-horizontal-circle.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/ellipsis-horizontal-circle.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-right-end-on-rectangle.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-right-end-on-rectangle.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/arrow-right-end-on-rectangle.blade.php:19:<?php switch ($variant): case ('outline'): ?>
vendor/livewire/flux/stubs/resources/views/flux/icon/clipboard.blade.php:6:    'variant' => 'outline',
vendor/livewire/flux/stubs/resources/views/flux/icon/clipboard.blade.php:11:    ->add(match($variant) {
vendor/livewire/flux/stubs/resources/views/flux/icon/clipboard.blade.php:19:<?php switch ($variant): case ('outline'): ?>


Output:
Chunk ID: 22cfc0
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 53
Output:
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php
vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php
vendor/livewire/flux/stubs/resources/views/flux/modal/close.blade.php


Output:
Chunk ID: 1c9a97
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 670
Output:
vendor/livewire/flux/stubs/resources/views/flux/modal/close.blade.php:3:<ui-close data-flux-modal-close {{ $attributes }}>
vendor/livewire/flux/stubs/resources/views/flux/select/option/index.blade.php:8:// This prevents variants picked up by `@aware()` from other wrapping components like flux::modal from being used here...
vendor/livewire/flux/stubs/resources/views/flux/checkbox/index.blade.php:10:// This prevents variants picked up by `@aware()` from other wrapping components like flux::modal from being used here...
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:62:// Support <flux:modal ... @close="?"> syntax...
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:69:// Support <flux:modal ... @cancel="?"> syntax...
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:83:<ui-modal {{ $attributes }} data-flux-modal>
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:91:        @if ($name) data-modal="{{ $name }}" @endif
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:94:        x-on:modal-show.document="handleShow($event)"
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:95:        x-on:modal-close.document="handleClose($event)"
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:101:                <flux:modal.close>
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:102:                    <flux:button variant="ghost" icon="x-mark" size="sm" aria-label="Close modal" class="text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!"></flux:button>
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:103:                </flux:modal.close>
vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php:107:</ui-modal>
vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php:11:    x-on:click="$el.querySelector('button[disabled]') || $dispatch('modal-show', { name: '{{ $name }}' })"
vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php:13:        x-on:keydown.{{ $shortcut }}.document="$event.preventDefault(); $dispatch('modal-show', { name: '{{ $name }}' })"
vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php:15:    data-flux-modal-trigger
vendor/livewire/flux/stubs/resources/views/flux/table/index.blade.php:9:    // We want whitespace-nowrap for the table, but not for modals and dropdowns...
vendor/livewire/flux/stubs/resources/views/flux/radio/index.blade.php:10:// This prevents variants picked up by `@aware()` from other wrapping components like flux::modal from being used here...


sed -n '1,125p' vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php


sed -n '1,125p' vendor/livewire/flux/stubs/resources/views/flux/modal/index.blade.php

@blaze

@props([
    'dismissible' => null,
    'position' => null,
    'closable' => null,
    'trigger' => null,
    'variant' => null,
    'flyout' => null,
    'name' => null,
])

@php
if ($variant === 'flyout') {
    $flyout = true;
    $variant = null;
}

$closable ??= $variant === 'bare' ? false : true;

if ($flyout) {
    $classes = Flux::classes()
        ->add(match ($variant) {
            default => match($position) {
                'bottom' => 'fixed m-0 p-8 min-w-[100vw] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)] border-t',
                'left' => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] border-e rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
                default => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] border-s rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
            },
            'floating' => match($position) {
                'bottom' => 'fixed m-2 p-8 min-w-[calc(100vw-1rem)] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)]',
                'left' => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
                default => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
            },
            'bare' => '',
        })
        ->add(match ($variant) {
            default => 'bg-white dark:bg-zinc-800 border-transparent dark:border-zinc-700',
            'floating' => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
            'bare' => 'bg-transparent',
        });
} else {
    $classes = Flux::classes()
        ->add(match ($variant) {
            default => 'p-6 [:where(&)]:max-w-xl [:where(&)]:min-w-xs shadow-lg rounded-xl',
            'bare' => '',
        })
        ->add(match ($variant) {
            default => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
            'bare' => 'bg-transparent',
        });
}

// Support adding the .self modifier to the wire:model directive...
if (($wireModel = $attributes->wire('model')) && $wireModel->directive && ! $wireModel->hasModifier('self')) {
    unset($attributes[$wireModel->directive]);

    $wireModel->directive .= '.self';

    $attributes = $attributes->merge([$wireModel->directive => $wireModel->value]);
}

// Support <flux:modal ... @close="?"> syntax...
if ($attributes['@close'] ?? null) {
    $attributes['wire:close'] = $attributes['@close'];

    unset($attributes['@close']);
}

// Support <flux:modal ... @cancel="?"> syntax...
if ($attributes['@cancel'] ?? null) {
    $attributes['wire:cancel'] = $attributes['@cancel'];

    unset($attributes['@cancel']);
}

if ($dismissible === false) {
    $attributes = $attributes->merge(['disable-click-outside' => '']);
}

[ $styleAttributes, $attributes ] = Flux::splitAttributes($attributes, ['autofocus', 'class', 'style', 'wire:close', 'x-on:close', 'wire:cancel', 'x-on:cancel']);
@endphp

<ui-modal {{ $attributes }} data-flux-modal>
    <?php if ($trigger): ?>
        {{ $trigger }}
    <?php endif; ?>

    <dialog
        wire:ignore.self {{-- This needs to be here because the dialog element adds a "close" attribute that isn't durable... --}}
        {{ $styleAttributes->class($classes) }}
        @if ($name) data-modal="{{ $name }}" @endif
        @if ($flyout) data-flux-flyout @endif
        x-data="fluxModal(@js($name), @js(isset($__livewire) ? $__livewire->getId() : null))"
        x-on:modal-show.document="handleShow($event)"
        x-on:modal-close.document="handleClose($event)"
    >
        {{ $slot }}

        <?php if ($closable): ?>
            <div class="absolute top-0 end-0 mt-4 me-4">
                <flux:modal.close>
                    <flux:button variant="ghost" icon="x-mark" size="sm" aria-label="Close modal" class="text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!"></flux:button>
                </flux:modal.close>
            </div>
        <?php endif; ?>
    </dialog>
</ui-modal>


Output:
Chunk ID: f1db7c
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 1141
Output:
@blaze

@props([
    'dismissible' => null,
    'position' => null,
    'closable' => null,
    'trigger' => null,
    'variant' => null,
    'flyout' => null,
    'name' => null,
])

@php
if ($variant === 'flyout') {
    $flyout = true;
    $variant = null;
}

$closable ??= $variant === 'bare' ? false : true;

if ($flyout) {
    $classes = Flux::classes()
        ->add(match ($variant) {
            default => match($position) {
                'bottom' => 'fixed m-0 p-8 min-w-[100vw] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)] border-t',
                'left' => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] border-e rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
                default => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] border-s rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
            },
            'floating' => match($position) {
                'bottom' => 'fixed m-2 p-8 min-w-[calc(100vw-1rem)] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)]',
                'left' => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
                default => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
            },
            'bare' => '',
        })
        ->add(match ($variant) {
            default => 'bg-white dark:bg-zinc-800 border-transparent dark:border-zinc-700',
            'floating' => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
            'bare' => 'bg-transparent',
        });
} else {
    $classes = Flux::classes()
        ->add(match ($variant) {
            default => 'p-6 [:where(&)]:max-w-xl [:where(&)]:min-w-xs shadow-lg rounded-xl',
            'bare' => '',
        })
        ->add(match ($variant) {
            default => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
            'bare' => 'bg-transparent',
        });
}

// Support adding the .self modifier to the wire:model directive...
if (($wireModel = $attributes->wire('model')) && $wireModel->directive && ! $wireModel->hasModifier('self')) {
    unset($attributes[$wireModel->directive]);

    $wireModel->directive .= '.self';

    $attributes = $attributes->merge([$wireModel->directive => $wireModel->value]);
}

// Support <flux:modal ... @close="?"> syntax...
if ($attributes['@close'] ?? null) {
    $attributes['wire:close'] = $attributes['@close'];

    unset($attributes['@close']);
}

// Support <flux:modal ... @cancel="?"> syntax...
if ($attributes['@cancel'] ?? null) {
    $attributes['wire:cancel'] = $attributes['@cancel'];

    unset($attributes['@cancel']);
}

if ($dismissible === false) {
    $attributes = $attributes->merge(['disable-click-outside' => '']);
}

[ $styleAttributes, $attributes ] = Flux::splitAttributes($attributes, ['autofocus', 'class', 'style', 'wire:close', 'x-on:close', 'wire:cancel', 'x-on:cancel']);
@endphp

<ui-modal {{ $attributes }} data-flux-modal>
    <?php if ($trigger): ?>
        {{ $trigger }}
    <?php endif; ?>

    <dialog
        wire:ignore.self {{-- This needs to be here because the dialog element adds a "close" attribute that isn't durable... --}}
        {{ $styleAttributes->class($classes) }}
        @if ($name) data-modal="{{ $name }}" @endif
        @if ($flyout) data-flux-flyout @endif
        x-data="fluxModal(@js($name), @js(isset($__livewire) ? $__livewire->getId() : null))"
        x-on:modal-show.document="handleShow($event)"
        x-on:modal-close.document="handleClose($event)"
    >
        {{ $slot }}

        <?php if ($closable): ?>
            <div class="absolute top-0 end-0 mt-4 me-4">
                <flux:modal.close>
                    <flux:button variant="ghost" icon="x-mark" size="sm" aria-label="Close modal" class="text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!"></flux:button>
                </flux:modal.close>
            </div>
        <?php endif; ?>
    </dialog>
</ui-modal>


sed -n '1,60p' vendor/livewire/flux/stubs/resources/views/flux/modal/close.blade.php && sed -n '1,30p' vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php


sed -n '1,60p' vendor/livewire/flux/stubs/resources/views/flux/modal/close.blade.php && sed -n '1,30p' vendor/livewire/flux/stubs/resources/views/flux/modal/trigger.blade.php

trigger.blade.php

@blaze

<ui-close data-flux-modal-close {{ $attributes }}>
    {{ $slot }}
</ui-close>
@blaze

@props([
    'shortcut' => null,
    'name' => null,
])

<div
    {{ $attributes->class('contents') }}
    x-data
    x-on:click="$el.querySelector('button[disabled]') || $dispatch('modal-show', { name: '{{ $name }}' })"
    @if ($shortcut)
        x-on:keydown.{{ $shortcut }}.document="$event.preventDefault(); $dispatch('modal-show', { name: '{{ $name }}' })"
    @endif
    data-flux-modal-trigger
>
    {{ $slot }}
</div>


Output:
Chunk ID: 71706d
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 131
Output:
@blaze

<ui-close data-flux-modal-close {{ $attributes }}>
    {{ $slot }}
</ui-close>
@blaze

@props([
    'shortcut' => null,
    'name' => null,
])

<div
    {{ $attributes->class('contents') }}
    x-data
    x-on:click="$el.querySelector('button[disabled]') || $dispatch('modal-show', { name: '{{ $name }}' })"
    @if ($shortcut)
        x-on:keydown.{{ $shortcut }}.document="$event.preventDefault(); $dispatch('modal-show', { name: '{{ $name }}' })"
    @endif
    data-flux-modal-trigger
>
    {{ $slot }}
</div>


The current storefront header has desktop navigation and icon actions, but no mobile navigation control. I’m going to add a Flux flyout triggered by a hamburger button, then create the responsive browser suite around the exact mobile/tablet viewports from the spec.


rg -n "function click|public function click|class GuessLocator|for\(" vendor/pestphp/pest-plugin-browser/src/Api -g '*.php'


sed -n '1,150p' vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithPage.php 2>/dev/null || true


rg -n "function click|public function click|class GuessLocator|for\(" vendor/pestphp/pest-plugin-browser/src/Api -g '*.php'

rg -n "function click|public function click|class GuessLocator|for\\(" vendor/pestphp/pest-plugin-browser/src/Api -g '*.php'

Question: function click|public function click|class GuessLocator|for\(

vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php:17:    public function click(string $text): self
vendor/pestphp/pest-plugin-browser/src/Api/Webpage.php:103:        return (new GuessLocator($this->page))->for($selector, $value);


Output:
Chunk ID: 764add
Wall time: 0.1931 seconds
Process exited with code 0
Original token count: 245
Output:
Description:
  Create a new test class

Usage:
  make:test [options] [--] <name>

Arguments:
  name                  The name of the test

Options:
  -f, --force           Create the test even if the test already exists
  -u, --unit            Create a unit test
      --pest            Create a Pest test
      --phpunit         Create a PHPUnit test
  -h, --help            Display help for the given command. When no command is given display help for the list command
      --silent          Do not output any message
  -q, --quiet           Only errors are displayed. All other output is suppressed
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug


Output:
Chunk ID: 6224ce
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 65
Output:
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php:17:    public function click(string $text): self
vendor/pestphp/pest-plugin-browser/src/Api/Webpage.php:103:        return (new GuessLocator($this->page))->for($selector, $value);


Output:
Chunk ID: c63508
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 0
Output:


/bin/zsh
-lc
php artisan make:test --help

Description:
  Create a new test class

Usage:
  make:test [options] [--] <name>

Arguments:
  name                  The name of the test

Options:
  -f, --force           Create the test even if the test already exists
  -u, --unit            Create a unit test
      --pest            Create a Pest test
      --phpunit         Create a PHPUnit test
  -h, --help            Display help for the given command. When no command is given display help for the list command
      --silent          Do not output any message
  -q, --quiet           Only errors are displayed. All other output is suppressed
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug


sed -n '1,80p' vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php


rg -n "data-test|@" vendor/pestphp/pest-plugin-browser/src -g '*.php'


sed -n '1,220p' vendor/pestphp/pest-plugin-browser/src/Playwright/GuessLocator.php


sed -n '1,80p' vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php

<?php

declare(strict_types=1);

namespace Pest\Browser\Api\Concerns;

use Pest\Browser\Api\Webpage;

/**
 * @mixin Webpage
 */
trait InteractsWithElements
{
    /**
     * Click the link with the given text.
     */
    public function click(string $text): self
    {
        $this->guessLocator($text)->click();

        return $this;
    }

    /**
     * Get the text of the element matching the given selector.
     */
    public function text(string $selector): ?string
    {
        return $this->guessLocator($selector)->textContent();
    }

    /**
     * Get the given attribute from the element matching the given selector.
     */
    public function attribute(string $selector, string $attribute): ?string
    {
        $locator = $this->guessLocator($selector);

        return $locator->getAttribute($attribute) ?? null;
    }

    /**
     * Send the given keys to the element matching the given selector.
     *
     * @param  array<int, string>  $keys
     */
    public function keys(string $selector, array|string $keys): self
    {
        $keys = is_array($keys) ? $keys : [$keys];

        $locator = $this->guessLocator($selector);

        foreach ($keys as $key) {
            $locator->press($key);
        }

        return $this;
    }

    /**
     * Type the given value in the given field.
     */
    public function type(string $field, string $value): self
    {
        $this->guessLocator($field)->fill($value);

        return $this;
    }

    /**
     * Type the given value slowly in the given field.
     */
    public function typeSlowly(string $field, string $value, int $delay = 100): self
    {
        $options = ['delay' => $delay];

        $this->guessLocator($field)->type($value, $options);

        return $this;
    }


sed -n '1,220p' vendor/pestphp/pest-plugin-browser/src/Playwright/GuessLocator.php

sed: vendor/pestphp/pest-plugin-browser/src/Playwright/GuessLocator.php: No such file or directory


rg -n "data-test|@" vendor/pestphp/pest-plugin-browser/src -g '*.php'

rg -n 'data-test|@' vendor/pestphp/pest-plugin-browser/src -g '*.php'

Question: data-test|@

vendor/pestphp/pest-plugin-browser/src/Api/From.php:12: * @mixin PendingAwaitablePage
vendor/pestphp/pest-plugin-browser/src/Api/From.php:19:     * @param  array<string, mixed>  $options
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/HasWaitCapabilities.php:10: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:16: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:23:     * @param  array<int, string>  $nonAwaitableMethods
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:39:     * @param  array<int, mixed>  $arguments
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:50:                // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:54:                    // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/AwaitableWebpage.php:63:            } catch (Throwable) { // @phpstan-ignore-line
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithFrames.php:12: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesScreenshotAssertions.php:11: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/On.php:11: * @mixin PendingAwaitablePage
vendor/pestphp/pest-plugin-browser/src/Api/On.php:18:     * @param  array<string, mixed>  $options
vendor/pestphp/pest-plugin-browser/src/Api/On.php:32:     * @param  array<int, mixed>  $arguments
vendor/pestphp/pest-plugin-browser/src/Api/On.php:36:        // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php:10: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php:45:     * @param  array<int, string>  $keys
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithElements.php:115:     * @param  array<int, string|int>|string|int  $option
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithTab.php:12: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithTab.php:49:        // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithTab.php:60:        // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithScreen.php:39:            // @phpstan-ignore-next-line
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesElementAssertions.php:11: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesElementAssertions.php:587:     * @deprecated Use `assertSee` instead.
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesElementAssertions.php:599:     * @param  string  $haystack  String to look in
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesElementAssertions.php:600:     * @param  array<int, string>  $needles  List of needles to look for in haystack
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:11: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:22:        /** @var array{ scheme: string, host: string, port?: int, path?: string} $segments */
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:138:        /** @var non-empty-string $actualPath */
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:153:     * @param  array<string, mixed>  $parameters
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:326:     * @return array<int|string, array<array-key, mixed>|string>
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesUrlAssertions.php:330:        /** @var array{ scheme: string, host: string, port?: int, path?: string, query?: string} */
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesConsoleAssertions.php:14: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesConsoleAssertions.php:16: * @phpstan-import-type Violations from AccessibilityFormatter
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/MakesConsoleAssertions.php:108:        /** @var Violations|null $violations */
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithToolbar.php:11: * @mixin Webpage
vendor/pestphp/pest-plugin-browser/src/Api/Concerns/InteractsWithToolbar.php:28:     * @param  array<string, mixed>  $options
vendor/pestphp/pest-plugin-browser/src/Api/ArrayablePendingAwaitablePage.php:17: * @mixin PendingAwaitablePage
vendor/pestphp/pest-plugin-browser/src/Api/ArrayablePendingAwaitablePage.php:19: * @implements ArrayAccess<int, PendingAwaitablePage|On>
vendor/pestphp/pest-plugin-browser/src/Api/ArrayablePendingAwaitablePage.php:20: * @implements IteratorAggregate<int, PendingAwaitablePage|On>
vendor/pestphp/pest-plugin-browser/src/Api/ArrayablePendingAwaitablePage.php:27:     * @param  array<int, PendingAwaitablePage|On>  $pendingAwaitablePages
vendor/pestphp/pest-plugin-browser/src/Api/ArrayablePendingAwaitablePage.php:38:     * @param  array<int, mixed>  $arguments
vendor/pestphp/pest-plu…21271 chars truncated…c/Support/Screenshot.php:51:            @mkdir(self::dir(), 0755, true);
vendor/pestphp/pest-plugin-browser/src/Support/Screenshot.php:62:     * @codeCoverageIgnore
vendor/pestphp/pest-plugin-browser/src/Support/Screenshot.php:79:                    @unlink($file);
vendor/pestphp/pest-plugin-browser/src/Support/Screenshot.php:83:            @rmdir($dir);
vendor/pestphp/pest-plugin-browser/src/Enums/City.php:70:     * @return array{latitude: float, longitude: float}
vendor/pestphp/pest-plugin-browser/src/Enums/ColorScheme.php:8: * @internal
vendor/pestphp/pest-plugin-browser/src/Support/JavaScriptSerializer.php:12: * @internal
vendor/pestphp/pest-plugin-browser/src/Support/JavaScriptSerializer.php:19:     * @return array<string, mixed>
vendor/pestphp/pest-plugin-browser/src/Support/JavaScriptSerializer.php:32:     * @return array<string, mixed>
vendor/pestphp/pest-plugin-browser/src/Support/JavaScriptSerializer.php:93:        return ['s' => (string) $value]; // @phpstan-ignore-line
vendor/pestphp/pest-plugin-browser/src/Support/JavaScriptSerializer.php:106:         * @var array{
vendor/pestphp/pest-plugin-browser/src/Support/Selector.php:41:        return str_starts_with($selector, '@');
vendor/pestphp/pest-plugin-browser/src/Support/Selector.php:147:     * @param  array<string, string|bool>  $options
vendor/pestphp/pest-plugin-browser/src/Support/ImageDiffView.php:25:                    <button @click="activeTab = 'diff'" :class="{ 'active': activeTab === 'diff' }">Diff</button>
vendor/pestphp/pest-plugin-browser/src/Support/ImageDiffView.php:26:                    <button @click="activeTab = 'silder'" :class="{ 'active': activeTab === 'silder' }">Slider</button>
vendor/pestphp/pest-plugin-browser/src/Support/ImageDiffView.php:48:        /** @phpstan-ignore-next-line */
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:13: * @internal
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:131:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:143:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:155:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:168:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:201:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:213:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:226:     * @param  array<int, string|int>|string|int  $value
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:272:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:294:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:340:     * @param  array<string, string|bool>  $params
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:354:        $testIdSelector = Selector::getByTestIdSelector('data-testid', $testId);
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:410:     * @param  string|array<string, mixed>  $options  Selector string or filter options array
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:489:     * @internal
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:501:     * @return array<int, self>
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:518:     * @return array<int, string>
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:538:     * @return array<int, string>
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:576:     * @return array{x: float, y: float, width: float, height: float}|null
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:603:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:618:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:641:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:666:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:680:     * @return object|null Frame object with guid property, or null if not an iframe
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:695:     * @return object|null Frame object with guid property, or null if no owner frame
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:745:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:761:     * @param  array<string, mixed>|null  $options
vendor/pestphp/pest-plugin-browser/src/Playwright/Locator.php:775:     * @param  array<string, mixed>  $params


Output:
Chunk ID: 1cca7d
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 443
Output:
<?php

declare(strict_types=1);

namespace Pest\Browser\Api\Concerns;

use Pest\Browser\Api\Webpage;

/**
 * @mixin Webpage
 */
trait InteractsWithElements
{
    /**
     * Click the link with the given text.
     */
    public function click(string $text): self
    {
        $this->guessLocator($text)->click();

        return $this;
    }

    /**
     * Get the text of the element matching the given selector.
     */
    public function text(string $selector): ?string
    {
        return $this->guessLocator($selector)->textContent();
    }

    /**
     * Get the given attribute from the element matching the given selector.
     */
    public function attribute(string $selector, string $attribute): ?string
    {
        $locator = $this->guessLocator($selector);

        return $locator->getAttribute($attribute) ?? null;
    }

    /**
     * Send the given keys to the element matching the given selector.
     *
     * @param  array<int, string>  $keys
     */
    public function keys(string $selector, array|string $keys): self
    {
        $keys = is_array($keys) ? $keys : [$keys];

        $locator = $this->guessLocator($selector);

        foreach ($keys as $key) {
            $locator->press($key);
        }

        return $this;
    }

    /**
     * Type the given value in the given field.
     */
    public function type(string $field, string $value): self
    {
        $this->guessLocator($field)->fill($value);

        return $this;
    }

    /**
     * Type the given value slowly in the given field.
     */
    public function typeSlowly(string $field, string $value, int $delay = 100): self
    {
        $options = ['delay' => $delay];

        $this->guessLocator($field)->type($value, $options);

        return $this;
    }