<commit_before><template>
    <div class="kiwi-controlinput kiwi-theme-bg">
        <div
            :class="{'kiwi-controlinput-selfuser--open': selfuser_open}"
            class="kiwi-controlinput-selfuser"
        >
            <self-user
                v-if="selfuser_open && networkState==='connected'"
                :network="buffer.getNetwork()"
                @close="selfuser_open=false"
            />
        </div>

        <div class="kiwi-controlinput-inner">
            <div v-if="currentNick" class="kiwi-controlinput-user" @click="toggleSelfUser">
                <span class="kiwi-controlinput-user-nick">{{ currentNick }}</span>
                <i
                    :class="[selfuser_open ? 'fa-caret-down' : 'fa-caret-up']"
                    class="fa"
                    aria-hidden="true"
                />
            </div>
            <form
                class="kiwi-controlinput-form"
                @submit.prevent="submitForm"
                @click="maybeHidePlugins"
            >
                <auto-complete
                    v-if="autocomplete_open"
                    ref="autocomplete"
                    :items="autocomplete_items"
                    :filter="autocomplete_filter"
                    :buffer="buffer"
                    @temp="onAutocompleteTemp"
                    @selected="onAutocompleteSelected"
                    @cancel="onAutocompleteCancel"
                />
                <div class="kiwi-controlinput-input-wrap">
                    <irc-input
                        ref="input"
                        :placeholder="$t('input_placeholder')"
                        class="kiwi-controlinput-input"
                        wrap="off"
                        @input="inputUpdate"
                        @keydown="inputKeyDown($event)"
                        @keyup="inputKeyUp($event)"
                        @click="closeInputTool"/>
                </div>
                <button
                    v-if="shouldShowSendButton"
                    type="submit"
                    class="kiwi-controlinput-send fa fa-paper-plane" />
            </form>

            <div ref="plugins" class="kiwi-controlinput-tools">
                <div
                    :class="{'kiwi-controlinput-tools-container-expand--inverse': !showPlugins}"
                    class="kiwi-controlinput-tools-container-expand"
                    @click="showPlugins=!showPlugins"
                >
                    <i class="fa fa-angle-double-right" aria-hidden="true" />
                </div>
                <transition name="kiwi-plugin-ui-trans">
                    <div v-if="showPlugins" class="kiwi-controlinput-tools-container">
                        <a class="kiwi-controlinput-tool" @click.prevent="onToolClickTextStyle">
                            <i class="fa fa-adjust" aria-hidden="true"/>
                        </a>
                        <a class="kiwi-controlinput-tool" @click.prevent="onToolClickEmoji">
                            <i class="fa fa-smile-o" aria-hidden="true"/>
                        </a>
                        <div
                            v-rawElement="{
                                el: plugin.el,
                                props: {
                                    controlinput: self,
                                }
                            }"
                            v-for="plugin in pluginUiElements"
                            :key="plugin.id"
                            class="kiwi-controlinput-tool"
                        />
                    </div>
                </transition>
            </div>
        </div>

        <div class="kiwi-controlinput-active-tool">
            <component :is="active_tool" v-bind="active_tool_props"/>
        </div>
    </div><commit_msg>Switch the icon for the controlinput plugins slider<commit_after><template>
    <div class="kiwi-controlinput kiwi-theme-bg">
        <div
            :class="{'kiwi-controlinput-selfuser--open': selfuser_open}"
            class="kiwi-controlinput-selfuser"
        >
            <self-user
                v-if="selfuser_open && networkState==='connected'"
                :network="buffer.getNetwork()"
                @close="selfuser_open=false"
            />
        </div>

        <div class="kiwi-controlinput-inner">
            <div v-if="currentNick" class="kiwi-controlinput-user" @click="toggleSelfUser">
                <span class="kiwi-controlinput-user-nick">{{ currentNick }}</span>
                <i
                    :class="[selfuser_open ? 'fa-caret-down' : 'fa-caret-up']"
                    class="fa"
                    aria-hidden="true"
                />
            </div>
            <form
                class="kiwi-controlinput-form"
                @submit.prevent="submitForm"
                @click="maybeHidePlugins"
            >
                <auto-complete
                    v-if="autocomplete_open"
                    ref="autocomplete"
                    :items="autocomplete_items"
                    :filter="autocomplete_filter"
                    :buffer="buffer"
                    @temp="onAutocompleteTemp"
                    @selected="onAutocompleteSelected"
                    @cancel="onAutocompleteCancel"
                />
                <div class="kiwi-controlinput-input-wrap">
                    <irc-input
                        ref="input"
                        :placeholder="$t('input_placeholder')"
                        class="kiwi-controlinput-input"
                        wrap="off"
                        @input="inputUpdate"
                        @keydown="inputKeyDown($event)"
                        @keyup="inputKeyUp($event)"
                        @click="closeInputTool"/>
                </div>
                <button
                    v-if="shouldShowSendButton"
                    type="submit"
                    class="kiwi-controlinput-send fa fa-paper-plane" />
            </form>

            <div ref="plugins" class="kiwi-controlinput-tools">
                <div
                    :class="{'kiwi-controlinput-tools-container-expand--inverse': !showPlugins}"
                    class="kiwi-controlinput-tools-container-expand"
                    @click="showPlugins=!showPlugins"
                >
                    <i class="fa fa-bars" aria-hidden="true" />
                </div>
                <transition name="kiwi-plugin-ui-trans">
                    <div v-if="showPlugins" class="kiwi-controlinput-tools-container">
                        <a class="kiwi-controlinput-tool" @click.prevent="onToolClickTextStyle">
                            <i class="fa fa-adjust" aria-hidden="true"/>
                        </a>
                        <a class="kiwi-controlinput-tool" @click.prevent="onToolClickEmoji">
                            <i class="fa fa-smile-o" aria-hidden="true"/>
                        </a>
                        <div
                            v-rawElement="{
                                el: plugin.el,
                                props: {
                                    controlinput: self,
                                }
                            }"
                            v-for="plugin in pluginUiElements"
                            :key="plugin.id"
                            class="kiwi-controlinput-tool"
                        />
                    </div>
                </transition>
            </div>
        </div>

        <div class="kiwi-controlinput-active-tool">
            <component :is="active_tool" v-bind="active_tool_props"/>
        </div>
    </div>
{'fraction_non_alphanumeric': 0.11779968863518422, 'fraction_numerical': 0.0, 'mean_word_length': 1.089159891598916, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4646211', 'n_tokens_mistral': 1973, 'n_tokens_neox': 1823, 'n_words': 246}