"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),C=require("@ant-design/icons-vue/CheckOutlined"),V=require("@ant-design/icons-vue/CloseCircleFilled"),O=require("@ant-design/icons-vue/CloseOutlined"),b=require("@ant-design/icons-vue/DownOutlined"),h=require("@ant-design/icons-vue/LoadingOutlined"),k=require("@ant-design/icons-vue/SearchOutlined");function w(c,e={}){const{loading:f,multiple:a,prefixCls:s,hasFeedback:m,feedbackIcon:g,showArrow:v}=c,i=c.suffixIcon||e.suffixIcon&&e.suffixIcon(),x=c.clearIcon||e.clearIcon&&e.clearIcon(),d=c.menuItemSelectedIcon||e.menuItemSelectedIcon&&e.menuItemSelectedIcon(),I=c.removeIcon||e.removeIcon&&e.removeIcon(),S=x??n.createVNode(V,null,null),l=r=>n.createVNode(n.Fragment,null,[v!==!1&&r,m&&g]);let o=null;if(i!==void 0)o=l(i);else if(f)o=l(n.createVNode(h,{spin:!0},null));else{const r=`${s}-suffix`;o=({open:N,showSearch:q})=>l(N&&q?n.createVNode(k,{class:r},null):n.createVNode(b,{class:r},null))}let u=null;d!==void 0?u=d:a?u=n.createVNode(C,null,null):u=null;let t=null;return I!==void 0?t=I:t=n.createVNode(O,null,null),{clearIcon:S,suffixIcon:o,itemIcon:u,removeIcon:t}}exports.default=w;
