@if(!empty($js_file) && ($js_file == 'events.js' || $js_file == 'rm.js')) @endif @if(!empty($js_file) && $js_file == 'analytics.js') @endif {{-- jQuery Validate + Flatpickr — scoped to the RM create-event form. Loaded via CDN matching the select2 precedent above. Both pinned to specific versions (jQuery Validate 1.19.5 MIT; Flatpickr 4.6.13 MIT — last stable release, actively maintained). --}} @if(!empty($js_file) && $js_file == 'createEvent.js') {{-- UAE-conventioned Flatpickr wrappers + jQuery Validate glue. Add this file (and the block above) for any future page that needs a date picker so we don't fork the UX defaults. --}} @endif @if(!empty($js_file)) @endif