auto select share input