!function(){vare,o,a,n={12143:function(e,t,o){vara=o(25108);!function(t,o){e.exports=o()}(self,(()=>(()=>{vare={7664:(e,t,o)=>{"use strict";o.d(t,{default:()=>G});vara=o(3089),n=o(2297),i=o(1205),r=o(932),s=o(2734),l=o.n(s),c=o(1441),u=o.n(c);functionm(e){returnm="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},m(e)}functiond(e,t){varo=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}returno}functionp(e){for(vart=1;t<arguments.length;t++){varo=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}returne}functionh(e,t,o){return(t=function(e){vart=function(e,t){if("object"!==m(e)||null===e)returne;varo=e[Symbol.toPrimitive];if(void0!==o){vara=o.call(e,"string");if("object"!==m(a))returna;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"===m(t)?t:String(t)}(t))ine?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}functiong(e){returnfunction(e){if(Array.isArray(e))returnv(e)}(e)||function(e){if("undefined"!=typeofSymbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])returnArray.from(e)}(e)||function(e,t){if(e){if("string"==typeofe)returnv(e,t);varo=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?v(e,t):void0}}(e)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionv(e,t){(null==t||t>e.length)&&(t=e.length);for(varo=0,a=newArray(t);o<t;o++)a[o]=e[o];returna}varf=".focusable";consty={name:"NcActions",components:{NcButton:a.default,DotsHorizontal:u(),NcPopover:n.default},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},primary:{type:Boolean,default:!1},type:{type:String,validator:function(e){return-1!==["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:(0,r.t)("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){returndocument.querySelector("body")}},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["open","update:open","close","focus","blur"],data:function(){return{opened:this.open,focusIndex:0,randomId:"menu-".concat((0,i.Z)())}},computed:{triggerBtnType:function(){returnthis.type||(this.primary?"primary":this.menuName?"secondary":"tertiary")}},watch:{open:function(e){e!==this.opened&&(this.opened=e)}},methods:{isValidSingleAction:function(e){vart,o,a,n=null!==(t=null==e||null===(o=e.componentOptions)||void0===o||null===(o=o.Ctor)||void0===o||null===(o=o.extendOptions)||void0===o?void0:o.name)&&void0!==t?t:null==e||null===(a=e.componentOptions)||void0===a?void0:a.tag;return["NcActionButton","NcActionLink","NcActionRouter"].includes(n)},openMenu:function(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},closeMenu:function(){vare=!(arguments.length>0&&void0!==arguments[0])||arguments[0];this.opened&&(this.opened=!1,this.$refs.popover.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$