!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}System.register(["./base-legacy.28cad0e5.js","./popper-legacy.3e7fb573.js","./index-legacy.492b6ebd.js"],(function(t){"use strict";var n,o,i,l,c,u,a,f,p,s,d,m,y,b,g;return{setters:[function(e){n=e._,o=e.b,i=e.d,l=e.I,c=e.av},function(e){u=e.c,a=e.a},function(e){f=e.d,p=e.i,s=e.r,d=e.p,m=e.B,y=e.o,b=e.u,g=e.D}],execute:function(){var O=n(f({inheritAttrs:!1}),[["render",function(e,t,n,r,o,i){return p(e.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);var v=n(f({name:"ElCollectionItem",inheritAttrs:!1}),[["render",function(e,t,n,r,o,i){return p(e.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]),E=t("b","data-el-collection-item"),I=t("c",(function(t){var n="El".concat(t,"Collection"),o="".concat(n,"Item"),i=Symbol(n),l=Symbol(o),c=r(r({},O),{},{name:n,setup:function(){var t=s(null),n=new Map;d(i,{itemMap:n,getItems:function(){var r=b(t);if(!r)return[];var o=Array.from(r.querySelectorAll("[".concat(E,"]")));return e(n.values()).sort((function(e,t){return o.indexOf(e.ref)-o.indexOf(t.ref)}))},collectionRef:t})}}),u=r(r({},v),{},{name:o,setup:function(e,t){var n=t.attrs,o=s(null),c=m(i,void 0);d(l,{collectionItemRef:o}),y((function(){var e=b(o);e&&c.itemMap.set(e,r({ref:e},n))})),g((function(){var e=b(o);c.itemMap.delete(e)}))}});return{COLLECTION_INJECTION_KEY:i,COLLECTION_ITEM_INJECTION_KEY:l,ElCollection:c,ElCollectionItem:u}})),C=(t("d",o({trigger:u.trigger,effect:r(r({},a.effect),{},{default:"light"}),type:{type:i(String)},placement:{type:i(String),default:"bottom"},popperOptions:{type:i(Object),default:function(){return{}}},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:i([Number,String]),default:0},maxHeight:{type:i([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:i(Object)},teleported:a.teleported})),t("a",o({command:{type:[Object,String,Number],default:function(){return{}}},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:l}})),t("f",o({onKeydown:{type:i(Function)}})),[c.down,c.pageDown,c.home]),j=t("L",[c.up,c.pageUp,c.end]),S=(t("F",[].concat(C,e(j))),I("Dropdown")),h=S.ElCollection,w=S.ElCollectionItem,N=S.COLLECTION_INJECTION_KEY,_=S.COLLECTION_ITEM_INJECTION_KEY;t({E:h,e:w,g:N,C:_})}}}))}();
