@php if (auth()->user()->id == 1) { $template_sections = \App\Models\TemplateSection::orderBy('item_order', 'ASC')->get(); } else { $template_sections = \App\Models\TemplateSection::where('active', '1')->orderBy('item_order', 'ASC')->get(); } $css_classes = \App\Models\CssClass::pluck('class_name', 'class_key')->toArray(); $helper = new \App\Helpers\BladeHelper(); $animations = [ 'fade-up' => 'Fade Up', 'fade-down' => 'Fade Down', 'fade-right' => 'Fade Right', 'fade-left' => 'Fade Left', 'fade-up-right' => 'Fade Up Right', 'fade-up-left' => 'Fade Up Left', 'fade-down-right' => 'Fade Down Right', 'fade-down-left' => 'Fade Down Left', 'flip-left' => 'Flip Left', 'flip-right' => 'Flip Right', 'flip-up' => 'Flip Up', 'flip-down' => 'Flip Down', 'zoom-in' => 'Zomm in', 'zoom-in-down' => 'Zomm In Down', 'zoom-in-up' => 'Zomm In Up', 'zoom-in-right' => 'Zomm In Right', 'zoom-in-left' => 'Zomm In Left', 'zoom-out' => 'Zomm In', 'zoom-out-down' => 'Zomm Out Down', 'zoom-out-up' => 'Zomm Out Up', 'zoom-out-right' => 'Zomm Out Right', 'zoom-out-left' => 'Zomm Out Left', ]; @endphp