PageSourceSearch

https://bikeshed.vibber.net/packs/index.es-CV1fKchX.js

js vibber.net collected 2026-09-25 22:02:02 UTC 22,171 bytes, 2 lines download raw bytes

1import{B as Ie,g as Qe,R as Le,r as Ve,c as zn}from"./index-Bb-onfd8.js";import{P as S}from"./react-router-dom-BRJWzr86.js";import{R as Un}from"./chevron_right-evgaV6VH.js";var Xe={exports:{}},Ye={exports:{}},At;function Gn(){return At||(At=1,function(p){(function(s,a,c){if(!s)return;for(var f={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},b={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},I={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},P,E=1;E<20;++E)f[111+E]="f"+E;for(E=0;E<=9;++E)f[E+96]=E.toString();function j(r,i,d){if(r.addEventListener){r.addEventListener(i,d,!1);return}r.attachEvent("on"+i,d)}function U(r){if(r.type=="keypress"){var i=String.fromCharCode(r.which);return r.shiftKey||(i=i.toLowerCase()),i}return f[r.which]?f[r.which]:b[r.which]?b[r.which]:String.fromCharCode(r.which).toLowerCase()}function ae(r,i){return r.sort().join(",")===i.sort().join(",")}function X(r){var i=[];return r.shiftKey&&i.push("shift"),r.altKey&&i.push("alt"),r.ctrlKey&&i.push("ctrl"),r.metaKey&&i.push("meta"),i}function Fe(r){if(r.preventDefault){r.preventDefault();return}r.returnValue=!1}function ie(r){if(r.stopPropagation){r.stopPropagation();return}r.cancelBubble=!0}function oe(r){return r=="shift"||r=="ctrl"||r=="alt"||r=="meta"}function He(){if(!P){P={};for(var r in f)r>95&&r<112||f.hasOwnProperty(r)&&(P[f[r]]=r)}return P}function Y(r,i,d){return d||(d=He()[r]?"keydown":"keypress"),d=="keypress"&&i.length&&(d="keydown"),d}function Te(r){return r==="+"?["+"]:(r=r.replace(/\+{2}/g,"+plus"),r.split("+"))}function Me(r,i){var d,T,D,L=[];for(d=Te(r),D=0;D<d.length;++D)T=d[D],I[T]&&(T=I[T]),i&&i!="keypress"&&B[T]&&(T=B[T],L.push("shift")),oe(T)&&L.push(T);return i=Y(T,L,i),{key:T,modifiers:L,action:i}}function ue(r,i){return r===null||r===a?!1:r===i?!0:ue(r.parentNode,i)}function A(r){var i=this;if(r=r||a,!(i instanceof A))return new A(r);i.target=r,i._callbacks={},i._directMap={};var d={},T,D=!1,L=!1,fe=!1;function ce(l){l=l||{};var y=!1,v;for(v in d){if(l[v]){y=!0;continue}d[v]=0}y||(fe=!1)}function xe(l,y,v,_,u,R){var g,m,N=[],k=v.type;if(!i._callbacks[l])return[];for(k=="keyup"&&oe(l)&&(y=[l]),g=0;g<i._callbacks[l].length;++g)if(m=i._callbacks[l][g],!(!_&&m.seq&&d[m.seq]!=m.level)&&k==m.action&&(k=="keypress"&&!v.metaKey&&!v.ctrlKey||ae(y,m.modifiers))){var Ae=!_&&m.combo==u,he=_&&m.seq==_&&m.level==R;(Ae||he)&&i._callbacks[l].splice(g,1),N.push(m)}return N}function le(l,y,v,_){i.stopCallback(y,y.target||y.srcElement,v,_)||l(y,v)===!1&&(Fe(y),ie(y))}i._handleKey=function(l,y,v){var _=xe(l,y,v),u,R={},g=0,m=!1;for(u=0;u<_.length;++u)_[u].seq&&(g=Math.max(g,_[u].level));for(u=0;u<_.length;++u){if(_[u].seq){if(_[u].level!=g)continue;m=!0,R[_[u].seq]=1,le(_[u].callback,v,_[u].combo,_[u].seq);continue}m||le(_[u].callback,v,_[u].combo)}var N=v.type=="keypress"&&L;v.type==fe&&!oe(l)&&!N&&ce(R),L=m&&v.type=="keydown"};function pe(l){typeof l.which!="number"&&(l.which=l.keyCode);var y=U(l);if(y){if(l.type=="keyup"&&D===y){D=!1;return}i.handleKey(y,X(l),l)}}function Be(){clearTimeout(T),T=setTimeout(ce,1e3)}function De(l,y,v,_){d[l]=0;function u(k){return function(){fe=k,++d[l],Be()}}function R(k){le(v,k,l),_!=="keyup"&&(D=U(k)),setTimeout(ce,10)}for(var g=0;g<y.length;++g){var m=g+1===y.length,N=m?R:u(_||Me(y[g+1]).action);we(y[g],N,_,l,g)}}function we(l,y,v,_,u){i._directMap[l+":"+v]=y,l=l.replace(/\s+/g," ");var R=l.split(" "),g;if(R.length>1){De(l,R,y,v);return}g=Me(l,v),i._callbacks[g.key]=i._callbacks[g.key]||[],xe(g.key,g.modifiers,{type:g.action},_,l,u),i._callbacks[g.key][_?"unshift":"push"]({callback:y,modifiers:g.modifiers,action:g.action,seq:_,level:u,combo:l})}i._bindMultiple=function(l,y,v){for(var _=0;_<l.length;++_)we(l[_],y,v)},j(r,"keypress",pe),j(r,"keydown",pe),j(r,"keyup",pe)}A.prototype.bind=function(r,i,d){var T=this;return r=r instanceof Array?r:[r],T._bindMultiple.call(T,r,i,d),T},A.prototype.unbind=function(r,i){var d=this;return d.bind.call(d,r,function(){},i)},A.prototype.trigger=function(r,i){var d=this;return d._directMap[r+":"+i]&&d._directMap[r+":"+i]({},r),d},A.prototype.reset=function(){var r=this;return r._callbacks={},r._directMap={},r},A.prototype.stopCallback=function(r,i){var d=this;if((" "+i.className+" ").indexOf(" mousetrap ")>-1||ue(i,d.target))return!1;if("composedPath"in r&&typeof r.composedPath=="function"){var T=r.composedPath()[0];T!==r.target&&(i=T)}return i.tagName=="INPUT"||i.tagName=="SELECT"||i.tagName=="TEXTAREA"||i.isContentEditable},A.prototype.handleKey=function(){var r=this;return r._handleKey.apply(r,arguments)},A.addKeycodes=function(r){for(var i in r)r.hasOwnProperty(i)&&(f[i]=r[i]);P=null},A.init=function(){var r=A(a);for(var i in r)i.charAt(0)!=="_"&&(A[i]=function(d){return function(){return r[d].apply(r,arguments)}}(i))}
vendor: 6,496 bytes, line 1
1,A.init(),s.Mousetrap=A,p.exports&&(p.exports=A)})(typeof window<"u"?window:null,typeof window<"u"?document:null)}(Ye)),Ye.exports}var ve={exports:{}};ve.exports;var St;function Nn(){return St||(St=1,function(p,s){var a=200,c="__lodash_hash_undefined__",f=1,b=2,B=9007199254740991,I="[object Arguments]",P="[object Array]",E="[object AsyncFunction]",j="[object Boolean]",U="[object Date]",ae="[object Error]",X="[object Function]",Fe="[object GeneratorFunction]",ie="[object Map]",oe="[object Number]",He="[object Null]",Y="[object Object]",Te="[object Promise]",Me="[object Proxy]",ue="[object RegExp]",A="[object Set]",r="[object String]",i="[object Symbol]",d="[object Undefined]",T="[object WeakMap]",D="[object ArrayBuffer]",L="[object DataView]",fe="[object Float32Array]",ce="[object Float64Array]",xe="[object Int8Array]",le="[object Int16Array]",pe="[object Int32Array]",Be="[object Uint8Array]",De="[object Uint8ClampedArray]",we="[object Uint16Array]",l="[object Uint32Array]",y=/[\\^$.*+?()[\]{}|]/g,v=/^\[object .+?Constructor\]$/,_=/^(?:0|[1-9]\d*)$/,u={};u[fe]=u[ce]=u[xe]=u[le]=u[pe]=u[Be]=u[De]=u[we]=u[l]=!0,u[I]=u[P]=u[D]=u[j]=u[L]=u[U]=u[ae]=u[X]=u[ie]=u[oe]=u[Y]=u[ue]=u[A]=u[r]=u[T]=!1;var R=typeof Ie=="object"&&Ie&&Ie.Object===Object&&Ie,g=typeof self=="object"&&self&&self.Object===Object&&self,m=R||g||Function("return this")(),N=s&&!s.nodeType&&s,k=N&&!0&&p&&!p.nodeType&&p,Ae=k&&k.exports===N,he=Ae&&R.process,it=function(){try{return he&&he.binding&&he.binding("util")}catch{}}(),ot=it&&it.isTypedArray;function Et(e,t){for(var n=-1,o=e==null?0:e.length,M=0,h=[];++n<o;){var w=e[n];t(w,n,e)&&(h[M++]=w)}return h}function jt(e,t){for(var n=-1,o=t.length,M=e.length;++n<o;)e[M+n]=t[n];return e}function qt(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function It(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}function Lt(e){return function(t){return e(t)}}function Rt(e,t){return e.has(t)}function Ft(e,t){return e==null?void 0:e[t]}function Ht(e){var t=-1,n=Array(e.size);return e.forEach(function(o,M){n[++t]=[M,o]}),n}function Bt(e,t){return function(n){return e(t(n))}}function Dt(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var kt=Array.prototype,zt=Function.prototype,Se=Object.prototype,ke=m["__core-js_shared__"],st=zt.toString,G=Se.hasOwnProperty,ut=function(){var e=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ft=Se.toString,Ut=RegExp("^"+st.call(G).replace(y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ct=Ae?m.Buffer:void 0,Pe=m.Symbol,lt=m.Uint8Array,pt=Se.propertyIsEnumerable,Gt=kt.splice,V=Pe?Pe.toStringTag:void 0,ht=Object.getOwnPropertySymbols,Nt=ct?ct.isBuffer:void 0,$t=Bt(Object.keys,Object),ze=se(m,"DataView"),de=se(m,"Map"),Ue=se(m,"Promise"),Ge=se(m,"Set"),Ne=se(m,"WeakMap"),_e=se(Object,"create"),Wt=ne(ze),Xt=ne(de),Yt=ne(Ue),Jt=ne(Ge),Zt=ne(Ne),dt=Pe?Pe.prototype:void 0,$e=dt?dt.valueOf:void 0;function ee(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Qt(){this.__data__=_e?_e(null):{},this.size=0}function Vt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function en(e){var t=this.__data__;if(_e){var n=t[e];return n===c?void 0:n}return G.call(t,e)?t[e]:void 0}function tn(e){var t=this.__data__;return _e?t[e]!==void 0:G.call(t,e)}function nn(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_e&&t===void 0?c:t,this}ee.prototype.clear=Qt,ee.prototype.delete=Vt,ee.prototype.get=en,ee.prototype.has=tn,ee.prototype.set=nn;function $(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function rn(){this.__data__=[],this.size=0}function an(e){var t=this.__data__,n=Ce(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Gt.call(t,n,1),--this.size,!0}function on(e){var t=this.__data__,n=Ce(t,e);return n<0?void 0:t[n][1]}function sn(e){return Ce(this.__data__,e)>-1}function un(e,t){var n=this.__data__,o=Ce(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}$.prototype.clear=rn,$.prototype.delete=an,$.prototype.get=on,$.prototype.has=sn,$.prototype.set=un;function te(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function fn(){this.size=0,this.__data__={hash:new ee,map:new(de||$),string:new ee}}function cn(e){var t=Ke(this,e).delete(e);return this.size-=t?1:0,t}function ln(e){return Ke(this,e).get(e)}function pn(e){return Ke(this,e).has(e)}function hn(e,t){var n=Ke(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}te.prototype.clear=fn,te.prototype.delete=cn,te.prototype.get=ln,te.prototype.has=pn,te.prototype.set=hn;function Oe(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new te;++t<n;)this.add(e[t])}function dn(e){return this.__data__.set(e,c),this}function _n(e){return this.__data__.has(e)}Oe.prototype.add=Oe.prototype.push=dn,Oe.prototype.has=_n;function J(e){var t=this.__data__=new $(e);this.size=t.size}function yn(){this.__data__=new $,this.size=0}function gn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function vn(e){return this.__data__.get(e)}function bn(e){return this.__data__.has(e)}function mn(e,t){var n=this.__data__;if(n instanceof $){var o=n.__data__;if(!de||o.length<a-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new te(o)}return n.set(e,t),this.size=n.size,this}J.prototype.clear=yn,J.prototype.delete=gn,J.prototype.get=vn,J.prototype.has=bn,J.prototype.set=mn;function Tn(e,t){var n=Ee(e),o=!n&&Rn(e),M=!n&&!o&&We(e),h=!n&&!o&&!M&&xt(e),w=n||o||M||h,O=w?It(e.length,String):[],C=O.length;for(var x in e)G.call(e,x)&&!(w&&(x=="length"||M&&(x=="offset"||x=="parent")||h&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||En(x,C)))&&O.push(x);return O}function Ce(e,t){for(var n=e.length;n--;)if(bt(e[n][0],t))return n;return-1}function Mn(e,t,n){var o=t(e);return Ee(e)?o:jt(o,n(e))}function ye(e){return e==null?e===void 0?d:He:V&&V in Object(e)?Cn(e):Ln(e)}function _t(e){return ge(e)&&ye(e)==I}function yt(e,t,n,o,M){return e===t?!0:e==null||t==null||!ge(e)&&!ge(t)?e!==e&&t!==t:xn(e,t,n,o,yt,M)}function xn(e,t,n,o,M,h){var w=Ee(e),O=Ee(t),C=w?P:Z(e),x=O?P:Z(t);C=C==I?Y:C,x=x==I?Y:x;var q=C==Y,z=x==Y,K=C==x;if(K&&We(e)){if(!We(t))return!1;w=!0,q=!1}if(K&&!q)return h||(h=new J),w||xt(e)?gt(e,t,n,o,M,h):Pn(e,t,C,n,o,M,h);if(!(n&f)){var F=q&&G.call(e,"__wrapped__"),H=z&&G.call(t,"__wrapped__");
1if(F||H){var Q=F?e.value():e,W=H?t.value():t;return h||(h=new J),M(Q,W,n,o,h)}}return K?(h||(h=new J),On(e,t,n,o,M,h)):!1}function wn(e){if(!Mt(e)||qn(e))return!1;var t=mt(e)?Ut:v;return t.test(ne(e))}function An(e){return ge(e)&&Tt(e.length)&&!!u[ye(e)]}function Sn(e){if(!In(e))return $t(e);var t=[];for(var n in Object(e))G.call(e,n)&&n!="constructor"&&t.push(n);return t}function gt(e,t,n,o,M,h){var w=n&f,O=e.length,C=t.length;if(O!=C&&!(w&&C>O))return!1;var x=h.get(e);if(x&&h.get(t))return x==t;var q=-1,z=!0,K=n&b?new Oe:void 0;for(h.set(e,t),h.set(t,e);++q<O;){var F=e[q],H=t[q];if(o)var Q=w?o(H,F,q,t,e,h):o(F,H,q,e,t,h);if(Q!==void 0){if(Q)continue;z=!1;break}if(K){if(!qt(t,function(W,re){if(!Rt(K,re)&&(F===W||M(F,W,n,o,h)))return K.push(re)})){z=!1;break}}else if(!(F===H||M(F,H,n,o,h))){z=!1;break}}return h.delete(e),h.delete(t),z}function Pn(e,t,n,o,M,h,w){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case D:return!(e.byteLength!=t.byteLength||!h(new lt(e),new lt(t)));case j:case U:case oe:return bt(+e,+t);case ae:return e.name==t.name&&e.message==t.message;case ue:case r:return e==t+"";case ie:var O=Ht;case A:var C=o&f;if(O||(O=Dt),e.size!=t.size&&!C)return!1;var x=w.get(e);if(x)return x==t;o|=b,w.set(e,t);var q=gt(O(e),O(t),o,M,h,w);return w.delete(e),q;case i:if($e)return $e.call(e)==$e.call(t)}return!1}function On(e,t,n,o,M,h){var w=n&f,O=vt(e),C=O.length,x=vt(t),q=x.length;if(C!=q&&!w)return!1;for(var z=C;z--;){var K=O[z];if(!(w?K in t:G.call(t,K)))return!1}var F=h.get(e);if(F&&h.get(t))return F==t;var H=!0;h.set(e,t),h.set(t,e);for(var Q=w;++z<C;){K=O[z];var W=e[K],re=t[K];if(o)var wt=w?o(re,W,K,t,e,h):o(W,re,K,e,t,h);if(!(wt===void 0?W===re||M(W,re,n,o,h):wt)){H=!1;break}Q||(Q=K=="constructor")}if(H&&!Q){var je=e.constructor,qe=t.constructor;je!=qe&&"constructor"in e&&"constructor"in t&&!(typeof je=="function"&&je instanceof je&&typeof qe=="function"&&qe instanceof qe)&&(H=!1)}return h.delete(e),h.delete(t),H}function vt(e){return Mn(e,Bn,Kn)}function Ke(e,t){var n=e.__data__;return jn(t)?n[typeof t=="string"?"string":"hash"]:n.map}function se(e,t){var n=Ft(e,t);return wn(n)?n:void 0}function Cn(e){var t=G.call(e,V),n=e[V];try{e[V]=void 0;var o=!0}catch{}var M=ft.call(e);return o&&(t?e[V]=n:delete e[V]),M}var Kn=ht?function(e){return e==null?[]:(e=Object(e),Et(ht(e),function(t){return pt.call(e,t)}))}:Dn,Z=ye;(ze&&Z(new ze(new ArrayBuffer(1)))!=L||de&&Z(new de)!=ie||Ue&&Z(Ue.resolve())!=Te||Ge&&Z(new Ge)!=A||Ne&&Z(new Ne)!=T)&&(Z=function(e){var t=ye(e),n=t==Y?e.constructor:void 0,o=n?ne(n):"";if(o)switch(o){case Wt:return L;case Xt:return ie;case Yt:return Te;case Jt:return A;case Zt:return T}return t});function En(e,t){return t=t??B,!!t&&(typeof e=="number"||_.test(e))&&e>-1&&e%1==0&&e<t}function jn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qn(e){return!!ut&&ut in e}function In(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Se;return e===n}function Ln(e){return ft.call(e)}function ne(e){if(e!=null){try{return st.call(e)}catch{}try{return e+""}catch{}}return""}function bt(e,t){return e===t||e!==e&&t!==t}var Rn=_t(function(){return arguments}())?_t:function(e){return ge(e)&&G.call(e,"callee")&&!pt.call(e,"callee")},Ee=Array.isArray;function Fn(e){return e!=null&&Tt(e.length)&&!mt(e)}var We=Nt||kn;function Hn(e,t){return yt(e,t)}function mt(e){if(!Mt(e))return!1;var t=ye(e);return t==X||t==Fe||t==E||t==Me}function Tt(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=B}function Mt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ge(e){return e!=null&&typeof e=="object"}var xt=ot?Lt(ot):An;function Bn(e){return Fn(e)?Tn(e):Sn(e)}function Dn(){return[]}function kn(){return!1}p.exports=Hn}(ve,ve.exports)),ve.exports}var $n=Nn();const et=Qe($n);var Je,Pt;function Wn(){if(Pt)return Je;Pt=1;var p="[object Boolean]",s=Object.prototype,a=s.toString;function c(b){return b===!0||b===!1||f(b)&&a.call(b)==p}function f(b){return!!b&&typeof b=="object"}return Je=c,Je}var Xn=Wn();const Yn=Qe(Xn);var Ze,Ot;function Jn(){if(Ot)return Ze;Ot=1;function p(s){var a=typeof s;return!!s&&(a=="object"||a=="function")}return Ze=p,Ze}var Zn=Jn();const Qn=Qe(Zn);var tt=function(p,s){if(!(p instanceof s))throw new TypeError("Cannot call a class as a function")},nt=function(){function p(s,a){for(var c=0;c<a.length;c++){var f=a[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,c){return a&&p(s.prototype,a),c&&p(s,c),s}}(),me=Object.assign||function(p){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(p[c]=a[c])}return p},rt=function(p,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);p.prototype=Object.create(s&&s.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(p,s):p.__proto__=s)},Kt=function(p,s){var a={};for(var c in p)s.indexOf(c)>=0||Object.prototype.hasOwnProperty.call(p,c)&&(a[c]=p[c]);return a},at=function(p,s){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?p:s},Re=function(p){function s(){return tt(this,s),at(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return rt(s,Ve.Component),nt(s,[{key:"render",value:function(){var a=this.props,c=a.component,f=a.children,b=Kt(a,["component","children"]);return Le.createElement(c,me({tabIndex:"-1"},b),f)}}]),s}();function Vn(p,s){var a=p[s];return a?Array.isArray(a)?a:[a]:[s]}function er(p,s){return!et(p,s)}
1Re.propTypes={onFocus:S.func,onBlur:S.func,component:S.oneOfType([S.func,S.string]),children:S.node},Re.defaultProps={component:"div"};var be=function(p){function s(a,c){tt(this,s);var f=at(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a,c));return f.onFocus=f.onFocus.bind(f),f.onBlur=f.onBlur.bind(f),f}return rt(s,Ve.Component),nt(s,[{key:"getChildContext",value:function(){return{hotKeyParent:this,hotKeyMap:this.__hotKeyMap__}}},{key:"componentWillMount",value:function(){this.updateMap()}},{key:"updateMap",value:function(){var a=this.buildMap();return!et(a,this.__hotKeyMap__)&&(this.__hotKeyMap__=a,!0)}},{key:"buildMap",value:function(){var a=this.context.hotKeyMap||{},c=this.props.keyMap||{};return me({},a,c)}},{key:"getMap",value:function(){return this.__hotKeyMap__}},{key:"componentDidMount",value:function(){var a=Gn();this.__mousetrap__=new a(this.props.attach||Un.findDOMNode(this)),this.updateHotKeys(!0)}},{key:"componentDidUpdate",value:function(a){this.updateHotKeys(!1,a)}},{key:"componentWillUnmount",value:function(){this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(null),this.__mousetrap__&&this.__mousetrap__.reset()}},{key:"updateHotKeys",value:function(){var a=arguments.length>0&&arguments[0]!==void 0&&arguments[0],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=this.props.handlers,b=f===void 0?{}:f,B=c.handlers,I=B===void 0?b:B,P=this.updateMap();(a||P||er(b,I))&&(this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(null),this.syncHandlersToMousetrap())}},{key:"syncHandlersToMousetrap",value:function(){var a=this,c=this.props.handlers,f=c===void 0?{}:c,b=this.getMap(),B=[],I=this.__mousetrap__;Object.keys(f).forEach(function(P){var E=f[P];Vn(b,P).forEach(function(j){var U=void 0;Qn(j)&&(U=j.action,j=j.sequence),B.push({callback:function(ae,X){if((Yn(a.props.focused)?a.props.focused:a.__isFocused__)&&X!==a.__lastChildSequence__)return a.context.hotKeyParent&&a.context.hotKeyParent.childHandledSequence(X),E(ae,X)},action:U,sequence:j})})}),I.reset(),B.forEach(function(P){var E=P.sequence,j=P.callback,U=P.action;return I.bind(E,j,U)})}},{key:"childHandledSequence",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.__lastChildSequence__=a,this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(a)}},{key:"render",value:function(){var a=this.props,c=(a.keyMap,a.handlers,a.focused,a.attach,a.children),f=Kt(a,["keyMap","handlers","focused","attach","children"]);return Le.createElement(Re,me({},f,{onFocus:this.onFocus,onBlur:this.onBlur}),c)}},{key:"onFocus",value:function(){var a;this.__isFocused__=!0,this.props.onFocus&&(a=this.props).onFocus.apply(a,arguments)}},{key:"onBlur",value:function(){var a;this.__isFocused__=!1,this.props.onBlur&&(a=this.props).onBlur.apply(a,arguments),this.context.hotKeyParent&&this.context.hotKeyParent.childHandledSequence(null)}}]),s}();be.propTypes={keyMap:S.object,handlers:S.object,focused:S.bool,attach:S.any,children:S.node,onFocus:S.func,onBlur:S.func},be.childContextTypes={hotKeyParent:S.any,hotKeyMap:S.object},be.contextTypes={hotKeyParent:S.any,hotKeyMap:S.object};var tr=function(p){return function(s){return function(a){function c(f){tt(this,c);var b=at(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,f));return b._setRef=b._setRef.bind(b),b.state={handlers:{}},b}return rt(c,Ve.PureComponent),nt(c,[{key:"componentDidMount",value:function(){this.setState({handlers:this._ref.hotKeyHandlers})}},{key:"_setRef",value:function(f){this._ref=f}},{key:"render",value:function(){var f=this.state.handlers;return Le.createElement(be,{component:"document-fragment",keyMap:p,handlers:f},Le.createElement(s,me({ref:this._setRef},this.props)))}}]),c}()}};function nr(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{contextTypes:{hotKeyMap:S.object},childContextTypes:{hotKeyMap:S.object},getChildContext:function(){return{hotKeyMap:this.__hotKeyMap__}},componentWillMount:function(){this.updateMap()},updateMap:function(){var s=this.buildMap();return!et(s,this.__hotKeyMap__)&&(this.__hotKeyMap__=s,!0)},buildMap:function(){var s=this.context.hotKeyMap||{},a=this.props.keyMap||{};return me({},s,p,a)},getMap:function(){return this.__hotKeyMap__}}}const rr=Object.freeze(Object.defineProperty({__proto__:null,FocusTrap:Re,HotKeyMapMixin:nr,HotKeys:be,withHotKeys:tr},Symbol.toStringTag,{value:"Module"})),ar=zn(rr);var Ct;function ir(){return Ct||(Ct=1,Xe.exports=ar),Xe.exports}var fr=ir();export{fr as i};
2//# sourceMappingURL=index.es-CV1fKchX.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.