hotkeys-js
Version:
A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
2 lines (1 loc) • 3.94 kB
JavaScript
import{b as t}from"./uiw-components.js";var e,r,i={exports:{}},n={};function o(){if(e)return n;e=1;var r=t();function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var s={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for("react.portal"),c=Symbol.for("react.recoverable"),y=Symbol.for("react.optimistic_key");var p=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function a(t,e){return"font"===t?"":"string"==typeof e?"use-credentials"===e?e:"":void 0}return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,n.browser=function(t){return{$$typeof:c,_reason:t}},n.createPortal=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)throw Error(i(299));return function(t,e,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:f,key:null==i?null:i===y?y:""+i,children:t,containerInfo:e,implementation:r}}(t,e,null,r)},n.flushSync=function(t){var e=p.T,r=s.p;try{if(p.T=null,s.p=2,t)return t()}finally{p.T=e,s.p=r,s.d.f()}},n.preconnect=function(t,e){"string"==typeof t&&(e?e="string"==typeof(e=e.crossOrigin)?"use-credentials"===e?e:"":void 0:e=null,s.d.C(t,e))},n.prefetchDNS=function(t){"string"==typeof t&&s.d.D(t)},n.preinit=function(t,e){if("string"==typeof t&&e&&"string"==typeof e.as){var r=e.as,i=a(r,e.crossOrigin),n="string"==typeof e.integrity?e.integrity:void 0,o="string"==typeof e.fetchPriority?e.fetchPriority:void 0;"style"===r?s.d.S(t,"string"==typeof e.precedence?e.precedence:void 0,{crossOrigin:i,integrity:n,fetchPriority:o}):"script"===r&&s.d.X(t,{crossOrigin:i,integrity:n,fetchPriority:o,nonce:"string"==typeof e.nonce?e.nonce:void 0})}},n.preinitModule=function(t,e){if("string"==typeof t)if("object"==typeof e&&null!==e){if(null==e.as||"script"===e.as){var r=a(e.as,e.crossOrigin);s.d.M(t,{crossOrigin:r,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0,fetchPriority:"string"==typeof e.fetchPriority?e.fetchPriority:void 0})}}else null==e&&s.d.M(t)},n.preload=function(t,e){if("string"==typeof t&&"object"==typeof e&&null!==e&&"string"==typeof e.as){var r=e.as,i=a(r,e.crossOrigin);s.d.L(t,r,{crossOrigin:i,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0,type:"string"==typeof e.type?e.type:void 0,fetchPriority:"string"==typeof e.fetchPriority?e.fetchPriority:void 0,referrerPolicy:"string"==typeof e.referrerPolicy?e.referrerPolicy:void 0,imageSrcSet:"string"==typeof e.imageSrcSet?e.imageSrcSet:void 0,imageSizes:"string"==typeof e.imageSizes?e.imageSizes:void 0,media:"string"==typeof e.media?e.media:void 0})}},n.preloadModule=function(t,e){if("string"==typeof t)if(e){var r=a(e.as,e.crossOrigin);s.d.m(t,{as:"string"==typeof e.as&&"script"!==e.as?e.as:void 0,crossOrigin:r,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0,fetchPriority:"string"==typeof e.fetchPriority?e.fetchPriority:void 0})}else s.d.m(t)},n.requestFormReset=function(t){s.d.r(t)},n.unstable_batchedUpdates=function(t,e){return t(e)},n.useFormState=function(t,e,r){return p.H.useFormState(t,e,r)},n.useFormStatus=function(){return p.H.useHostTransitionStatus()},n.version="19.3.1",n}function s(){if(r)return i.exports;return r=1,function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){}}(),i.exports=o(),i.exports}export{s as r};