<commit_before><div class="u-select u-select-{state} u-select-{size} {class}" r-width="{width}">
	<div class="u-dropdown" r-class={{isMultiple:multiple}}
	     z-dis={disabled} r-hide={!visible} ref="element">
	    {#if !multiple}
	        <div class="dropdown_hd"
				 z-dis={disabled}
	             title={selected?selected[nameKey]:placeholder}
	             on-click={this.toggle(!open, $event)}>
	            <kl-icon fontSize=12 type="{open ? 'angle_up' : 'angle_down'}" class="f-fr {clearable ? 'hoverHide' : ''}"/>
				{#if clearable}
				<kl-icon fontSize=12 type="error" on-click={this.selectNone($event)} class="f-fr hoverShow"/>
				{/if}
				{#if open && canSearch}
				<input disabled={disabled} readonly={readonly} type="text" class="input u-search-input" r-autofocus
						placeholder={selected?selected[nameKey]:placeholder} r-model={searchValue}/>
				{/if}
				<!-- 下面用的 r-hide 是因为在 dropdown 基类里面会给 dom 绑定一个 click 事件然后判断事件的 $event 是不是这个 dropdown 的子节点，
					如果不是子节点就将 open 置为 false，如果用 if else 的话触发这个事件的时候节点已经不在了，所以会判断成在 dropdown 外面点击，就会出现展开马上又收起的问题 -->
				<span class="m-multi-placeholder" r-hide={open && canSearch}>{selected?selected[nameKey]:placeholder}</span>
	        </div>
	    {#else}
	        <div class="dropdown_hd"
	             on-click={this.toggle(!open, $event)} style="max-height: {open && canSearch ? '116px' : '84px'}">
					<kl-icon fontSize=12 type="{open ? 'angle_up' : 'angle_down'}" class="f-fr" />
	            {#if open && canSearch}
	            <div>
		            <input disabled={disabled} readonly={readonly} type="text" class="input u-search-input searchInput1" ref="input"
		                   r-autofocus r-model={searchValue} on-click={this.searchClick($event)}/>
		            <kl-icon fontSize=12 type="error" on-click={this.clearContent($event)} class="u-select-errorIcon"/>
	            </div>
	            {/if}<commit_msg>fix placeholder style<commit_after><div class="u-select u-select-{state} u-select-{size} {class}" r-width="{width}">
	<div class="u-dropdown" r-class={{isMultiple:multiple}}
	     z-dis={disabled} r-hide={!visible} ref="element">
	    {#if !multiple}
	        <div class="dropdown_hd"
				 z-dis={disabled}
	             title={selected?selected[nameKey]:placeholder}
	             on-click={this.toggle(!open, $event)}>
	            <kl-icon fontSize=12 type="{open ? 'angle_up' : 'angle_down'}" class="f-fr {clearable ? 'hoverHide' : ''}"/>
				{#if clearable}
				<kl-icon fontSize=12 type="error" on-click={this.selectNone($event)} class="f-fr hoverShow"/>
				{/if}
				{#if open && canSearch}
				<input disabled={disabled} readonly={readonly} type="text" class={selected?'input u-search-input':'input u-search-input m-multi-placeholder'} r-autofocus
						placeholder={selected?selected[nameKey]:placeholder} r-model={searchValue}/>
				{/if}
				<!-- 下面用的 r-hide 是因为在 dropdown 基类里面会给 dom 绑定一个 click 事件然后判断事件的 $event 是不是这个 dropdown 的子节点，
					如果不是子节点就将 open 置为 false，如果用 if else 的话触发这个事件的时候节点已经不在了，所以会判断成在 dropdown 外面点击，就会出现展开马上又收起的问题 -->
				<span class={selected?'':'m-multi-placeholder'} r-hide={open && canSearch}>{selected?selected[nameKey]:placeholder}</span>
	        </div>
	    {#else}
	        <div class="dropdown_hd"
	             on-click={this.toggle(!open, $event)} style="max-height: {open && canSearch ? '116px' : '84px'}">
					<kl-icon fontSize=12 type="{open ? 'angle_up' : 'angle_down'}" class="f-fr" />
	            {#if open && canSearch}
	            <div>
		            <input disabled={disabled} readonly={readonly} type="text" class="input u-search-input searchInput1" ref="input"
		                   r-autofocus r-model={searchValue} on-click={this.searchClick($event)}/>
		            <kl-icon fontSize=12 type="error" on-click={this.clearContent($event)} class="u-select-errorIcon"/>
	            </div>
	            {/if}
{'fraction_non_alphanumeric': 0.1753381893860562, 'fraction_numerical': 0.007284079084287201, 'mean_word_length': 3.305711086226204, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5314060', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1360, 'n_words': 233}