@if ($post->type == 'user-timeline' || $post->type == 'resume') @php(\App\Performance\PerfMarks::start('post/header:dispatch:user')) {!! Theme::section('post.headers.user', [ 'post' => $post, 'accessCommunityId' => $accessCommunityId, 'accessCategoryId' => $accessCategoryId, 'usernotidentified' => $usernotidentified, 'themeAsset' => $themeAsset ?? null, 'postUserPresenter' => $postUserPresenter ?? null, 'postPresenter' => $postPresenter ?? null, ]) !!} @php(\App\Performance\PerfMarks::stop('post/header:dispatch:user')) @elseif ($post->type == "community") @php(\App\Performance\PerfMarks::start('post/header:dispatch:community')) {!! Theme::section('post.headers.community', [ 'post' => $post, 'accessCommunityId' => $accessCommunityId, 'accessCategoryId' => $accessCategoryId, 'themeAsset' => $themeAsset ?? null, 'postUserPresenter' => $postUserPresenter ?? null, 'postPresenter' => $postPresenter ?? null, ]) !!} @php(\App\Performance\PerfMarks::stop('post/header:dispatch:community')) @elseif($post->type == 'page') @php(\App\Performance\PerfMarks::start('post/header:dispatch:page')) {!! Theme::section('post.headers.page', ['post' => $post,'accessCommunityId'=>$accessCommunityId,'accessCategoryId'=>$accessCategoryId,'postPresenter' => $postPresenter ?? null]) !!} @php(\App\Performance\PerfMarks::stop('post/header:dispatch:page')) @endif