vue-easter-egg-trigger
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["vue-easter-egg-trigger"]=e():t["vue-easter-egg-trigger"]=e()}(global,(function(){return(()=>{var t={904:function(t,e,n){var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t=n.nmd(t),function(){var u,i="__lodash_hash_undefined__",c=1/0,a=9007199254740991,s="[object Arguments]",f="[object Array]",l="[object Boolean]",p="[object Date]",h="[object Error]",y="[object Function]",v="[object GeneratorFunction]",g="[object Map]",b="[object Number]",d="[object Object]",_="[object Promise]",O="[object RegExp]",j="[object Set]",m="[object String]",w="[object Symbol]",A="[object WeakMap]",k="[object ArrayBuffer]",E="[object DataView]",P="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",z="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",I="[object Uint8ClampedArray]",T="[object Uint16Array]",N="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/^\s+|\s+$/g,U=/\\(\\)?/g,q=/\w*$/,C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,V=/^\[object .+?Constructor\]$/,W=/^0o[0-7]+$/i,G=/^(?:0|[1-9]\d*)$/,H={};H[P]=H[S]=H[x]=H[z]=H[$]=H[L]=H[I]=H[T]=H[N]=!0,H[s]=H[f]=H[k]=H[l]=H[E]=H[p]=H[h]=H[y]=H[g]=H[b]=H[d]=H[O]=H[j]=H[m]=H[A]=!1;var J={};J[s]=J[f]=J[k]=J[E]=J[l]=J[p]=J[P]=J[S]=J[x]=J[z]=J[$]=J[g]=J[b]=J[d]=J[O]=J[j]=J[m]=J[w]=J[L]=J[I]=J[T]=J[N]=!0,J[h]=J[y]=J[A]=!1;var K=parseInt,Q="object"===("undefined"==typeof global?"undefined":o(global))&&global&&global.Object===Object&&global,X="object"===("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,Y=Q||X||Function("return this")(),Z="object"===o(e)&&e&&!e.nodeType&&e,tt=Z&&"object"===o(t)&&t&&!t.nodeType&&t,et=tt&&tt.exports===Z,nt=et&&Q.process,rt=function(){try{return nt&&nt.binding&&nt.binding("util")}catch(t){}}(),ot=rt&&rt.isMap,ut=rt&&rt.isSet,it=rt&&rt.isTypedArray;function ct(t,e){return!!(null==t?0:t.length)&&ht(t,e,0)>-1}function at(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function st(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function ft(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function lt(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function pt(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u<o;)if(e(t[u],u,t))return u;return-1}function ht(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):pt(t,yt,n)}function yt(t){return t!=t}function vt(t){return function(e){return t(e)}}function gt(t,e){return t.has(e)}function bt(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dt(t,e){return function(n){return t(e(n))}}function _t(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Ot,jt=Array.prototype,mt=Function.prototype,wt=Object.prototype,At=Y["__core-js_shared__"],kt=mt.toString,Et=wt.hasOwnProperty,Pt=(Ot=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1.".concat(Ot):"",St=wt.toString,xt=RegExp("^".concat(kt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),"$")),zt=et?Y.Buffer:u,$t=Y.Symbol,Lt=Y.Uint8Array,It=zt?zt.allocUnsafe:u,Tt=dt(Object.getPrototypeOf,Object),Nt=Object.create,Dt=wt.propertyIsEnumerable,Bt=jt.splice,Ft=$t?$t.toStringTag:u,Mt=function(){try{var t=Te(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ut=Object.getOwnPropertySymbols,qt=zt?zt.isBuffer:u,Ct=dt(Object.keys,Object),Rt=Math.max,Vt=Te(Y,"DataView"),Wt=Te(Y,"Map"),Gt=Te(Y,"Promise"),Ht=Te(Y,"Set"),Jt=Te(Y,"WeakMap"),Kt=Te(Object,"create"),Qt=Je(Vt),Xt=Je(Wt),Yt=Je(Gt),Zt=Je(Ht),te=Je(Jt),ee=$t?$t.prototype:u,ne=ee?ee.valueOf:u,re=ee?ee.toString:u;function oe(){}var ue=function(){function t(){}return function(e){if(!rn(e))return{};if(Nt)return Nt(e);t.prototype=e;var n=new t;return t.prototype=u,n}}();function ie(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ce(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ae(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function se(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ae;++e<n;)this.add(t[e])}function fe(t){var e=this.__data__=new ce(t);this.size=e.size}function le(t,e){var n=Ye(t),r=!n&&Xe(t),o=!n&&!r&&tn(t),u=!n&&!r&&!o&&fn(t),i=n||r||o||u,c=i?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],a=c.length;for(var s in t)!e&&!Et.call(t,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||u&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Fe(s,a))||c.push(s);return c}function pe(t,e,n){var r=t[e];Et.call(t,e)&&Qe(r,n)&&(n!==u||e in t)||ye(t,e,n)}function he(t,e){for(var n=t.length;n--;)if(Qe(t[n][0],e))return n;return-1}function ye(t,e,n){"__proto__"==e&&Mt?Mt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ve(t,e,n,r,o,i){var c,a=1&e,f=2&e,h=4&e;if(n&&(c=o?n(t,r,o,i):n(t)),c!==u)return c;if(!rn(t))return t;var _=Ye(t);if(_){if(c=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Et.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,c)}else{var A=Be(t),D=A==y||A==v;if(tn(t))return function(t,e){if(e)return t.slice();var n=t.length,r=It?It(n):new t.constructor(n);return t.copy(r),r}(t,a);if(A==d||A==s||D&&!o){if(c=f||D?{}:function(t){return"function"!=typeof t.constructor||Ue(t)?{}:ue(Tt(t))}(t),!a)return f?function(t,e){return Se(t,De(t),e)}(t,function(t,e){return t&&Se(e,dn(e),t)}(c,t)):function(t,e){return Se(t,Ne(t),e)}(t,function(t,e){return t&&Se(e,bn(e),t)}(c,t))}else{if(!J[A])return o?t:{};c=function(t,e,n){var r=t.constructor;switch(e){case k:return Pe(t);case l:case p:return new r(+t);case E:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case S:case x:case z:case $:case L:case I:case T:case N:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,n);case g:return new r;case b:case m:return new r(t);case O:return function(t){var e=new t.constructor(t.source,q.exec(t));return e.lastIndex=t.lastIndex,e}(t);case j:return new r;case w:return o=t,ne?Object(ne.call(o)):{}}var o}(t,A,a)}}i||(i=new fe);var B=i.get(t);if(B)return B;if(i.set(t,c),cn(t))return t.forEach((function(r){c.add(ve(r,e,n,r,t,i))})),c;if(un(t))return t.forEach((function(r,o){c.set(o,ve(r,e,n,o,t,i))})),c;var F=_?u:(h?f?Le:$e:f?dn:bn)(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););}(F||t,(function(r,o){F&&(r=t[o=r]),pe(c,o,ve(r,e,n,o,t,i))})),c}function ge(t,e){for(var n=0,r=(e=Ee(e,t)).length;null!=t&&n<r;)t=t[He(e[n++])];return n&&n==r?t:u}function be(t,e,n){var r=e(t);return Ye(t)?r:ft(r,n(t))}function de(t){return null==t?t===u?"[object Undefined]":"[object Null]":Ft&&Ft in Object(t)?function(t){var e=Et.call(t,Ft),n=t[Ft];try{t[Ft]=u;var r=!0}catch(t){}var o=St.call(t);r&&(e?t[Ft]=n:delete t[Ft]);return o}(t):function(t){return St.call(t)}(t)}function _e(t,e){return null!=t&&e in Object(t)}function Oe(t){return on(t)&&de(t)==s}function je(t,e,n,r,o){return t===e||(null==t||null==e||!on(t)&&!on(e)?t!=t&&e!=e:function(t,e,n,r,o,i){var c=Ye(t),a=Ye(e),y=c?f:Be(t),v=a?f:Be(e),_=(y=y==s?d:y)==d,A=(v=v==s?d:v)==d,P=y==v;if(P&&tn(t)){if(!tn(e))return!1;c=!0,_=!1}if(P&&!_)return i||(i=new fe),c||fn(t)?ze(t,e,n,r,o,i):function(t,e,n,r,o,u,i){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case k:return!(t.byteLength!=e.byteLength||!u(new Lt(t),new Lt(e)));case l:case p:case b:return Qe(+t,+e);case h:return t.name==e.name&&t.message==e.message;case O:case m:return t=="".concat(e);case g:var c=bt;case j:var a=1&r;if(c||(c=_t),t.size!=e.size&&!a)return!1;var s=i.get(t);if(s)return s==e;r|=2,i.set(t,e);var f=ze(c(t),c(e),r,o,u,i);return i.delete(t),f;case w:if(ne)return ne.call(t)==ne.call(e)}return!1}(t,e,y,n,r,o,i);if(!(1&n)){var S=_&&Et.call(t,"__wrapped__"),x=A&&Et.call(e,"__wrapped__");if(S||x){var z=S?t.value():t,$=x?e.value():e;return i||(i=new fe),o(z,$,n,r,i)}}if(!P)return!1;return i||(i=new fe),function(t,e,n,r,o,i){var c=1&n,a=$e(t),s=a.length,f=$e(e).length;if(s!=f&&!c)return!1;var l=s;for(;l--;){var p=a[l];if(!(c?p in e:Et.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var y=!0;i.set(t,e),i.set(e,t);var v=c;for(;++l<s;){var g=t[p=a[l]],b=e[p];if(r)var d=c?r(b,g,p,e,t,i):r(g,b,p,t,e,i);if(!(d===u?g===b||o(g,b,n,r,i):d)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,O=e.constructor;_==O||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof O&&O instanceof O||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,n,r,o,i)}(t,e,n,r,je,o))}function me(t){return!(!rn(t)||(e=t,Pt&&Pt in e))&&(en(t)?xt:V).test(Je(t));var e}function we(t){return"function"==typeof t?t:null==t?On:"object"===o(t)?Ye(t)?function(t,e){if(Me(t)&&qe(e))return Ce(He(t),e);return function(n){var r=vn(n,t);return r===u&&r===e?gn(n,t):je(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){var e=bn(t),n=e.length;for(;n--;){var r=e[n],o=t[r];e[n]=[r,o,qe(o)]}return e}(t);if(1==e.length&&e[0][2])return Ce(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var o=n.length,i=o,c=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=n[o];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var s=(a=n[o])[0],f=t[s],l=a[1];if(c&&a[2]){if(f===u&&!(s in t))return!1}else{var p=new fe;if(r)var h=r(f,l,s,t,e,p);if(!(h===u?je(l,f,3,r,p):h))return!1}}return!0}(n,t,e)}}(t):wn(t)}function Ae(t){if(!rn(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Ue(t),n=[];for(var r in t)("constructor"!=r||!e&&Et.call(t,r))&&n.push(r);return n}function ke(t){if("string"==typeof t)return t;if(Ye(t))return"".concat(st(t,ke));if(sn(t))return re?re.call(t):"";var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Ee(t,e){return Ye(t)?t:Me(t,e)?[t]:Ge(yn(t))}function Pe(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function Se(t,e,n,r){var o=!n;n||(n={});for(var i=-1,c=e.length;++i<c;){var a=e[i],s=r?r(n[a],t[a],a,n,t):u;s===u&&(s=t[a]),o?ye(n,a,s):pe(n,a,s)}return n}ie.prototype.clear=function(){this.__data__=Kt?Kt(null):{},this.size=0},ie.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ie.prototype.get=function(t){var e=this.__data__;if(Kt){var n=e[t];return n===i?u:n}return Et.call(e,t)?e[t]:u},ie.prototype.has=function(t){var e=this.__data__;return Kt?e[t]!==u:Et.call(e,t)},ie.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Kt&&e===u?i:e,this},ce.prototype.clear=function(){this.__data__=[],this.size=0},ce.prototype.delete=function(t){var e=this.__data__,n=he(e,t);return!(n<0)&&(n==e.length-1?e.pop():Bt.call(e,n,1),--this.size,!0)},ce.prototype.get=function(t){var e=this.__data__,n=he(e,t);return n<0?u:e[n][1]},ce.prototype.has=function(t){return he(this.__data__,t)>-1},ce.prototype.set=function(t,e){var n=this.__data__,r=he(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},ae.prototype.clear=function(){this.size=0,this.__data__={hash:new ie,map:new(Wt||ce),string:new ie}},ae.prototype.delete=function(t){var e=Ie(this,t).delete(t);return this.size-=e?1:0,e},ae.prototype.get=function(t){return Ie(this,t).get(t)},ae.prototype.has=function(t){return Ie(this,t).has(t)},ae.prototype.set=function(t,e){var n=Ie(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},se.prototype.add=se.prototype.push=function(t){return this.__data__.set(t,i),this},se.prototype.has=function(t){return this.__data__.has(t)},fe.prototype.clear=function(){this.__data__=new ce,this.size=0},fe.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},fe.prototype.get=function(t){return this.__data__.get(t)},fe.prototype.has=function(t){return this.__data__.has(t)},fe.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!Wt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(t,e),this.size=n.size,this};var xe=Ht&&1/_t(new Ht([,-0]))[1]==c?function(t){return new Ht(t)}:mn;function ze(t,e,n,r,o,i){var c=1&n,a=t.length,s=e.length;if(a!=s&&!(c&&s>a))return!1;var f=i.get(t);if(f&&i.get(e))return f==e;var l=-1,p=!0,h=2&n?new se:u;for(i.set(t,e),i.set(e,t);++l<a;){var y=t[l],v=e[l];if(r)var g=c?r(v,y,l,e,t,i):r(y,v,l,t,e,i);if(g!==u){if(g)continue;p=!1;break}if(h){if(!lt(e,(function(t,e){if(!gt(h,e)&&(y===t||o(y,t,n,r,i)))return h.push(e)}))){p=!1;break}}else if(y!==v&&!o(y,v,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function $e(t){return be(t,bn,Ne)}function Le(t){return be(t,dn,De)}function Ie(t,e){var n,r,u=t.__data__;return("string"==(r=o(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?u["string"==typeof e?"string":"hash"]:u.map}function Te(t,e){var n=function(t,e){return null==t?u:t[e]}(t,e);return me(n)?n:u}var Ne=Ut?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n<r;){var i=t[n];e(i,n,t)&&(u[o++]=i)}return u}(Ut(t),(function(e){return Dt.call(t,e)})))}:An,De=Ut?function(t){for(var e=[];t;)ft(e,Ne(t)),t=Tt(t);return e}:An,Be=de;function Fe(t,e){var n=o(t);return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&G.test(t))&&t>-1&&t%1==0&&t<e}function Me(t,e){if(Ye(t))return!1;var n=o(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!sn(t))||(B.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ue(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||wt)}function qe(t){return t==t&&!rn(t)}function Ce(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==u||t in Object(n)))}}(Vt&&Be(new Vt(new ArrayBuffer(1)))!=E||Wt&&Be(new Wt)!=g||Gt&&Be(Gt.resolve())!=_||Ht&&Be(new Ht)!=j||Jt&&Be(new Jt)!=A)&&(Be=function(t){var e=de(t),n=e==d?t.constructor:u,r=n?Je(n):"";if(r)switch(r){case Qt:return E;case Xt:return g;case Yt:return _;case Zt:return j;case te:return A}return e});var Re,Ve,We,Ge=(Re=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(F,(function(t,n,r,o){e.push(r?o.replace(U,"$1"):n||t)})),e},Ve=Ke(Re,(function(t){return 500===We.size&&We.clear(),t})),We=Ve.cache,Ve);function He(t){if("string"==typeof t||sn(t))return t;var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Je(t){if(null!=t){try{return kt.call(t)}catch(t){}try{return"".concat(t)}catch(t){}}return""}function Ke(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(Ke.Cache||ae),n}function Qe(t,e){return t===e||t!=t&&e!=e}Ke.Cache=ae;var Xe=Oe(function(){return arguments}())?Oe:function(t){return on(t)&&Et.call(t,"callee")&&!Dt.call(t,"callee")},Ye=Array.isArray;function Ze(t){return null!=t&&nn(t.length)&&!en(t)}var tn=qt||kn;function en(t){if(!rn(t))return!1;var e=de(t);return e==y||e==v||"[object AsyncFunction]"==e||"[object Proxy]"==e}function nn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function rn(t){var e=o(t);return null!=t&&("object"==e||"function"==e)}function on(t){return null!=t&&"object"===o(t)}var un=ot?vt(ot):function(t){return on(t)&&Be(t)==g},cn=ut?vt(ut):function(t){return on(t)&&Be(t)==j};function an(t){return"string"==typeof t||!Ye(t)&&on(t)&&de(t)==m}function sn(t){return"symbol"===o(t)||on(t)&&de(t)==w}var fn=it?vt(it):function(t){return on(t)&&nn(t.length)&&!!H[de(t)]};function ln(t){return t?(t=hn(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pn(t){var e=ln(t),n=e%1;return e==e?n?e-n:e:0}function hn(t){if("number"==typeof t)return t;if(sn(t))return NaN;if(rn(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rn(e)?"".concat(e):e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(M,"");var n=R.test(t);return n||W.test(t)?K(t.slice(2),n?2:8):C.test(t)?NaN:+t}function yn(t){return null==t?"":ke(t)}function vn(t,e,n){var r=null==t?u:ge(t,e);return r===u?n:r}function gn(t,e){return null!=t&&function(t,e,n){for(var r=-1,o=(e=Ee(e,t)).length,u=!1;++r<o;){var i=He(e[r]);if(!(u=null!=t&&n(t,i)))break;t=t[i]}return u||++r!=o?u:!!(o=null==t?0:t.length)&&nn(o)&&Fe(i,o)&&(Ye(t)||Xe(t))}(t,e,_e)}function bn(t){return Ze(t)?le(t):function(t){if(!Ue(t))return Ct(t);var e=[];for(var n in Object(t))Et.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function dn(t){return Ze(t)?le(t,!0):Ae(t)}function _n(t){return null==t?[]:function(t,e){return st(e,(function(e){return t[e]}))}(t,bn(t))}function On(t){return t}function jn(t){return we("function"==typeof t?t:ve(t,1))}function mn(){}function wn(t){return Me(t)?(e=He(t),function(t){return null==t?u:t[e]}):function(t){return function(e){return ge(e,t)}}(t);var e}function An(){return[]}function kn(){return!1}oe.iteratee=jn,oe.keys=bn,oe.keysIn=dn,oe.memoize=Ke,oe.property=wn,oe.uniq=function(t){return t&&t.length?function(t,e,n){var r=-1,o=ct,u=t.length,i=!0,c=[],a=c;if(n)i=!1,o=at;else if(u>=200){var s=e?null:xe(t);if(s)return _t(s);i=!1,o=gt,a=new se}else a=e?[]:c;t:for(;++r<u;){var f=t[r],l=e?e(f):f;if(f=n||0!==f?f:0,i&&l==l){for(var p=a.length;p--;)if(a[p]===l)continue t;e&&a.push(l),c.push(f)}else o(a,l,n)||(a!==c&&a.push(l),c.push(f))}return c}(t):[]},oe.values=_n,oe.eq=Qe,oe.findIndex=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:pn(n);return o<0&&(o=Rt(r+o,0)),pt(t,function(){var t=oe.iteratee||jn;return t=t===jn?we:t,arguments.length?t(arguments[0],arguments[1]):t}(e,3),o)},oe.get=vn,oe.hasIn=gn,oe.identity=On,oe.includes=function(t,e,n,r){t=Ze(t)?t:_n(t),n=n&&!r?pn(n):0;var o=t.length;return n<0&&(n=Rt(o+n,0)),an(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&ht(t,e,n)>-1},oe.isArguments=Xe,oe.isArray=Ye,oe.isArrayLike=Ze,oe.isBuffer=tn,oe.isEqual=function(t,e){return je(t,e)},oe.isFunction=en,oe.isLength=nn,oe.isMap=un,oe.isObject=rn,oe.isObjectLike=on,oe.isSet=cn,oe.isString=an,oe.isSymbol=sn,oe.isTypedArray=fn,oe.stubArray=An,oe.stubFalse=kn,oe.noop=mn,oe.toFinite=ln,oe.toInteger=pn,oe.toNumber=hn,oe.toString=yn,oe.VERSION="4.17.5","object"===o(n.amdO)&&n.amdO?(Y._=oe,(r=function(){return oe}.call(e,n,e,t))===u||(t.exports=r)):tt?((tt.exports=oe)._=oe,Z._=oe):Y._=oe}.call(this)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var u=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.loaded=!0,u.exports}n.amdO={},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var r={};return(()=>{"use strict";n.r(r),n.d(r,{default:()=>b,version:()=>g});var t=n(904),e=n.n(t);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=null,a=[],s={timeout:null,input:[],targets:{nodes:[],ids:[],classNames:[]},defaultEggOptions:{callback:null,destroyBus:!1,keys:!1,name:"easter-egg",pattern:!1,target:"html",withBus:!0},eggOptions:{},pluginOptions:{},init:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c=t,this.pluginOptions=e,this.eggOptions=u(u({},this.defaultEggOptions),n),this.layEggs()},layEggs:function(){a.push(this.eggOptions),this.callAddListener()},callAddListener:function(){var t=this;Object.values(a).forEach((function(e){var n=e;n.keys||n.pattern||(n.keys=t.pluginOptions.keys,n.pattern=t.pluginOptions.pattern)})),this.addListener()},addListener:function(){document.addEventListener(this.pluginOptions.type,this.capturePattern,!1)},capturePattern:function(t){var n="";null!==s.timeout&&clearTimeout(s.timeout),void 0!==t.key?n=t.key:void 0!==t.keyCode&&(n=t.keyCode),e().includes(s.pluginOptions.mouseEvents,t.type)&&(n=t.type,s.targets.nodes.push(t.target.nodeName.toLowerCase()),s.targets.ids.push(t.target.id),s.targets.classNames.push(t.target.classList.value)),s.input.push(n),s.checkPattern(t)},checkPattern:function(t){var n=this;return Object.values(a).forEach((function(r){if(e().isEqual(null==r?void 0:r.keys,n.input)||e().isEqual(null==r?void 0:r.pattern,n.input)){if(e().includes(n.pluginOptions.mouseEvents,t.type))return n.checkTarget(t,r),!1;n.emit(r)}return!1})),this.reset(),!1},checkTarget:function(t,n){var r=n.target,o=n.target.replace("#",""),u=n.target.replace(".",""),i=e().uniq(this.targets.nodes),c=e().uniq(this.targets.ids),a=e().uniq(this.targets.classNames),s=1===i.length&&i[0]===r,f=1===c.length&&c[0]===o,l=1===a.length&&e().includes(a[0],u);(s||f||l)&&this.emit(n),this.reset()},reset:function(){var t=this;this.timeout=setTimeout((function(){clearTimeout(t.timeout),t.input=[],t.targets={nodes:[],ids:[],classNames:[]}}),this.pluginOptions.delay)},emit:function(t){return 1===Object.keys(a).length?document.removeEventListener(this.pluginOptions.type,this.capturePattern,!1):this.rebuild(t),t.callback&&(t.callback(t),!t.withBus)||((new c).$bus.$emit("".concat(t.name)),t.destroyBus&&(new c).$bus.$off("".concat(t.name))),!1},rebuild:function(t){var n=this,r=a;a=[];var o=e().findIndex(r,(function(e){return e.name===t.name}));r.splice(o,1),Object.values(r).forEach((function(t){n.layEggs(t)})),a=r}};const f=s;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.prototype.$easterEgg||t.prototype.$easterEgg||(this.options=p(p({},this.options),e),t.prototype.$easterEgg=function(e){f.init(t,y.options,e)},t.prototype.$easterEggTrigger=function(e){f.init(t,y.options,e)})},options:{delay:500,keys:["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowLeft","ArrowRight","ArrowLeft","ArrowRight","b","a"],mouseEvents:["click","dblclick","mouseup","mousedown"],pattern:[38,38,40,40,37,39,37,39,66,65],type:"keydown"}};const v=y;var g="__VERSION__";"undefined"!=typeof window&&window.Vue&&window.Vue.use(v);const b=v})(),r})()})); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["vue-easter-egg-trigger"]=e():t["vue-easter-egg-trigger"]=e()}(global,(function(){return(()=>{var t={904:function(t,e,n){var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t=n.nmd(t),function(){var u,i="__lodash_hash_undefined__",c=1/0,a=9007199254740991,s="[object Arguments]",f="[object Array]",l="[object Boolean]",p="[object Date]",h="[object Error]",y="[object Function]",v="[object GeneratorFunction]",g="[object Map]",b="[object Number]",d="[object Object]",_="[object Promise]",O="[object RegExp]",j="[object Set]",w="[object String]",m="[object Symbol]",A="[object WeakMap]",k="[object ArrayBuffer]",E="[object DataView]",P="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",z="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",I="[object Uint8ClampedArray]",T="[object Uint16Array]",N="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/^\s+|\s+$/g,U=/\\(\\)?/g,q=/\w*$/,C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,V=/^\[object .+?Constructor\]$/,W=/^0o[0-7]+$/i,G=/^(?:0|[1-9]\d*)$/,H={};H[P]=H[S]=H[x]=H[z]=H[$]=H[L]=H[I]=H[T]=H[N]=!0,H[s]=H[f]=H[k]=H[l]=H[E]=H[p]=H[h]=H[y]=H[g]=H[b]=H[d]=H[O]=H[j]=H[w]=H[A]=!1;var J={};J[s]=J[f]=J[k]=J[E]=J[l]=J[p]=J[P]=J[S]=J[x]=J[z]=J[$]=J[g]=J[b]=J[d]=J[O]=J[j]=J[w]=J[m]=J[L]=J[I]=J[T]=J[N]=!0,J[h]=J[y]=J[A]=!1;var K=parseInt,Q="object"===("undefined"==typeof global?"undefined":o(global))&&global&&global.Object===Object&&global,X="object"===("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,Y=Q||X||Function("return this")(),Z="object"===o(e)&&e&&!e.nodeType&&e,tt=Z&&"object"===o(t)&&t&&!t.nodeType&&t,et=tt&&tt.exports===Z,nt=et&&Q.process,rt=function(){try{return nt&&nt.binding&&nt.binding("util")}catch(t){}}(),ot=rt&&rt.isMap,ut=rt&&rt.isSet,it=rt&&rt.isTypedArray;function ct(t,e){return!!(null==t?0:t.length)&&ht(t,e,0)>-1}function at(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function st(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function ft(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function lt(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function pt(t,e,n,r){for(var o=t.length,u=n+(r?1:-1);r?u--:++u<o;)if(e(t[u],u,t))return u;return-1}function ht(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):pt(t,yt,n)}function yt(t){return t!=t}function vt(t){return function(e){return t(e)}}function gt(t,e){return t.has(e)}function bt(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dt(t,e){return function(n){return t(e(n))}}function _t(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Ot,jt=Array.prototype,wt=Function.prototype,mt=Object.prototype,At=Y["__core-js_shared__"],kt=wt.toString,Et=mt.hasOwnProperty,Pt=(Ot=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1.".concat(Ot):"",St=mt.toString,xt=RegExp("^".concat(kt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),"$")),zt=et?Y.Buffer:u,$t=Y.Symbol,Lt=Y.Uint8Array,It=zt?zt.allocUnsafe:u,Tt=dt(Object.getPrototypeOf,Object),Nt=Object.create,Dt=mt.propertyIsEnumerable,Bt=jt.splice,Ft=$t?$t.toStringTag:u,Mt=function(){try{var t=Te(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ut=Object.getOwnPropertySymbols,qt=zt?zt.isBuffer:u,Ct=dt(Object.keys,Object),Rt=Math.max,Vt=Te(Y,"DataView"),Wt=Te(Y,"Map"),Gt=Te(Y,"Promise"),Ht=Te(Y,"Set"),Jt=Te(Y,"WeakMap"),Kt=Te(Object,"create"),Qt=Je(Vt),Xt=Je(Wt),Yt=Je(Gt),Zt=Je(Ht),te=Je(Jt),ee=$t?$t.prototype:u,ne=ee?ee.valueOf:u,re=ee?ee.toString:u;function oe(){}var ue=function(){function t(){}return function(e){if(!rn(e))return{};if(Nt)return Nt(e);t.prototype=e;var n=new t;return t.prototype=u,n}}();function ie(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ce(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ae(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function se(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ae;++e<n;)this.add(t[e])}function fe(t){var e=this.__data__=new ce(t);this.size=e.size}function le(t,e){var n=Ye(t),r=!n&&Xe(t),o=!n&&!r&&tn(t),u=!n&&!r&&!o&&fn(t),i=n||r||o||u,c=i?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],a=c.length;for(var s in t)!e&&!Et.call(t,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||u&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Fe(s,a))||c.push(s);return c}function pe(t,e,n){var r=t[e];Et.call(t,e)&&Qe(r,n)&&(n!==u||e in t)||ye(t,e,n)}function he(t,e){for(var n=t.length;n--;)if(Qe(t[n][0],e))return n;return-1}function ye(t,e,n){"__proto__"==e&&Mt?Mt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ve(t,e,n,r,o,i){var c,a=1&e,f=2&e,h=4&e;if(n&&(c=o?n(t,r,o,i):n(t)),c!==u)return c;if(!rn(t))return t;var _=Ye(t);if(_){if(c=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Et.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,c)}else{var A=Be(t),D=A==y||A==v;if(tn(t))return function(t,e){if(e)return t.slice();var n=t.length,r=It?It(n):new t.constructor(n);return t.copy(r),r}(t,a);if(A==d||A==s||D&&!o){if(c=f||D?{}:function(t){return"function"!=typeof t.constructor||Ue(t)?{}:ue(Tt(t))}(t),!a)return f?function(t,e){return Se(t,De(t),e)}(t,function(t,e){return t&&Se(e,dn(e),t)}(c,t)):function(t,e){return Se(t,Ne(t),e)}(t,function(t,e){return t&&Se(e,bn(e),t)}(c,t))}else{if(!J[A])return o?t:{};c=function(t,e,n){var r=t.constructor;switch(e){case k:return Pe(t);case l:case p:return new r(+t);case E:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case S:case x:case z:case $:case L:case I:case T:case N:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,n);case g:return new r;case b:case w:return new r(t);case O:return function(t){var e=new t.constructor(t.source,q.exec(t));return e.lastIndex=t.lastIndex,e}(t);case j:return new r;case m:return o=t,ne?Object(ne.call(o)):{}}var o}(t,A,a)}}i||(i=new fe);var B=i.get(t);if(B)return B;if(i.set(t,c),cn(t))return t.forEach((function(r){c.add(ve(r,e,n,r,t,i))})),c;if(un(t))return t.forEach((function(r,o){c.set(o,ve(r,e,n,o,t,i))})),c;var F=_?u:(h?f?Le:$e:f?dn:bn)(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););}(F||t,(function(r,o){F&&(r=t[o=r]),pe(c,o,ve(r,e,n,o,t,i))})),c}function ge(t,e){for(var n=0,r=(e=Ee(e,t)).length;null!=t&&n<r;)t=t[He(e[n++])];return n&&n==r?t:u}function be(t,e,n){var r=e(t);return Ye(t)?r:ft(r,n(t))}function de(t){return null==t?t===u?"[object Undefined]":"[object Null]":Ft&&Ft in Object(t)?function(t){var e=Et.call(t,Ft),n=t[Ft];try{t[Ft]=u;var r=!0}catch(t){}var o=St.call(t);r&&(e?t[Ft]=n:delete t[Ft]);return o}(t):function(t){return St.call(t)}(t)}function _e(t,e){return null!=t&&e in Object(t)}function Oe(t){return on(t)&&de(t)==s}function je(t,e,n,r,o){return t===e||(null==t||null==e||!on(t)&&!on(e)?t!=t&&e!=e:function(t,e,n,r,o,i){var c=Ye(t),a=Ye(e),y=c?f:Be(t),v=a?f:Be(e),_=(y=y==s?d:y)==d,A=(v=v==s?d:v)==d,P=y==v;if(P&&tn(t)){if(!tn(e))return!1;c=!0,_=!1}if(P&&!_)return i||(i=new fe),c||fn(t)?ze(t,e,n,r,o,i):function(t,e,n,r,o,u,i){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case k:return!(t.byteLength!=e.byteLength||!u(new Lt(t),new Lt(e)));case l:case p:case b:return Qe(+t,+e);case h:return t.name==e.name&&t.message==e.message;case O:case w:return t=="".concat(e);case g:var c=bt;case j:var a=1&r;if(c||(c=_t),t.size!=e.size&&!a)return!1;var s=i.get(t);if(s)return s==e;r|=2,i.set(t,e);var f=ze(c(t),c(e),r,o,u,i);return i.delete(t),f;case m:if(ne)return ne.call(t)==ne.call(e)}return!1}(t,e,y,n,r,o,i);if(!(1&n)){var S=_&&Et.call(t,"__wrapped__"),x=A&&Et.call(e,"__wrapped__");if(S||x){var z=S?t.value():t,$=x?e.value():e;return i||(i=new fe),o(z,$,n,r,i)}}if(!P)return!1;return i||(i=new fe),function(t,e,n,r,o,i){var c=1&n,a=$e(t),s=a.length,f=$e(e).length;if(s!=f&&!c)return!1;var l=s;for(;l--;){var p=a[l];if(!(c?p in e:Et.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var y=!0;i.set(t,e),i.set(e,t);var v=c;for(;++l<s;){var g=t[p=a[l]],b=e[p];if(r)var d=c?r(b,g,p,e,t,i):r(g,b,p,t,e,i);if(!(d===u?g===b||o(g,b,n,r,i):d)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,O=e.constructor;_==O||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof O&&O instanceof O||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,n,r,o,i)}(t,e,n,r,je,o))}function we(t){return!(!rn(t)||(e=t,Pt&&Pt in e))&&(en(t)?xt:V).test(Je(t));var e}function me(t){return"function"==typeof t?t:null==t?On:"object"===o(t)?Ye(t)?function(t,e){if(Me(t)&&qe(e))return Ce(He(t),e);return function(n){var r=vn(n,t);return r===u&&r===e?gn(n,t):je(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){var e=bn(t),n=e.length;for(;n--;){var r=e[n],o=t[r];e[n]=[r,o,qe(o)]}return e}(t);if(1==e.length&&e[0][2])return Ce(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var o=n.length,i=o,c=!r;if(null==t)return!i;for(t=Object(t);o--;){var a=n[o];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var s=(a=n[o])[0],f=t[s],l=a[1];if(c&&a[2]){if(f===u&&!(s in t))return!1}else{var p=new fe;if(r)var h=r(f,l,s,t,e,p);if(!(h===u?je(l,f,3,r,p):h))return!1}}return!0}(n,t,e)}}(t):mn(t)}function Ae(t){if(!rn(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Ue(t),n=[];for(var r in t)("constructor"!=r||!e&&Et.call(t,r))&&n.push(r);return n}function ke(t){if("string"==typeof t)return t;if(Ye(t))return"".concat(st(t,ke));if(sn(t))return re?re.call(t):"";var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Ee(t,e){return Ye(t)?t:Me(t,e)?[t]:Ge(yn(t))}function Pe(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function Se(t,e,n,r){var o=!n;n||(n={});for(var i=-1,c=e.length;++i<c;){var a=e[i],s=r?r(n[a],t[a],a,n,t):u;s===u&&(s=t[a]),o?ye(n,a,s):pe(n,a,s)}return n}ie.prototype.clear=function(){this.__data__=Kt?Kt(null):{},this.size=0},ie.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ie.prototype.get=function(t){var e=this.__data__;if(Kt){var n=e[t];return n===i?u:n}return Et.call(e,t)?e[t]:u},ie.prototype.has=function(t){var e=this.__data__;return Kt?e[t]!==u:Et.call(e,t)},ie.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Kt&&e===u?i:e,this},ce.prototype.clear=function(){this.__data__=[],this.size=0},ce.prototype.delete=function(t){var e=this.__data__,n=he(e,t);return!(n<0)&&(n==e.length-1?e.pop():Bt.call(e,n,1),--this.size,!0)},ce.prototype.get=function(t){var e=this.__data__,n=he(e,t);return n<0?u:e[n][1]},ce.prototype.has=function(t){return he(this.__data__,t)>-1},ce.prototype.set=function(t,e){var n=this.__data__,r=he(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},ae.prototype.clear=function(){this.size=0,this.__data__={hash:new ie,map:new(Wt||ce),string:new ie}},ae.prototype.delete=function(t){var e=Ie(this,t).delete(t);return this.size-=e?1:0,e},ae.prototype.get=function(t){return Ie(this,t).get(t)},ae.prototype.has=function(t){return Ie(this,t).has(t)},ae.prototype.set=function(t,e){var n=Ie(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},se.prototype.add=se.prototype.push=function(t){return this.__data__.set(t,i),this},se.prototype.has=function(t){return this.__data__.has(t)},fe.prototype.clear=function(){this.__data__=new ce,this.size=0},fe.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},fe.prototype.get=function(t){return this.__data__.get(t)},fe.prototype.has=function(t){return this.__data__.has(t)},fe.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!Wt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(t,e),this.size=n.size,this};var xe=Ht&&1/_t(new Ht([,-0]))[1]==c?function(t){return new Ht(t)}:wn;function ze(t,e,n,r,o,i){var c=1&n,a=t.length,s=e.length;if(a!=s&&!(c&&s>a))return!1;var f=i.get(t);if(f&&i.get(e))return f==e;var l=-1,p=!0,h=2&n?new se:u;for(i.set(t,e),i.set(e,t);++l<a;){var y=t[l],v=e[l];if(r)var g=c?r(v,y,l,e,t,i):r(y,v,l,t,e,i);if(g!==u){if(g)continue;p=!1;break}if(h){if(!lt(e,(function(t,e){if(!gt(h,e)&&(y===t||o(y,t,n,r,i)))return h.push(e)}))){p=!1;break}}else if(y!==v&&!o(y,v,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function $e(t){return be(t,bn,Ne)}function Le(t){return be(t,dn,De)}function Ie(t,e){var n,r,u=t.__data__;return("string"==(r=o(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?u["string"==typeof e?"string":"hash"]:u.map}function Te(t,e){var n=function(t,e){return null==t?u:t[e]}(t,e);return we(n)?n:u}var Ne=Ut?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n<r;){var i=t[n];e(i,n,t)&&(u[o++]=i)}return u}(Ut(t),(function(e){return Dt.call(t,e)})))}:An,De=Ut?function(t){for(var e=[];t;)ft(e,Ne(t)),t=Tt(t);return e}:An,Be=de;function Fe(t,e){var n=o(t);return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&G.test(t))&&t>-1&&t%1==0&&t<e}function Me(t,e){if(Ye(t))return!1;var n=o(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!sn(t))||(B.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ue(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||mt)}function qe(t){return t==t&&!rn(t)}function Ce(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==u||t in Object(n)))}}(Vt&&Be(new Vt(new ArrayBuffer(1)))!=E||Wt&&Be(new Wt)!=g||Gt&&Be(Gt.resolve())!=_||Ht&&Be(new Ht)!=j||Jt&&Be(new Jt)!=A)&&(Be=function(t){var e=de(t),n=e==d?t.constructor:u,r=n?Je(n):"";if(r)switch(r){case Qt:return E;case Xt:return g;case Yt:return _;case Zt:return j;case te:return A}return e});var Re,Ve,We,Ge=(Re=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(F,(function(t,n,r,o){e.push(r?o.replace(U,"$1"):n||t)})),e},Ve=Ke(Re,(function(t){return 500===We.size&&We.clear(),t})),We=Ve.cache,Ve);function He(t){if("string"==typeof t||sn(t))return t;var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Je(t){if(null!=t){try{return kt.call(t)}catch(t){}try{return"".concat(t)}catch(t){}}return""}function Ke(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(Ke.Cache||ae),n}function Qe(t,e){return t===e||t!=t&&e!=e}Ke.Cache=ae;var Xe=Oe(function(){return arguments}())?Oe:function(t){return on(t)&&Et.call(t,"callee")&&!Dt.call(t,"callee")},Ye=Array.isArray;function Ze(t){return null!=t&&nn(t.length)&&!en(t)}var tn=qt||kn;function en(t){if(!rn(t))return!1;var e=de(t);return e==y||e==v||"[object AsyncFunction]"==e||"[object Proxy]"==e}function nn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function rn(t){var e=o(t);return null!=t&&("object"==e||"function"==e)}function on(t){return null!=t&&"object"===o(t)}var un=ot?vt(ot):function(t){return on(t)&&Be(t)==g},cn=ut?vt(ut):function(t){return on(t)&&Be(t)==j};function an(t){return"string"==typeof t||!Ye(t)&&on(t)&&de(t)==w}function sn(t){return"symbol"===o(t)||on(t)&&de(t)==m}var fn=it?vt(it):function(t){return on(t)&&nn(t.length)&&!!H[de(t)]};function ln(t){return t?(t=hn(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pn(t){var e=ln(t),n=e%1;return e==e?n?e-n:e:0}function hn(t){if("number"==typeof t)return t;if(sn(t))return NaN;if(rn(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rn(e)?"".concat(e):e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(M,"");var n=R.test(t);return n||W.test(t)?K(t.slice(2),n?2:8):C.test(t)?NaN:+t}function yn(t){return null==t?"":ke(t)}function vn(t,e,n){var r=null==t?u:ge(t,e);return r===u?n:r}function gn(t,e){return null!=t&&function(t,e,n){for(var r=-1,o=(e=Ee(e,t)).length,u=!1;++r<o;){var i=He(e[r]);if(!(u=null!=t&&n(t,i)))break;t=t[i]}return u||++r!=o?u:!!(o=null==t?0:t.length)&&nn(o)&&Fe(i,o)&&(Ye(t)||Xe(t))}(t,e,_e)}function bn(t){return Ze(t)?le(t):function(t){if(!Ue(t))return Ct(t);var e=[];for(var n in Object(t))Et.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function dn(t){return Ze(t)?le(t,!0):Ae(t)}function _n(t){return null==t?[]:function(t,e){return st(e,(function(e){return t[e]}))}(t,bn(t))}function On(t){return t}function jn(t){return me("function"==typeof t?t:ve(t,1))}function wn(){}function mn(t){return Me(t)?(e=He(t),function(t){return null==t?u:t[e]}):function(t){return function(e){return ge(e,t)}}(t);var e}function An(){return[]}function kn(){return!1}oe.iteratee=jn,oe.keys=bn,oe.keysIn=dn,oe.memoize=Ke,oe.property=mn,oe.uniq=function(t){return t&&t.length?function(t,e,n){var r=-1,o=ct,u=t.length,i=!0,c=[],a=c;if(n)i=!1,o=at;else if(u>=200){var s=e?null:xe(t);if(s)return _t(s);i=!1,o=gt,a=new se}else a=e?[]:c;t:for(;++r<u;){var f=t[r],l=e?e(f):f;if(f=n||0!==f?f:0,i&&l==l){for(var p=a.length;p--;)if(a[p]===l)continue t;e&&a.push(l),c.push(f)}else o(a,l,n)||(a!==c&&a.push(l),c.push(f))}return c}(t):[]},oe.values=_n,oe.eq=Qe,oe.findIndex=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:pn(n);return o<0&&(o=Rt(r+o,0)),pt(t,function(){var t=oe.iteratee||jn;return t=t===jn?me:t,arguments.length?t(arguments[0],arguments[1]):t}(e,3),o)},oe.get=vn,oe.hasIn=gn,oe.identity=On,oe.includes=function(t,e,n,r){t=Ze(t)?t:_n(t),n=n&&!r?pn(n):0;var o=t.length;return n<0&&(n=Rt(o+n,0)),an(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&ht(t,e,n)>-1},oe.isArguments=Xe,oe.isArray=Ye,oe.isArrayLike=Ze,oe.isBuffer=tn,oe.isEqual=function(t,e){return je(t,e)},oe.isFunction=en,oe.isLength=nn,oe.isMap=un,oe.isObject=rn,oe.isObjectLike=on,oe.isSet=cn,oe.isString=an,oe.isSymbol=sn,oe.isTypedArray=fn,oe.stubArray=An,oe.stubFalse=kn,oe.noop=wn,oe.toFinite=ln,oe.toInteger=pn,oe.toNumber=hn,oe.toString=yn,oe.VERSION="4.17.5","object"===o(n.amdO)&&n.amdO?(Y._=oe,(r=function(){return oe}.call(e,n,e,t))===u||(t.exports=r)):tt?((tt.exports=oe)._=oe,Z._=oe):Y._=oe}.call(this)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var u=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.loaded=!0,u.exports}n.amdO={},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var r={};return(()=>{"use strict";n.r(r),n.d(r,{default:()=>b,version:()=>g});var t=n(904),e=n.n(t);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=null,a=[],s={timeout:null,input:[],targets:{nodes:[],ids:[],classNames:[]},defaultEggOptions:{callback:null,destroyBus:!1,keys:!1,name:"easter-egg",pattern:!1,target:"div",withBus:!0},eggOptions:{},pluginOptions:{},init:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c=t,this.pluginOptions=e,this.eggOptions=u(u({},this.defaultEggOptions),n),this.layEggs()},layEggs:function(){a.push(this.eggOptions),this.callAddListener()},callAddListener:function(){var t=this;Object.values(a).forEach((function(e){var n=e;n.keys||n.pattern||(n.keys=t.pluginOptions.keys,n.pattern=t.pluginOptions.pattern)})),this.addListener()},addListener:function(){document.addEventListener(this.pluginOptions.type,this.capturePattern,!1)},capturePattern:function(t){var n="";null!==s.timeout&&clearTimeout(s.timeout),void 0!==t.key?n=t.key:void 0!==t.keyCode&&(n=t.keyCode),e().includes(s.pluginOptions.mouseEvents,t.type)&&(n=t.type,s.targets.nodes.push(t.target.nodeName.toLowerCase()),s.targets.ids.push(t.target.id),s.targets.classNames.push(t.target.classList.value)),s.input.push(n),s.checkPattern(t)},checkPattern:function(t){var n=this;return Object.values(a).forEach((function(r){if(e().isEqual(null==r?void 0:r.keys,n.input)||e().isEqual(null==r?void 0:r.pattern,n.input)){if(e().includes(n.pluginOptions.mouseEvents,t.type))return n.checkTarget(t,r),!1;n.emit(r)}return!1})),this.reset(),!1},checkTarget:function(t,n){var r=n.target,o=n.target.replace("#",""),u=n.target.replace(".",""),i=e().uniq(this.targets.nodes),c=e().uniq(this.targets.ids),a=e().uniq(this.targets.classNames),s=1===i.length&&i[0]===r,f=1===c.length&&c[0]===o,l=1===a.length&&e().includes(a[0],u);(s||f||l)&&this.emit(n),this.reset()},reset:function(){var t=this;this.timeout=setTimeout((function(){clearTimeout(t.timeout),t.input=[],t.targets={nodes:[],ids:[],classNames:[]}}),this.pluginOptions.delay)},emit:function(t){return 1===Object.keys(a).length?document.removeEventListener(this.pluginOptions.type,this.capturePattern,!1):this.rebuild(t),t.callback&&(t.callback(t),!t.withBus)||((new c).$bus.$emit("".concat(t.name)),t.destroyBus&&(new c).$bus.$off("".concat(t.name))),!1},rebuild:function(t){var n=this,r=a;a=[];var o=e().findIndex(r,(function(e){return e.name===t.name}));r.splice(o,1),Object.values(r).forEach((function(t){n.layEggs(t)})),a=r}};const f=s;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.prototype.$easterEgg||t.prototype.$easterEgg||(this.options=p(p({},this.options),e),t.prototype.$easterEgg=function(e){f.init(t,y.options,e)},t.prototype.$easterEggTrigger=function(e){f.init(t,y.options,e)})},options:{delay:500,keys:["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowLeft","ArrowRight","ArrowLeft","ArrowRight","b","a"],mouseEvents:["click","dblclick","mouseup","mousedown"],pattern:[38,38,40,40,37,39,37,39,66,65],type:"keydown"}};const v=y;var g="__VERSION__";"undefined"!=typeof window&&window.Vue&&window.Vue.use(v);const b=v})(),r})()})); |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["vue-easter-egg-trigger"]=e():t["vue-easter-egg-trigger"]=e()}(self,(function(){return function(){var t={904:function(t,e,n){var r;function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t=n.nmd(t),function(){var o,i="__lodash_hash_undefined__",c=1/0,a=9007199254740991,f="[object Arguments]",s="[object Array]",l="[object Boolean]",p="[object Date]",h="[object Error]",y="[object Function]",v="[object GeneratorFunction]",g="[object Map]",b="[object Number]",d="[object Object]",_="[object Promise]",O="[object RegExp]",j="[object Set]",w="[object String]",m="[object Symbol]",A="[object WeakMap]",k="[object ArrayBuffer]",E="[object DataView]",P="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",z="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",T="[object Uint8ClampedArray]",I="[object Uint16Array]",N="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/^\s+|\s+$/g,U=/\\(\\)?/g,q=/\w*$/,C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,V=/^\[object .+?Constructor\]$/,W=/^0o[0-7]+$/i,G=/^(?:0|[1-9]\d*)$/,H={};H[P]=H[S]=H[x]=H[z]=H[$]=H[L]=H[T]=H[I]=H[N]=!0,H[f]=H[s]=H[k]=H[l]=H[E]=H[p]=H[h]=H[y]=H[g]=H[b]=H[d]=H[O]=H[j]=H[w]=H[A]=!1;var J={};J[f]=J[s]=J[k]=J[E]=J[l]=J[p]=J[P]=J[S]=J[x]=J[z]=J[$]=J[g]=J[b]=J[d]=J[O]=J[j]=J[w]=J[m]=J[L]=J[T]=J[I]=J[N]=!0,J[h]=J[y]=J[A]=!1;var K=parseInt,Q="object"===(void 0===n.g?"undefined":u(n.g))&&n.g&&n.g.Object===Object&&n.g,X="object"===("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,Y=Q||X||Function("return this")(),Z="object"===u(e)&&e&&!e.nodeType&&e,tt=Z&&"object"===u(t)&&t&&!t.nodeType&&t,et=tt&&tt.exports===Z,nt=et&&Q.process,rt=function(){try{return nt&&nt.binding&&nt.binding("util")}catch(t){}}(),ut=rt&&rt.isMap,ot=rt&&rt.isSet,it=rt&&rt.isTypedArray;function ct(t,e){return!!(null==t?0:t.length)&&ht(t,e,0)>-1}function at(t,e,n){for(var r=-1,u=null==t?0:t.length;++r<u;)if(n(e,t[r]))return!0;return!1}function ft(t,e){for(var n=-1,r=null==t?0:t.length,u=Array(r);++n<r;)u[n]=e(t[n],n,t);return u}function st(t,e){for(var n=-1,r=e.length,u=t.length;++n<r;)t[u+n]=e[n];return t}function lt(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function pt(t,e,n,r){for(var u=t.length,o=n+(r?1:-1);r?o--:++o<u;)if(e(t[o],o,t))return o;return-1}function ht(t,e,n){return e==e?function(t,e,n){var r=n-1,u=t.length;for(;++r<u;)if(t[r]===e)return r;return-1}(t,e,n):pt(t,yt,n)}function yt(t){return t!=t}function vt(t){return function(e){return t(e)}}function gt(t,e){return t.has(e)}function bt(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dt(t,e){return function(n){return t(e(n))}}function _t(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Ot,jt=Array.prototype,wt=Function.prototype,mt=Object.prototype,At=Y["__core-js_shared__"],kt=wt.toString,Et=mt.hasOwnProperty,Pt=(Ot=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1.".concat(Ot):"",St=mt.toString,xt=RegExp("^".concat(kt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),"$")),zt=et?Y.Buffer:o,$t=Y.Symbol,Lt=Y.Uint8Array,Tt=zt?zt.allocUnsafe:o,It=dt(Object.getPrototypeOf,Object),Nt=Object.create,Dt=mt.propertyIsEnumerable,Ft=jt.splice,Bt=$t?$t.toStringTag:o,Mt=function(){try{var t=Ie(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ut=Object.getOwnPropertySymbols,qt=zt?zt.isBuffer:o,Ct=dt(Object.keys,Object),Rt=Math.max,Vt=Ie(Y,"DataView"),Wt=Ie(Y,"Map"),Gt=Ie(Y,"Promise"),Ht=Ie(Y,"Set"),Jt=Ie(Y,"WeakMap"),Kt=Ie(Object,"create"),Qt=Je(Vt),Xt=Je(Wt),Yt=Je(Gt),Zt=Je(Ht),te=Je(Jt),ee=$t?$t.prototype:o,ne=ee?ee.valueOf:o,re=ee?ee.toString:o;function ue(){}var oe=function(){function t(){}return function(e){if(!rn(e))return{};if(Nt)return Nt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function ie(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ce(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ae(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function fe(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ae;++e<n;)this.add(t[e])}function se(t){var e=this.__data__=new ce(t);this.size=e.size}function le(t,e){var n=Ye(t),r=!n&&Xe(t),u=!n&&!r&&tn(t),o=!n&&!r&&!u&&sn(t),i=n||r||u||o,c=i?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],a=c.length;for(var f in t)!e&&!Et.call(t,f)||i&&("length"==f||u&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Be(f,a))||c.push(f);return c}function pe(t,e,n){var r=t[e];Et.call(t,e)&&Qe(r,n)&&(n!==o||e in t)||ye(t,e,n)}function he(t,e){for(var n=t.length;n--;)if(Qe(t[n][0],e))return n;return-1}function ye(t,e,n){"__proto__"==e&&Mt?Mt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ve(t,e,n,r,u,i){var c,a=1&e,s=2&e,h=4&e;if(n&&(c=u?n(t,r,u,i):n(t)),c!==o)return c;if(!rn(t))return t;var _=Ye(t);if(_){if(c=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Et.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,c)}else{var A=Fe(t),D=A==y||A==v;if(tn(t))return function(t,e){if(e)return t.slice();var n=t.length,r=Tt?Tt(n):new t.constructor(n);return t.copy(r),r}(t,a);if(A==d||A==f||D&&!u){if(c=s||D?{}:function(t){return"function"!=typeof t.constructor||Ue(t)?{}:oe(It(t))}(t),!a)return s?function(t,e){return Se(t,De(t),e)}(t,function(t,e){return t&&Se(e,dn(e),t)}(c,t)):function(t,e){return Se(t,Ne(t),e)}(t,function(t,e){return t&&Se(e,bn(e),t)}(c,t))}else{if(!J[A])return u?t:{};c=function(t,e,n){var r=t.constructor;switch(e){case k:return Pe(t);case l:case p:return new r(+t);case E:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case S:case x:case z:case $:case L:case T:case I:case N:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,n);case g:return new r;case b:case w:return new r(t);case O:return function(t){var e=new t.constructor(t.source,q.exec(t));return e.lastIndex=t.lastIndex,e}(t);case j:return new r;case m:return u=t,ne?Object(ne.call(u)):{}}var u}(t,A,a)}}i||(i=new se);var F=i.get(t);if(F)return F;if(i.set(t,c),cn(t))return t.forEach((function(r){c.add(ve(r,e,n,r,t,i))})),c;if(on(t))return t.forEach((function(r,u){c.set(u,ve(r,e,n,u,t,i))})),c;var B=_?o:(h?s?Le:$e:s?dn:bn)(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););}(B||t,(function(r,u){B&&(r=t[u=r]),pe(c,u,ve(r,e,n,u,t,i))})),c}function ge(t,e){for(var n=0,r=(e=Ee(e,t)).length;null!=t&&n<r;)t=t[He(e[n++])];return n&&n==r?t:o}function be(t,e,n){var r=e(t);return Ye(t)?r:st(r,n(t))}function de(t){return null==t?t===o?"[object Undefined]":"[object Null]":Bt&&Bt in Object(t)?function(t){var e=Et.call(t,Bt),n=t[Bt];try{t[Bt]=o;var r=!0}catch(t){}var u=St.call(t);r&&(e?t[Bt]=n:delete t[Bt]);return u}(t):function(t){return St.call(t)}(t)}function _e(t,e){return null!=t&&e in Object(t)}function Oe(t){return un(t)&&de(t)==f}function je(t,e,n,r,u){return t===e||(null==t||null==e||!un(t)&&!un(e)?t!=t&&e!=e:function(t,e,n,r,u,i){var c=Ye(t),a=Ye(e),y=c?s:Fe(t),v=a?s:Fe(e),_=(y=y==f?d:y)==d,A=(v=v==f?d:v)==d,P=y==v;if(P&&tn(t)){if(!tn(e))return!1;c=!0,_=!1}if(P&&!_)return i||(i=new se),c||sn(t)?ze(t,e,n,r,u,i):function(t,e,n,r,u,o,i){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case k:return!(t.byteLength!=e.byteLength||!o(new Lt(t),new Lt(e)));case l:case p:case b:return Qe(+t,+e);case h:return t.name==e.name&&t.message==e.message;case O:case w:return t=="".concat(e);case g:var c=bt;case j:var a=1&r;if(c||(c=_t),t.size!=e.size&&!a)return!1;var f=i.get(t);if(f)return f==e;r|=2,i.set(t,e);var s=ze(c(t),c(e),r,u,o,i);return i.delete(t),s;case m:if(ne)return ne.call(t)==ne.call(e)}return!1}(t,e,y,n,r,u,i);if(!(1&n)){var S=_&&Et.call(t,"__wrapped__"),x=A&&Et.call(e,"__wrapped__");if(S||x){var z=S?t.value():t,$=x?e.value():e;return i||(i=new se),u(z,$,n,r,i)}}if(!P)return!1;return i||(i=new se),function(t,e,n,r,u,i){var c=1&n,a=$e(t),f=a.length,s=$e(e).length;if(f!=s&&!c)return!1;var l=f;for(;l--;){var p=a[l];if(!(c?p in e:Et.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var y=!0;i.set(t,e),i.set(e,t);var v=c;for(;++l<f;){var g=t[p=a[l]],b=e[p];if(r)var d=c?r(b,g,p,e,t,i):r(g,b,p,t,e,i);if(!(d===o?g===b||u(g,b,n,r,i):d)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,O=e.constructor;_==O||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof O&&O instanceof O||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,n,r,u,i)}(t,e,n,r,je,u))}function we(t){return!(!rn(t)||(e=t,Pt&&Pt in e))&&(en(t)?xt:V).test(Je(t));var e}function me(t){return"function"==typeof t?t:null==t?On:"object"===u(t)?Ye(t)?function(t,e){if(Me(t)&&qe(e))return Ce(He(t),e);return function(n){var r=vn(n,t);return r===o&&r===e?gn(n,t):je(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){var e=bn(t),n=e.length;for(;n--;){var r=e[n],u=t[r];e[n]=[r,u,qe(u)]}return e}(t);if(1==e.length&&e[0][2])return Ce(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var u=n.length,i=u,c=!r;if(null==t)return!i;for(t=Object(t);u--;){var a=n[u];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++u<i;){var f=(a=n[u])[0],s=t[f],l=a[1];if(c&&a[2]){if(s===o&&!(f in t))return!1}else{var p=new se;if(r)var h=r(s,l,f,t,e,p);if(!(h===o?je(l,s,3,r,p):h))return!1}}return!0}(n,t,e)}}(t):mn(t)}function Ae(t){if(!rn(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Ue(t),n=[];for(var r in t)("constructor"!=r||!e&&Et.call(t,r))&&n.push(r);return n}function ke(t){if("string"==typeof t)return t;if(Ye(t))return"".concat(ft(t,ke));if(fn(t))return re?re.call(t):"";var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Ee(t,e){return Ye(t)?t:Me(t,e)?[t]:Ge(yn(t))}function Pe(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function Se(t,e,n,r){var u=!n;n||(n={});for(var i=-1,c=e.length;++i<c;){var a=e[i],f=r?r(n[a],t[a],a,n,t):o;f===o&&(f=t[a]),u?ye(n,a,f):pe(n,a,f)}return n}ie.prototype.clear=function(){this.__data__=Kt?Kt(null):{},this.size=0},ie.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ie.prototype.get=function(t){var e=this.__data__;if(Kt){var n=e[t];return n===i?o:n}return Et.call(e,t)?e[t]:o},ie.prototype.has=function(t){var e=this.__data__;return Kt?e[t]!==o:Et.call(e,t)},ie.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Kt&&e===o?i:e,this},ce.prototype.clear=function(){this.__data__=[],this.size=0},ce.prototype.delete=function(t){var e=this.__data__,n=he(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ft.call(e,n,1),--this.size,!0)},ce.prototype.get=function(t){var e=this.__data__,n=he(e,t);return n<0?o:e[n][1]},ce.prototype.has=function(t){return he(this.__data__,t)>-1},ce.prototype.set=function(t,e){var n=this.__data__,r=he(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},ae.prototype.clear=function(){this.size=0,this.__data__={hash:new ie,map:new(Wt||ce),string:new ie}},ae.prototype.delete=function(t){var e=Te(this,t).delete(t);return this.size-=e?1:0,e},ae.prototype.get=function(t){return Te(this,t).get(t)},ae.prototype.has=function(t){return Te(this,t).has(t)},ae.prototype.set=function(t,e){var n=Te(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},fe.prototype.add=fe.prototype.push=function(t){return this.__data__.set(t,i),this},fe.prototype.has=function(t){return this.__data__.has(t)},se.prototype.clear=function(){this.__data__=new ce,this.size=0},se.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},se.prototype.get=function(t){return this.__data__.get(t)},se.prototype.has=function(t){return this.__data__.has(t)},se.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!Wt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(t,e),this.size=n.size,this};var xe=Ht&&1/_t(new Ht([,-0]))[1]==c?function(t){return new Ht(t)}:wn;function ze(t,e,n,r,u,i){var c=1&n,a=t.length,f=e.length;if(a!=f&&!(c&&f>a))return!1;var s=i.get(t);if(s&&i.get(e))return s==e;var l=-1,p=!0,h=2&n?new fe:o;for(i.set(t,e),i.set(e,t);++l<a;){var y=t[l],v=e[l];if(r)var g=c?r(v,y,l,e,t,i):r(y,v,l,t,e,i);if(g!==o){if(g)continue;p=!1;break}if(h){if(!lt(e,(function(t,e){if(!gt(h,e)&&(y===t||u(y,t,n,r,i)))return h.push(e)}))){p=!1;break}}else if(y!==v&&!u(y,v,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function $e(t){return be(t,bn,Ne)}function Le(t){return be(t,dn,De)}function Te(t,e){var n,r,o=t.__data__;return("string"==(r=u(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ie(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return we(n)?n:o}var Ne=Ut?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,u=0,o=[];++n<r;){var i=t[n];e(i,n,t)&&(o[u++]=i)}return o}(Ut(t),(function(e){return Dt.call(t,e)})))}:An,De=Ut?function(t){for(var e=[];t;)st(e,Ne(t)),t=It(t);return e}:An,Fe=de;function Be(t,e){var n=u(t);return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&G.test(t))&&t>-1&&t%1==0&&t<e}function Me(t,e){if(Ye(t))return!1;var n=u(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!fn(t))||(F.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ue(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||mt)}function qe(t){return t==t&&!rn(t)}function Ce(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in Object(n)))}}(Vt&&Fe(new Vt(new ArrayBuffer(1)))!=E||Wt&&Fe(new Wt)!=g||Gt&&Fe(Gt.resolve())!=_||Ht&&Fe(new Ht)!=j||Jt&&Fe(new Jt)!=A)&&(Fe=function(t){var e=de(t),n=e==d?t.constructor:o,r=n?Je(n):"";if(r)switch(r){case Qt:return E;case Xt:return g;case Yt:return _;case Zt:return j;case te:return A}return e});var Re,Ve,We,Ge=(Re=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(B,(function(t,n,r,u){e.push(r?u.replace(U,"$1"):n||t)})),e},Ve=Ke(Re,(function(t){return 500===We.size&&We.clear(),t})),We=Ve.cache,Ve);function He(t){if("string"==typeof t||fn(t))return t;var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Je(t){if(null!=t){try{return kt.call(t)}catch(t){}try{return"".concat(t)}catch(t){}}return""}function Ke(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,u=e?e.apply(this,r):r[0],o=n.cache;if(o.has(u))return o.get(u);var i=t.apply(this,r);return n.cache=o.set(u,i)||o,i};return n.cache=new(Ke.Cache||ae),n}function Qe(t,e){return t===e||t!=t&&e!=e}Ke.Cache=ae;var Xe=Oe(function(){return arguments}())?Oe:function(t){return un(t)&&Et.call(t,"callee")&&!Dt.call(t,"callee")},Ye=Array.isArray;function Ze(t){return null!=t&&nn(t.length)&&!en(t)}var tn=qt||kn;function en(t){if(!rn(t))return!1;var e=de(t);return e==y||e==v||"[object AsyncFunction]"==e||"[object Proxy]"==e}function nn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function rn(t){var e=u(t);return null!=t&&("object"==e||"function"==e)}function un(t){return null!=t&&"object"===u(t)}var on=ut?vt(ut):function(t){return un(t)&&Fe(t)==g},cn=ot?vt(ot):function(t){return un(t)&&Fe(t)==j};function an(t){return"string"==typeof t||!Ye(t)&&un(t)&&de(t)==w}function fn(t){return"symbol"===u(t)||un(t)&&de(t)==m}var sn=it?vt(it):function(t){return un(t)&&nn(t.length)&&!!H[de(t)]};function ln(t){return t?(t=hn(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pn(t){var e=ln(t),n=e%1;return e==e?n?e-n:e:0}function hn(t){if("number"==typeof t)return t;if(fn(t))return NaN;if(rn(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rn(e)?"".concat(e):e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(M,"");var n=R.test(t);return n||W.test(t)?K(t.slice(2),n?2:8):C.test(t)?NaN:+t}function yn(t){return null==t?"":ke(t)}function vn(t,e,n){var r=null==t?o:ge(t,e);return r===o?n:r}function gn(t,e){return null!=t&&function(t,e,n){for(var r=-1,u=(e=Ee(e,t)).length,o=!1;++r<u;){var i=He(e[r]);if(!(o=null!=t&&n(t,i)))break;t=t[i]}return o||++r!=u?o:!!(u=null==t?0:t.length)&&nn(u)&&Be(i,u)&&(Ye(t)||Xe(t))}(t,e,_e)}function bn(t){return Ze(t)?le(t):function(t){if(!Ue(t))return Ct(t);var e=[];for(var n in Object(t))Et.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function dn(t){return Ze(t)?le(t,!0):Ae(t)}function _n(t){return null==t?[]:function(t,e){return ft(e,(function(e){return t[e]}))}(t,bn(t))}function On(t){return t}function jn(t){return me("function"==typeof t?t:ve(t,1))}function wn(){}function mn(t){return Me(t)?(e=He(t),function(t){return null==t?o:t[e]}):function(t){return function(e){return ge(e,t)}}(t);var e}function An(){return[]}function kn(){return!1}ue.iteratee=jn,ue.keys=bn,ue.keysIn=dn,ue.memoize=Ke,ue.property=mn,ue.uniq=function(t){return t&&t.length?function(t,e,n){var r=-1,u=ct,o=t.length,i=!0,c=[],a=c;if(n)i=!1,u=at;else if(o>=200){var f=e?null:xe(t);if(f)return _t(f);i=!1,u=gt,a=new fe}else a=e?[]:c;t:for(;++r<o;){var s=t[r],l=e?e(s):s;if(s=n||0!==s?s:0,i&&l==l){for(var p=a.length;p--;)if(a[p]===l)continue t;e&&a.push(l),c.push(s)}else u(a,l,n)||(a!==c&&a.push(l),c.push(s))}return c}(t):[]},ue.values=_n,ue.eq=Qe,ue.findIndex=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var u=null==n?0:pn(n);return u<0&&(u=Rt(r+u,0)),pt(t,function(){var t=ue.iteratee||jn;return t=t===jn?me:t,arguments.length?t(arguments[0],arguments[1]):t}(e,3),u)},ue.get=vn,ue.hasIn=gn,ue.identity=On,ue.includes=function(t,e,n,r){t=Ze(t)?t:_n(t),n=n&&!r?pn(n):0;var u=t.length;return n<0&&(n=Rt(u+n,0)),an(t)?n<=u&&t.indexOf(e,n)>-1:!!u&&ht(t,e,n)>-1},ue.isArguments=Xe,ue.isArray=Ye,ue.isArrayLike=Ze,ue.isBuffer=tn,ue.isEqual=function(t,e){return je(t,e)},ue.isFunction=en,ue.isLength=nn,ue.isMap=on,ue.isObject=rn,ue.isObjectLike=un,ue.isSet=cn,ue.isString=an,ue.isSymbol=fn,ue.isTypedArray=sn,ue.stubArray=An,ue.stubFalse=kn,ue.noop=wn,ue.toFinite=ln,ue.toInteger=pn,ue.toNumber=hn,ue.toString=yn,ue.VERSION="4.17.5","object"===u(n.amdO)&&n.amdO?(Y._=ue,(r=function(){return ue}.call(e,n,e,t))===o||(t.exports=r)):tt?((tt.exports=ue)._=ue,Z._=ue):Y._=ue}.call(this)}},e={};function n(r){var u=e[r];if(void 0!==u)return u.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.amdO={},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var r={};return function(){"use strict";n.r(r),n.d(r,{default:function(){return b},version:function(){return g}});var t=n(904),e=n.n(t);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=null,a=[],f={timeout:null,input:[],targets:{nodes:[],ids:[],classNames:[]},defaultEggOptions:{callback:null,destroyBus:!1,keys:!1,name:"easter-egg",pattern:!1,target:"html",withBus:!0},eggOptions:{},pluginOptions:{},init:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c=t,this.pluginOptions=e,this.eggOptions=o(o({},this.defaultEggOptions),n),this.layEggs()},layEggs:function(){a.push(this.eggOptions),this.callAddListener()},callAddListener:function(){var t=this;Object.values(a).forEach((function(e){var n=e;n.keys||n.pattern||(n.keys=t.pluginOptions.keys,n.pattern=t.pluginOptions.pattern)})),this.addListener()},addListener:function(){document.addEventListener(this.pluginOptions.type,this.capturePattern,!1)},capturePattern:function(t){var n="";null!==f.timeout&&clearTimeout(f.timeout),void 0!==t.key?n=t.key:void 0!==t.keyCode&&(n=t.keyCode),e().includes(f.pluginOptions.mouseEvents,t.type)&&(n=t.type,f.targets.nodes.push(t.target.nodeName.toLowerCase()),f.targets.ids.push(t.target.id),f.targets.classNames.push(t.target.classList.value)),f.input.push(n),f.checkPattern(t)},checkPattern:function(t){var n=this;return Object.values(a).forEach((function(r){if(e().isEqual(null==r?void 0:r.keys,n.input)||e().isEqual(null==r?void 0:r.pattern,n.input)){if(e().includes(n.pluginOptions.mouseEvents,t.type))return n.checkTarget(t,r),!1;n.emit(r)}return!1})),this.reset(),!1},checkTarget:function(t,n){var r=n.target,u=n.target.replace("#",""),o=n.target.replace(".",""),i=e().uniq(this.targets.nodes),c=e().uniq(this.targets.ids),a=e().uniq(this.targets.classNames),f=1===i.length&&i[0]===r,s=1===c.length&&c[0]===u,l=1===a.length&&e().includes(a[0],o);(f||s||l)&&this.emit(n),this.reset()},reset:function(){var t=this;this.timeout=setTimeout((function(){clearTimeout(t.timeout),t.input=[],t.targets={nodes:[],ids:[],classNames:[]}}),this.pluginOptions.delay)},emit:function(t){return 1===Object.keys(a).length?document.removeEventListener(this.pluginOptions.type,this.capturePattern,!1):this.rebuild(t),t.callback&&(t.callback(t),!t.withBus)||((new c).$bus.$emit("".concat(t.name)),t.destroyBus&&(new c).$bus.$off("".concat(t.name))),!1},rebuild:function(t){var n=this,r=a;a=[];var u=e().findIndex(r,(function(e){return e.name===t.name}));r.splice(u,1),Object.values(r).forEach((function(t){n.layEggs(t)})),a=r}},s=f;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.prototype.$easterEgg||t.prototype.$easterEgg||(this.options=p(p({},this.options),e),t.prototype.$easterEgg=function(e){s.init(t,y.options,e)},t.prototype.$easterEggTrigger=function(e){s.init(t,y.options,e)})},options:{delay:500,keys:["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowLeft","ArrowRight","ArrowLeft","ArrowRight","b","a"],mouseEvents:["click","dblclick","mouseup","mousedown"],pattern:[38,38,40,40,37,39,37,39,66,65],type:"keydown"}},v=y,g="__VERSION__";"undefined"!=typeof window&&window.Vue&&window.Vue.use(v);var b=v}(),r}()})); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["vue-easter-egg-trigger"]=e():t["vue-easter-egg-trigger"]=e()}(self,(function(){return function(){var t={904:function(t,e,n){var r;function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t=n.nmd(t),function(){var o,i="__lodash_hash_undefined__",c=1/0,a=9007199254740991,f="[object Arguments]",s="[object Array]",l="[object Boolean]",p="[object Date]",h="[object Error]",y="[object Function]",v="[object GeneratorFunction]",g="[object Map]",b="[object Number]",d="[object Object]",_="[object Promise]",O="[object RegExp]",j="[object Set]",w="[object String]",m="[object Symbol]",A="[object WeakMap]",k="[object ArrayBuffer]",E="[object DataView]",P="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",z="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",T="[object Uint8ClampedArray]",I="[object Uint16Array]",N="[object Uint32Array]",D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,M=/^\s+|\s+$/g,U=/\\(\\)?/g,q=/\w*$/,C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,V=/^\[object .+?Constructor\]$/,W=/^0o[0-7]+$/i,G=/^(?:0|[1-9]\d*)$/,H={};H[P]=H[S]=H[x]=H[z]=H[$]=H[L]=H[T]=H[I]=H[N]=!0,H[f]=H[s]=H[k]=H[l]=H[E]=H[p]=H[h]=H[y]=H[g]=H[b]=H[d]=H[O]=H[j]=H[w]=H[A]=!1;var J={};J[f]=J[s]=J[k]=J[E]=J[l]=J[p]=J[P]=J[S]=J[x]=J[z]=J[$]=J[g]=J[b]=J[d]=J[O]=J[j]=J[w]=J[m]=J[L]=J[T]=J[I]=J[N]=!0,J[h]=J[y]=J[A]=!1;var K=parseInt,Q="object"===(void 0===n.g?"undefined":u(n.g))&&n.g&&n.g.Object===Object&&n.g,X="object"===("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,Y=Q||X||Function("return this")(),Z="object"===u(e)&&e&&!e.nodeType&&e,tt=Z&&"object"===u(t)&&t&&!t.nodeType&&t,et=tt&&tt.exports===Z,nt=et&&Q.process,rt=function(){try{return nt&&nt.binding&&nt.binding("util")}catch(t){}}(),ut=rt&&rt.isMap,ot=rt&&rt.isSet,it=rt&&rt.isTypedArray;function ct(t,e){return!!(null==t?0:t.length)&&ht(t,e,0)>-1}function at(t,e,n){for(var r=-1,u=null==t?0:t.length;++r<u;)if(n(e,t[r]))return!0;return!1}function ft(t,e){for(var n=-1,r=null==t?0:t.length,u=Array(r);++n<r;)u[n]=e(t[n],n,t);return u}function st(t,e){for(var n=-1,r=e.length,u=t.length;++n<r;)t[u+n]=e[n];return t}function lt(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function pt(t,e,n,r){for(var u=t.length,o=n+(r?1:-1);r?o--:++o<u;)if(e(t[o],o,t))return o;return-1}function ht(t,e,n){return e==e?function(t,e,n){var r=n-1,u=t.length;for(;++r<u;)if(t[r]===e)return r;return-1}(t,e,n):pt(t,yt,n)}function yt(t){return t!=t}function vt(t){return function(e){return t(e)}}function gt(t,e){return t.has(e)}function bt(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dt(t,e){return function(n){return t(e(n))}}function _t(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Ot,jt=Array.prototype,wt=Function.prototype,mt=Object.prototype,At=Y["__core-js_shared__"],kt=wt.toString,Et=mt.hasOwnProperty,Pt=(Ot=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||""))?"Symbol(src)_1.".concat(Ot):"",St=mt.toString,xt=RegExp("^".concat(kt.call(Et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),"$")),zt=et?Y.Buffer:o,$t=Y.Symbol,Lt=Y.Uint8Array,Tt=zt?zt.allocUnsafe:o,It=dt(Object.getPrototypeOf,Object),Nt=Object.create,Dt=mt.propertyIsEnumerable,Ft=jt.splice,Bt=$t?$t.toStringTag:o,Mt=function(){try{var t=Ie(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ut=Object.getOwnPropertySymbols,qt=zt?zt.isBuffer:o,Ct=dt(Object.keys,Object),Rt=Math.max,Vt=Ie(Y,"DataView"),Wt=Ie(Y,"Map"),Gt=Ie(Y,"Promise"),Ht=Ie(Y,"Set"),Jt=Ie(Y,"WeakMap"),Kt=Ie(Object,"create"),Qt=Je(Vt),Xt=Je(Wt),Yt=Je(Gt),Zt=Je(Ht),te=Je(Jt),ee=$t?$t.prototype:o,ne=ee?ee.valueOf:o,re=ee?ee.toString:o;function ue(){}var oe=function(){function t(){}return function(e){if(!rn(e))return{};if(Nt)return Nt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function ie(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ce(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ae(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function fe(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ae;++e<n;)this.add(t[e])}function se(t){var e=this.__data__=new ce(t);this.size=e.size}function le(t,e){var n=Ye(t),r=!n&&Xe(t),u=!n&&!r&&tn(t),o=!n&&!r&&!u&&sn(t),i=n||r||u||o,c=i?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],a=c.length;for(var f in t)!e&&!Et.call(t,f)||i&&("length"==f||u&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Be(f,a))||c.push(f);return c}function pe(t,e,n){var r=t[e];Et.call(t,e)&&Qe(r,n)&&(n!==o||e in t)||ye(t,e,n)}function he(t,e){for(var n=t.length;n--;)if(Qe(t[n][0],e))return n;return-1}function ye(t,e,n){"__proto__"==e&&Mt?Mt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ve(t,e,n,r,u,i){var c,a=1&e,s=2&e,h=4&e;if(n&&(c=u?n(t,r,u,i):n(t)),c!==o)return c;if(!rn(t))return t;var _=Ye(t);if(_){if(c=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Et.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,c)}else{var A=Fe(t),D=A==y||A==v;if(tn(t))return function(t,e){if(e)return t.slice();var n=t.length,r=Tt?Tt(n):new t.constructor(n);return t.copy(r),r}(t,a);if(A==d||A==f||D&&!u){if(c=s||D?{}:function(t){return"function"!=typeof t.constructor||Ue(t)?{}:oe(It(t))}(t),!a)return s?function(t,e){return Se(t,De(t),e)}(t,function(t,e){return t&&Se(e,dn(e),t)}(c,t)):function(t,e){return Se(t,Ne(t),e)}(t,function(t,e){return t&&Se(e,bn(e),t)}(c,t))}else{if(!J[A])return u?t:{};c=function(t,e,n){var r=t.constructor;switch(e){case k:return Pe(t);case l:case p:return new r(+t);case E:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case S:case x:case z:case $:case L:case T:case I:case N:return function(t,e){var n=e?Pe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,n);case g:return new r;case b:case w:return new r(t);case O:return function(t){var e=new t.constructor(t.source,q.exec(t));return e.lastIndex=t.lastIndex,e}(t);case j:return new r;case m:return u=t,ne?Object(ne.call(u)):{}}var u}(t,A,a)}}i||(i=new se);var F=i.get(t);if(F)return F;if(i.set(t,c),cn(t))return t.forEach((function(r){c.add(ve(r,e,n,r,t,i))})),c;if(on(t))return t.forEach((function(r,u){c.set(u,ve(r,e,n,u,t,i))})),c;var B=_?o:(h?s?Le:$e:s?dn:bn)(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););}(B||t,(function(r,u){B&&(r=t[u=r]),pe(c,u,ve(r,e,n,u,t,i))})),c}function ge(t,e){for(var n=0,r=(e=Ee(e,t)).length;null!=t&&n<r;)t=t[He(e[n++])];return n&&n==r?t:o}function be(t,e,n){var r=e(t);return Ye(t)?r:st(r,n(t))}function de(t){return null==t?t===o?"[object Undefined]":"[object Null]":Bt&&Bt in Object(t)?function(t){var e=Et.call(t,Bt),n=t[Bt];try{t[Bt]=o;var r=!0}catch(t){}var u=St.call(t);r&&(e?t[Bt]=n:delete t[Bt]);return u}(t):function(t){return St.call(t)}(t)}function _e(t,e){return null!=t&&e in Object(t)}function Oe(t){return un(t)&&de(t)==f}function je(t,e,n,r,u){return t===e||(null==t||null==e||!un(t)&&!un(e)?t!=t&&e!=e:function(t,e,n,r,u,i){var c=Ye(t),a=Ye(e),y=c?s:Fe(t),v=a?s:Fe(e),_=(y=y==f?d:y)==d,A=(v=v==f?d:v)==d,P=y==v;if(P&&tn(t)){if(!tn(e))return!1;c=!0,_=!1}if(P&&!_)return i||(i=new se),c||sn(t)?ze(t,e,n,r,u,i):function(t,e,n,r,u,o,i){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case k:return!(t.byteLength!=e.byteLength||!o(new Lt(t),new Lt(e)));case l:case p:case b:return Qe(+t,+e);case h:return t.name==e.name&&t.message==e.message;case O:case w:return t=="".concat(e);case g:var c=bt;case j:var a=1&r;if(c||(c=_t),t.size!=e.size&&!a)return!1;var f=i.get(t);if(f)return f==e;r|=2,i.set(t,e);var s=ze(c(t),c(e),r,u,o,i);return i.delete(t),s;case m:if(ne)return ne.call(t)==ne.call(e)}return!1}(t,e,y,n,r,u,i);if(!(1&n)){var S=_&&Et.call(t,"__wrapped__"),x=A&&Et.call(e,"__wrapped__");if(S||x){var z=S?t.value():t,$=x?e.value():e;return i||(i=new se),u(z,$,n,r,i)}}if(!P)return!1;return i||(i=new se),function(t,e,n,r,u,i){var c=1&n,a=$e(t),f=a.length,s=$e(e).length;if(f!=s&&!c)return!1;var l=f;for(;l--;){var p=a[l];if(!(c?p in e:Et.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var y=!0;i.set(t,e),i.set(e,t);var v=c;for(;++l<f;){var g=t[p=a[l]],b=e[p];if(r)var d=c?r(b,g,p,e,t,i):r(g,b,p,t,e,i);if(!(d===o?g===b||u(g,b,n,r,i):d)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var _=t.constructor,O=e.constructor;_==O||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof O&&O instanceof O||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,n,r,u,i)}(t,e,n,r,je,u))}function we(t){return!(!rn(t)||(e=t,Pt&&Pt in e))&&(en(t)?xt:V).test(Je(t));var e}function me(t){return"function"==typeof t?t:null==t?On:"object"===u(t)?Ye(t)?function(t,e){if(Me(t)&&qe(e))return Ce(He(t),e);return function(n){var r=vn(n,t);return r===o&&r===e?gn(n,t):je(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){var e=bn(t),n=e.length;for(;n--;){var r=e[n],u=t[r];e[n]=[r,u,qe(u)]}return e}(t);if(1==e.length&&e[0][2])return Ce(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,r){var u=n.length,i=u,c=!r;if(null==t)return!i;for(t=Object(t);u--;){var a=n[u];if(c&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++u<i;){var f=(a=n[u])[0],s=t[f],l=a[1];if(c&&a[2]){if(s===o&&!(f in t))return!1}else{var p=new se;if(r)var h=r(s,l,f,t,e,p);if(!(h===o?je(l,s,3,r,p):h))return!1}}return!0}(n,t,e)}}(t):mn(t)}function Ae(t){if(!rn(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Ue(t),n=[];for(var r in t)("constructor"!=r||!e&&Et.call(t,r))&&n.push(r);return n}function ke(t){if("string"==typeof t)return t;if(Ye(t))return"".concat(ft(t,ke));if(fn(t))return re?re.call(t):"";var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Ee(t,e){return Ye(t)?t:Me(t,e)?[t]:Ge(yn(t))}function Pe(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function Se(t,e,n,r){var u=!n;n||(n={});for(var i=-1,c=e.length;++i<c;){var a=e[i],f=r?r(n[a],t[a],a,n,t):o;f===o&&(f=t[a]),u?ye(n,a,f):pe(n,a,f)}return n}ie.prototype.clear=function(){this.__data__=Kt?Kt(null):{},this.size=0},ie.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ie.prototype.get=function(t){var e=this.__data__;if(Kt){var n=e[t];return n===i?o:n}return Et.call(e,t)?e[t]:o},ie.prototype.has=function(t){var e=this.__data__;return Kt?e[t]!==o:Et.call(e,t)},ie.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Kt&&e===o?i:e,this},ce.prototype.clear=function(){this.__data__=[],this.size=0},ce.prototype.delete=function(t){var e=this.__data__,n=he(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ft.call(e,n,1),--this.size,!0)},ce.prototype.get=function(t){var e=this.__data__,n=he(e,t);return n<0?o:e[n][1]},ce.prototype.has=function(t){return he(this.__data__,t)>-1},ce.prototype.set=function(t,e){var n=this.__data__,r=he(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},ae.prototype.clear=function(){this.size=0,this.__data__={hash:new ie,map:new(Wt||ce),string:new ie}},ae.prototype.delete=function(t){var e=Te(this,t).delete(t);return this.size-=e?1:0,e},ae.prototype.get=function(t){return Te(this,t).get(t)},ae.prototype.has=function(t){return Te(this,t).has(t)},ae.prototype.set=function(t,e){var n=Te(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},fe.prototype.add=fe.prototype.push=function(t){return this.__data__.set(t,i),this},fe.prototype.has=function(t){return this.__data__.has(t)},se.prototype.clear=function(){this.__data__=new ce,this.size=0},se.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},se.prototype.get=function(t){return this.__data__.get(t)},se.prototype.has=function(t){return this.__data__.has(t)},se.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!Wt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(t,e),this.size=n.size,this};var xe=Ht&&1/_t(new Ht([,-0]))[1]==c?function(t){return new Ht(t)}:wn;function ze(t,e,n,r,u,i){var c=1&n,a=t.length,f=e.length;if(a!=f&&!(c&&f>a))return!1;var s=i.get(t);if(s&&i.get(e))return s==e;var l=-1,p=!0,h=2&n?new fe:o;for(i.set(t,e),i.set(e,t);++l<a;){var y=t[l],v=e[l];if(r)var g=c?r(v,y,l,e,t,i):r(y,v,l,t,e,i);if(g!==o){if(g)continue;p=!1;break}if(h){if(!lt(e,(function(t,e){if(!gt(h,e)&&(y===t||u(y,t,n,r,i)))return h.push(e)}))){p=!1;break}}else if(y!==v&&!u(y,v,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function $e(t){return be(t,bn,Ne)}function Le(t){return be(t,dn,De)}function Te(t,e){var n,r,o=t.__data__;return("string"==(r=u(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ie(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return we(n)?n:o}var Ne=Ut?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,u=0,o=[];++n<r;){var i=t[n];e(i,n,t)&&(o[u++]=i)}return o}(Ut(t),(function(e){return Dt.call(t,e)})))}:An,De=Ut?function(t){for(var e=[];t;)st(e,Ne(t)),t=It(t);return e}:An,Fe=de;function Be(t,e){var n=u(t);return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&G.test(t))&&t>-1&&t%1==0&&t<e}function Me(t,e){if(Ye(t))return!1;var n=u(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!fn(t))||(F.test(t)||!D.test(t)||null!=e&&t in Object(e))}function Ue(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||mt)}function qe(t){return t==t&&!rn(t)}function Ce(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in Object(n)))}}(Vt&&Fe(new Vt(new ArrayBuffer(1)))!=E||Wt&&Fe(new Wt)!=g||Gt&&Fe(Gt.resolve())!=_||Ht&&Fe(new Ht)!=j||Jt&&Fe(new Jt)!=A)&&(Fe=function(t){var e=de(t),n=e==d?t.constructor:o,r=n?Je(n):"";if(r)switch(r){case Qt:return E;case Xt:return g;case Yt:return _;case Zt:return j;case te:return A}return e});var Re,Ve,We,Ge=(Re=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(B,(function(t,n,r,u){e.push(r?u.replace(U,"$1"):n||t)})),e},Ve=Ke(Re,(function(t){return 500===We.size&&We.clear(),t})),We=Ve.cache,Ve);function He(t){if("string"==typeof t||fn(t))return t;var e="".concat(t);return"0"==e&&1/t==-1/0?"-0":e}function Je(t){if(null!=t){try{return kt.call(t)}catch(t){}try{return"".concat(t)}catch(t){}}return""}function Ke(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,u=e?e.apply(this,r):r[0],o=n.cache;if(o.has(u))return o.get(u);var i=t.apply(this,r);return n.cache=o.set(u,i)||o,i};return n.cache=new(Ke.Cache||ae),n}function Qe(t,e){return t===e||t!=t&&e!=e}Ke.Cache=ae;var Xe=Oe(function(){return arguments}())?Oe:function(t){return un(t)&&Et.call(t,"callee")&&!Dt.call(t,"callee")},Ye=Array.isArray;function Ze(t){return null!=t&&nn(t.length)&&!en(t)}var tn=qt||kn;function en(t){if(!rn(t))return!1;var e=de(t);return e==y||e==v||"[object AsyncFunction]"==e||"[object Proxy]"==e}function nn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function rn(t){var e=u(t);return null!=t&&("object"==e||"function"==e)}function un(t){return null!=t&&"object"===u(t)}var on=ut?vt(ut):function(t){return un(t)&&Fe(t)==g},cn=ot?vt(ot):function(t){return un(t)&&Fe(t)==j};function an(t){return"string"==typeof t||!Ye(t)&&un(t)&&de(t)==w}function fn(t){return"symbol"===u(t)||un(t)&&de(t)==m}var sn=it?vt(it):function(t){return un(t)&&nn(t.length)&&!!H[de(t)]};function ln(t){return t?(t=hn(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pn(t){var e=ln(t),n=e%1;return e==e?n?e-n:e:0}function hn(t){if("number"==typeof t)return t;if(fn(t))return NaN;if(rn(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rn(e)?"".concat(e):e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(M,"");var n=R.test(t);return n||W.test(t)?K(t.slice(2),n?2:8):C.test(t)?NaN:+t}function yn(t){return null==t?"":ke(t)}function vn(t,e,n){var r=null==t?o:ge(t,e);return r===o?n:r}function gn(t,e){return null!=t&&function(t,e,n){for(var r=-1,u=(e=Ee(e,t)).length,o=!1;++r<u;){var i=He(e[r]);if(!(o=null!=t&&n(t,i)))break;t=t[i]}return o||++r!=u?o:!!(u=null==t?0:t.length)&&nn(u)&&Be(i,u)&&(Ye(t)||Xe(t))}(t,e,_e)}function bn(t){return Ze(t)?le(t):function(t){if(!Ue(t))return Ct(t);var e=[];for(var n in Object(t))Et.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function dn(t){return Ze(t)?le(t,!0):Ae(t)}function _n(t){return null==t?[]:function(t,e){return ft(e,(function(e){return t[e]}))}(t,bn(t))}function On(t){return t}function jn(t){return me("function"==typeof t?t:ve(t,1))}function wn(){}function mn(t){return Me(t)?(e=He(t),function(t){return null==t?o:t[e]}):function(t){return function(e){return ge(e,t)}}(t);var e}function An(){return[]}function kn(){return!1}ue.iteratee=jn,ue.keys=bn,ue.keysIn=dn,ue.memoize=Ke,ue.property=mn,ue.uniq=function(t){return t&&t.length?function(t,e,n){var r=-1,u=ct,o=t.length,i=!0,c=[],a=c;if(n)i=!1,u=at;else if(o>=200){var f=e?null:xe(t);if(f)return _t(f);i=!1,u=gt,a=new fe}else a=e?[]:c;t:for(;++r<o;){var s=t[r],l=e?e(s):s;if(s=n||0!==s?s:0,i&&l==l){for(var p=a.length;p--;)if(a[p]===l)continue t;e&&a.push(l),c.push(s)}else u(a,l,n)||(a!==c&&a.push(l),c.push(s))}return c}(t):[]},ue.values=_n,ue.eq=Qe,ue.findIndex=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var u=null==n?0:pn(n);return u<0&&(u=Rt(r+u,0)),pt(t,function(){var t=ue.iteratee||jn;return t=t===jn?me:t,arguments.length?t(arguments[0],arguments[1]):t}(e,3),u)},ue.get=vn,ue.hasIn=gn,ue.identity=On,ue.includes=function(t,e,n,r){t=Ze(t)?t:_n(t),n=n&&!r?pn(n):0;var u=t.length;return n<0&&(n=Rt(u+n,0)),an(t)?n<=u&&t.indexOf(e,n)>-1:!!u&&ht(t,e,n)>-1},ue.isArguments=Xe,ue.isArray=Ye,ue.isArrayLike=Ze,ue.isBuffer=tn,ue.isEqual=function(t,e){return je(t,e)},ue.isFunction=en,ue.isLength=nn,ue.isMap=on,ue.isObject=rn,ue.isObjectLike=un,ue.isSet=cn,ue.isString=an,ue.isSymbol=fn,ue.isTypedArray=sn,ue.stubArray=An,ue.stubFalse=kn,ue.noop=wn,ue.toFinite=ln,ue.toInteger=pn,ue.toNumber=hn,ue.toString=yn,ue.VERSION="4.17.5","object"===u(n.amdO)&&n.amdO?(Y._=ue,(r=function(){return ue}.call(e,n,e,t))===o||(t.exports=r)):tt?((tt.exports=ue)._=ue,Z._=ue):Y._=ue}.call(this)}},e={};function n(r){var u=e[r];if(void 0!==u)return u.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.amdO={},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var r={};return function(){"use strict";n.r(r),n.d(r,{default:function(){return b},version:function(){return g}});var t=n(904),e=n.n(t);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=null,a=[],f={timeout:null,input:[],targets:{nodes:[],ids:[],classNames:[]},defaultEggOptions:{callback:null,destroyBus:!1,keys:!1,name:"easter-egg",pattern:!1,target:"div",withBus:!0},eggOptions:{},pluginOptions:{},init:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c=t,this.pluginOptions=e,this.eggOptions=o(o({},this.defaultEggOptions),n),this.layEggs()},layEggs:function(){a.push(this.eggOptions),this.callAddListener()},callAddListener:function(){var t=this;Object.values(a).forEach((function(e){var n=e;n.keys||n.pattern||(n.keys=t.pluginOptions.keys,n.pattern=t.pluginOptions.pattern)})),this.addListener()},addListener:function(){document.addEventListener(this.pluginOptions.type,this.capturePattern,!1)},capturePattern:function(t){var n="";null!==f.timeout&&clearTimeout(f.timeout),void 0!==t.key?n=t.key:void 0!==t.keyCode&&(n=t.keyCode),e().includes(f.pluginOptions.mouseEvents,t.type)&&(n=t.type,f.targets.nodes.push(t.target.nodeName.toLowerCase()),f.targets.ids.push(t.target.id),f.targets.classNames.push(t.target.classList.value)),f.input.push(n),f.checkPattern(t)},checkPattern:function(t){var n=this;return Object.values(a).forEach((function(r){if(e().isEqual(null==r?void 0:r.keys,n.input)||e().isEqual(null==r?void 0:r.pattern,n.input)){if(e().includes(n.pluginOptions.mouseEvents,t.type))return n.checkTarget(t,r),!1;n.emit(r)}return!1})),this.reset(),!1},checkTarget:function(t,n){var r=n.target,u=n.target.replace("#",""),o=n.target.replace(".",""),i=e().uniq(this.targets.nodes),c=e().uniq(this.targets.ids),a=e().uniq(this.targets.classNames),f=1===i.length&&i[0]===r,s=1===c.length&&c[0]===u,l=1===a.length&&e().includes(a[0],o);(f||s||l)&&this.emit(n),this.reset()},reset:function(){var t=this;this.timeout=setTimeout((function(){clearTimeout(t.timeout),t.input=[],t.targets={nodes:[],ids:[],classNames:[]}}),this.pluginOptions.delay)},emit:function(t){return 1===Object.keys(a).length?document.removeEventListener(this.pluginOptions.type,this.capturePattern,!1):this.rebuild(t),t.callback&&(t.callback(t),!t.withBus)||((new c).$bus.$emit("".concat(t.name)),t.destroyBus&&(new c).$bus.$off("".concat(t.name))),!1},rebuild:function(t){var n=this,r=a;a=[];var u=e().findIndex(r,(function(e){return e.name===t.name}));r.splice(u,1),Object.values(r).forEach((function(t){n.layEggs(t)})),a=r}},s=f;function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.prototype.$easterEgg||t.prototype.$easterEgg||(this.options=p(p({},this.options),e),t.prototype.$easterEgg=function(e){s.init(t,y.options,e)},t.prototype.$easterEggTrigger=function(e){s.init(t,y.options,e)})},options:{delay:500,keys:["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowLeft","ArrowRight","ArrowLeft","ArrowRight","b","a"],mouseEvents:["click","dblclick","mouseup","mousedown"],pattern:[38,38,40,40,37,39,37,39,66,65],type:"keydown"}},v=y,g="__VERSION__";"undefined"!=typeof window&&window.Vue&&window.Vue.use(v);var b=v}(),r}()})); |
{ | ||
"name": "vue-easter-egg-trigger", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "This packages makes it nice and easy to add Easter Egg triggers to your Vue site.", | ||
@@ -5,0 +5,0 @@ "private": false, |
// import Vue from 'vue'; | ||
import _ from '@assets/lodash.custom'; | ||
let VueObj = null; | ||
let easterEggs = []; | ||
let EasterEggTriggerVueObj = null; | ||
let easterEggsTriggerEggs = []; | ||
@@ -23,3 +23,3 @@ const EasterEggTrigger = { | ||
pattern: false, | ||
target: 'html', | ||
target: 'div', | ||
withBus: true, | ||
@@ -32,3 +32,3 @@ }, | ||
init(Vue, pluginOptions = {}, eggOptions = {}) { | ||
VueObj = Vue; | ||
EasterEggTriggerVueObj = Vue; | ||
@@ -44,3 +44,3 @@ // Set Options // | ||
layEggs() { | ||
easterEggs.push(this.eggOptions); | ||
easterEggsTriggerEggs.push(this.eggOptions); | ||
@@ -52,3 +52,3 @@ this.callAddListener(); | ||
callAddListener() { | ||
Object.values(easterEggs).forEach((egg) => { | ||
Object.values(easterEggsTriggerEggs).forEach((egg) => { | ||
const newEgg = egg; | ||
@@ -103,3 +103,3 @@ | ||
checkPattern(e) { | ||
Object.values(easterEggs).forEach((egg) => { | ||
Object.values(easterEggsTriggerEggs).forEach((egg) => { | ||
// Check Keyboard Events // | ||
@@ -165,3 +165,3 @@ if (_.isEqual(egg?.keys, this.input) || _.isEqual(egg?.pattern, this.input)) { | ||
emit(egg) { | ||
if (Object.keys(easterEggs).length === 1) { | ||
if (Object.keys(easterEggsTriggerEggs).length === 1) { | ||
document.removeEventListener(this.pluginOptions.type, this.capturePattern, false); | ||
@@ -181,7 +181,7 @@ } | ||
new VueObj().$bus.$emit(`${egg.name}`); | ||
new EasterEggTriggerVueObj().$bus.$emit(`${egg.name}`); | ||
// Auto destroy $bus.$on // | ||
if (egg.destroyBus) { | ||
new VueObj().$bus.$off(`${egg.name}`); | ||
new EasterEggTriggerVueObj().$bus.$off(`${egg.name}`); | ||
} | ||
@@ -194,6 +194,6 @@ | ||
rebuild(usedEgg) { | ||
const currentEggs = easterEggs; | ||
easterEggs = []; | ||
const currentEggs = easterEggsTriggerEggs; | ||
easterEggsTriggerEggs = []; | ||
// Remove usedEgg from easterEggs // | ||
// Remove usedEgg from easterEggsTriggerEggs // | ||
const idx = _.findIndex(currentEggs, (egg) => egg.name === usedEgg.name); | ||
@@ -206,3 +206,3 @@ currentEggs.splice(idx, 1); | ||
easterEggs = currentEggs; | ||
easterEggsTriggerEggs = currentEggs; | ||
}, | ||
@@ -209,0 +209,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204066