# frozen_string_literal: truemoduleSharedSearchesHelper# Returns `arg` as is if not blank, otherwise it returns '-'.defstring_maybe(arg)arg.presence||'-'end# Format `ae.authors` depending on whether they are editors or not.defauthors_or_editors(ae)ifae.editors"#{ae.authors} (eds.)"elseae.authorsendendend