zx-contextmenu.umd.min.js 39 KB

1
  1. (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["zx-contextmenu"]=e():t["zx-contextmenu"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fa7c")}({"0288":function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},"053b":function(t,e,n){var r=n("1e2c"),o=n("d910").f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/,a="name";r&&!(a in i)&&o(i,a,{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},"064b":function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"08ba":function(t,e,n){var r=n("d890"),o=n("064b"),i=n("3c10"),c=n("0fc1");for(var u in o){var a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(s){f.forEach=i}}},"0a51":function(t,e,n){"use strict";var r=n("1c8b"),o=n("1e2c"),i=n("d890"),c=n("faa8"),u=n("a719"),a=n("d910").f,f=n("c69d"),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};f(d,s);var p=d.prototype=s.prototype;p.constructor=d;var v=p.toString,h="Symbol(test)"==String(s("test")),b=/^Symbol\((.*)\)[^)]+$/;a(p,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=v.call(t);if(c(l,t))return"";var n=h?e.slice(7,-1):e.replace(b,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},"0a60":function(t,e){e.f=Object.getOwnPropertySymbols},"0c3c":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"0fc1":function(t,e,n){var r=n("1e2c"),o=n("d910"),i=n("38b9");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},1025:function(t,e,n){var r=n("3a08"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"18f6":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1944:function(t,e,n){var r=n("d890"),o=n("0fc1"),i=n("faa8"),c=n("e4db"),u=n("1025"),a=n("b702"),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,e,n,u){var a=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),s(n).source=l.join("string"==typeof e?e:"")),t!==r?(a?!d&&t[e]&&(f=!0):delete t[e],f?t[e]=n:o(t,e,n)):f?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},"1b99":function(t,e,n){var r=n("d890");t.exports=r},"1bbd":function(t,e,n){"use strict";var r=n("9f67"),o=n("d910"),i=n("38b9");t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},"1c2e":function(t,e,n){"use strict";var r=n("1944"),o=n("857c"),i=n("efe2"),c=n("99ad"),u="toString",a=RegExp.prototype,f=a[u],s=i((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),l=f.name!=u;(s||l)&&r(RegExp.prototype,u,(function(){var t=o(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in a)?c.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},"1c8b":function(t,e,n){var r=n("d890"),o=n("aa6b").f,i=n("0fc1"),c=n("1944"),u=n("e4db"),a=n("c69d"),f=n("e8d6");t.exports=function(t,e){var n,s,l,d,p,v,h=t.target,b=t.global,m=t.stat;if(s=b?r:m?r[h]||u(h,{}):(r[h]||{}).prototype,s)for(l in e){if(p=e[l],t.noTargetGet?(v=o(s,l),d=v&&v.value):d=s[l],n=f(b?l:h+(m?".":"#")+l,t.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;a(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),c(s,l,p,t)}}},"1ca1":function(t,e,n){var r=n("a719"),o=n("74e7"),i=n("90fb"),c=i("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[c],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"1e2c":function(t,e,n){var r=n("efe2");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"1ea7":function(t,e,n){var r=n("efe2"),o=n("90fb"),i=n("f594"),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2039:function(t,e,n){var r=n("1e2c"),o=n("efe2"),i=n("ae25");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2118:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"258f":function(t,e,n){var r=n("90fb"),o=n("6d60"),i=n("d910"),c=r("unscopables"),u=Array.prototype;void 0==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},2732:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"27b5":function(t,e,n){var r=n("d910").f,o=n("faa8"),i=n("90fb"),c=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},"2a91":function(t,e,n){var r=n("47ae"),o=n("2118"),i=n("90fb"),c=i("toStringTag"),u="Arguments"==o(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),c))?n:u?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"2abc":function(t,e,n){"use strict";var r,o,i,c=n("908e"),u=n("0fc1"),a=n("faa8"),f=n("90fb"),s=n("9b9d"),l=f("iterator"),d=!1,p=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=c(c(i)),o!==Object.prototype&&(r=o)):d=!0),void 0==r&&(r={}),s||a(r,l)||u(r,l,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},3553:function(t,e,n){var r=n("2732");t.exports=function(t){return Object(r(t))}},"38b9":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"3a08":function(t,e,n){var r=n("d890"),o=n("e4db"),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},"3c10":function(t,e,n){"use strict";var r=n("5dfd").forEach,o=n("d7e1"),i=n("ff9c"),c=o("forEach"),u=i("forEach");t.exports=c&&u?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"3da3":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4194:function(t,e,n){"use strict";var r=n("1c8b"),o=n("5dfd").find,i=n("258f"),c=n("ff9c"),u="find",a=!0,f=c(u);u in[]&&Array(1)[u]((function(){a=!1})),r({target:"Array",proto:!0,forced:a||!f},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(u)},4350:function(t,e,n){var r=n("90fb");e.f=r},"45af":function(t,e,n){var r=n("da10"),o=n("d88d"),i=n("e1d6"),c=function(t){return function(e,n,c){var u,a=r(e),f=o(a.length),s=i(c,f);if(t&&n!=n){while(f>s)if(u=a[s++],u!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"47ae":function(t,e,n){var r=n("90fb"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"4fda":function(t,e,n){var r=n("6d7a");t.exports=r("navigator","userAgent")||""},"50fb":function(t,e,n){var r=n("857c"),o=n("d1fd");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},"513c":function(t,e,n){"use strict";var r=n("1e2c"),o=n("d890"),i=n("e8d6"),c=n("1944"),u=n("faa8"),a=n("2118"),f=n("7063"),s=n("9f67"),l=n("efe2"),d=n("6d60"),p=n("b338").f,v=n("aa6b").f,h=n("d910").f,b=n("c10f").trim,m="Number",y=o[m],g=y.prototype,x=a(d(g))==m,S=function(t){var e,n,r,o,i,c,u,a,f=s(t,!1);if("string"==typeof f&&f.length>2)if(f=b(f),e=f.charCodeAt(0),43===e||45===e){if(n=f.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(i=f.slice(2),c=i.length,u=0;u<c;u++)if(a=i.charCodeAt(u),a<48||a>o)return NaN;return parseInt(i,r)}return+f};if(i(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(x?l((function(){g.valueOf.call(n)})):a(n)!=m)?f(new y(S(e)),n,O):S(e)},j=r?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;j.length>E;E++)u(y,w=j[E])&&!u(O,w)&&h(O,w,v(y,w));O.prototype=g,g.constructor=O,c(o,m,O)}},"52f9":function(t,e,n){"use strict";var r=n("47ae"),o=n("2a91");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},5717:function(t,e,n){},"5dfd":function(t,e,n){var r=n("e349"),o=n("692f"),i=n("3553"),c=n("d88d"),u=n("1ca1"),a=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,d=5==t||l;return function(p,v,h,b){for(var m,y,g=i(p),x=o(g),S=r(v,h,3),w=c(x.length),O=0,j=b||u,E=e?j(p,w):n?j(p,0):void 0;w>O;O++)if((d||O in x)&&(m=x[O],y=S(m,O,g),t))if(e)E[O]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return O;case 2:a.call(E,m)}else if(s)return!1;return l?-1:f||s?s:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},"604f":function(t,e,n){var r=n("d890"),o=n("1025"),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},"692f":function(t,e,n){var r=n("efe2"),o=n("2118"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"69c5":function(t,e,n){var r=n("857c");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(c){var i=t["return"];throw void 0!==i&&r(i.call(t)),c}}},"69fa":function(t,e,n){"use strict";var r=n("2abc").IteratorPrototype,o=n("6d60"),i=n("38b9"),c=n("27b5"),u=n("9806"),a=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),u[f]=a,t}},"6d28":function(t,e,n){var r=n("9b9d"),o=n("3a08");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"6d51":function(t,e,n){var r=n("1b99"),o=n("faa8"),i=n("4350"),c=n("d910").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},"6d60":function(t,e,n){var r,o=n("857c"),i=n("dbe8"),c=n("18f6"),u=n("d5a8"),a=n("6fdf"),f=n("ae25"),s=n("7db2"),l=">",d="<",p="prototype",v="script",h=s("IE_PROTO"),b=function(){},m=function(t){return d+v+l+t+d+"/"+v+l},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){var t,e=f("iframe"),n="java"+v+":";return e.style.display="none",a.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},x=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=r?y(r):g();var t=c.length;while(t--)delete x[p][c[t]];return x()};u[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(b[p]=o(t),n=new b,b[p]=null,n[h]=t):n=x(),void 0===e?n:i(n,e)}},"6d7a":function(t,e,n){var r=n("1b99"),o=n("d890"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"6fdf":function(t,e,n){var r=n("6d7a");t.exports=r("document","documentElement")},7063:function(t,e,n){var r=n("a719"),o=n("50fb");t.exports=function(t,e,n){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(c=i.prototype)&&c!==n.prototype&&o(t,c),t}},"74cb":function(t,e,n){var r=n("c54b");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"74e7":function(t,e,n){var r=n("2118");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"77ad":function(t,e,n){"use strict";var r=n("1c8b"),o=n("a719"),i=n("74e7"),c=n("e1d6"),u=n("d88d"),a=n("da10"),f=n("1bbd"),s=n("90fb"),l=n("1ea7"),d=n("ff9c"),p=l("slice"),v=d("slice",{ACCESSORS:!0,0:0,1:2}),h=s("species"),b=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!p||!v},{slice:function(t,e){var n,r,s,l=a(this),d=u(l.length),p=c(t,d),v=c(void 0===e?d:e,d);if(i(l)&&(n=l.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&(n=n[h],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return b.call(l,p,v);for(r=new(void 0===n?Array:n)(m(v-p,0)),s=0;p<v;p++,s++)p in l&&f(r,s,l[p]);return r.length=s,r}})},"79e4":function(t,e,n){var r,o,i;(function(n,c){o=[],r=c,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(p.stack)||c.exec(p.stack),a=u&&u[1]||!1,f=u&&u[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===a)return l[d];if(a===s&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return t}))},"7db2":function(t,e,n){var r=n("6d28"),o=n("7e8b"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"7e8b":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"857c":function(t,e,n){var r=n("a719");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"8d44":function(t,e,n){var r=n("6d7a"),o=n("b338"),i=n("0a60"),c=n("857c");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},"908e":function(t,e,n){var r=n("faa8"),o=n("3553"),i=n("7db2"),c=n("eec6"),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"90fb":function(t,e,n){var r=n("d890"),o=n("6d28"),i=n("faa8"),c=n("7e8b"),u=n("c54b"),a=n("74cb"),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},"96db":function(t,e,n){"use strict";var r=n("f62c").charAt,o=n("b702"),i=n("99ee"),c="String Iterator",u=o.set,a=o.getterFor(c);i(String,"String",(function(t){u(this,{type:c,string:String(t),index:0})}),(function(){var t,e=a(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},9806:function(t,e){t.exports={}},"98a9":function(t,e,n){var r=n("90fb"),o=n("9806"),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},"98e0":function(t,e,n){var r=n("1c8b"),o=n("e62b"),i=n("f471"),c=!i((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:c},{from:o})},"99ad":function(t,e,n){"use strict";var r=n("857c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"99ee":function(t,e,n){"use strict";var r=n("1c8b"),o=n("69fa"),i=n("908e"),c=n("50fb"),u=n("27b5"),a=n("0fc1"),f=n("1944"),s=n("90fb"),l=n("9b9d"),d=n("9806"),p=n("2abc"),v=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,b=s("iterator"),m="keys",y="values",g="entries",x=function(){return this};t.exports=function(t,e,n,s,p,S,w){o(n,e,s);var O,j,E,_=function(t){if(t===p&&P)return P;if(!h&&t in $)return $[t];switch(t){case m:return function(){return new n(this,t)};case y:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",A=!1,$=t.prototype,T=$[b]||$["@@iterator"]||p&&$[p],P=!h&&T||_(p),I="Array"==e&&$.entries||T;if(I&&(O=i(I.call(new t)),v!==Object.prototype&&O.next&&(l||i(O)===v||(c?c(O,v):"function"!=typeof O[b]&&a(O,b,x)),u(O,C,!0,!0),l&&(d[C]=x))),p==y&&T&&T.name!==y&&(A=!0,P=function(){return T.call(this)}),l&&!w||$[b]===P||a($,b,P),d[e]=P,p)if(j={values:_(y),keys:S?P:_(m),entries:_(g)},w)for(E in j)(h||A||!(E in $))&&f($,E,j[E]);else r({target:e,proto:!0,forced:h||A},j);return j}},"9b11":function(t,e,n){var r=n("6d51");r("iterator")},"9b9d":function(t,e){t.exports=!1},"9f67":function(t,e,n){var r=n("a719");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},a133:function(t,e,n){"use strict";var r=n("da10"),o=n("258f"),i=n("9806"),c=n("b702"),u=n("99ee"),a="Array Iterator",f=c.set,s=c.getterFor(a);t.exports=u(Array,"Array",(function(t,e){f(this,{type:a,target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},a719:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},aa6b:function(t,e,n){var r=n("1e2c"),o=n("ef71"),i=n("38b9"),c=n("da10"),u=n("9f67"),a=n("faa8"),f=n("2039"),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=u(e,!0),f)try{return s(t,e)}catch(n){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},ae25:function(t,e,n){var r=n("d890"),o=n("a719"),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},af86:function(t,e,n){var r=n("d890"),o=n("064b"),i=n("a133"),c=n("0fc1"),u=n("90fb"),a=u("iterator"),f=u("toStringTag"),s=i.values;for(var l in o){var d=r[l],p=d&&d.prototype;if(p){if(p[a]!==s)try{c(p,a,s)}catch(h){p[a]=s}if(p[f]||c(p,f,l),o[l])for(var v in i)if(p[v]!==i[v])try{c(p,v,i[v])}catch(h){p[v]=i[v]}}}},b338:function(t,e,n){var r=n("ead4"),o=n("18f6"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},b4fb:function(t,e,n){"use strict";var r=n("1c8b"),o=n("efe2"),i=n("74e7"),c=n("a719"),u=n("3553"),a=n("d88d"),f=n("1bbd"),s=n("1ca1"),l=n("1ea7"),d=n("90fb"),p=n("f594"),v=d("isConcatSpreadable"),h=9007199254740991,b="Maximum allowed index exceeded",m=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!c(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)},x=!m||!y;r({target:"Array",proto:!0,forced:x},{concat:function(t){var e,n,r,o,i,c=u(this),l=s(c,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?c:arguments[e],g(i)){if(o=a(i.length),d+o>h)throw TypeError(b);for(n=0;n<o;n++,d++)n in i&&f(l,d,i[n])}else{if(d>=h)throw TypeError(b);f(l,d++,i)}return l.length=d,l}})},b60f:function(t,e,n){var r=n("2a91"),o=n("9806"),i=n("90fb"),c=i("iterator");t.exports=function(t){if(void 0!=t)return t[c]||t["@@iterator"]||o[r(t)]}},b702:function(t,e,n){var r,o,i,c=n("604f"),u=n("d890"),a=n("a719"),f=n("0fc1"),s=n("faa8"),l=n("7db2"),d=n("d5a8"),p=u.WeakMap,v=function(t){return i(t)?o(t):r(t,{})},h=function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c){var b=new p,m=b.get,y=b.has,g=b.set;r=function(t,e){return g.call(b,t,e),e},o=function(t){return m.call(b,t)||{}},i=function(t){return y.call(b,t)}}else{var x=l("state");d[x]=!0,r=function(t,e){return f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:r,get:o,has:i,enforce:v,getterFor:h}},c051:function(t,e,n){var r=n("da10"),o=n("b338").f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?u(t):o(r(t))}},c10f:function(t,e,n){var r=n("2732"),o=n("fc8c"),i="["+o+"]",c=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),a=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(u,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},c54b:function(t,e,n){var r=n("efe2");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},c69d:function(t,e,n){var r=n("faa8"),o=n("8d44"),i=n("aa6b"),c=n("d910");t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},cbab:function(t,e,n){var r=n("ead4"),o=n("18f6");t.exports=Object.keys||function(t){return r(t,o)}},d1fd:function(t,e,n){var r=n("a719");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},d497:function(t,e,n){"use strict";var r=n("1c8b"),o=n("5dfd").some,i=n("d7e1"),c=n("ff9c"),u=i("some"),a=c("some");r({target:"Array",proto:!0,forced:!u||!a},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},d5a8:function(t,e){t.exports={}},d7e1:function(t,e,n){"use strict";var r=n("efe2");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},d88d:function(t,e,n){var r=n("3da3"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},d890:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("0288"))},d910:function(t,e,n){var r=n("1e2c"),o=n("2039"),i=n("857c"),c=n("9f67"),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},da10:function(t,e,n){var r=n("692f"),o=n("2732");t.exports=function(t){return r(o(t))}},dbe8:function(t,e,n){var r=n("1e2c"),o=n("d910"),i=n("857c"),c=n("cbab");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=c(e),u=r.length,a=0;while(u>a)o.f(t,n=r[a++],e[n]);return t}},e18c:function(t,e,n){var r=n("47ae"),o=n("1944"),i=n("52f9");r||o(Object.prototype,"toString",i,{unsafe:!0})},e1d6:function(t,e,n){var r=n("3da3"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},e349:function(t,e,n){var r=n("0c3c");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},e4db:function(t,e,n){var r=n("d890"),o=n("0fc1");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},e62b:function(t,e,n){"use strict";var r=n("e349"),o=n("3553"),i=n("69c5"),c=n("98a9"),u=n("d88d"),a=n("1bbd"),f=n("b60f");t.exports=function(t){var e,n,s,l,d,p,v=o(t),h="function"==typeof this?this:Array,b=arguments.length,m=b>1?arguments[1]:void 0,y=void 0!==m,g=f(v),x=0;if(y&&(m=r(m,b>2?arguments[2]:void 0,2)),void 0==g||h==Array&&c(g))for(e=u(v.length),n=new h(e);e>x;x++)p=y?m(v[x],x):v[x],a(n,x,p);else for(l=g.call(v),d=l.next,n=new h;!(s=d.call(l)).done;x++)p=y?i(l,m,[s.value,x],!0):s.value,a(n,x,p);return n.length=x,n}},e8d6:function(t,e,n){var r=n("efe2"),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},ead4:function(t,e,n){var r=n("faa8"),o=n("da10"),i=n("45af").indexOf,c=n("d5a8");t.exports=function(t,e){var n,u=o(t),a=0,f=[];for(n in u)!r(c,n)&&r(u,n)&&f.push(n);while(e.length>a)r(u,n=e[a++])&&(~i(f,n)||f.push(n));return f}},eec6:function(t,e,n){var r=n("efe2");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},ef71:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},efe2:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},f3dd:function(t,e,n){"use strict";var r=n("1c8b"),o=n("d890"),i=n("6d7a"),c=n("9b9d"),u=n("1e2c"),a=n("c54b"),f=n("74cb"),s=n("efe2"),l=n("faa8"),d=n("74e7"),p=n("a719"),v=n("857c"),h=n("3553"),b=n("da10"),m=n("9f67"),y=n("38b9"),g=n("6d60"),x=n("cbab"),S=n("b338"),w=n("c051"),O=n("0a60"),j=n("aa6b"),E=n("d910"),_=n("ef71"),C=n("0fc1"),A=n("1944"),$=n("6d28"),T=n("7db2"),P=n("d5a8"),I=n("7e8b"),k=n("90fb"),L=n("4350"),M=n("6d51"),N=n("27b5"),R=n("b702"),V=n("5dfd").forEach,F=T("hidden"),G="Symbol",B="prototype",D=k("toPrimitive"),H=R.set,W=R.getterFor(G),U=Object[B],z=o.Symbol,X=i("JSON","stringify"),Y=j.f,q=E.f,J=w.f,K=_.f,Q=$("symbols"),Z=$("op-symbols"),tt=$("string-to-symbol-registry"),et=$("symbol-to-string-registry"),nt=$("wks"),rt=o.QObject,ot=!rt||!rt[B]||!rt[B].findChild,it=u&&s((function(){return 7!=g(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(U,e);r&&delete U[e],q(t,e,n),r&&t!==U&&q(U,e,r)}:q,ct=function(t,e){var n=Q[t]=g(z[B]);return H(n,{type:G,tag:t,description:e}),u||(n.description=e),n},ut=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},at=function(t,e,n){t===U&&at(Z,e,n),v(t);var r=m(e,!0);return v(n),l(Q,r)?(n.enumerable?(l(t,F)&&t[F][r]&&(t[F][r]=!1),n=g(n,{enumerable:y(0,!1)})):(l(t,F)||q(t,F,y(1,{})),t[F][r]=!0),it(t,r,n)):q(t,r,n)},ft=function(t,e){v(t);var n=b(e),r=x(n).concat(vt(n));return V(r,(function(e){u&&!lt.call(n,e)||at(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ft(g(t),e)},lt=function(t){var e=m(t,!0),n=K.call(this,e);return!(this===U&&l(Q,e)&&!l(Z,e))&&(!(n||!l(this,e)||!l(Q,e)||l(this,F)&&this[F][e])||n)},dt=function(t,e){var n=b(t),r=m(e,!0);if(n!==U||!l(Q,r)||l(Z,r)){var o=Y(n,r);return!o||!l(Q,r)||l(n,F)&&n[F][r]||(o.enumerable=!0),o}},pt=function(t){var e=J(b(t)),n=[];return V(e,(function(t){l(Q,t)||l(P,t)||n.push(t)})),n},vt=function(t){var e=t===U,n=J(e?Z:b(t)),r=[];return V(n,(function(t){!l(Q,t)||e&&!l(U,t)||r.push(Q[t])})),r};if(a||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),n=function(t){this===U&&n.call(Z,t),l(this,F)&&l(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};return u&&ot&&it(U,e,{configurable:!0,set:n}),ct(e,t)},A(z[B],"toString",(function(){return W(this).tag})),A(z,"withoutSetter",(function(t){return ct(I(t),t)})),_.f=lt,E.f=at,j.f=dt,S.f=w.f=pt,O.f=vt,L.f=function(t){return ct(k(t),t)},u&&(q(z[B],"description",{configurable:!0,get:function(){return W(this).description}}),c||A(U,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:z}),V(x(nt),(function(t){M(t)})),r({target:G,stat:!0,forced:!a},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var n=z(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!ut(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!a,sham:!u},{create:st,defineProperty:at,defineProperties:ft,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:pt,getOwnPropertySymbols:vt}),r({target:"Object",stat:!0,forced:s((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),X){var ht=!a||s((function(){var t=z();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}));r({target:"JSON",stat:!0,forced:ht},{stringify:function(t,e,n){var r,o=[t],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!ut(t))return d(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ut(e))return e}),o[1]=e,X.apply(null,o)}})}z[B][D]||C(z[B],D,z[B].valueOf),N(z,G),P[F]=!0},f471:function(t,e,n){var r=n("90fb"),o=r("iterator"),i=!1;try{var c=0,u={next:function(){return{done:!!c++}},return:function(){i=!0}};u[o]=function(){return this},Array.from(u,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(a){}return n}},f594:function(t,e,n){var r,o,i=n("d890"),c=n("4fda"),u=i.process,a=u&&u.versions,f=a&&a.v8;f?(r=f.split("."),o=r[0]+r[1]):c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(o=r[1]))),t.exports=o&&+o},f62c:function(t,e,n){var r=n("3da3"),o=n("2732"),i=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},fa7c:function(t,e,n){"use strict";if(n.r(e),n.d(e,"directive",(function(){return c})),n.d(e,"VabContextmenu",(function(){return v})),n.d(e,"VabContextmenuItem",(function(){return x})),n.d(e,"VabContextmenuSubmenu",(function(){return I})),n.d(e,"VabContextmenuGroup",(function(){return V})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("79e4");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("053b"),n("5717"),n("e18c"),n("1c2e");var c={inserted:function(t,e,n){var r=n.context.$refs[e.arg]||n.context.$refs[e.value],o="[object Array]"===Object.prototype.toString.call(r)?r[0]:r;o.addRef({el:t,vnode:n}),o.$contextmenuId=t.id||o._uid}},u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],ref:"contextmenu",class:t.contextmenuCls,style:t.style},[t._t("default")],2)},a=[];n("4194"),n("fe59"),n("d497"),n("fe8a"),n("08ba");function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={name:"VabContextmenu",provide:function(){return{$$contextmenu:this}},props:{eventType:{type:String,default:"contextmenu"},theme:{type:String,default:"default"},autoPlacement:{type:Boolean,default:!0},disabled:Boolean},data:function(){return{visible:!1,references:[],style:{top:0,left:0}}},computed:{clickOutsideHandler:function(){return this.visible?this.hide:function(){}},isClick:function(){return"click"===this.eventType},contextmenuCls:function(){return["vab-contextmenu","vab-contextmenu--".concat(this.theme)]}},watch:{visible:function(t){t?(this.$emit("show",this),document.body.addEventListener("click",this.handleBodyClick)):(this.$emit("hide",this),document.body.removeEventListener("click",this.handleBodyClick))}},mounted:function(){document.body.appendChild(this.$el),window.$$VContextmenu?window.$$VContextmenu[this.$contextmenuId]=this:window.$$VContextmenu=f({},this.$contextmenuId,this)},beforeDestroy:function(){var t=this;document.body.removeChild(this.$el),delete window.$$VContextmenu[this.$contextmenuId],this.references.forEach((function(e){e.el.removeEventListener(t.eventType,t.handleReferenceContextmenu)})),document.body.removeEventListener("click",this.handleBodyClick)},methods:{addRef:function(t){this.references.push(t),t.el.addEventListener(this.eventType,this.handleReferenceContextmenu)},handleReferenceContextmenu:function(t){var e=this;if(t.preventDefault(),!this.disabled){var n=this.references.find((function(e){return e.el.contains(t.target)}));this.$emit("contextmenu",n?n.vnode:null);var r=t.pageX,o=t.pageY;this.show(),this.$nextTick((function(){var t={top:o,left:r};if(e.autoPlacement){var n=e.$refs.contextmenu.clientWidth,i=e.$refs.contextmenu.clientHeight;i+o>=window.innerHeight&&(t.top-=i),n+r>=window.innerWidth&&(t.left-=n)}e.style={top:"".concat(t.top,"px"),left:"".concat(t.left,"px")}}))}},handleBodyClick:function(t){var e=this.$el.contains(t.target)||this.isClick&&this.references.some((function(e){return e.el.contains(t.target)}));e||(this.visible=!1)},show:function(t){var e=this;Object.keys(window.$$VContextmenu).forEach((function(t){t!==e.$contextmenuId&&window.$$VContextmenu[t].hide()})),t&&(this.style={top:"".concat(t.top,"px"),left:"".concat(t.left,"px")}),this.visible=!0},hide:function(){this.visible=!1},hideAll:function(){Object.keys(window.$$VContextmenu).forEach((function(t){window.$$VContextmenu[t].hide()}))}}},l=s;function d(t,e,n,r,o,i,c,u){var a,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),c?(a=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=a):o&&(a=u?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,e){return a.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,a):[a]}return{exports:t,options:f}}var p=d(l,u,a,!1,null,null,null),v=p.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.divider?n("li",{staticClass:"vab-contextmenu-divider"}):n("li",{class:t.classname,on:{click:t.handleClick,mouseenter:t.handleMouseenter,mouseleave:t.handleMouseleave}},[t._t("default")],2)},b=[],m={name:"VabContextmenuItem",inject:["$$contextmenu"],props:{divider:Boolean,disabled:Boolean,autoHide:{type:Boolean,default:!0}},data:function(){return{hover:!1}},computed:{classname:function(){return{"vab-contextmenu-item":!this.divider,"vab-contextmenu-item--hover":this.hover,"vab-contextmenu-item--disabled":this.disabled}}},methods:{handleMouseenter:function(t){this.disabled||(this.hover=!0,this.$emit("mouseenter",this,t))},handleMouseleave:function(t){this.disabled||(this.hover=!1,this.$emit("mouseleave",this,t))},handleClick:function(t){this.disabled||(this.$emit("click",this,t),this.autoHide&&this.$$contextmenu.hide())}}},y=m,g=d(y,h,b,!1,null,null,null),x=g.exports,S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:t.classname,on:{mouseenter:t.handleMouseenter,mouseleave:t.handleMouseleave}},[n("span",{staticClass:"vab-contextmenu-submenu__title"},[t._t("title",[t._v(t._s(t.title))]),n("span",{staticClass:"vab-contextmenu-iconfont vab-contextmenu-submenu__icon"})],2),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hover,expression:"hover"}],ref:"submenu",class:t.submenuCls},[t._t("default")],2)])},w=[];n("b4fb");function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t){if(Array.isArray(t))return O(t)}n("f3dd"),n("0a51"),n("9b11"),n("98e0"),n("a133"),n("96db"),n("af86");function E(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n("77ad");function _(t,e){if(t){if("string"===typeof t)return O(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,e):void 0}}function C(){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 A(t){return j(t)||E(t)||_(t)||C()}var $={name:"VabContextmenuSubmenu",props:{title:String,disabled:Boolean},data:function(){return{hover:!1,submenuPlacement:[]}},computed:{classname:function(){return{"vab-contextmenu-item":!0,"vab-contextmenu-submenu":!0,"vab-contextmenu-item--hover":this.hover,"vab-contextmenu-item--disabled":this.disabled}},submenuCls:function(){return["vab-contextmenu"].concat(A(this.submenuPlacement))}},methods:{handleMouseenter:function(t){var e=this;if(!this.disabled){var n=t.target,r=n.getBoundingClientRect();this.hover=!0,this.$emit("mouseenter",this,t),this.$nextTick((function(){var t=e.$refs.submenu.clientWidth,n=e.$refs.submenu.clientHeight,o=[];r.right+t>=window.innerWidth?o.push("left"):o.push("right"),r.bottom+n>=window.innerHeight?o.push("bottom"):o.push("top"),e.submenuPlacement=o}))}},handleMouseleave:function(t){this.disabled||(this.hover=!1,this.$emit("mouseleave",this,t))}}},T=$,P=d(T,S,w,!1,null,null,null),I=P.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"vab-contextmenu-group"},[n("ul",{staticClass:"vab-contextmenu-group__menus",style:t.menusStyle},[t._t("default")],2)])},L=[],M=(n("513c"),{name:"VabContextmenuGroup",props:{maxWidth:[Number,String]},computed:{menusStyle:function(){if(!this.maxWidth)return null;var t={"max-width":"number"===typeof this.maxWidth?"".concat(this.maxWidth,"px"):this.maxWidth,"overflow-x":"auto"};return t}}}),N=M,R=d(N,k,L,!1,null,null,null),V=R.exports,F=function(t){t.directive("contextmenu",c),t.component(v.name,v),t.component(x.name,x),t.component(I.name,I),t.component(V.name,V)};"undefined"!==typeof window&&window.Vue&&F(window.Vue);var G={install:F};e["default"]=G},faa8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},fc8c:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},fe59:function(t,e,n){"use strict";var r=n("1c8b"),o=n("3c10");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},fe8a:function(t,e,n){var r=n("1c8b"),o=n("3553"),i=n("cbab"),c=n("efe2"),u=c((function(){i(1)}));r({target:"Object",stat:!0,forced:u},{keys:function(t){return i(o(t))}})},ff9c:function(t,e,n){var r=n("1e2c"),o=n("efe2"),i=n("faa8"),c=Object.defineProperty,u={},a=function(t){throw t};t.exports=function(t,e){if(i(u,t))return u[t];e||(e={});var n=[][t],f=!!i(e,"ACCESSORS")&&e.ACCESSORS,s=i(e,0)?e[0]:a,l=i(e,1)?e[1]:void 0;return u[t]=!!n&&!o((function(){if(f&&!r)return!0;var t={length:-1};f?c(t,1,{enumerable:!0,get:a}):t[1]=1,n.call(t,s,l)}))}}})}));