diff options
author | Nick Coutsos <[email protected]> | 2023-09-09 21:30:40 -0400 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2023-09-09 21:30:40 -0400 |
commit | 36fd962532eee4f0fe0a13b65a41beb17539f9ad (patch) | |
tree | a63820bc51795a17d514c2ab85895c894c4007e8 | |
parent | e52b60b9b7f0a209c0415eda7fa0073278969923 (diff) | |
download | keymap-editor-36fd962532eee4f0fe0a13b65a41beb17539f9ad.tar.gz keymap-editor-36fd962532eee4f0fe0a13b65a41beb17539f9ad.zip |
Minor fixes and cleanup
-rw-r--r-- | 4084.80c8670641f9c037682a.js | 3 | ||||
-rw-r--r-- | 4084.80c8670641f9c037682a.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | 6538.facfdddbe6ecd6bfbb2e.js | 2 | ||||
-rw-r--r-- | ClipboardPicker.2c0e8b8f6b6ee99c8298.js | 3 | ||||
-rw-r--r-- | ClipboardPicker.2c0e8b8f6b6ee99c8298.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | FileSystemPicker.d61821d8d112a252513e.js | 3 | ||||
-rw-r--r-- | FileSystemPicker.d61821d8d112a252513e.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | main.5c97e743ab9f7ad50ccb.js | 3 | ||||
-rw-r--r-- | main.5c97e743ab9f7ad50ccb.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | runtime.3d9b8b88f42ef0e9caca.js | 2 | ||||
-rw-r--r-- | shared.092544b1311ee9b4c8ef.js | 2 |
12 files changed, 23 insertions, 1 deletions
diff --git a/4084.80c8670641f9c037682a.js b/4084.80c8670641f9c037682a.js new file mode 100644 index 0000000..88b7d09 --- /dev/null +++ b/4084.80c8670641f9c037682a.js @@ -0,0 +1,3 @@ +/*! For license information please see 4084.80c8670641f9c037682a.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4084],{27926:function(t,r,e){"use strict";e.d(r,{Z:function(){return j}});var n=e(93379),o=e.n(n),i=e(7795),a=e.n(i),c=e(90569),u=e.n(c),l=e(3565),s=e.n(l),f=e(19216),p=e.n(f),h=e(44589),y=e.n(h),d=e(56281),v={};v.styleTagTransform=y(),v.setAttributes=s(),v.insert=u().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p(),o()(d.Z,v);var m=d.Z&&d.Z.locals?d.Z.locals:void 0,g=e(85893);function b(t){return b="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},b(t)}var w=["children","secondary","className"];function O(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function x(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?O(Object(e),!0).forEach((function(r){E(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function E(t,r,e){return(r=function(t){var r=function(t,r){if("object"!==b(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===b(r)?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function A(t){var r=t.children,e=t.secondary,n=t.className,o=function(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||(o[e]=t[e]);return o}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,w);return(0,g.jsx)("button",x(x({className:[n,m.action,e&&m.secondary].join(" ")},o),{},{children:r}))}A.defaultProps={className:""};var j=A},6121:function(t,r,e){"use strict";e.d(r,{Kz:function(){return L}});var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o;const i=new Uint8Array(16);function a(){if(!o&&(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)}const c=[];for(let t=0;t<256;++t)c.push((t+256).toString(16).slice(1));var u=function(t,r,e){if(n.randomUUID&&!r&&!t)return n.randomUUID();const o=(t=t||{}).random||(t.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,r){e=e||0;for(let t=0;t<16;++t)r[e+t]=o[t];return r}return function(t,r=0){return(c[t[r+0]]+c[t[r+1]]+c[t[r+2]]+c[t[r+3]]+"-"+c[t[r+4]]+c[t[r+5]]+"-"+c[t[r+6]]+c[t[r+7]]+"-"+c[t[r+8]]+c[t[r+9]]+"-"+c[t[r+10]]+c[t[r+11]]+c[t[r+12]]+c[t[r+13]]+c[t[r+14]]+c[t[r+15]]).toLowerCase()}(o)},l=e(28962);function s(t){return s="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},s(t)}function f(){f=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n=Object.defineProperty||function(t,r,e){t[r]=e.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function l(t,r,e,o){var i=r&&r.prototype instanceof y?r:y,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:E(t,e,c)}),a}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h={};function y(){}function d(){}function v(){}var m={};u(m,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(P([])));b&&b!==r&&e.call(b,i)&&(m=b);var w=v.prototype=y.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function o(n,i,a,c){var u=p(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==s(f)&&e.call(f,"__await")?r.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):r.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,e){function n(){return new r((function(r,n){o(t,e,r,n)}))}return i=i?i.then(n,n):n()}})}function E(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=A(a,e);if(c){if(c===h)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=p(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function A(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,A(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),h;var o=p(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function j(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function P(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:d,configurable:!0}),d.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===d||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(x.prototype),u(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(l(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&e.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),h},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),h}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:P(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),h}},t}function p(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function h(t){return y.apply(this,arguments)}function y(){var t;return t=f().mark((function t(r){var e;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(l.ny,"/v2/events"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});case 2:return e=t.sent,t.abrupt("return",e.json());case 4:case"end":return t.stop()}}),t)})),y=function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))},y.apply(this,arguments)}function d(){d=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n=Object.defineProperty||function(t,r,e){t[r]=e.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function l(t,r,e,o){var i=r&&r.prototype instanceof p?r:p,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:E(t,e,c)}),a}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function h(){}function y(){}var v={};u(v,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(P([])));b&&b!==r&&e.call(b,i)&&(v=b);var w=y.prototype=p.prototype=Object.create(v);function O(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==m(f)&&e.call(f,"__await")?r.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):r.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,e){function n(){return new r((function(r,n){o(t,e,r,n)}))}return i=i?i.then(n,n):n()}})}function E(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=A(a,e);if(c){if(c===f)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=s(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function A(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,A(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),f;var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,f;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function j(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function P(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=y,n(w,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:h,configurable:!0}),h.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===h||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(x.prototype),u(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(l(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&e.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),f}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:P(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}},t}function v(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function m(t){return m="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},m(t)}function g(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function b(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function w(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?b(Object(e),!0).forEach((function(r){O(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function O(t,r,e){return(r=function(t){var r=function(t,r){if("object"!==m(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===m(r)?r:String(r)}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var x="keymap_editor_usage_metrics_id";JSON.parse(localStorage.getItem("keymap_editor_usage_metrics_preferences")||JSON.stringify({enabled:!1,prompted:!1})),localStorage.getItem(x)||localStorage.setItem(x,u());var E=localStorage.getItem(x),A=u(),j=!1,S=[];function L(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=(new Date).toISOString();S.push({timestamp:e,type:t,data:w({id:E,session:A},r)})}function P(){var t;return t=d().mark((function t(){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!j){t.next=2;break}return t.abrupt("return");case 2:if(j=!0,r=S.splice(0,10),t.prev=4,!(r.length>0)){t.next=10;break}return t.next=8,h(r);case 8:t.sent.ok||S.unshift.apply(S,function(t){if(Array.isArray(t))return v(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,r){if(t){if("string"==typeof t)return v(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(t,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());case 10:t.next=14;break;case 12:t.prev=12,t.t0=t.catch(4);case 14:return t.prev=14,j=!1,t.finish(14);case 17:case"end":return t.stop()}var e}),t,null,[[4,12,14,17]])})),P=function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){g(i,n,o,a,c,"next",t)}function c(t){g(i,n,o,a,c,"throw",t)}a(void 0)}))},P.apply(this,arguments)}setInterval((function(){return P.apply(this,arguments)}),1e4)},56281:function(t,r,e){"use strict";var n=e(87537),o=e.n(n),i=e(23645),a=e.n(i)()(o());a.push([t.id,"button.pi2Ig8c3Fdh4H2Jpxdo7 {\n display: inline-block;\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n\n font-size: 16px;\n border: none;\n border-radius: 5px;\n padding: 0 5px;\n\n height: 30px;\n line-height: 30px;\n vertical-align: middle;\n}\n\nbutton.Ctpu4E2dZYJ6g8CUGFOF {\n color: var(--fg);\n background-color: transparent;\n}\n\nbutton.pi2Ig8c3Fdh4H2Jpxdo7[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n","",{version:3,sources:["webpack://./src/Common/action-button.module.css"],names:[],mappings:"AAAA;EACE,qBAAqB;EACrB,eAAe;EACf,wCAAwC;EACxC,YAAY;;EAEZ,eAAe;EACf,YAAY;EACZ,kBAAkB;EAClB,cAAc;;EAEd,YAAY;EACZ,iBAAiB;EACjB,sBAAsB;AACxB;;AAEA;EACE,gBAAgB;EAChB,6BAA6B;AAC/B;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,mBAAmB;AACrB",sourcesContent:["button.action {\n display: inline-block;\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n\n font-size: 16px;\n border: none;\n border-radius: 5px;\n padding: 0 5px;\n\n height: 30px;\n line-height: 30px;\n vertical-align: middle;\n}\n\nbutton.secondary {\n color: var(--fg);\n background-color: transparent;\n}\n\nbutton.action[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n"],sourceRoot:""}]),a.locals={action:"pi2Ig8c3Fdh4H2Jpxdo7",secondary:"Ctpu4E2dZYJ6g8CUGFOF"},r.Z=a},66317:function(){},99918:function(){}}]); +//# sourceMappingURL=4084.80c8670641f9c037682a.js.map
\ No newline at end of file diff --git a/4084.80c8670641f9c037682a.js.LICENSE.txt b/4084.80c8670641f9c037682a.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/4084.80c8670641f9c037682a.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/6538.facfdddbe6ecd6bfbb2e.js b/6538.facfdddbe6ecd6bfbb2e.js new file mode 100644 index 0000000..b892210 --- /dev/null +++ b/6538.facfdddbe6ecd6bfbb2e.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6538],{27926:function(n,e,r){r.d(e,{Z:function(){return B}});var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),p=r(44589),f=r.n(p),b=r(56281),y={};y.styleTagTransform=f(),y.setAttributes=s(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=A(),o()(b.Z,y);var m=b.Z&&b.Z.locals?b.Z.locals:void 0,h=r(85893);function v(n){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},v(n)}var g=["children","secondary","className"];function C(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function x(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?C(Object(r),!0).forEach((function(e){E(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function E(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==v(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==v(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===v(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function j(n){var e=n.children,r=n.secondary,t=n.className,o=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,g);return(0,h.jsx)("button",x(x({className:[t,m.action,r&&m.secondary].join(" ")},o),{},{children:e}))}j.defaultProps={className:""};var B=j},2062:function(n,e,r){r.d(e,{Z:function(){return g}});var t=r(41051),o=r(93379),i=r.n(o),a=r(7795),l=r.n(a),c=r(90569),u=r.n(c),s=r(3565),d=r.n(s),A=r(19216),p=r.n(A),f=r(44589),b=r.n(f),y=r(528),m={};m.styleTagTransform=b(),m.setAttributes=d(),m.insert=u().bind(null,"head"),m.domAPI=l(),m.insertStyleElement=p(),i()(y.Z,m);var h=y.Z&&y.Z.locals?y.Z.locals:void 0,v=r(85893);function g(n){var e=n.children,r=n.className,o=void 0===r?"":r,i=[h.tip,o].join(" ");return(0,v.jsxs)("div",{className:i,children:[(0,v.jsx)(t.Z,{className:"fa-flip-horizontal",name:"hand-point-up"})," ",e]})}},81404:function(n,e,r){r.d(e,{Z:function(){return m}});var t=r(94184),o=r.n(t),i=r(67294),a=r(39693),l=r.n(a),c=r(35161),u=r.n(c),s=r(52156),d=r(61953),A=r(38356),p=r(74871),f=r(85893);function b(n){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b(n)}function y(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function m(n){var e,r=n.node,t=n.onSelect,o=n.expanded,a=void 0!==o&&o,c=(0,i.useCallback)((function(n){n.stopPropagation(),t({node:r,type:"tree"})}),[r,t]),A=void 0===(null===(e=r.source)||void 0===e?void 0:e.code)||void 0===r.value||r._isPlaceholder,b=(0,i.useMemo)((function(){return u()((0,p.H)(r),"source")}),[r]),y=b.length>1,m=(0,i.useMemo)((function(){return b.map(s.rG).join(" + ")}),[b]),C=a?(0,f.jsx)(h,{codes:b}):y?(0,f.jsx)(v,{codes:b}):(0,f.jsx)(g,{codes:b});return(0,f.jsx)("span",{className:l()([d.Z.code,A&&d.Z.missingValue]).join(" "),title:m,onClick:c,children:A?(0,f.jsx)(s.J1,{}):C})}function h(n){var e=n.codes,r=(0,i.useMemo)((function(){var n=e.slice(0,-1),r=e.at(-1);return n.reduce((function(n,e){return"".concat(e.code,"(").concat(n,")")}),null==r?void 0:r.code)}),[e]),t=(0,i.useMemo)((function(){return e.map((function(n){return n?n.description||n.name:"⦸"})).join(" + ")}),[e]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("code",{children:r}),(0,f.jsx)("span",{children:t})]})}function v(n){var e=n.codes,r=(0,i.useMemo)((function(){return e.slice(0,-1).map(s.r8).map((function(n,e){return(0,f.jsx)("span",{children:n},e)})).reduce((function(n,e){return 0===n.length?[e]:[].concat(function(n){if(Array.isArray(n))return y(n)}(r=n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(r)||function(n,e){if(n){if("string"==typeof n)return y(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(n,e):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]);var r}),[])}),[e]),t=(0,i.useMemo)((function(){return(0,s.r8)(e.at(-1))}),[e]);return(0,f.jsxs)("span",{className:A.Z.keycodeWithModifiers,children:[(0,f.jsx)("span",{className:A.Z.appliedModifierSymbols,children:r}),(0,f.jsx)("span",{className:A.Z.modifiedKeycodeSymbol,children:t})]})}function g(n){var e,r,t,a=n.codes,l=(0,i.useMemo)((function(){return(0,s.r8)(a[0])}),[a]);return(0,f.jsx)("span",{className:o()((e={},r=A.Z.modifier,t=a[0].isModifier,(r=function(n){var e=function(n,e){if("object"!==b(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==b(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===b(e)?e:String(e)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e)),children:l})}},74871:function(n,e,r){function t(n,e){if(n){if("string"==typeof n)return i(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(n,e):void 0}}function o(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}function i(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function a(n){return n.params.length>0?[n].concat(function(n){if(Array.isArray(n))return i(n)}(e=a(n.params[0]))||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):[n];var e}function l(n){var e,r=function(n){if(Array.isArray(n))return n}(e=n)||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],a=r.slice(1);return{value:i,params:0===a.length?[]:[l(a)]}}r.d(e,{H:function(){return a},n:function(){return l}})},81136:function(n,e,r){r.d(e,{N:function(){return U},Z:function(){return z}});var t=r(27361),o=r.n(t),i=r(45697),a=r.n(i),l=r(67294),c=r(67069),u=r(52156),s=r(81404),d=r(93379),A=r.n(d),p=r(7795),f=r.n(p),b=r(90569),y=r.n(b),m=r(3565),h=r.n(m),v=r(19216),g=r.n(v),C=r(44589),x=r.n(C),E=r(33151),j={};j.styleTagTransform=x(),j.setAttributes=h(),j.insert=y().bind(null,"head"),j.domAPI=f(),j.insertStyleElement=g(),A()(E.Z,j);var B=E.Z&&E.Z.locals?E.Z.locals:void 0,S=r(85893);function w(n){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(n)}function k(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function O(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){P(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function P(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==w(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==w(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===w(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Z(n){var e=n.hue,r=n.saturation,t=n.brightness,o=n.wrapperProps,i=(0,l.useMemo)((function(){return[e,r,t].some((function(n){return void 0===(null==n?void 0:n.value)}))?{}:{backgroundColor:"hsl(".concat(e.value,", ").concat(r.value,"%, ").concat(t.value,"%)"),border:".1em solid hsl(".concat(e.value,", ").concat(r.value,"%, ").concat(.75*t.value,"%)"),boxSizing:"border-box"}}),[e,r,t]);return(0,S.jsx)("div",O(O({className:B.colorIconWrapper},o),{},{children:(0,S.jsx)("div",{className:B.colorIcon,title:i.backgroundColor,style:i})}))}function T(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var D=function(n){var e,r,t=n.node,o=n.onSelect,i=(e=t.params,r=3,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return T(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],c=i[1],s=i[2],d=(0,l.useCallback)((function(n){var e;null==n||null===(e=n.stopPropagation)||void 0===e||e.call(n),o({node:t,type:"tree"})}),[t,o]),A=(0,l.useMemo)((function(){return[a,c,s].some((function(n){return void 0===(null==n?void 0:n.value)||(null==n?void 0:n._isPlaceholder)}))}),[a,c,s]);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.ZP,{node:t,onSelect:o}),A?(0,S.jsx)(u.ZP,{node:{},onSelect:d}):(0,S.jsx)(Z,{hue:a,saturation:c,brightness:s,wrapperProps:{onClick:d}})]})},I=r(61953);function M(n){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M(n)}function q(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function Y(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q(Object(r),!0).forEach((function(e){R(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function R(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==M(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==M(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===M(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function N(n){var e=n.node,r=n.onSelect,t=n.expanded;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.ZP,{node:e,onSelect:r,expanded:t}),o()(e,"source.params.length")>0?(0,S.jsx)(K,{slots:e.source.params,params:e.params,onSelect:r}):null]})}function U(n){var e=n.node,r=n.onSelect,t=n.slot,o=n.expanded,i=void 0!==o&&o,a=(0,l.useMemo)((function(){var n;return"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?D:"code"===t?s.Z:N}),[e,t]);return(0,S.jsx)("span",{className:I.Z.param,children:(0,S.jsx)(a,{node:e,onSelect:r,expanded:i})})}function K(n){var e=n.slots,r=n.params,t=n.onSelect,o=n.root,i=n.wrapperProps;return(0,S.jsx)("span",Y(Y({className:I.Z.params,"data-is-root":!!o,"data-param-count":r.length},i),{},{children:e.map((function(n,e){return"placeholder"!==n.type&&(0,S.jsx)(U,{slot:n,node:r[e],onSelect:t},e)}))}))}K.propTypes={slots:a().arrayOf(c.wu).isRequired,params:a().arrayOf(c.le).isRequired,source:c.qz,onSelect:a().func};var z=K},52156:function(n,e,r){r.d(e,{J1:function(){return A},r8:function(){return f},rG:function(){return p}});var t=r(39693),o=r.n(t),i=r(67294),a=r(45697),l=r.n(a),c=r(67069),u=r(61953),s=r(41051),d=r(85893);function A(){return(0,d.jsx)("span",{children:"⦸"})}function p(n){var e=(null==n?void 0:n.displayName)||(null==n?void 0:n.description);return n&&"(".concat(n.code,") ").concat(e)}function f(n){var e,r=(null==n?void 0:n.symbol)||(null==n||null===(e=n.code)||void 0===e?void 0:e.toString());return(null==n?void 0:n.faIcon)&&(0,d.jsx)(s.Z,{name:null==n?void 0:n.faIcon})||r||(0,d.jsx)(A,{})}function b(n){var e,r,t=n.value,o=n.expanded;if(void 0===o||!o)return f(t);if(!t)return(0,d.jsx)(A,{});var i=null===(e=t.code)||void 0===e||null===(r=e.toString)||void 0===r?void 0:r.call(e),a=t.displayName||t.description||t.name;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("code",{children:i}),a&&(0,d.jsx)("span",{children:a})]})}function y(n){var e=n.node,r=n.onSelect,t=n.expanded,a=void 0!==t&&t,l=e.value,c=e.source,s=e._isPlaceholder,f=p(c),y=(0,i.useCallback)((function(n){n.stopPropagation(),r({node:e})}),[e,r]);return(0,d.jsx)("span",{className:o()([u.Z.code,(void 0===l||s)&&u.Z.missingValue]).join(" "),title:f,onClick:y,children:s?(0,d.jsx)(A,{}):(0,d.jsx)(b,{value:c,expanded:a})})}y.propTypes={node:c.le.isRequired,onSelect:l().func},e.ZP=y},27213:function(n,e,r){r.d(e,{Z:function(){return A}});var t=r(94184),o=r.n(t),i=r(81136),a=r(64536),l=r(39017),c=r(61953),u=r(41051),s=r(85893);function d(n){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},d(n)}function A(n){var e,r,t,a,A,p=n.value,f=n.hideBehavior,b=void 0!==f&&f,y=(0,l.wQ)(p),m=(0,l.UU)(p),h=y.source,v=(0,l.Kf)(y),g=h?(0,s.jsx)("span",{className:o()(c.Z["behaviour-binding"],(t={},a=c.Z.missingValue,A=!(null!==(e=y.source)&&void 0!==e&&e.code),(a=function(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}(a))in t?Object.defineProperty(t,a,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[a]=A,t)),children:(null===(r=y.source)||void 0===r?void 0:r.code)||"⦸"}):null;return(0,s.jsxs)(s.Fragment,{children:[!b&&g,v&&(0,s.jsx)(u.Z,{name:"warning",className:c.Z.missing,title:"Binding has missing value(s)"}),(0,s.jsx)(i.Z,{root:!0,slots:m,params:y.params,wrapperProps:{"data-simple":(0,l.Gg)(y),"data-long":(0,l.Mc)(y,m)}})]})}A.propTypes={value:a.U4.isRequired}},67069:function(n,e,r){r.d(e,{le:function(){return A},qz:function(){return u},wu:function(){return a}});var t=r(45697),o=r.n(t),i=o().oneOfType([o().number,o().shape({name:o().string,type:o().string,description:o().string,code:o().any})]),a=o().oneOfType([o().oneOf(["code","layer"]),o().shape({type:o().oneOf(["placeholder"])}),o().shape({enum:o().arrayOf(i),raw:o().bool,name:o().string,type:o().string.isRequired})]),l=o().arrayOf(a),c=o().oneOfType([o().string,o().number]),u=o().shape({params:l,code:c.isRequired,description:o().string,symbol:o().string,faIcon:o().string}),s={value:c,source:u};s.params=o().arrayOf(o().shape(s));var d=o().shape(s),A=d;o().arrayOf(d)},39017:function(n,e,r){r.d(e,{Gg:function(){return m},He:function(){return g},Kf:function(){return B},Mc:function(){return h},NB:function(){return v},NE:function(){return E},UU:function(){return j},wQ:function(){return x},wx:function(){return C}});var t=r(27361),o=r.n(t),i=r(13311),a=r.n(i),l=r(67294),c=r(41696),u=r(81485);function s(n){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s(n)}function d(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function A(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){p(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function p(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==s(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==s(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===s(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function f(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||b(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(n,e){if(n){if("string"==typeof n)return y(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(n,e):void 0}}function y(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function m(n){var e=f(n.params,1)[0],r=o()(e,"source.symbol",o()(e,"source.code","")),t=!!o()(e,"source.faIcon")||1===r.length;return 1===n.params.length&&t}function h(n,e){var r=f(n.params,1)[0],t=o()(r,"source.symbol",o()(r,"value","")),i=!o()(r,"source.faIcon")&&t.length>4,a=e.length>1,l=o()(r,"params",[]).length>0;return i||a||l}function v(n,e){var r=n.value,t=n.params,i=e.sources,l=e.mergedGlyphs,u=e.behaviorParameters,s=r;function d(n,e){if(!n)return{value:void 0,slot:e,params:[]};var r=n.value,t=n.params,c=n._isPlaceholder,u=function(n,e){var r;return n=o()(i.defines,n,n),Number.isNaN(Number(n))||(n=Number(n)),e.raw?{code:n}:e.enum?a()(e.enum,{code:n})||a()(e.enum,n)||{code:n}:"placeholder"===e.type?{code:n}:null==i||null===(r=i[e])||void 0===r?void 0:r[n]}(r,e);return{value:r,_isPlaceholder:c,slot:e,source:A(A({},u),{},{symbol:o()(l,[null==u?void 0:u.name,"symbol"],null==u?void 0:u.symbol),faIcon:o()(l,[null==u?void 0:u.name,"faIcon"],null==u?void 0:u.faIcon)}),params:o()(u,"params",[]).map((function(n,e){return d(t[e],n)}))}}return{value:r,slot:"behaviour",source:o()(i.behaviours,s,{}),params:(0,c.L)(n,u).map((function(n,e){return d(t[e],n)}))}}function g(n){var e=[];return function n(r){var t=r.params||[];e.push(r),t.forEach(n)}(n),e}function C(n){if(!n[0].source.code)return!0;var e,r=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=b(n))){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(n);try{for(r.s();!(e=r.n()).done;){var t,o=e.value;if(((null===(t=o.source)||void 0===t?void 0:t.params)||[]).length>o.params.length)return!0;if(o.params.some((function(n){var e;return"placeholder"!==(null===(e=n.slot)||void 0===e?void 0:e.type)&&(void 0===n.value||""===n.value||void 0===n.source||n._isPlaceholder)})))return!0}}catch(n){r.e(n)}finally{r.f()}}function x(n){return E([n])[0]}function E(n){var e=(0,l.useContext)(u.c);return(0,l.useMemo)((function(){return n.map((function(n){return v(n,e)}))}),[n,e])}function j(n){var e=(0,l.useContext)(u.c).behaviorParameters;return(0,c.L)(n,e)}function B(n){var e=(0,l.useMemo)((function(){return g(n)}),[n]);return(0,l.useMemo)((function(){return C(e)}),[e])}},80671:function(n,e,r){r.d(e,{Z:function(){return U}});var t=r(94184),o=r.n(t),i=r(18029),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(27926),d=r(64261),A=r(96186),p=r(81136),f=r(52156),b=r(50361),y=r.n(b),m=r(27361),h=r.n(m),v=r(81485),g=r(39017);function C(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function x(n){var e,r=y()(n),t=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(n,e){if(n){if("string"==typeof n)return C(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}((0,g.He)(r));try{for(t.s();!(e=t.n()).done;){var o=e.value;for(var i in o)"_isPlaceholder"===i&&o._isPlaceholder||["value","params"].includes(i)||delete o[i]}}catch(n){t.e(n)}finally{t.f()}return r}var E=r(41696);function j(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function B(n,e){var r=e.nodeIndex,t=e.updatedNode,o=y()(n),i=(0,g.He)(o),a=i[r];return a.value=t.value,a.params=t.params,delete a._isPlaceholder,i.forEach((function(n){delete n.source,delete n.slot})),o}function S(n,e){var r,t,o,i=e.nodeIndex,a=e.source,l=e.behaviorParameters,c=y()(n),u=(0,g.He)(c),s=u[i];s.slot.raw&&"number"===s.slot.type&&(a.code=Number(a.code));var d=(null===(r=s.source)||void 0===r||null===(t=r.additionalParams)||void 0===t?void 0:t.length)||0;((null===(o=a.additionalParams)||void 0===o?void 0:o.length)||0)<d&&(u[0].params.splice(1,u[0].params.length-1),u.splice(2,u.length-1));var A=function(n,e){var r=n.params,t=n.source,o=(null==t?void 0:t.params)||[];return e.reduce((function(n,e,t){return[].concat(function(n){if(Array.isArray(n))return j(n)}(i=n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(i)||function(n,e){if(n){if("string"==typeof n)return j(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(n,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o[t]!==e?{value:0,_isPlaceholder:!0}:r[t]]);var i}),[])}(s,"behaviour"===s.slot?l[a.code]||[]:(null==a?void 0:a.params)||[]);return delete s._isPlaceholder,s.value=a.code,s.params=A,u.forEach((function(n){delete n.source,delete n.slot})),c}function w(n){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(n)}function k(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function O(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){P(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function P(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==w(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==w(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===w(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Z(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var T=r(94596),D=r(61953),I=r(34482),M=r(85893);function q(n){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},q(n)}function Y(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==q(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==q(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===q(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return N(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function U(n){var e=n.binding,r=n.bindingIndex,t=n.onUpdate,i=n.onCancel,a=n.context,l=void 0===a?"none":a,c=n.Heading,p=R((0,u.useState)(e),2),b=function(n,e,r){var t,o,i,a,l=(0,u.useContext)(v.c),c=l.sources,s=(i=(0,u.useState)(null),a=2,function(n){if(Array.isArray(n))return n}(i)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(i,a)||function(n,e){if(n){if("string"==typeof n)return Z(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(n,e):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=s[0],A=s[1],p=(0,g.wQ)((null==d?void 0:d.pending)||n),f=[0],b=n.value,m=h()(c.behaviours,b,{}),C=(t=(0,E.L)(n,l.behaviorParameters)).slice.apply(t,f),j=(o=p.params).slice.apply(o,f),w=(0,g.He)(p),k=(0,u.useMemo)((function(){return(0,g.wx)(w)}),[w]),P=(0,u.useCallback)((function(){return A(null)}),[A]),T=(0,u.useCallback)((function(n){var e=d.nodeIndex,t="tree"===d.type?B(p,{nodeIndex:e,updatedNode:n}):S(p,{source:n,nodeIndex:e,behaviorParameters:l.behaviorParameters});r(x(t)),P()}),[p,d,P,r,l.behaviorParameters]),D=(0,u.useCallback)((function(){d.pending&&(r(x(d.pending)),P())}),[null==d?void 0:d.pending,r,P]),I=(0,u.useCallback)((function(n){var e=d.pending,r=d.nodeIndex,t="tree"===d.type?B(e,{nodeIndex:r,updatedNode:n}):S(e,{source:n,nodeIndex:r,behaviorParameters:l.behaviorParameters}),o=(0,g.NB)(t,l),i=(0,g.He)(o),a=i[r];A(O(O({},d),{},{pending:o,index:i,node:a}))}),[d,A,l]),M=(0,u.useCallback)((function(n){var e=n.node,r=n.type,t=void 0===r?"value":r,o=y()(p),i=function(n,e,r){var t={layer:"Assign layer",mod:"Assign modifier",behaviour:"Assign behavior",keycode:"Assign key code"};if("tree"===r&&e){var o,i=null===(o=e.source)||void 0===o?void 0:o.helperPrompt;if(i)return i}return n.name?"Assign ".concat(n.name):n.raw?"Enter raw value":t[n]||t.keycode}(e.slot,e,t),a=w.indexOf(e);(null==d?void 0:d.nodeIndex)!==a||(null==d?void 0:d.type)!==t?A({pending:o,node:e,type:t,nodeIndex:a,prompt:i}):D()}),[d,p,w,A,D]),q=(0,u.useMemo)((function(){return{behavior:m,behaviorParams:C,bindTree:p,bindTreeParams:j,editing:d,index:w,invalid:k}}),[m,C,p,j,d,w,k]),Y=(0,u.useMemo)((function(){return{clearEditing:P,handleChange:I,handleConfirm:D,handleUpdateAndConfirm:T,handleUpdateBindValue:T,selectNodeForEditing:M}}),[P,M,I,D,T]);return(0,u.useMemo)((function(){return[q,Y]}),[q,Y])}(p[0],0,p[1]),m=R(b,2),C=m[0],j=C.bindTree,w=C.behavior,k=C.behaviorParams,P=C.editing,q=C.invalid,N=m[1],U=N.clearEditing,z=N.handleChange,L=N.handleConfirm,Q=N.handleUpdateBindValue,W=N.selectNodeForEditing,X=(0,u.useCallback)((function(){t(x(j))}),[j,t]),H=P&&(0,M.jsx)(I.b,{node:P.node,type:P.type,behaviour:w,context:l,prompt:P.prompt,searchKey:"code",inline:!0,onSelect:Q,onConfirm:L,onChange:z,onCancel:U});return(0,M.jsx)(d.Z,{onDismiss:i,children:(0,M.jsxs)(A.Z,{dismissText:null,classes:[T.Z.dialogBox],children:[(0,M.jsxs)("div",{className:T.Z.mainPanel,children:[(0,M.jsx)(c,{bindingIndex:r,bindTree:j,context:l}),(0,M.jsxs)("div",{className:T.Z.bindingSlots,children:[(0,M.jsxs)("h3",{children:["Behavior ",(0,M.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal"},children:(0,M.jsx)("span",{className:o()(D.Z.extracted,Y({},D.Z.highlight,0===(null==P?void 0:P.nodeIndex))),children:(0,M.jsx)("span",{className:D.Z.param,children:(0,M.jsx)(f.ZP,{slot:"behaviour",node:j,expanded:!0,onSelect:W})})})})]}),(0,M.jsx)(K,{slots:k,node:j,onSelect:W,editing:P})]}),(0,M.jsxs)("div",{className:T.Z.dialogActions,children:[(0,M.jsx)(s.Z,{onClick:X,disabled:q,children:"Okay"}),(0,M.jsx)(s.Z,{onClick:i,secondary:!0,children:"Cancel"})]})]}),H&&(0,M.jsxs)("div",{className:T.Z.editPanel,children:[(0,M.jsx)("button",{onClick:L,className:T.Z.editPanelClose,children:"Close"}),H]})]})})}function K(n){var e=n.slots,r=n.node,t=n.editing,o=n.onSelect;return 0===e.length?null:(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)("h3",{children:"Parameters"}),(0,M.jsx)("ol",{className:T.Z.parameterSlots,"data-slot-count":e.length,children:e.map((function(n,e){return"placeholder"!==n.type&&(0,M.jsx)(u.Fragment,{children:(0,M.jsx)(z,{slot:n,param:r.params[e],editing:(null==t?void 0:t.nodeIndex)===e+1,onSelect:o},e)},e)}))})]})}function z(n){var e=n.slot,r=n.param,t=n.editing,i=n.onSelect,l=(0,u.useMemo)((function(){var n=e.raw?"Raw value":e.name||e,r={code:"key-code"}[n]||n;return a()(r)}),[e]);return(0,M.jsxs)("li",{children:[(0,M.jsx)("label",{children:l}),(0,M.jsx)("span",{className:o()(T.Z.param,D.Z.extracted,Y({},D.Z.highlight,t)),children:(0,M.jsx)(p.N,{slot:e,node:r,onSelect:i,expanded:!0})})]})}U.propTypes={context:c().string,hideBehaviour:c().bool.isRequired,onUpdate:c().func.isRequired},U.defaultProps={hideBehaviour:!1}},62417:function(n,e,r){function t(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9,._+-]/)?"valid characters: a-zA-Z0-9,._+-":void 0}r.d(e,{G3:function(){return o},Gk:function(){return t},zq:function(){return i}});var o=t;function i(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9_]/)?"valid characters: a-zA-Z0-9_":void 0}},82607:function(n,e,r){var t=r(45697),o=r.n(t),i=r(91118),a=r(27213),l=r(64536),c=r(85893);function u(n){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u(n)}function s(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function d(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){A(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function A(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==u(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===u(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function p(n){var e=n.binding,r=n.keyWrapperProps,t=void 0===r?{}:r;return(0,c.jsx)(i.Z,d(d({},t),{},{children:(0,c.jsx)(a.Z,{value:e})}))}p.propTypes={binding:l.U4.isRequired,keyWrapperProps:o().any},e.Z=p},91118:function(n,e,r){var t=r(39693),o=r.n(t),i=r(61953),a=r(85893);function l(n){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l(n)}var c=["children","selectable","themeClass","className"];function u(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function s(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){d(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function d(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==l(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}e.Z=function(n){var e=n.children,r=n.selectable,t=void 0===r||r,l=n.themeClass,u=void 0===l?void 0:l,d=n.className,A=void 0===d?"":d,p=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,c),f=o()([i.Z.key,t&&i.Z.selectable,null!=u?u:i.Z.keyDefaultTheme,A]).join(" ");return(0,a.jsx)("div",s(s({className:f},p),{},{children:e}))}},34482:function(n,e,r){r.d(e,{b:function(){return Gn},Z:function(){return Fn}});var t=r(94184),o=r.n(t),i=r(78718),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(96186),d=r(64261),A=r(81485),p=function(n,e){var r=(e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1))%n.length;return r<0?n.length+r:r},f=r(93379),b=r.n(f),y=r(7795),m=r.n(y),h=r(90569),v=r.n(h),g=r(3565),C=r.n(g),x=r(19216),E=r.n(x),j=r(44589),B=r.n(j),S=r(47881),w={};w.styleTagTransform=B(),w.setAttributes=C(),w.insert=v().bind(null,"head"),w.domAPI=m(),w.insertStyleElement=E(),b()(S.Z,w);var k=S.Z&&S.Z.locals?S.Z.locals:void 0,O=r(85893);function P(n){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P(n)}function Z(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function T(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){D(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function D(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==P(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==P(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===P(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function I(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function M(n){var e,r,t=n.results,o=n.onSelect,i=n.initialChoice,a=n.renderResult,l=(0,u.useRef)(null),c=(0,u.useMemo)((function(){return t.findIndex((function(n){return n.code===i}))}),[t,i]),s=(e=(0,u.useState)({cursorIndex:c,touched:!1}),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return I(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=s[0],A=d.cursorIndex,f=d.touched,b=s[1],y=(0,u.useCallback)((function(n){return b((function(e){return T(T({},e),{},{cursorIndex:n,touched:!0})}))}),[b]),m=(0,u.useCallback)((function(n){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t='li[data-result-index="'.concat(n,'"]');!function(n,e){var r=n.offsetParent.scrollTop,t=n.offsetParent.offsetHeight,o=n.offsetTop,i=o+n.scrollHeight;(o<r||i>r+t)&&n.scrollIntoView(e)}(null===(e=l.current)||void 0===e?void 0:e.querySelector(t),r)}),[l]);(0,u.useEffect)((function(){f||-1===c||m(c,{behavior:"auto",block:"center"})}),[f,m,c]);var h=(0,u.useCallback)((function(n,e){if(0!==t.length)if(void 0!==e){var r=null!==A?p(t,A,e):n;m(r,{behavior:"auto",block:"nearest"}),y(r)}else y(n);else y(null)}),[t,A,y,m]),v=(0,u.useCallback)((function(){h(0,1)}),[h]),g=(0,u.useCallback)((function(){h(t.length-1,-1)}),[h,t]),C=(0,u.useCallback)((function(n){o(t[A],n)}),[t,A,o]),x=(0,u.useCallback)((function(n){if("BUTTON"!==n.target.nodeName){var e={ArrowDown:v,ArrowUp:g,Enter:C}[n.key];e&&(n.preventDefault(),n.stopPropagation(),e(n))}}),[v,g,C]);return(0,u.useEffect)((function(){return document.body.addEventListener("keydown",x),function(){return document.body.removeEventListener("keydown",x)}}),[l,x]),(0,O.jsx)("ul",{className:k.results,ref:l,children:t.map((function(n,e){return(0,O.jsx)("li",{className:A===e?k.highlighted:"",title:n.description,"data-result-index":e,onClick:function(e){return o(n,e)},onDoubleClick:function(e){return o(n,e)},onMouseOver:function(){return h(e)},children:a(n,e)},e)}))})}M.propTypes={results:c().array.isRequired,onSelect:c().func.isRequired,renderResult:c().func.isRequired};var q=r(67069),Y={onCancel:c().func,onChange:c().func,onSelect:c().func.isRequired,node:q.le.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number};function R(n){var e=(0,u.useContext)(A.c).getSearchTargets,r=n.node,t=n.param,o=n.onSelect,i=(0,u.useMemo)((function(){return e(t)}),[e,t]);return(0,O.jsx)(M,{results:i,initialChoice:null==r?void 0:r.value,onSelect:o,renderResult:function(n){return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{children:n.displayName||n.name||n.code}),n.description&&(0,O.jsx)("p",{className:k.description,children:n.description})]})}})}R.propTypes=Y;var N=r(87360),U=r.n(N),K=r(41051);function z(n){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z(n)}function L(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function Q(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){W(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function W(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==z(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==z(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===z(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function X(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return H(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var _=10;function G(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=n.renderResults,i=n.initialQuery,a=!e.length||e.length>_,l=function(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=X((0,u.useState)({query:"",touched:!1}),2),i=o[0],a=i.query,l=i.touched,c=o[1],s=(0,u.useMemo)((function(){if(!a)return e;var n=t?{keys:t,limit:30}:{key:r,limit:30};return U().go(a,e,n).map((function(n){return Q(Q({},n.obj),{},{search:n})}))}),[a,e,r,t]),d=(0,u.useCallback)((function(n){c({query:n.target.value,touched:!0})}),[c]),A=(0,u.useCallback)((function(n){c({query:"",touched:!0})}),[c]);return[(0,u.useMemo)((function(){return{query:a,filtered:s,touched:l}}),[a,s,l]),(0,u.useMemo)((function(){return{handleChange:d,handleClearSearch:A}}),[d,A])]}({choices:e,searchKey:r,searchKeys:t,initialQuery:i}),c=X(l,2),s=c[0],d=s.query,A=s.filtered,p=c[1],f=p.handleChange,b=p.handleClearSearch,y=(0,u.useMemo)((function(){return a?A:e}),[a,A,e]);return(0,O.jsxs)(O.Fragment,{children:[a&&(0,O.jsx)(F,{value:d,onChange:f,onClear:b}),o(y)]})}function F(n){var e=n.value,r=n.onChange,t=n.onClear,o=(0,u.useRef)(null);return(0,u.useEffect)((function(){o.current.focus()}),[]),(0,O.jsxs)("div",{className:k.searchWrapper,children:[(0,O.jsx)("input",{ref:o,type:"text",value:e,onChange:r}),(0,O.jsx)(K.Z,{className:k.searchIcon,name:"search"}),(0,O.jsx)(K.Z,{className:k.clearSearchIcon,name:"times",onClick:t})]})}function J(n){var e=n.searchKey,r=n.node,t=n.param,o=n.behaviour,i=n.context,a=n.onSelect,l=(0,u.useContext)(A.c).getSearchTargets,c=(0,u.useMemo)((function(){return l(t,o.code,i)}),[l,t,o,i]);return(0,O.jsx)(G,{choices:c,searchKey:e,renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,initialChoice:r.value,onSelect:a,renderResult:V})}})}function V(n){var e=n.search?(0,O.jsx)("span",{children:U().highlight(n.search,(function(n,e){return(0,O.jsx)("b",{children:n},e)}))}):(0,O.jsx)("span",{children:n.code}),r=n.displayName||n.description;return(0,O.jsxs)(O.Fragment,{children:[e,r&&(0,O.jsx)("p",{className:k.description,children:r})]})}G.propTypes={choices:c().array.isRequired,searchKey:c().string,initialQuery:c().string.isRequired,renderResults:c().func.isRequired},G.defaultProps={initialQuery:""},F.propTypes={value:c().string.isRequired,onChange:c().func.isRequired,onClear:c().func.isRequired},J.propTypes=Y;var $=r(55651),nn=r(27926);function en(n){return en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},en(n)}function rn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function tn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rn(Object(r),!0).forEach((function(e){on(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function on(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==en(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==en(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===en(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function an(n){var e=n.node,r=n.onChange,t=n.onConfirm,o=n.inline,i=(0,u.useMemo)((function(){return{h:Number(e.params[0].value),s:Number(e.params[1].value),l:Number(e.params[2].value)}}),[e.params]),a=(0,u.useCallback)((function(n){var t=n.h,o=n.s,i=n.l;r(tn(tn({},e),{},{params:[{value:Math.round(t)},{value:Math.round(o)},{value:Math.round(i)}]}))}),[e,r]);return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,O.jsx)($.Jz,{color:i,onChange:a})}),!o&&(0,O.jsx)("p",{style:{textAlign:"center"},children:(0,O.jsx)(nn.Z,{onClick:t,children:"Confirm"})})]})}an.propTypes=Y;var ln=r(39693),cn=r.n(ln),un=r(35161),sn=r.n(un),dn=r(2062),An=r(91118),pn=r(74871),fn=r(82569),bn=r.n(fn);function yn(n,e){if(n){if("string"==typeof n)return mn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mn(n,e):void 0}}function mn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var hn=r(38356);function vn(n){return vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vn(n)}function gn(n){return function(n){if(Array.isArray(n))return Cn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return Cn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cn(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function xn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==vn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==vn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===vn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var En=["LS","LA","LC","LG"],jn=["RS","RA","RC","RG"],Bn={LS:{short:"LSHFT",full:"Left Shift"},LC:{short:"LCTRL",full:"Left Control"},LA:{short:"LALT",full:"Left Alt"},LG:{short:"LGUI",full:"Left Gui"},RS:{short:"RSHFT",full:"Right Shift"},RC:{short:"RCTRL",full:"Right Control"},RA:{short:"RALT",full:"Right Alt"},RG:{short:"RGUI",full:"Right Gui"}},Sn=" (This modifier is implicitly used by the active keycode and cannot be de-selected)";function wn(n){var e=n.selected,r=n.implicit,t=n.row,i=n.onChange;return(0,O.jsx)("ul",{className:hn.Z.modifiers,children:t.map((function(n,t){var a;return(0,O.jsx)("li",{title:Bn[n].full+(r.includes(n)?Sn:""),className:o()((a={},xn(a,hn.Z.selected,e.includes(n)),xn(a,hn.Z.implicit,r.includes(n)),a)),children:(0,O.jsxs)("label",{children:[(0,O.jsx)("input",{type:"checkbox",checked:e.includes(n)||r.includes(n),disabled:r.includes(n),onChange:function(r){i(r.target.checked?[].concat(gn(e),[n]):bn()(e,n))}})," ",(0,O.jsx)("span",{children:Bn[n].short})]})},t)}))})}function kn(n){var e=n.selected,r=n.implicit,t=n.onChange;return function(n,e,r){!function(n){var e,r,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).singleKeyOnly,o=void 0!==t&&t,i=(e=(0,u.useState)([]),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||yn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],a=(0,u.useCallback)((function(){return i([])}),[i]);(0,u.useEffect)((function(){function e(n){i((function(e){return o?[n.code]:[].concat(function(n){return function(n){if(Array.isArray(n))return mn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||yn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e),[n.code])}))}function r(e){i((function(r){return r.includes(e.code)&&setTimeout((function(){return n(e)})),bn()(r,e.code)}))}return document.body.addEventListener("keydown",e),document.body.addEventListener("keyup",r),document.body.addEventListener("focusout",a),function(){document.body.removeEventListener("keydown",e),document.body.removeEventListener("keyup",r),document.body.removeEventListener("focusout",a)}}),[o,i,n,a])}((0,u.useCallback)((function(t){var o=function(n){var e,r={Control:"C",Shift:"S",Alt:"A",Meta:"G"}[n.key],t=(e={},xn(e,KeyboardEvent.DOM_KEY_LOCATION_LEFT,"L"),xn(e,KeyboardEvent.DOM_KEY_LOCATION_RIGHT,"R"),e)[n.location];return r&&t?"".concat(t).concat(r):null}(t);o&&!e.includes(o)&&r(n.includes(o)?bn()(n,o):[].concat(gn(n),[o]))}),[n,e,r]),{singleKeyOnly:!0})}(e,r,t),(0,O.jsxs)("div",{className:hn.Z.allModifiers,children:[(0,O.jsx)(wn,{row:En,selected:e,implicit:r,onChange:t}),(0,O.jsx)(wn,{row:jn,selected:e,implicit:r,onChange:t})]})}kn.propTypes={selected:c().arrayOf(c().string),implicit:c().arrayOf(c().string),onChange:c().func.isRequired};var On=r(81404),Pn=r(39017);function Zn(n){return function(n){if(Array.isArray(n))return Dn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||Tn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tn(n,e){if(n){if("string"==typeof n)return Dn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dn(n,e):void 0}}function Dn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function In(n){var e=n.node,r=n.onSelect,t=n.onChange,o=n.onConfirm,i=n.behaviour,a=n.inline,l=(0,u.useContext)(A.c).getSearchTargets,c=(0,u.useMemo)((function(){return sn()((0,pn.H)(e),"source")}),[e]),s=(0,u.useMemo)((function(){return c.at(-1)}),[c]),d=(0,u.useMemo)((function(){var n;return null===(n=c.at(-1))||void 0===n?void 0:n.code}),[c]),p=(0,u.useMemo)((function(){return sn()(1===c.length?[]:c.slice(0,-1),"code")}),[c]),f=(0,u.useMemo)((function(){return l("code",i.code).filter((function(n){return 0===n.params.length}))}),[l,i]),b=(0,u.useCallback)((function(n){t((0,pn.n)(cn()([].concat(Zn(n),[d]))))}),[t,d]),y=(0,u.useCallback)((function(n){t((0,pn.n)(cn()([].concat(Zn(p),[null==n?void 0:n.code]))))}),[t,p]),m=(0,u.useCallback)((function(n,e){"dblclick"!==e.type?y(n):r((0,pn.n)(cn()([].concat(Zn(p),[null==n?void 0:n.code]))))}),[r,y,p]),h=a?qn:Mn;return(0,O.jsx)(h,{selectedModifiers:p,selectedKeycode:d,keycodeDefinition:s,choices:f,handleChangeModifiers:b,handleSelectKeycode:m,handleCancel:function(){r(e)},onConfirm:o})}function Mn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,i=n.choices,a=n.handleChangeModifiers,l=n.handleSelectKeycode,c=n.handleCancel,s=n.onConfirm,d=(0,u.useMemo)((function(){return{value:"&kp",params:[{value:r,params:[]}]}}),[r]),A=(0,Pn.wQ)(d);return(0,O.jsxs)("div",{className:o()(k.dialog,hn.Z.wrapper),children:[(0,O.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{children:"Keycode"}),(0,O.jsx)(An.Z,{className:hn.Z.previewKeycode,selectable:!1,children:(0,O.jsx)(On.Z,{node:A.params[0],onSelect:function(){}})})]}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{children:"Modifiers"}),(0,O.jsx)(kn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:a})]})]}),(0,O.jsx)("h3",{children:"Available Keycodes"}),(0,O.jsx)(G,{choices:i,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,initialChoice:r,onSelect:l,renderResult:Yn})}}),(0,O.jsx)(dn.Z,{className:hn.Z.quickCloseTip,children:(0,O.jsx)("span",{children:"Double-click to select and close the dialog"})}),(0,O.jsxs)("div",{style:{marginTop:"10px",textAlign:"center"},children:[(0,O.jsx)(nn.Z,{disabled:!r,onClick:s,children:"Confirm"}),(0,O.jsx)(nn.Z,{onClick:c,secondary:!0,children:"Cancel"})]})]})}function qn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,o=n.choices,i=n.handleChangeModifiers,a=n.handleSelectKeycode;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("h3",{children:"Modifiers"}),(0,O.jsx)(kn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:i}),(0,O.jsx)("h3",{children:"Available Keycodes"}),(0,O.jsx)(G,{choices:o,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,onSelect:a,initialChoice:r,renderResult:Yn})}})]})}function Yn(n){var e,r,t=(e=n.search||[],r=1,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||Tn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=t?(0,O.jsx)("span",{dangerouslySetInnerHTML:{__html:U().highlight(t)}}):(0,O.jsx)("span",{children:n.code}),i=function(n){var e=null==n?void 0:n.symbol,r=null==n?void 0:n.faIcon;return r?(0,O.jsx)(K.Z,{name:r}):e&&!n.aliases.includes(e)?e:void 0}(n);return(0,O.jsxs)("div",{className:hn.Z.resultItem,children:[(0,O.jsxs)("div",{className:hn.Z.description,children:[o,(0,O.jsx)("p",{className:k.description,children:n.description})]}),i&&(0,O.jsx)("div",{className:hn.Z.symbol,children:i})]})}function Rn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Nn(n){n&&(n.focus(),n.select())}function Un(n){var e,r,t=n.value,o=n.param,i=n.onSelect,a=(e=(0,u.useState)(t),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return Rn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rn(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1],s=(0,u.useCallback)((function(n){"Enter"===n.key&&i({code:l})}),[l,i]),d=(0,u.useCallback)((function(n){var e=n.target.value;"number"===o.type&&(e=Number(e),Number.isNaN(e))||c(e)}),[o,c]);return(0,O.jsx)("input",{ref:Nn,type:"text",value:l,onChange:d,onKeyDown:s})}In.propTypes=Y,Un.propTypes=Y;var Kn=r(95998),zn=r(80736);function Ln(n){var e=n.node,r=n.onSelect,t=(0,Kn.v9)(zn.vl),o=(0,u.useMemo)((function(){return t.map((function(n,e){return{code:e.toString(),description:n.name||"Layer ".concat(e)}}))}),[t]);return(0,O.jsx)(M,{results:o,initialChoice:e.value,onSelect:r,renderResult:function(n){return(0,O.jsxs)(O.Fragment,{children:[n.code,n.description&&(0,O.jsx)("p",{className:k.description,children:n.description})]})}})}Ln.propTypes=Y;var Qn=["prompt","onCancel"];function Wn(n){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Wn(n)}function Xn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function Hn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xn(Object(r),!0).forEach((function(e){_n(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function _n(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Wn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Wn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Wn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Gn(n){var e=n.node,r=n.type,t=n.onSelect,i=n.onChange,l=n.onConfirm,c=a()(n,["node","value","prompt","param","behaviour","context","searchKey","inline"]),s=(0,u.useMemo)((function(){var n;return"tree"===r&&"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?an:e.slot.raw||"placeholder"===e.slot.type?Un:e.slot.enum?R:"code"===e.slot?In:"layer"===e.slot?Ln:J}),[e,r]);return(0,O.jsx)("div",{className:o()(k.wrapper,_n({},k.inline,n.inline)),children:(0,O.jsx)(s,Hn(Hn({},c),{},{param:e.slot,onSelect:t,onChange:i,onConfirm:l}))})}function Fn(n){var e=n.prompt,r=n.onCancel,t=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,Qn);return(0,O.jsx)(d.Z,{onDismiss:r,children:(0,O.jsxs)(s.Z,{dismissText:null,classes:[k.dialogWrapper],children:[(0,O.jsx)("h2",{children:e}),(0,O.jsx)(Gn,Hn({},t))]})})}Gn.propTypes={type:c().string.isRequired,node:q.le.isRequired,behaviour:c().object.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,inline:c().bool,onCancel:c().func,onUpdate:c().func,onSelect:c().func.isRequired},Gn.defaultProps={type:"value",value:"",freeForm:!1,inline:!1,searchThreshold:10},Fn.propTypes={type:c().string.isRequired,node:q.le.isRequired,behaviour:c().object.isRequired,prompt:c().string.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,onCancel:c().func.isRequired,onChange:c().func,onSelect:c().func.isRequired}},56281:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,"button.pi2Ig8c3Fdh4H2Jpxdo7 {\n display: inline-block;\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n\n font-size: 16px;\n border: none;\n border-radius: 5px;\n padding: 0 5px;\n\n height: 30px;\n line-height: 30px;\n vertical-align: middle;\n}\n\nbutton.Ctpu4E2dZYJ6g8CUGFOF {\n color: var(--fg);\n background-color: transparent;\n}\n\nbutton.pi2Ig8c3Fdh4H2Jpxdo7[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n","",{version:3,sources:["webpack://./src/Common/action-button.module.css"],names:[],mappings:"AAAA;EACE,qBAAqB;EACrB,eAAe;EACf,wCAAwC;EACxC,YAAY;;EAEZ,eAAe;EACf,YAAY;EACZ,kBAAkB;EAClB,cAAc;;EAEd,YAAY;EACZ,iBAAiB;EACjB,sBAAsB;AACxB;;AAEA;EACE,gBAAgB;EAChB,6BAA6B;AAC/B;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,mBAAmB;AACrB",sourcesContent:["button.action {\n display: inline-block;\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n\n font-size: 16px;\n border: none;\n border-radius: 5px;\n padding: 0 5px;\n\n height: 30px;\n line-height: 30px;\n vertical-align: middle;\n}\n\nbutton.secondary {\n color: var(--fg);\n background-color: transparent;\n}\n\nbutton.action[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n"],sourceRoot:""}]),a.locals={action:"pi2Ig8c3Fdh4H2Jpxdo7",secondary:"Ctpu4E2dZYJ6g8CUGFOF"},e.Z=a},528:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".sq9i7hQeTeeKuarmO8oA {\n display: inline-block;\n font-size: 70%;\n background: rgba(0, 0, 0, 0.5);\n color: white;\n padding: 4px;\n border-radius: 4px;\n width: max-content;\n}\n","",{version:3,sources:["webpack://./src/Common/tip.module.css"],names:[],mappings:"AAAA;EACE,qBAAqB;EACrB,cAAc;EACd,8BAA8B;EAC9B,YAAY;EACZ,YAAY;EACZ,kBAAkB;EAClB,kBAAkB;AACpB",sourcesContent:[".tip {\n display: inline-block;\n font-size: 70%;\n background: rgba(0, 0, 0, 0.5);\n color: white;\n padding: 4px;\n border-radius: 4px;\n width: max-content;\n}\n"],sourceRoot:""}]),a.locals={tip:"sq9i7hQeTeeKuarmO8oA"},e.Z=a},14409:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.AmikJd3HeM7NGUa8io2A {\n width: 350px;\n}\n\n.dAV6OQxNVA4AUwWKyxqw {\n width: 100%;\n background-color: transparent;\n}\n\n.AmikJd3HeM7NGUa8io2A h3:first-child {\n margin-top: 0px;\n}\n\n.xCOOsvxL5qQ3kR8ri91A {\n pointer-events: none;\n box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\n}\n\n.Ox9WHfAMFuthXo6ZOJoI {\n padding: 2px 0;\n}\n\n.u4uW9U2E0DfbUM9vP9pf {\n padding: 0;\n margin: 0;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li {\n display: inline-block;\n font-family: monospace, monospace;\n font-size: 70%;\n margin: 2px;\n border-radius: 2px;\n\n background-color: rgba(0, 0, 0, .5);\n opacity: 0.5;\n color: white;\n}\n.u4uW9U2E0DfbUM9vP9pf li label {\n display: inline-block;\n padding: 4px;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.YcHSun3PLo8dCb9qIZtc {\n opacity: 1;\n background-color: var(--selection);\n color: white;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm {\n background-color: var(--error-highlight);\n filter: saturate(50%);\n}\n\n.u4uW9U2E0DfbUM9vP9pf li:not(.Ix6wQt3EBFUH2PUcsqgm):hover {\n opacity: 1;\n background-color: var(--hover-selection);\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm:hover * {\n cursor: not-allowed;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li input[type="checkbox"] {\n margin: 0;\n vertical-align: text-bottom;\n}\n\n.d3hMEDpEkH8H7YLG_NjI {\n width: 100% !important;\n box-sizing: border-box;\n text-align: center;\n}\n\n.gFHbtpz6TuduOVYLXwHu {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.AfAg5j2RJEcA0Zh3z7mX {\n flex-grow: 1;\n}\n\n.YeOANHLbze2W1EGYOFiI {\n font-size: 120%;\n padding: 6px 10px;\n color: white !important;\n background-color: rgba(30, 30, 30, 0.4);\n border-radius: 5px;\n}\n\n/* .modifier, */\n.pDc69k_ZSCzl167cUYy8 {\n background-color: rgba(30, 30, 30, 0.1);\n border-radius: 5px;\n padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n /* body:not([data-theme="light"]) .modifier, */\n body:not([data-theme="light"]) .pDc69k_ZSCzl167cUYy8 {\n background-color: rgb(30, 30, 30, 0.3);\n }\n}\n\n.pDc69k_ZSCzl167cUYy8 .hHrbV5DBivuXAbTelsAB {\n margin-right: 2px;\n}\n\n.pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n background-color: var(--key-bg-base);\n padding: 0px 3px;\n border-radius: 4px;\n}\n\n.'+l.Z.locals.key+":hover .pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n background-color: var(--hover-selection);\n}\n","",{version:3,sources:["webpack://./src/EnhancedPickers/Keycode/styles.module.css"],names:[],mappings:"AAAA,qDAAqD;;AAKrD;EACE,YAAY;AACd;;AAEA;EACE,WAAW;EACX,6BAA6B;AAC/B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,oBAAoB;EACpB,6CAA6C;AAC/C;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,UAAU;EACV,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,iCAAiC;EACjC,cAAc;EACd,WAAW;EACX,kBAAkB;;EAElB,mCAAmC;EACnC,YAAY;EACZ,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,YAAY;AACd;;AAEA;EACE,UAAU;EACV,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,wCAAwC;EACxC,qBAAqB;AACvB;;AAEA;EACE,UAAU;EACV,wCAAwC;AAC1C;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,eAAe;EACf,iBAAiB;EACjB,uBAAuB;EACvB,uCAAuC;EACvC,kBAAkB;AACpB;;AAEA,eAAe;AACf;EACE,uCAAuC;EACvC,kBAAkB;EAClB,YAAY;AACd;;AAEA;EACE,8CAA8C;EAC9C;IACE,sCAAsC;EACxC;AACF;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,oCAAoC;EACpC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,wCAAwC;AAC1C",sourcesContent:['/* @import "../../Keyboard/Keys/styles.module.css"; */\n:import("../../Keyboard/Keys/styles.module.css") {\n key: key;\n}\n\n.wrapper {\n width: 350px;\n}\n\n.inline {\n width: 100%;\n background-color: transparent;\n}\n\n.wrapper h3:first-child {\n margin-top: 0px;\n}\n\n.previewKeycode {\n pointer-events: none;\n box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\n}\n\n.allModifiers {\n padding: 2px 0;\n}\n\n.modifiers {\n padding: 0;\n margin: 0;\n}\n\n.modifiers li {\n display: inline-block;\n font-family: monospace, monospace;\n font-size: 70%;\n margin: 2px;\n border-radius: 2px;\n\n background-color: rgba(0, 0, 0, .5);\n opacity: 0.5;\n color: white;\n}\n.modifiers li label {\n display: inline-block;\n padding: 4px;\n}\n\n.modifiers li.selected {\n opacity: 1;\n background-color: var(--selection);\n color: white;\n}\n\n.modifiers li.implicit {\n background-color: var(--error-highlight);\n filter: saturate(50%);\n}\n\n.modifiers li:not(.implicit):hover {\n opacity: 1;\n background-color: var(--hover-selection);\n}\n\n.modifiers li.implicit:hover * {\n cursor: not-allowed;\n}\n\n.modifiers li input[type="checkbox"] {\n margin: 0;\n vertical-align: text-bottom;\n}\n\n.quickCloseTip {\n width: 100% !important;\n box-sizing: border-box;\n text-align: center;\n}\n\n.resultItem {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.description {\n flex-grow: 1;\n}\n\n.symbol {\n font-size: 120%;\n padding: 6px 10px;\n color: white !important;\n background-color: rgba(30, 30, 30, 0.4);\n border-radius: 5px;\n}\n\n/* .modifier, */\n.keycodeWithModifiers {\n background-color: rgba(30, 30, 30, 0.1);\n border-radius: 5px;\n padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n /* body:not([data-theme="light"]) .modifier, */\n body:not([data-theme="light"]) .keycodeWithModifiers {\n background-color: rgb(30, 30, 30, 0.3);\n }\n}\n\n.keycodeWithModifiers .appliedModifierSymbols {\n margin-right: 2px;\n}\n\n.keycodeWithModifiers .modifiedKeycodeSymbol {\n background-color: var(--key-bg-base);\n padding: 0px 3px;\n border-radius: 4px;\n}\n\n.key:hover .keycodeWithModifiers .modifiedKeycodeSymbol {\n background-color: var(--hover-selection);\n}\n'],sourceRoot:""}]),c.locals={wrapper:"AmikJd3HeM7NGUa8io2A",inline:"dAV6OQxNVA4AUwWKyxqw",previewKeycode:"xCOOsvxL5qQ3kR8ri91A",allModifiers:"Ox9WHfAMFuthXo6ZOJoI",modifiers:"u4uW9U2E0DfbUM9vP9pf",selected:"YcHSun3PLo8dCb9qIZtc",implicit:"Ix6wQt3EBFUH2PUcsqgm",quickCloseTip:"d3hMEDpEkH8H7YLG_NjI",resultItem:"gFHbtpz6TuduOVYLXwHu",description:"AfAg5j2RJEcA0Zh3z7mX",symbol:"YeOANHLbze2W1EGYOFiI",keycodeWithModifiers:"pDc69k_ZSCzl167cUYy8",appliedModifierSymbols:"hHrbV5DBivuXAbTelsAB",modifiedKeycodeSymbol:"hutggzXLuv58uTDC0MZg"},e.Z=c},33151:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.'+l.Z.locals.key+" .ElYzpTlttqVbs6KKy9ob {\n align-self: center;\n}\n."+l.Z.locals.extracted+" .ElYzpTlttqVbs6KKy9ob {\n display: inline-block;\n border-bottom: .15em dotted var(--key-color-base);\n box-sizing: border-box;\n padding: 6px .25em;\n}\n\n:hover .ElYzpTlttqVbs6KKy9ob:hover {\n cursor: pointer;\n background-color: var(--hover-selection);\n border-radius: 0;\n border-radius: 3px;\n}\n\n.rdE_HhSUTcg2dK35N2WA {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 1em;\n aspect-ratio: 1;\n border-radius: 2px;\n}\n\n."+l.Z.locals.extracted+" .rdE_HhSUTcg2dK35N2WA {\n display: inline-block;\n}\n","",{version:3,sources:["webpack://./src/EnhancedPickers/RGB/styles.module.css"],names:[],mappings:"AAAA,qDAAqD;;AAMrD;EACE,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,iDAAiD;EACjD,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,qBAAqB;AACvB",sourcesContent:['/* @import "../../Keyboard/Keys/styles.module.css"; */\n:import("../../Keyboard/Keys/styles.module.css") {\n key: key;\n extracted: extracted;\n}\n\n.key .colorIconWrapper {\n align-self: center;\n}\n.extracted .colorIconWrapper {\n display: inline-block;\n border-bottom: .15em dotted var(--key-color-base);\n box-sizing: border-box;\n padding: 6px .25em;\n}\n\n:hover .colorIconWrapper:hover {\n cursor: pointer;\n background-color: var(--hover-selection);\n border-radius: 0;\n border-radius: 3px;\n}\n\n.colorIcon {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 1em;\n aspect-ratio: 1;\n border-radius: 2px;\n}\n\n.extracted .colorIcon {\n display: inline-block;\n}\n'],sourceRoot:""}]),c.locals={colorIconWrapper:"ElYzpTlttqVbs6KKy9ob",colorIcon:"rdE_HhSUTcg2dK35N2WA"},e.Z=c},31259:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.vkwsKfJdRwBqJsa6XLtK {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.vkwsKfJdRwBqJsa6XLtK p { margin: 5px 0; }\n\n.Za5_vxc5rEvMTUQh2BzW {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.DdULxV1MLLuhoFdYrsvp {\n text-align: center;\n}\n\n.ZUn8lbtdY0Tn_RG3i3pz {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.Q4AvqwYH1uAkPM9EnXMo {\n margin: 0;\n padding-left: 15px;\n}\n.Q4AvqwYH1uAkPM9EnXMo[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.Q4AvqwYH1uAkPM9EnXMo li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.daj2D9YH7o5FkuRCGRKw {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.ECcVyZa4GyjklIgcnoqr {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.pW09rdsSXEQ2ayWrJAON {\n background-color: var(--selection);\n color: white;\n}\n\n.l9K6SYcfaIEZkOSBRoMw {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.l9K6SYcfaIEZkOSBRoMw:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}',"",{version:3,sources:["webpack://./src/Keyboard/BindingEditor/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,2BAA2B;EAC3B,qBAAqB;EACrB,mBAAmB;EACnB,4CAA4C;EAC5C,cAAc;EACd,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA,0BAAY,aAAa,EAAE;;AAE3B;EACE,aAAa;EACb,UAAU;EACV,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,eAAe;AACjB;AACA;EACE,kBAAkB;EAClB,qBAAqB;AACvB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,2CAA2C;EAC3C,oBAAoB;EACpB,SAAS;AACX;;AAEA;EACE,kBAAkB;;EAElB,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;;EAEjB,aAAa;EACb;AACF;;AAEA;EACE,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,OAAO;EACP,QAAQ;;EAER,cAAc;;EAEd,0BAA0B;EAC1B,+CAA+C;;EAE/C,kCAAkC;EAClC,uBAAuB;EACvB,oCAAoC;EACpC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,oCAAoC;AACtC",sourcesContent:['.notice {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.notice p { margin: 5px 0; }\n\n.dialogBox {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.dialogActions {\n text-align: center;\n}\n\n.mainPanel {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.parameterSlots {\n margin: 0;\n padding-left: 15px;\n}\n.parameterSlots[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.parameterSlots li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.keyBindingHeader {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.editPanel {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.editing {\n background-color: var(--selection);\n color: white;\n}\n\n.editPanelClose {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.editPanelClose:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}'],sourceRoot:""}]),a.locals={notice:"vkwsKfJdRwBqJsa6XLtK",dialogBox:"Za5_vxc5rEvMTUQh2BzW",dialogActions:"DdULxV1MLLuhoFdYrsvp",mainPanel:"ZUn8lbtdY0Tn_RG3i3pz",parameterSlots:"Q4AvqwYH1uAkPM9EnXMo",keyBindingHeader:"daj2D9YH7o5FkuRCGRKw",editPanel:"ECcVyZa4GyjklIgcnoqr",editing:"pW09rdsSXEQ2ayWrJAON",editPanelClose:"l9K6SYcfaIEZkOSBRoMw"},e.Z=a},2:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.CoLZlKR1WcMrFd9XhDMC {\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\n\tfont-family: Quicksand, avenir, sans-serif;\n\n\t/* TODO: remove this once I have a wrapper with size defaults */\n\twidth: 65px;\n\theight: 65px;\n\n\tfont-size: 110%;\n\tborder-radius: 5px;\n}\n\n.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi { cursor: pointer; }\n.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi * {\n\tpointer-events: none;\n\tborder: none;\n\ttext-decoration: none !important;\n}\n\n\n.CT4uGhwl8sY0LwT3p39g:not(:hover) .UNzQquWsoIanOpIN0Q9L,\n.OsA2qRpHoDPcN93o_TUX:not(:hover) .DejZXCvvhJILPbs9Q8ht.UNzQquWsoIanOpIN0Q9L {\n\ttext-decoration: underline wavy var(--error-highlight);\n\ttext-underline-offset: 4px;\n\tcolor: var(--error-highlight);\n\tfont-weight: bold;\n}\n\n.Y5EVt8b0BaXNd9uLxhfh {\n\tposition: absolute;\n\tleft: 2px;\n\tbottom: 2px;\n\tfont-size: 80%;\n\n\tanimation: sYr3l9y03JxO_2AP73jr ease-in-out 1s alternate-reverse;\n}\n.Y5EVt8b0BaXNd9uLxhfh:hover {\n\tcolor: rgb(255, 225, 0);\n}\n\n@keyframes sYr3l9y03JxO_2AP73jr {\n\t0% { color: var(--key-color-base) }\n\t100% { color: var(--key-color-extreme) }\n}\n\n.huQDP3GbTLThbVIP8wFp {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.CoLZlKR1WcMrFd9XhDMC:hover {\n\tbackground-color: var(--hover-selection);\n\ttransition: 200ms;\n\tz-index: 1;\n}\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht, .CoLZlKR1WcMrFd9XhDMC:hover .GliE4Ybwli9X6TNTjD1_ {\n\tcolor: var(--key-color-hover);\n}\n.CoLZlKR1WcMrFd9XhDMC > .DejZXCvvhJILPbs9Q8ht {\n\tpadding: 5px;\n}\n\n.mLz637Atn0jZXey6Rx4v {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n[data-simple="true"] { font-size: 140%; }\n[data-long="true"] { font-size: 60%; }\n\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"])::before { content: \'(\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"])::after { content: \')\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"]) .mLz637Atn0jZXey6Rx4v:not(:last-child)::after { content: \',\'; }\n\n.DejZXCvvhJILPbs9Q8ht {\n\tcursor: default;\n\tpadding: 0px 4px;\n\tmargin-left: -2px;\n\tmargin-right: -2px;\n}\n\n.CT4uGhwl8sY0LwT3p39g .DejZXCvvhJILPbs9Q8ht {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tbox-sizing: content-box;\n\tmin-width: 0.5em;\n\ttext-align: center;\n\tborder-radius: 4px;\n}\n\n.DejZXCvvhJILPbs9Q8ht * {\n\tpointer-events: none;\n}\n\n.OsA2qRpHoDPcN93o_TUX {\n\t/* display: inline-block; */\n\tmargin: 0 5px;\n\tfont-family: Quicksand, avenir, sans-serif;\n\tfont-size: 110%;\n}\n.OsA2qRpHoDPcN93o_TUX .mLz637Atn0jZXey6Rx4v {\n\talign-items: center;\n\tgap: 6px;\n}\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht {\n\talign-items: center;\n\tpadding: 6px 12px;\n\tborder-radius: 5px;\n\tcolor: var(--key-color-base);\n\tborder-bottom: .15em dotted var(--key-color-base);\n\tborder-radius: 0;\n}\n\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht:hover,\n.OsA2qRpHoDPcN93o_TUX.sqfL6SjYMWzHXm3D6bOd .DejZXCvvhJILPbs9Q8ht {\n\tbackground-color: var(--hover-selection);\n\tborder-radius: 5px;\n\tcolor: white;\n\tcursor: pointer;\n}\n\n.DejZXCvvhJILPbs9Q8ht code+*::before {\n\tcontent: "|";\n\tbackground-color: transparent;\n\tmargin: auto 5px;\n}\n\n.GliE4Ybwli9X6TNTjD1_ {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 10px;\n padding: 2px;\n opacity: 0.8;\n}\n',"",{version:3,sources:["webpack://./src/Keyboard/Keys/styles.module.css"],names:[],mappings:"AAAA;CACC,kBAAkB;CAClB,aAAa;CACb,uBAAuB;CACvB,mBAAmB;;CAEnB,0CAA0C;;CAE1C,+DAA+D;CAC/D,WAAW;CACX,YAAY;;CAEZ,eAAe;CACf,kBAAkB;AACnB;;AAEA,6CAAe,eAAe,EAAE;AAChC;CACC,oBAAoB;CACpB,YAAY;CACZ,gCAAgC;AACjC;;;AAGA;;CAEC,sDAAsD;CACtD,0BAA0B;CAC1B,6BAA6B;CAC7B,iBAAiB;AAClB;;AAEA;CACC,kBAAkB;CAClB,SAAS;CACT,WAAW;CACX,cAAc;;CAEd,gEAAiD;AAClD;AACA;CACC,uBAAuB;AACxB;;AAEA;CACC,KAAK,6BAA6B;CAClC,OAAO,gCAAgC;AACxC;;AAEA;CACC,4BAA4B;CAC5B,oCAAoC;AACrC;;AAEA;CACC,wCAAwC;CACxC,iBAAiB;CACjB,UAAU;AACX;AACA;CACC,6BAA6B;AAC9B;AACA;CACC,YAAY;AACb;;AAEA;CACC,oBAAoB;CACpB,mBAAmB;AACpB;;AAEA,uBAAuB,eAAe,EAAE;AACxC,qBAAqB,cAAc,EAAE;;AAErC,2DAA6C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACzG,0DAA4C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACxG,iGAAoE,YAAY,EAAE;;AAElF;CACC,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,kBAAkB;AACnB;;AAEA;CACC,eAAe;CACf,qBAAqB;CACrB,uBAAuB;CACvB,gBAAgB;CAChB,kBAAkB;CAClB,kBAAkB;AACnB;;AAEA;CACC,oBAAoB;AACrB;;AAEA;CACC,2BAA2B;CAC3B,aAAa;CACb,0CAA0C;CAC1C,eAAe;AAChB;AACA;CACC,mBAAmB;CACnB,QAAQ;AACT;AACA;CACC,mBAAmB;CACnB,iBAAiB;CACjB,kBAAkB;CAClB,4BAA4B;CAC5B,iDAAiD;CACjD,gBAAgB;AACjB;;AAEA;;CAEC,wCAAwC;CACxC,kBAAkB;CAClB,YAAY;CACZ,eAAe;AAChB;;AAEA;CACC,YAAY;CACZ,6BAA6B;CAC7B,gBAAgB;AACjB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,eAAe;EACf,YAAY;EACZ,YAAY;AACd",sourcesContent:['.key {\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\n\tfont-family: Quicksand, avenir, sans-serif;\n\n\t/* TODO: remove this once I have a wrapper with size defaults */\n\twidth: 65px;\n\theight: 65px;\n\n\tfont-size: 110%;\n\tborder-radius: 5px;\n}\n\n.key.unified { cursor: pointer; }\n.key.unified * {\n\tpointer-events: none;\n\tborder: none;\n\ttext-decoration: none !important;\n}\n\n\n.selectable:not(:hover) .missingValue,\n.extracted:not(:hover) .code.missingValue {\n\ttext-decoration: underline wavy var(--error-highlight);\n\ttext-underline-offset: 4px;\n\tcolor: var(--error-highlight);\n\tfont-weight: bold;\n}\n\n.missing {\n\tposition: absolute;\n\tleft: 2px;\n\tbottom: 2px;\n\tfont-size: 80%;\n\n\tanimation: pulse ease-in-out 1s alternate-reverse;\n}\n.missing:hover {\n\tcolor: rgb(255, 225, 0);\n}\n\n@keyframes pulse {\n\t0% { color: var(--key-color-base) }\n\t100% { color: var(--key-color-extreme) }\n}\n\n.keyDefaultTheme {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.key:hover {\n\tbackground-color: var(--hover-selection);\n\ttransition: 200ms;\n\tz-index: 1;\n}\n.key:hover .code, .key:hover .behaviour-binding {\n\tcolor: var(--key-color-hover);\n}\n.key > .code {\n\tpadding: 5px;\n}\n\n.param {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n[data-simple="true"] { font-size: 140%; }\n[data-long="true"] { font-size: 60%; }\n\n.params:not([data-is-root="true"])::before { content: \'(\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.params:not([data-is-root="true"])::after { content: \')\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.params:not([data-is-root="true"]) .param:not(:last-child)::after { content: \',\'; }\n\n.code {\n\tcursor: default;\n\tpadding: 0px 4px;\n\tmargin-left: -2px;\n\tmargin-right: -2px;\n}\n\n.selectable .code {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tbox-sizing: content-box;\n\tmin-width: 0.5em;\n\ttext-align: center;\n\tborder-radius: 4px;\n}\n\n.code * {\n\tpointer-events: none;\n}\n\n.extracted {\n\t/* display: inline-block; */\n\tmargin: 0 5px;\n\tfont-family: Quicksand, avenir, sans-serif;\n\tfont-size: 110%;\n}\n.extracted .param {\n\talign-items: center;\n\tgap: 6px;\n}\n.extracted .code {\n\talign-items: center;\n\tpadding: 6px 12px;\n\tborder-radius: 5px;\n\tcolor: var(--key-color-base);\n\tborder-bottom: .15em dotted var(--key-color-base);\n\tborder-radius: 0;\n}\n\n.extracted .code:hover,\n.extracted.highlight .code {\n\tbackground-color: var(--hover-selection);\n\tborder-radius: 5px;\n\tcolor: white;\n\tcursor: pointer;\n}\n\n.code code+*::before {\n\tcontent: "|";\n\tbackground-color: transparent;\n\tmargin: auto 5px;\n}\n\n.behaviour-binding {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 10px;\n padding: 2px;\n opacity: 0.8;\n}\n'],sourceRoot:""}]),a.locals={key:"CoLZlKR1WcMrFd9XhDMC",unified:"MZMfZSmJbwqqfp28UUOi",selectable:"CT4uGhwl8sY0LwT3p39g",missingValue:"UNzQquWsoIanOpIN0Q9L",extracted:"OsA2qRpHoDPcN93o_TUX",code:"DejZXCvvhJILPbs9Q8ht",missing:"Y5EVt8b0BaXNd9uLxhfh",pulse:"sYr3l9y03JxO_2AP73jr",keyDefaultTheme:"huQDP3GbTLThbVIP8wFp","behaviour-binding":"GliE4Ybwli9X6TNTjD1_",param:"mLz637Atn0jZXey6Rx4v",params:"ApHDJFJGYUaGTgzMeIKZ",highlight:"sqfL6SjYMWzHXm3D6bOd"},e.Z=a},47881:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.sP2kDRoTZElZUTNHq033 {\n\twidth: 300px;\n\tbackground-color: var(--dialog-bg);\n}\n\n.yaxqlR_GEWJ1lBISL3_N {\n min-width: 300px;\n\tpadding: 15px\n}\n\n.lPSkq707ZDxmzbGw5Qqy.CKvAtM2VhDdTBOb8bZBb {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.lPSkq707ZDxmzbGw5Qqy input[type="text"] {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 30px;\n\tline-height: 30px;\n\n\tfont-size: 120%;\n\tmargin: 0;\n\tpadding: 4px;\n\tborder: none;\n\tborder-radius: 4px;\n box-sizing: border-box;\n}\nul.inAS9Qunkf3g5K3xz6o6 {\n\tposition: relative;\n\tfont-family: monospace;\n\tlist-style-position: inside;\n\tlist-style-type: none;\n\tmax-height: 300px;\n\toverflow: scroll;\n\tpadding: 4px;\n margin: 4px 0;\n\tbackground: rgba(0, 0, 0, 0.75);\n\tborder-radius: 4px;\n}\n.CKvAtM2VhDdTBOb8bZBb ul.inAS9Qunkf3g5K3xz6o6 {\n\tflex-grow: 1;\n\tmax-height: initial;\n}\n.inAS9Qunkf3g5K3xz6o6 li {\n\tcursor: pointer;\n\tcolor: white;\n\tpadding: 5px;\n}\n.inAS9Qunkf3g5K3xz6o6 li:hover, .inAS9Qunkf3g5K3xz6o6 li.BL7Cxrn_efblQXY3W1Sw {\n\tbackground: white;\n\tcolor: black;\n}\n.inAS9Qunkf3g5K3xz6o6 li b { color: dodgerblue; }\n.inAS9Qunkf3g5K3xz6o6 li .uld0XaeoQaQJJwp0LT0X {\n\tfont-style: italic;\n\tfont-size: 90%;\n\tmargin: 0;\n\tcolor: gray;\n}\n\n.pqiZQublKXvmnT_ESDxQ {\n font-size: 10px;\n}\n\n.pqiZQublKXvmnT_ESDxQ a {\n color: var(--selection);\n border-bottom: 1px dotted var(--selection);\n cursor: pointer;\n}\n\n.ECUs4g2j1rekP4xxgQDr {\n position: relative;\n}\n.lPSkq707ZDxmzbGw5Qqy .ECUs4g2j1rekP4xxgQDr input {\n padding-left: 30px;\n}\n\n.xDUAgQZeBp0TZSOqCwHm {\n position: absolute;\n\ttop: 50%;\n\tleft: 10px;\n\ttransform: translateY(-50%);\n\tpointer-events: none;\n}\n.eY5zRl49sESLjXmizMEP {\n position: absolute;\n\ttop: 50%;\n\tright: 10px;\n\ttransform: translateY(-50%);\n\tcursor: pointer;\n}',"",{version:3,sources:["webpack://./src/ValuePicker/style.module.css"],names:[],mappings:"AAAA;CACC,YAAY;CACZ,kCAAkC;AACnC;;AAEA;EACE,gBAAgB;CACjB;AACD;;AAEA;CACC,YAAY;CACZ,aAAa;CACb,sBAAsB;CACtB,uBAAuB;AACxB;;AAEA;CACC,cAAc;CACd,WAAW;CACX,YAAY;CACZ,iBAAiB;;CAEjB,eAAe;CACf,SAAS;CACT,YAAY;CACZ,YAAY;CACZ,kBAAkB;EACjB,sBAAsB;AACxB;AACA;CACC,kBAAkB;CAClB,sBAAsB;CACtB,2BAA2B;CAC3B,qBAAqB;CACrB,iBAAiB;CACjB,gBAAgB;CAChB,YAAY;EACX,aAAa;CACd,+BAA+B;CAC/B,kBAAkB;AACnB;AACA;CACC,YAAY;CACZ,mBAAmB;AACpB;AACA;CACC,eAAe;CACf,YAAY;CACZ,YAAY;AACb;AACA;CACC,iBAAiB;CACjB,YAAY;AACb;AACA,6BAAgB,iBAAiB,EAAE;AACnC;CACC,kBAAkB;CAClB,cAAc;CACd,SAAS;CACT,WAAW;AACZ;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,uBAAuB;EACvB,0CAA0C;EAC1C,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;CACnB,QAAQ;CACR,UAAU;CACV,2BAA2B;CAC3B,oBAAoB;AACrB;AACA;EACE,kBAAkB;CACnB,QAAQ;CACR,WAAW;CACX,2BAA2B;CAC3B,eAAe;AAChB",sourcesContent:['.dialog {\n\twidth: 300px;\n\tbackground-color: var(--dialog-bg);\n}\n\n.dialogWrapper {\n min-width: 300px;\n\tpadding: 15px\n}\n\n.wrapper.inline {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.wrapper input[type="text"] {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 30px;\n\tline-height: 30px;\n\n\tfont-size: 120%;\n\tmargin: 0;\n\tpadding: 4px;\n\tborder: none;\n\tborder-radius: 4px;\n box-sizing: border-box;\n}\nul.results {\n\tposition: relative;\n\tfont-family: monospace;\n\tlist-style-position: inside;\n\tlist-style-type: none;\n\tmax-height: 300px;\n\toverflow: scroll;\n\tpadding: 4px;\n margin: 4px 0;\n\tbackground: rgba(0, 0, 0, 0.75);\n\tborder-radius: 4px;\n}\n.inline ul.results {\n\tflex-grow: 1;\n\tmax-height: initial;\n}\n.results li {\n\tcursor: pointer;\n\tcolor: white;\n\tpadding: 5px;\n}\n.results li:hover, .results li.highlighted {\n\tbackground: white;\n\tcolor: black;\n}\n.results li b { color: dodgerblue; }\n.results li .description {\n\tfont-style: italic;\n\tfont-size: 90%;\n\tmargin: 0;\n\tcolor: gray;\n}\n\n.choices-counter {\n font-size: 10px;\n}\n\n.choices-counter a {\n color: var(--selection);\n border-bottom: 1px dotted var(--selection);\n cursor: pointer;\n}\n\n.searchWrapper {\n position: relative;\n}\n.wrapper .searchWrapper input {\n padding-left: 30px;\n}\n\n.searchIcon {\n position: absolute;\n\ttop: 50%;\n\tleft: 10px;\n\ttransform: translateY(-50%);\n\tpointer-events: none;\n}\n.clearSearchIcon {\n position: absolute;\n\ttop: 50%;\n\tright: 10px;\n\ttransform: translateY(-50%);\n\tcursor: pointer;\n}'],sourceRoot:""}]),a.locals={dialog:"sP2kDRoTZElZUTNHq033",dialogWrapper:"yaxqlR_GEWJ1lBISL3_N",wrapper:"lPSkq707ZDxmzbGw5Qqy",inline:"CKvAtM2VhDdTBOb8bZBb",results:"inAS9Qunkf3g5K3xz6o6",highlighted:"BL7Cxrn_efblQXY3W1Sw",description:"uld0XaeoQaQJJwp0LT0X","choices-counter":"pqiZQublKXvmnT_ESDxQ",searchWrapper:"ECUs4g2j1rekP4xxgQDr",searchIcon:"xDUAgQZeBp0TZSOqCwHm",clearSearchIcon:"eY5zRl49sESLjXmizMEP"},e.Z=a},38356:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),p=r(44589),f=r.n(p),b=r(14409),y={};y.styleTagTransform=f(),y.setAttributes=s(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=A(),o()(b.Z,y),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},94596:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),p=r(44589),f=r.n(p),b=r(31259),y={};y.styleTagTransform=f(),y.setAttributes=s(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=A(),o()(b.Z,y),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},61953:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),p=r(44589),f=r.n(p),b=r(2),y={};y.styleTagTransform=f(),y.setAttributes=s(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=A(),o()(b.Z,y),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0}}]); +//# sourceMappingURL=6538.facfdddbe6ecd6bfbb2e.js.map
\ No newline at end of file diff --git a/ClipboardPicker.2c0e8b8f6b6ee99c8298.js b/ClipboardPicker.2c0e8b8f6b6ee99c8298.js new file mode 100644 index 0000000..37bfc9a --- /dev/null +++ b/ClipboardPicker.2c0e8b8f6b6ee99c8298.js @@ -0,0 +1,3 @@ +/*! For license information please see ClipboardPicker.2c0e8b8f6b6ee99c8298.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5708],{80460:function(t,e,r){var n=r(58354),o=r(80351);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},11823:function(t,e,r){"use strict";r.r(e),r.d(e,{ClipboardPicker:function(){return De},default:function(){return Ge}});var n=r(50361),o=r.n(n),i=r(67294),a=r(6121);function c(t,e){(0,a.Kz)("CLIPBOARD_UPDATE_KEYMAP",{keyboard:t,keymap:u(e)})}function u(t){return{warningFlags:t.warningFlags,layers:t.layers.length,behaviors:t.behaviors.length,combos:t.combos.length,macros:t.macros.length}}var l=r(97168),s=r(57557),f=r.n(s);function y(t){return y="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},y(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,m(n.key),n)}}function m(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===y(e)?e:String(e)}var b=new(function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.prefix=e,this._slots=JSON.parse(localStorage.getItem(this._slotKey(""))||"[]")}var e,r;return e=t,(r=[{key:"_slotKey",value:function(t){var e="".concat(this.prefix,"_slots");return t?"".concat(e,":").concat(t):e}},{key:"_selectionKey",value:function(){return"".concat(this.prefix,"_selected_slot")}},{key:"_flushSlots",value:function(){localStorage.setItem(this._slotKey(""),JSON.stringify(this._slots))}},{key:"keyboards",get:function(){return JSON.parse(localStorage.getItem(this._slotKey(""))||"[]")},set:function(t){localStorage.setItem(this._slotKey("",JSON.stringify(t)))}},{key:"getEntry",value:function(t){return JSON.parse(localStorage.getItem(this._slotKey(t))||"null")}},{key:"setEntry",value:function(t,e){var r;localStorage.setItem(this._slotKey(t),JSON.stringify(f()(e,"keymap")));var n=this._slots.findIndex((function(e){return e.id===t}));-1===n?this._slots.push({id:t,name:e.name}):!this._slots[n].name&&null!==(r=e.metadata)&&void 0!==r&&r.name&&(this._slots[n]=d(d({},this._slots[n]),{},{name:e.metadata.name})),this._flushSlots()}},{key:"removeKeyboard",value:function(t){var e=this._slots.findIndex((function(e){return e.id===t}));-1!==e&&(this._slots.splice(e,1),this._flushSlots()),localStorage.removeItem(this._slotKey(t))}},{key:"selectKeyboard",value:function(t){localStorage.setItem(this._selectionKey(),JSON.stringify(t))}},{key:"getSelectedKeyboard",value:function(){return JSON.parse(localStorage.getItem(this._selectionKey())||"null")}}])&&v(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}())("keymap_editor_clipboard"),g=r(85893);function w(t){return w="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},w(t)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){x(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function x(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==w(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===w(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||k(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){if(t){if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var E={keyboardId:null,isCustom:!0,keymap:null,keymapRaw:'/ {\n keymap {\n compatible = "zmk,keymap";\n };\n};\n',metadata:null,metadataRaw:""};function P(){var t,e=b.getSelectedKeyboard(),r=A(b._slots),n=e||(null===(t=r[0])||void 0===t?void 0:t.id),o=b.getEntry(n),i=(null==o?void 0:o.keyboardId)||"custom",a=(null==o?void 0:o.isCustom)||"custom"===i,c=null==o?void 0:o.keymapRaw;return{keyboards:r,selectedKeyboard:n,addModalOpen:!c,feedbackModalOpen:!1,selection:{keyboardId:i,isCustom:a,keymap:null,keymapRaw:c,metadata:null==o?void 0:o.metadata,metadataRaw:null==o?void 0:o.metadataRaw},pending:{}}}var _=(0,l.oM)({name:"clipboard-picker",initialState:P,reducers:{selectedKeyboard:function(t,e){t.selectedKeyboard!==e.payload.keyboard&&(t.selectedKeyboard=e.payload.keyboard,t.selection=b.getEntry(t.selectedKeyboard)||E,b.selectKeyboard(t.selectedKeyboard))},addKeyboard:function(t,e){var r=e.payload.id;b.setEntry(r,E),t.keyboards=A(b._slots)},removedKeyboard:function(t,e){var r=e.payload.id;b.removeKeyboard(r),t.keyboards=A(b._slots)},updatedKeyboard:function(t,e){var r=e.payload,n=r.keyboardId,o=r.isCustom,i=void 0!==o&&o,a=r.metadataRaw,c=r.metadata,u=r.keymapRaw,l=r.keymap;t.selection.keyboardId=n,t.selection.isCustom=i,t.selection.metadata=c,t.selection.metadataRaw=a,t.selection.keymap=l,t.selection.keymapRaw=u,b.setEntry(t.selectedKeyboard,t.selection)},updatedKeymap:function(t,e){var r=e.payload,n=r.raw,o=r.parsed;t.selection.keymap=o,t.selection.keymapRaw=n},parsedKeymap:function(t,e){t.selection.keymap=e.payload.keymap},parsedKeymapWithErrors:function(t,e){t.selection.keymapErrors=e.payload.error},openAddModal:function(t){if(t.addModalOpen=!0,t.pending=t.selection,t.pending.metadataRaw&&!t.pending.metadata)try{t.pending.metadata=JSON.parse(t.pending.metadataRaw)}catch(t){}},closeAddModal:function(t){t.addModalOpen=!1},openFeedbackModal:function(t){t.feedbackModalOpen=!0},closeFeedbackModal:function(t){t.feedbackModalOpen=!1}}}),C=(0,i.createContext)([{},{}]);function L(t){var e,r=t.children,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||k(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useReducer)(_.reducer,null,P),2),o=n[0],a=(e=n[1],(0,i.useMemo)((function(){return Object.keys(_.actions).reduce((function(t,r){return t[r]=function(){var t;return e((t=_.actions)[r].apply(t,arguments))},t}),{})}),[e]));return(0,g.jsx)(C.Provider,{value:[o,a],children:r})}function I(){return(0,i.useContext)(C)}var N=r(93379),T=r.n(N),B=r(7795),K=r.n(B),D=r(90569),F=r.n(D),G=r(3565),M=r.n(G),R=r(19216),U=r.n(R),Y=r(44589),z=r.n(Y),Z=r(8153),q={};q.styleTagTransform=z(),q.setAttributes=M(),q.insert=F().bind(null,"head"),q.domAPI=K(),q.insertStyleElement=U(),T()(Z.Z,q);var J=Z.Z&&Z.Z.locals?Z.Z.locals:void 0,$=r(41051);function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Q(){var t=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return W(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2)[1].openFeedbackModal;return(0,g.jsxs)("button",{onClick:t,children:[(0,g.jsx)($.Z,{name:"comments"})," Feedback?"]})}var V=r(69247),X=r(18446),H=r.n(X),tt=r(95998),et=r(83858),rt=r.n(et),nt=r(33295),ot=r.n(nt),it=r(41696);function at(t){return at="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},at(t)}function ct(){ct=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:j(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function y(){}function p(){}function d(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=d.prototype=y.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==at(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))}}function st(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ft=function(t){var e;return null===(e=t.keyboard)||void 0===e?void 0:e.keymap},yt=r(64261),pt=r(96186),dt=r(27926);function ht(t){return ht="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},ht(t)}var vt=["value","onChange"];function mt(){mt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:j(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function y(){}function p(){}function d(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=d.prototype=y.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ht(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function bt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(r),!0).forEach((function(e){jt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function jt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ht(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ht(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xt(t){var e=t.value,r=t.onChange,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,vt),o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useState)({raw:e,parsed:null}),2),a=o[0].raw,c=o[1];(0,i.useEffect)((function(){c((function(t){return wt(wt({},t),{},{raw:e})}))}),[e,c]);var u=(0,i.useCallback)((function(t){var e=t.target.value;c((function(t){return wt(wt({},t),{},{raw:e})}))}),[c]);return(0,i.useEffect)((function(){function t(){var e;return e=mt().mark((function t(){var e;return mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ot()(a);case 3:e=t.sent,(0,it.u)(e),c((function(t){return wt(wt({},t),{},{parsed:e})})),r({raw:a,parsed:e}),t.next=13;break;case 9:throw t.prev=9,t.t0=t.catch(0),console.error("Failed to parse keymap",t.t0),t.t0;case 13:case"end":return t.stop()}}),t,null,[[0,9]])})),t=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){bt(i,n,o,a,c,"next",t)}function c(t){bt(i,n,o,a,c,"throw",t)}a(void 0)}))},t.apply(this,arguments)}a&&function(){t.apply(this,arguments)}()}),[a,c,r]),(0,g.jsx)("textarea",wt({onChange:u,value:a},n))}var At=r(98553),kt=r(91829),St=r(80993),Et=r(80031),Pt=r(62608);function _t(t){return _t="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)}var Ct=["value","onChange"];function Lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function It(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(r),!0).forEach((function(e){Nt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==_t(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==_t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===_t(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bt(t){var e=t.value,r=t.onChange,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Ct),o=(0,i.useRef)(),a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useState)({raw:e,parsed:null,error:null}),2),c=a[0],u=c.raw,l=c.error,s=a[1],f=(0,i.useCallback)((function(t){var e=t.target.value,n=null,o=null;try{n=JSON.parse(e),(0,Pt.validateInfoJson)(n)}catch(t){o=t,n=null}s({raw:e,parsed:n,error:o}),r({raw:e,parsed:n})}),[s,r]);return(0,i.useEffect)((function(){s((function(t){return It(It({},t),{},{raw:e})}))}),[e,s]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("textarea",It({ref:o,onChange:f,value:u},n)),l&&(0,g.jsx)("p",{className:J.parseError,children:l instanceof Pt.InfoValidationError?l.errors[0]:l.toString()})]})}function Kt(t){return Kt="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},Kt(t)}function Dt(){Dt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:j(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function y(){}function p(){}function d(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=d.prototype=y.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Kt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Ft(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Gt(t,e){if(t){if("string"==typeof t)return Mt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mt(t,e):void 0}}function Mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Rt,Ut=[{id:"custom",name:"Custom..."}].concat(function(t){if(Array.isArray(t))return Mt(t)}(Rt=Object.values(At))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(Rt)||Gt(Rt)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());function Yt(t){var e=t.keyboardId,n=t.metadata,o=t.metadataRaw,a=t.onChange,c=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||Gt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,kt.Z)(!o),3),u=c[0],l=c[1],s=c[2],f=(0,i.useMemo)((function(){return Ut.find((function(t){return t.id===e}))}),[e]),y="custom"!==e||!!n,p=(0,i.useCallback)((function(){y&&l()}),[y,l]),d=(0,i.useCallback)(function(){var t,e=(t=Dt().mark((function t(e){var n;return Dt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("custom"!==e.id){t.next=5;break}a({keyboardId:"custom",isCustom:!0,raw:"",parsed:null}),s(),t.next=15;break;case 5:return t.prev=5,t.next=8,r(25105)("./".concat(e.id,".json"));case 8:n=t.sent,a({isCustom:!1,keyboardId:e.id,parsed:n,raw:""}),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(5),console.error("Failed to load metadata for ".concat(e.id),t.t0);case 15:case"end":return t.stop()}}),t,null,[[5,12]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ft(i,n,o,a,c,"next",t)}function c(t){Ft(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),[a,s]),h=(0,i.useCallback)((function(t){var e=t.raw,r=t.parsed,n=t.errors;a({keyboardId:f.id,isCustom:"custom"===f.id,raw:e,parsed:r,errors:n})}),[a,f]);return(0,g.jsxs)("article",{className:J.source,"data-collapsible":"custom"!==e||!!n,"data-expanded":u,children:[(0,g.jsxs)("h2",{children:[(0,g.jsx)("span",{onClick:p,children:"Keyboard"})," ",(0,g.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal",verticalAlign:"middle"},children:(0,g.jsx)(St.Z,{value:f,onChange:d,options:Ut,getOptionValue:function(t){return t.id},getOptionLabel:function(t){return t.name}})})]}),"custom"===(null==f?void 0:f.id)&&(0,g.jsxs)("section",{className:J.sourceContent,children:[(0,g.jsx)("p",{children:"In order to understand what keyboard you're using and now to display it visually, please paste the JSON source metadata file below."}),n&&(0,g.jsxs)("p",{children:["Parsed metadata for: ",n.name]}),(0,g.jsx)(Bt,{cols:80,rows:n?22:5,wrap:"off",spellCheck:!1,value:o,onChange:h}),!n&&(0,g.jsxs)("div",{className:J.metadataHelp,children:[(0,g.jsx)("h3",{children:"Not sure what to put here?"}),(0,g.jsxs)("p",{children:["The ",(0,g.jsx)("em",{children:"Keymap Editor"})," app depends on a defined keyboard layout both to provide a friendly graphical representation to edit and a readable textual representation. You can learn more about this at ",Et.Jh,"."]}),(0,g.jsxs)("p",{children:["Note: If your keyboard works with QMK's Configurator you may be able to quickly get a visual representation by pasting the contents of that keyboard's ",(0,g.jsx)("code",{children:"info.json"})," file here."]})]})]})]})}function zt(t){return zt="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},zt(t)}function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Zt(Object(r),!0).forEach((function(e){Jt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Jt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==zt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==zt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===zt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Wt(t){var e=t.initial,r=void 0===e?Qt:e,n=t.onSubmit,o=t.onCancel,a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $t(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$t(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,i.useState)(r),2),c=a[0],u=a[1],l=(0,i.useCallback)((function(t){u((function(e){return qt(qt({},e),{},{keyboardId:t.keyboardId,isCustom:t.isCustom,metadataRaw:t.raw,metadata:t.parsed})}))}),[u]),s=(0,i.useCallback)((function(t){var e=t.raw,r=t.parsed;u((function(t){return qt(qt({},t),{},{keymapRaw:e,keymap:r})}))}),[u]),f=(0,i.useCallback)((function(){n(c)}),[c,n]),y=!c.metadata||!c.keymap;return(0,g.jsx)(yt.Z,{onDismiss:o,children:(0,g.jsxs)(pt.Z,{style:{maxWidth:"640px"},dismissText:null,children:[(0,g.jsx)(Yt,{keyboardId:c.keyboardId,isCustom:c.isCustom,metadata:c.metadata,metadataRaw:c.metadataRaw,onChange:l}),(0,g.jsx)("h2",{children:"Keymap"}),(0,g.jsxs)("p",{children:["Paste the devicetree source from your ",(0,g.jsx)("code",{children:".keymap"})," file below."]}),(0,g.jsxs)("p",{children:["You can ",(0,g.jsx)("em",{children:"technically"})," make changes directly to the DeviceTree code here, but this isn't intended as an editor."]}),(0,g.jsx)(xt,{cols:80,rows:22,wrap:"off",spellCheck:!1,value:c.keymapRaw,onChange:s}),(0,g.jsxs)("p",{style:{textAlign:"center"},children:[(0,g.jsx)(dt.Z,{disabled:y,onClick:f,children:"Set Keymap"}),(0,g.jsx)(dt.Z,{onClick:o,secondary:!0,children:"Cancel"})]})]})})}function Qt(){return{keyboardId:null,isCustom:!1,metadataRaw:"",metadata:null,keymapRaw:Vt,keymap:null}}var Vt='/ {\n keymap {\n compatible = "zmk,keymap";\n };\n};\n';function Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ht(t){var e=t.onSubmit,r=t.onCancel,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2),o=n[0].selection,a=n[1].updatedKeyboard,u=(0,i.useCallback)((function(t){a(t),c(t.keyboardId,t.keymap),e()}),[a,e]);return(0,g.jsx)(Wt,{initial:o,onSubmit:u,onCancel:r})}function te(t){return te="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},te(t)}function ee(){ee=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:j(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function y(){}function p(){}function d(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=d.prototype=y.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==te(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function re(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ne(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){re(i,n,o,a,c,"next",t)}function c(t){re(i,n,o,a,c,"throw",t)}a(void 0)}))}}function oe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ie(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oe(Object(r),!0).forEach((function(e){ae(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ae(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==te(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===te(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ce(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ue(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ue(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function le(){var t=ce(I(),1)[0].selection,e=function(){var t=(0,tt.v9)(ft),e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return st(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?st(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2),r=e[0].selection,n=e[1].updatedKeymap;return[(0,i.useMemo)((function(){return t&&r.keymap&&!H()(t,r.keymap)}),[t,r.keymap]),(0,i.useCallback)(lt(ct().mark((function e(){var i,a,u,l,s,f,y,p,d;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.metadata,a=i.id,u=i.layouts,l=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,s=Object.keys(u)[0],f=u[l]||u[s],y=f.layout,e.prev=4,e.next=7,rt()(y,o()(t),r.keymapRaw);case 7:return p=e.sent,e.next=10,ot()(p);case 10:return d=e.sent,(0,it.u)(d),n({raw:p,parsed:d}),c(a,d),e.abrupt("return",p);case 17:throw e.prev=17,e.t0=e.catch(4),console.error("Failed to update/parse",t),console.error(e.t0),e.t0;case 22:case"end":return e.stop()}}),e,null,[[4,17]])}))),[t,r,n])]}(),r=ce(e,2),n={updateNeeded:r[0],update:r[1]};return(0,g.jsxs)(g.Fragment,{children:[t.keymap&&(0,g.jsx)(se,ie({},n)),t.keymap&&(0,g.jsx)(fe,ie({},n)),(0,g.jsx)(Q,{})]})}function se(t){var e=t.updateNeeded,r=t.update,n=ce(I(),1)[0].selectedKeyboard,o=ce((0,yt.X)(),3),a=o[0],c=o[1],u=o[2],l=(0,i.useCallback)(ne(ee().mark((function t(){return ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,r();case 3:c();case 4:case"end":return t.stop()}}),t)}))),[c,r,e]);if(n)return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(V.zx,{onClick:l,title:"View/update keymap code",children:"Keymap"}),a&&(0,g.jsx)(Ht,{onSubmit:u,onCancel:u})]})}function fe(t){var e=t.updateNeeded,r=t.update,n=e?"Copy updated keymap":"No changes",o=ce(I(),1)[0].selection,a=ce((0,i.useState)(!1),2),c=a[0],u=a[1],l=(0,i.useCallback)(ne(ee().mark((function t(){var e;return ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r();case 3:return e=t.sent,t.next=6,navigator.clipboard.writeText(e);case 6:u(!0),setTimeout((function(){return u(!1)}),1500),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error("Clipboard write failed"),console.log(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,10]])}))),[r]);return o.keymap?(0,g.jsx)(V.zx,{title:n,disabled:!e,className:J.copyButton,onClick:l,"data-show-copied":c,children:(0,g.jsx)($.Z,{name:e?"clipboard-list":"clipboard-check"})}):null}var ye=r(2968);function pe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var de=(0,g.jsx)(ye.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/discussions/105",children:"Feature Discussion"});function he(){var t=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return pe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pe(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2)[1].closeFeedbackModal;return(0,g.jsx)(yt.Z,{onDismiss:t,children:(0,g.jsxs)(pt.Z,{dismissText:null,children:[(0,g.jsx)("h2",{children:"Beta Feedback"}),(0,g.jsx)("p",{children:"Hey, feel free to ignore this!"}),(0,g.jsx)("p",{children:"I just launched this feature very quickly, I hope it's working well for you! Your feedback, if you can spare a moment, would be immensely helpful to me. This feature is completely browser-based which means I have no server analytics, so even just letting me know that it worked would be cool!"}),(0,g.jsx)("p",{children:"Good ways to contact me:"}),(0,g.jsxs)("ul",{children:[(0,g.jsxs)("li",{children:["Ping me at ",Et.W8]}),(0,g.jsxs)("li",{children:["File an issue at ",Et.qM]}),(0,g.jsxs)("li",{children:["Join the ",de]})]}),(0,g.jsx)("div",{style:{textAlign:"center"},children:(0,g.jsx)(dt.Z,{onClick:t,children:"Back to editor"})})]})})}function ve(t){return ve="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},ve(t)}function me(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function be(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?me(Object(r),!0).forEach((function(e){ge(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ge(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ve(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ve(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function we(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function je(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return we(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?we(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2)[1].openAddModal;return(0,g.jsx)("button",be(be({onClick:e},t),{},{children:"New Keyboard"}))}function Oe(t){return Oe="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},Oe(t)}function xe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ae(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Oe(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Oe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Oe(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ke(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Se(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Se(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ee(){var t=ke(I(),2),e=t[0],r=e.keyboards,n=e.selectedKeyboard,o=t[1].selectedKeyboard,a=(0,i.useMemo)((function(){return r.find((function(t){return t.id===n}))}),[r,n]),c=(0,i.useCallback)((function(t){o({keyboard:t.id})}),[o]);return 0===r.length?(0,g.jsx)(je,{}):(0,g.jsx)(St.Z,{label:"Keyboard",value:a,options:r,onChange:c,getOptionLabel:function(t){return t.name||"<unnamed>"},getOptionValue:function(t){return t.id},formatOptionLabel:Pe,children:(0,g.jsx)(je,{style:{width:"100%"}})})}function Pe(t,e){var r=e.context,n=t.name||(0,g.jsx)("em",{children:"[unnamed]"});return"value"===r?n:(0,g.jsx)(_e,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(r),!0).forEach((function(e){Ae(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t))}function _e(t){var e=t.id,r=t.name,n=ke(I(),2),o=n[0],a=o.keyboards,c=o.selectedKeyboard,u=n[1],l=u.selectedKeyboard,s=u.removedKeyboard,f=(0,i.useCallback)((function(t){t.stopPropagation();var n='Remove "'.concat(r,'"? This operation cannot be undone.'),o=e===c,i=a.find((function(t){return t.id!==e}));window.confirm(n)&&(o&&i&&l({keyboard:i.id}),s({id:e}))}),[e,r,a,c,l,s]);return(0,g.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",gap:"10px",alignItems:"middle"},children:[r||(0,g.jsx)("em",{children:"[unnamed]"})," ",(0,g.jsx)($.Z,{title:"Delete keyboard",name:"times-circle",style:{cursor:"pointer",fontSize:"80%"},onClick:f})]})}function Ce(t){return Ce="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},Ce(t)}function Le(){Le=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:j(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function y(){}function p(){}function d(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=d.prototype=y.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ce(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:p,configurable:!0}),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Ie(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ne(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Te(){var t=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ne(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2),e=t[0].selection,r=e.keyboardId,n=e.keymapRaw,o=t[1].parsedKeymap,c=(0,i.useCallback)(function(){var t,e=(t=Le().mark((function t(e){var n;return Le().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ot()(e);case 3:n=t.sent,(0,it.u)(n),o({keymap:n}),t.next=13;break;case 8:throw t.prev=8,t.t0=t.catch(0),console.error("Failed to parse keymap",t.t0),i=r,(0,a.Kz)("CLIPBOARD_PARSE_ERROR",{keyboard:i}),t.t0;case 13:case"end":return t.stop()}var i}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ie(i,n,o,a,c,"next",t)}function c(t){Ie(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),[r,o]);(0,i.useEffect)((function(){n&&c(n)}),[c,n])}function Be(t){return Be="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},Be(t)}function Ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function De(t){var e=t.onSelect;t.onError,Te();var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ke(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ke(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I(),2),n=r[0],c=n.addModalOpen,l=n.feedbackModalOpen,s=n.selection,f=s.keymap,y=s.metadata,p=r[1],d=p.closeAddModal,h=p.selectedKeyboard,v=p.addKeyboard,m=p.updatedKeyboard,b=(0,i.useCallback)((function(t,r){var n=r.id,i=r.layouts,c=r.sensors,l=void 0===c?[]:c,s=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null;if("object"===Be(i)){var f=Object.keys(i)[0],y=i[s]||i[f];!function(t,e){(0,a.Kz)("CLIPBOARD_SELECT_KEYBOARD",{keyboard:t,keymap:u(e)})}(n,t),e(o()({source:"clipboard",keyboard:n,layoutMetadata:y,layout:y.layout,keymap:t,sensors:l}))}else console.error("Invalid metadata loaded",r)}),[e]);(0,i.useEffect)((function(){f&&y&&b(f,y)}),[b,f,y]);var w=(0,i.useCallback)((function(t){d();var e=Date.now();v({id:e}),h({keyboard:e}),m(t),function(t,e){(0,a.Kz)("CLIPBOARD_ADD_KEYBOARD",{keyboard:t,keymap:u(e)})}(t.keyboardId,t.keymap)}),[v,h,m,d]);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Ee,{}),(0,g.jsx)(le,{}),c&&(0,g.jsx)(Wt,{onSubmit:w,onCancel:d}),l&&(0,g.jsx)(he,{})]})}var Fe,Ge=(Fe=De,function(t){return(0,g.jsx)(L,{children:(0,g.jsx)(Fe,O({},t))})})},8153:function(t,e,r){"use strict";var n=r(87537),o=r.n(n),i=r(23645),a=r.n(i)()(o());a.push([t.id,'.fnnwBtqwiwSQgnuN5sqg[data-collapsible="true"] h2 {\n cursor: pointer;\n}\n\n.meN56P3rXkTYWdDY0oZq {\n height: auto;\n transition: height 100ms ease-out;\n}\n\n.H4OUxP43w5pZ9RYBB72x {\n background-color: rgba(0, 0, 0, 0.1);\n margin: 10px;\n padding: 0 10px;\n border-radius: 4px;\n}\n\n[data-expanded="false"] .meN56P3rXkTYWdDY0oZq {\n height: 0;\n overflow: hidden;\n}\n\n[data-expanded="false"] h2 {\n margin-bottom: 0;\n}\n\n.lFxBan5aXNzTEl2SGBzU {\n color: firebrick;\n background-color: pink;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.eVrbmh_w8MbnDUOfUD2N {\n position: relative;\n}\n.eVrbmh_w8MbnDUOfUD2N span {\n font-size: 120%;\n margin: auto 5px;\n}\n\n.eVrbmh_w8MbnDUOfUD2N[data-show-copied="true"]::after {\n content: "Copied!";\n position: absolute;\n right: -5px;\n top: 50%;\n\n transform: translate(100%, -50%);\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 4px;\n\n animation: normal 1.5s h0IIQBfKFzrLn6r9v5qG;\n}\n\n@keyframes h0IIQBfKFzrLn6r9v5qG {\n 0% { opacity: 0; width: 0; margin-left: -100%; }\n 2.5% { opacity: 1; width: auto; }\n 75% { opacity: 1; margin-left: 0; }\n 100% { opacity: 0; }\n}',"",{version:3,sources:["webpack://./src/Sources/Clipboard/styles.module.css"],names:[],mappings:"AAAA;EACE,eAAe;AACjB;;AAEA;EACE,YAAY;EACZ,iCAAiC;AACnC;;AAEA;EACE,oCAAoC;EACpC,YAAY;EACZ,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,sBAAsB;EACtB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,kBAAkB;EAClB,WAAW;EACX,QAAQ;;EAER,gCAAgC;EAChC,kCAAkC;EAClC,YAAY;EACZ,aAAa;EACb,kBAAkB;;EAElB,2CAA+B;AACjC;;AAEA;EACE,KAAK,UAAU,EAAE,QAAQ,EAAE,kBAAkB,EAAE;EAC/C,OAAO,UAAU,EAAE,WAAW,EAAE;EAChC,MAAM,UAAU,EAAE,cAAc,EAAE;EAClC,OAAO,UAAU,EAAE;AACrB",sourcesContent:['.source[data-collapsible="true"] h2 {\n cursor: pointer;\n}\n\n.sourceContent {\n height: auto;\n transition: height 100ms ease-out;\n}\n\n.metadataHelp {\n background-color: rgba(0, 0, 0, 0.1);\n margin: 10px;\n padding: 0 10px;\n border-radius: 4px;\n}\n\n[data-expanded="false"] .sourceContent {\n height: 0;\n overflow: hidden;\n}\n\n[data-expanded="false"] h2 {\n margin-bottom: 0;\n}\n\n.parseError {\n color: firebrick;\n background-color: pink;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.copyButton {\n position: relative;\n}\n.copyButton span {\n font-size: 120%;\n margin: auto 5px;\n}\n\n.copyButton[data-show-copied="true"]::after {\n content: "Copied!";\n position: absolute;\n right: -5px;\n top: 50%;\n\n transform: translate(100%, -50%);\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 4px;\n\n animation: normal 1.5s popInOut;\n}\n\n@keyframes popInOut {\n 0% { opacity: 0; width: 0; margin-left: -100%; }\n 2.5% { opacity: 1; width: auto; }\n 75% { opacity: 1; margin-left: 0; }\n 100% { opacity: 0; }\n}'],sourceRoot:""}]),a.locals={source:"fnnwBtqwiwSQgnuN5sqg",sourceContent:"meN56P3rXkTYWdDY0oZq",metadataHelp:"H4OUxP43w5pZ9RYBB72x",parseError:"lFxBan5aXNzTEl2SGBzU",copyButton:"eVrbmh_w8MbnDUOfUD2N",popInOut:"h0IIQBfKFzrLn6r9v5qG"},e.Z=a},25105:function(t,e,r){var n={"./a_dux.json":[73158,4843],"./bat43.json":[60888,1038],"./bdn9_rev2.json":[94591,1522],"./bfo9000.json":[19684,4962],"./boardsource3x4.json":[88602,4260],"./boardsource5x12.json":[8058,5356],"./bt60_v1.json":[92628,3826],"./bt60_v1_hs.json":[84628,2838],"./bt60_v2.json":[9417,504],"./bt65_v1.json":[88455,5422],"./bt75_v1.json":[25397,2921],"./chalice.json":[7936,4830],"./clog.json":[31638,2169],"./contra.json":[42718,8409],"./corne.json":[26453,7038],"./corneish_zen.json":[39757,4213],"./cradio.json":[62089,8451],"./crbn.json":[48945,4959],"./eek.json":[63072,2757],"./elephant42.json":[83634,7997],"./ergodash.json":[68972,47],"./ergodox.json":[75507,1325],"./eternal_keypad.json":[69416,4415],"./eternal_keypad_lefty.json":[56785,2284],"./ferris_rev02.json":[97365,1145],"./fourier.json":[14446,7905],"./helix.json":[73549,7316],"./hummingbird.json":[98321,3394],"./iris.json":[55262,9134],"./jian.json":[46228,944],"./jiran.json":[14465,9707],"./jorne.json":[19151,2308],"./kbdfans_tofu65_v2.json":[7450,320],"./knob_goblin.json":[71497,6528],"./kyria.json":[34458,8642],"./kyria_rev2.json":[70165,4156],"./kyria_rev3.json":[33669,3895],"./leeloo.json":[53677,6158],"./leeloo_micro.json":[88615,6274],"./leeloo_rev2.json":[32871,8301],"./lily58.json":[21479,6324],"./lotus58.json":[63918,5],"./m60.json":[53132,4070],"./microdox.json":[56792,8813],"./murphpad.json":[8662,8374],"./naked60.json":[79707,5810],"./nibble.json":[58244,2939],"./nice60.json":[41501,7218],"./osprette.json":[13467,7110],"./pancake.json":[19011,630],"./planck_rev6.json":[55991,8284],"./preonic_rev3.json":[47308,5533],"./qaz.json":[46923,6360],"./quefrency.json":[23956,5272],"./redox.json":[17104,1616],"./reviung41.json":[71414,327],"./reviung5.json":[31009,1718],"./romac.json":[15683,2135],"./romac_plus.json":[55318,3039],"./s40nc.json":[56036,3197],"./snap.json":[24380,8415],"./sofle.json":[45082,8729],"./splitkb_aurora_corne.json":[20216,9351],"./splitkb_aurora_lily58.json":[2674,5634],"./splitkb_aurora_sofle.json":[40194,639],"./splitkb_aurora_sweep.json":[9738,5891],"./splitreus62.json":[47003,1081],"./tg4x.json":[87454,6019],"./tidbit.json":[60386,7961],"./totem.json":[43439,4013],"./two_percent_milk.json":[67150,2124],"./waterfowl.json":[14194,7190],"./zmk_uno.json":[71578,1319],"./zodiark.json":[12069,7266]};function o(t){if(!r.o(n,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],o=e[0];return r.e(e[1]).then((function(){return r.t(o,19)}))}o.keys=function(){return Object.keys(n)},o.id=25105,t.exports=o},14259:function(t){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},57406:function(t,e,r){var n=r(71811),o=r(10928),i=r(40292),a=r(40327);t.exports=function(t,e){return e=n(e,t),null==(t=i(t,e))||delete t[a(o(e))]}},60696:function(t,e,r){var n=r(68630);t.exports=function(t){return n(t)?void 0:t}},40292:function(t,e,r){var n=r(97786),o=r(14259);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},68630:function(t,e,r){var n=r(44239),o=r(85924),i=r(37005),a=Function.prototype,c=Object.prototype,u=a.toString,l=c.hasOwnProperty,s=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==s}},10928:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},57557:function(t,e,r){var n=r(29932),o=r(85990),i=r(57406),a=r(71811),c=r(98363),u=r(60696),l=r(99021),s=r(46904),f=l((function(t,e){var r={};if(null==t)return r;var l=!1;e=n(e,(function(e){return e=a(e,t),l||(l=e.length>1),e})),c(t,s(t),r),l&&(r=o(r,7,u));for(var f=e.length;f--;)i(r,e[f]);return r}));t.exports=f}}]); +//# sourceMappingURL=ClipboardPicker.2c0e8b8f6b6ee99c8298.js.map
\ No newline at end of file diff --git a/ClipboardPicker.2c0e8b8f6b6ee99c8298.js.LICENSE.txt b/ClipboardPicker.2c0e8b8f6b6ee99c8298.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/ClipboardPicker.2c0e8b8f6b6ee99c8298.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/FileSystemPicker.d61821d8d112a252513e.js b/FileSystemPicker.d61821d8d112a252513e.js new file mode 100644 index 0000000..29be6bf --- /dev/null +++ b/FileSystemPicker.d61821d8d112a252513e.js @@ -0,0 +1,3 @@ +/*! For license information please see FileSystemPicker.d61821d8d112a252513e.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4218],{61663:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return Nt}});var n=r(50361),o=r.n(n),i=r(67294),a=r(33295),c=r.n(a),u=r(6121);function l(t,e){(0,u.Kz)("FILESYSTEM_UPDATE_KEYMAP",{keyboard:t,keymap:s(e)})}function s(t){return{warningFlags:t.warningFlags,layers:t.layers.length,behaviors:t.behaviors.length,combos:t.combos.length,macros:t.macros.length}}var f=r(41051);function h(t){return new Promise(((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)}))}let p;function y(){return p||(p=function(t,e){const r=indexedDB.open("keyval-store");r.onupgradeneeded=()=>r.result.createObjectStore(e);const n=h(r);return(t,r)=>n.then((n=>r(n.transaction(e,t).objectStore(e))))}(0,"keyval")),p}function d(t,e=y()){return e("readonly",(e=>h(e.get(t))))}function v(t,e,r=y()){return r("readwrite",(r=>(r.put(e,t),h(r.transaction))))}var m=r(97168),g=r(85893);function b(t){return b="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},b(t)}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==b(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===b(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return E(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var L="KEYMAP_EDITOR_IDB_FS_KEYMAP_HANDLES",O="KEYMAP_EDITOR_IDB_FS_KEYMAP_SELECTED_HANDLE_INDEX",S=function(t){return v(L,t)},_=function(t){return v(O,t)},P=function(){return{keymapHandles:[],selectedHandleIndex:null,activeKeymap:{handleIndex:null,keymapRaw:null,keymapParsed:null,metadataParsed:null},importModalOpen:!1,feedbackModalOpen:!1,pendingImports:null}},A=(0,m.oM)({name:"filesystem-picker",initialState:P,reducers:{openImportModal:function(t){t.importModalOpen=!0},closeImportModal:function(t){t.importModalOpen=!1},openFeedbackModal:function(t){t.feedbackModalOpen=!0},closeFeedbackModal:function(t){t.feedbackModalOpen=!1},selectFilesForImport:function(t,e){var r=e.payload.handles;t.pendingImports=r},updatedHandles:function(t,e){t.keymapHandles=e.payload.handles},initHandles:function(t,e){var r=e.payload.handles,n=void 0===r?[]:r;t.keymapHandles=n},selectHandle:function(t,e){t.selectedHandleIndex=e.payload.index},selectKeymap:function(t,e){var r=e.payload,n=r.handleIndex,o=r.keymapRaw,i=r.keymapParsed,a=r.metadataParsed;t.activeKeymap={handleIndex:n,keymapRaw:o,keymapParsed:i,metadataParsed:a}},updateActiveKeymap:function(t,e){var r=e.payload,n=r.keymapParsed,o=r.keymapRaw;t.activeKeymap.keymapParsed=n,t.activeKeymap.keymapRaw=o}}});var I=(0,i.createContext)([{},{}]);function F(t){var e=t.children,r=k(function(){var t,e=k((0,i.useReducer)(A.reducer,null,P),2),r=e[0],n=(t=e[1],(0,i.useMemo)((function(){return Object.keys(A.actions).reduce((function(e,r){return e[r]=function(){var e;return t((e=A.actions)[r].apply(e,arguments))},e}),{})}),[t]));return[r,n]}(),2),n=r[0],o=r[1];return(0,g.jsx)(I.Provider,{value:[n,o],children:e})}function T(t){return T="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)}function N(){N=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var d={};u(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&r.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==T(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function M(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function G(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){M(i,n,o,a,c,"next",t)}function c(t){M(i,n,o,a,c,"throw",t)}a(void 0)}))}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function K(){var t,e,r=(t=(0,i.useContext)(I),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],n=r.openImportModal,o=r.selectFilesForImport,a=(0,i.useCallback)(G(N().mark((function t(){var e;return N().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,window.showOpenFilePicker({mode:"readwrite",multiple:!0,excludeAcceptAllOption:!0,types:[{accept:{"text/plain":[".keymap"]}}]});case 2:e=t.sent,o({handles:e}),n();case 5:case"end":return t.stop()}}),t)}))),[n,o]);return(0,g.jsxs)("button",{onClick:a,children:[(0,g.jsx)(f.Z,{name:"file-import"})," Import Keymaps"]})}var D=r(80993),Y=r(41696);function H(t){return H="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},H(t)}function R(){R=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var d={};u(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&r.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==H(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function z(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Z(i,n,o,a,c,"next",t)}function c(t){Z(i,n,o,a,c,"throw",t)}a(void 0)}))}}function U(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var q={mode:"read"};function $(){var t,e,n=(t=(0,i.useContext)(I),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return U(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],a=o.keymapHandles,l=o.selectedHandleIndex,s=n[1],f=s.selectHandle,h=s.selectKeymap,p=(0,i.useMemo)((function(){return a.map((function(t,e){return{id:e,name:t.name}}))}),[a]),y=(0,i.useCallback)(function(){var t=z(R().mark((function t(e){return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_(e.id);case 2:f({index:e.id});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[f]);(0,i.useEffect)((function(){var t=l,e=a[t];e&&z(R().mark((function n(){var o,i,a,l,s;return R().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.queryPermission(q);case 2:if(n.t1=n.sent,n.t0="granted"!==n.t1,!n.t0){n.next=9;break}return n.next=7,e.requestPermission(q);case 7:n.t2=n.sent,n.t0="granted"!==n.t2;case 9:if(!n.t0){n.next=11;break}return n.abrupt("return");case 11:return o=e.name.replace(".keymap",""),n.next=14,e.getFile();case 14:return i=n.sent,n.next=17,i.text();case 17:return a=n.sent,n.prev=18,n.next=21,c()(a);case 21:return l=n.sent,n.next=24,r(25690)("./".concat(o,".json"));case 24:s=n.sent,(0,Y.u)(l),h({handleIndex:t,keymapRaw:a,keymapParsed:l,metadataParsed:s}),n.next=33;break;case 29:throw n.prev=29,n.t3=n.catch(18),f=o,(0,u.Kz)("FILESYSTEM_PARSE_ERROR",{keyboard:f}),n.t3;case 33:case"end":return n.stop()}var f}),n,null,[[18,29]])})))()}),[a,l,h]);var d=(0,i.useMemo)((function(){return p[l]}),[p,l]);return(0,g.jsx)(D.Z,{value:d,options:p,onChange:y,getOptionLabel:function(t){return t.name},getOptionValue:function(t){return t.id},children:(0,g.jsx)(K,{})})}var B=r(98553),W=r(27926),J=r(96186),V=r(64261);function X(t){return X="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},X(t)}function Q(){Q=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var d={};u(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&r.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==X(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function tt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=nt(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function et(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function rt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){et(i,n,o,a,c,"next",t)}function c(t){et(i,n,o,a,c,"throw",t)}a(void 0)}))}}function nt(t,e){if(t){if("string"==typeof t)return ot(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ot(t,e):void 0}}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function it(){var t,e,r=(t=(0,i.useContext)(I),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||nt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=r[0].pendingImports,o=r[1],a=o.closeImportModal,c=o.updatedHandles,l=(0,i.useMemo)((function(){return n.filter((function(t){return at(t.name)}))}),[n]),s=(0,i.useMemo)((function(){return n.filter((function(t){return!at(t.name)}))}),[n]),f=(0,i.useCallback)(rt(Q().mark((function t(){var e,r;return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S(l);case 2:S(l),c({handles:l}),a(),e=tt(l);try{for(e.s();!(r=e.n()).done;)n=r.value.name.replace(".keymap",""),(0,u.Kz)("FILESYSTEM_ADD_KEYBOARD",{keyboard:n})}catch(t){e.e(t)}finally{e.f()}case 7:case"end":return t.stop()}var n}),t)}))),[l,c,a]),h=(0,i.useCallback)((function(){a()}),[a]);return(0,g.jsx)(V.Z,{children:(0,g.jsxs)(J.Z,{dismissText:null,children:[(0,g.jsx)("h2",{children:"Importing Keymaps"}),(0,g.jsx)("h3",{children:"Keymap files ready to be imported"}),(0,g.jsx)("ul",{children:n.map((function(t,e){return(0,g.jsx)("li",{children:(0,g.jsx)(ct,{value:t})},e)}))}),s.length>0&&(0,g.jsx)("p",{children:(0,g.jsx)("em",{children:"Some keymap files could not be matched with known keyboards and will not be imported. This is a work in progress and in the future you will have the option to import your own metadata file."})}),(0,g.jsxs)("div",{style:{textAlign:"center"},children:[(0,g.jsx)(W.Z,{onClick:f,children:"Continue"}),(0,g.jsx)(W.Z,{onClick:h,secondary:!0,children:"Cancel"})]})]})})}function at(t){return t.replace(".keymap","")in B}function ct(t){var e=t.value;return(0,g.jsxs)(g.Fragment,{children:[at(e.name)?(0,g.jsx)(f.Z,{name:"check",style:{color:"mediumseagreen"}}):(0,g.jsx)(f.Z,{name:"question",style:{color:"firebrick"}})," ",e.name]})}var ut=r(18446),lt=r.n(ut),st=r(95998),ft=r(83858),ht=r.n(ft);function pt(t){return pt="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},pt(t)}function yt(){yt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var d={};u(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&r.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==pt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function dt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function vt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){dt(i,n,o,a,c,"next",t)}function c(t){dt(i,n,o,a,c,"throw",t)}a(void 0)}))}}function mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var gt=function(t){var e;return null===(e=t.keyboard)||void 0===e?void 0:e.keymap},bt={mode:"readwrite"};function wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xt(){var t,e,r,n,a,u,s,h,p=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return wt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((t=(0,st.v9)(gt),s=(0,i.useContext)(I),h=2,r=(e=function(t){if(Array.isArray(t))return t}(s)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(s,h)||function(t,e){if(t){if("string"==typeof t)return mt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mt(t,e):void 0}}(s,h)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],n=r.keymapHandles,a=r.activeKeymap,u=e[1].updateActiveKeymap,[(0,i.useMemo)((function(){return t&&(null==a?void 0:a.keymapParsed)&&!lt()(t,a.keymapParsed)}),[t,a]),(0,i.useCallback)(vt(yt().mark((function e(){var r,i,s,f,h,p,y,d,v,m,g;return yt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n[a.handleIndex]){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,r.queryPermission(bt);case 5:if(e.t1=e.sent,e.t0="granted"!==e.t1,!e.t0){e.next=12;break}return e.next=10,r.requestPermission(bt);case 10:e.t2=e.sent,e.t0="granted"!==e.t2;case 12:if(!e.t0){e.next=14;break}return e.abrupt("return");case 14:return i=a.metadataParsed,s=i.id,f=i.layouts,h=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,p=Object.keys(f)[0],y=f[h]||f[p],d=y.layout,e.next=20,ht()(d,o()(t),a.keymapRaw);case 20:return v=e.sent,e.next=23,c()(v);case 23:return m=e.sent,(0,Y.u)(m),e.next=27,r.createWritable();case 27:return g=e.sent,e.next=30,g.write(v);case 30:g.close(),u({keymapParsed:m,keymapRaw:v}),l(s,m);case 33:case"end":return e.stop()}}),e)}))),[t,n,a,u])]),2),y=p[0],d=p[1];return(0,g.jsx)("button",{disabled:!y,title:y?"Save changes":"No changes",onClick:d,children:(0,g.jsx)(f.Z,{name:"file-export"})})}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function kt(){var t,e,r=(t=(0,i.useContext)(I),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return jt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1].openFeedbackModal;return(0,g.jsxs)("button",{onClick:r,children:[(0,g.jsx)(f.Z,{name:"comments"})," Feedback?"]})}var Et=r(2968),Lt=r(80031);function Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var St=(0,g.jsx)(Et.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/discussions/106",children:"Feature Discussion"});function _t(){var t,e,r=(t=(0,i.useContext)(I),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1].closeFeedbackModal;return(0,g.jsx)(V.Z,{onDismiss:r,children:(0,g.jsxs)(J.Z,{dismissText:null,children:[(0,g.jsx)("h2",{children:"Beta Feedback"}),(0,g.jsx)("p",{children:"Hey, feel free to ignore this!"}),(0,g.jsx)("p",{children:"I just launched this feature very quickly, I hope it's working well for you! Your feedback, if you can spare a moment, would be immensely helpful to me. This feature is completely browser-based which means I have no server analytics, so even just letting me know that it worked would be cool!"}),(0,g.jsx)("p",{children:"Good ways to contact me:"}),(0,g.jsxs)("ul",{children:[(0,g.jsxs)("li",{children:["Ping me at ",Lt.W8]}),(0,g.jsxs)("li",{children:["File an issue at ",Lt.qM]}),(0,g.jsxs)("li",{children:["Join the ",St]})]}),(0,g.jsx)("div",{style:{textAlign:"center"},children:(0,g.jsx)(W.Z,{onClick:r,children:"Back to editor"})})]})})}function Pt(t){return Pt="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},Pt(t)}function At(){At=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new L(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var d={};u(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(O([])));m&&m!==e&&r.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Pt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function It(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Tt,Nt=(Tt=function(t){var e,r,n=t.onSelect,a=(e=(0,i.useContext)(I),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return Ft(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ft(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],l=c.keymapHandles,f=c.activeKeymap,h=c.importModalOpen,p=c.feedbackModalOpen,y=a[1].initHandles;return(0,i.useEffect)((function(){var t;(t=At().mark((function t(){var e,r;return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(L);case 2:return e=t.sent,t.next=5,d(O);case 5:r=t.sent,y({handles:e,activeHandle:r});case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){It(i,n,o,a,c,"next",t)}function c(t){It(i,n,o,a,c,"throw",t)}a(void 0)}))})()}),[y]),(0,i.useEffect)((function(){if(f.keymapParsed){var t=f.keymapParsed,e=f.metadataParsed,r=e.id,i=e.layouts,a=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,c=Object.keys(i)[0],l=i[a]||i[c];n(o()({source:"filesystem",keyboard:e.id,layoutMetadata:l,layout:l.layout,keymap:t,sensors:l.sensors||[]})),function(t,e){(0,u.Kz)("FILESYSTEM_SELECT_KEYBOARD",{keyboard:t,keymap:s(e)})}(r,t)}}),[f,n]),(0,g.jsxs)(g.Fragment,{children:[l.length>0?(0,g.jsx)($,{}):(0,g.jsx)(K,{}),(null==f?void 0:f.keymapParsed)&&(0,g.jsx)(xt,{}),h&&(0,g.jsx)(it,{}),(0,g.jsx)(kt,{}),p&&(0,g.jsx)(_t,{})]})},function(t){return(0,g.jsx)(F,{children:(0,g.jsx)(Tt,x({},t))})})},25690:function(t,e,r){var n={"./a_dux.json":[73158,4843],"./bat43.json":[60888,1038],"./bdn9_rev2.json":[94591,1522],"./bfo9000.json":[19684,4962],"./boardsource3x4.json":[88602,4260],"./boardsource5x12.json":[8058,5356],"./bt60_v1.json":[92628,3826],"./bt60_v1_hs.json":[84628,2838],"./bt60_v2.json":[9417,504],"./bt65_v1.json":[88455,5422],"./bt75_v1.json":[25397,2921],"./chalice.json":[7936,4830],"./clog.json":[31638,2169],"./contra.json":[42718,8409],"./corne.json":[26453,7038],"./corneish_zen.json":[39757,4213],"./cradio.json":[62089,8451],"./crbn.json":[48945,4959],"./eek.json":[63072,2757],"./elephant42.json":[83634,7997],"./ergodash.json":[68972,47],"./ergodox.json":[75507,1325],"./eternal_keypad.json":[69416,4415],"./eternal_keypad_lefty.json":[56785,2284],"./ferris_rev02.json":[97365,1145],"./fourier.json":[14446,7905],"./helix.json":[73549,7316],"./hummingbird.json":[98321,3394],"./iris.json":[55262,9134],"./jian.json":[46228,944],"./jiran.json":[14465,9707],"./jorne.json":[19151,2308],"./kbdfans_tofu65_v2.json":[7450,320],"./knob_goblin.json":[71497,6528],"./kyria.json":[34458,8642],"./kyria_rev2.json":[70165,4156],"./kyria_rev3.json":[33669,3895],"./leeloo.json":[53677,6158],"./leeloo_micro.json":[88615,6274],"./leeloo_rev2.json":[32871,8301],"./lily58.json":[21479,6324],"./lotus58.json":[63918,5],"./m60.json":[53132,4070],"./microdox.json":[56792,8813],"./murphpad.json":[8662,8374],"./naked60.json":[79707,5810],"./nibble.json":[58244,2939],"./nice60.json":[41501,7218],"./osprette.json":[13467,7110],"./pancake.json":[19011,630],"./planck_rev6.json":[55991,8284],"./preonic_rev3.json":[47308,5533],"./qaz.json":[46923,6360],"./quefrency.json":[23956,5272],"./redox.json":[17104,1616],"./reviung41.json":[71414,327],"./reviung5.json":[31009,1718],"./romac.json":[15683,2135],"./romac_plus.json":[55318,3039],"./s40nc.json":[56036,3197],"./snap.json":[24380,8415],"./sofle.json":[45082,8729],"./splitkb_aurora_corne.json":[20216,9351],"./splitkb_aurora_lily58.json":[2674,5634],"./splitkb_aurora_sofle.json":[40194,639],"./splitkb_aurora_sweep.json":[9738,5891],"./splitreus62.json":[47003,1081],"./tg4x.json":[87454,6019],"./tidbit.json":[60386,7961],"./totem.json":[43439,4013],"./two_percent_milk.json":[67150,2124],"./waterfowl.json":[14194,7190],"./zmk_uno.json":[71578,1319],"./zodiark.json":[12069,7266]};function o(t){if(!r.o(n,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],o=e[0];return r.e(e[1]).then((function(){return r.t(o,19)}))}o.keys=function(){return Object.keys(n)},o.id=25690,t.exports=o}}]); +//# sourceMappingURL=FileSystemPicker.d61821d8d112a252513e.js.map
\ No newline at end of file diff --git a/FileSystemPicker.d61821d8d112a252513e.js.LICENSE.txt b/FileSystemPicker.d61821d8d112a252513e.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/FileSystemPicker.d61821d8d112a252513e.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ @@ -1 +1 @@ -<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.bb1beba455adadccdba8.js"></script><script defer="defer" src="shared.12140ed1ae7ca5601737.js"></script><script defer="defer" src="vendors.a062a39985c92a78cad3.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.a924eefe79644b12c5c0.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html>
\ No newline at end of file +<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.3d9b8b88f42ef0e9caca.js"></script><script defer="defer" src="shared.092544b1311ee9b4c8ef.js"></script><script defer="defer" src="vendors.a062a39985c92a78cad3.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.5c97e743ab9f7ad50ccb.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html>
\ No newline at end of file diff --git a/main.5c97e743ab9f7ad50ccb.js b/main.5c97e743ab9f7ad50ccb.js new file mode 100644 index 0000000..c4a6c05 --- /dev/null +++ b/main.5c97e743ab9f7ad50ccb.js @@ -0,0 +1,3 @@ +/*! For license information please see main.5c97e743ab9f7ad50ccb.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{96186:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),c=n.n(s),u=n(3565),l=n.n(u),f=n(19216),y=n.n(f),p=n(44589),h=n.n(p),d=n(49502),m={};m.styleTagTransform=h(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=y(),o()(d.Z,m);var v=d.Z&&d.Z.locals?d.Z.locals:void 0,b=n(85893);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var k=["dismissText","classes","onDismiss","children"];function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e){var t,n=e.dismissText,r=void 0===n?"Ok":n,o=e.classes,i=void 0===o?[]:o,a=e.onDismiss,s=e.children,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,k);return(0,b.jsxs)("div",j(j({className:[v.dialog].concat((t=i,function(e){if(Array.isArray(e))return w(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).join(" ")},c),{},{children:[s,r&&(0,b.jsx)("button",{className:v.button,onClick:a,children:r})]}))}},41051:function(e,t,n){"use strict";var r=n(45697),o=n.n(r),i=n(85893);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["name","className","collection"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={brands:"fab",default:"fa",regular:"fa-regular",light:"fa-light",solid:"fas",round:"far"};function f(e){var t=e.name,n=e.className,r=e.collection,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s),a=l[r],f="fa-".concat(t);return(0,i.jsx)("span",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:[n,a,f].join(" ")},o))}f.propTypes={name:o().string.isRequired,className:o().string,collection:o().string},f.defaultProps={collection:"default",className:""},t.Z=f},62092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(41051),o=n(85893);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["collection","icon","text","children","onClick"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=e.collection,n=e.icon,i=e.text,s=e.children,u=e.onClick,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a);return(0,o.jsxs)("button",c(c({onClick:u},l),{},{children:[(0,o.jsx)(r.Z,{collection:t,name:n})," ",i?(0,o.jsx)("span",{children:i}):s]}))}},2968:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(45697),o=n.n(r),i=n(41051),a=n(93379),s=n.n(a),c=n(7795),u=n.n(c),l=n(90569),f=n.n(l),y=n(3565),p=n.n(y),h=n(19216),d=n.n(h),m=n(44589),v=n.n(m),b=n(87617),g={};g.styleTagTransform=v(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(b.Z,g);var k=b.Z&&b.Z.locals?b.Z.locals:void 0,_=n(85893);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}var x=["href","children","external","showExternal"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===j(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){var t=e.href,n=e.children,r=e.external,o=e.showExternal,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,x),s=Object.assign({href:t},a,r&&{rel:"noreferrer",target:"_blank"});return(0,_.jsxs)("a",A(A({},s),{},{children:[n,(0,_.jsx)("span",{children:r&&o&&(0,_.jsx)(i.Z,{className:k.icon,name:"arrow-up-right-from-square"})})]}))}E.propTypes={href:o().string.isRequired,children:o().oneOfType([o().arrayOf(o().node),o().node]).isRequired,external:o().bool.isRequired,showExternal:o().bool},E.defaultProps={external:!1,showExternal:!0};var S=E},64261:function(e,t,n){"use strict";n.d(t,{X:function(){return d},Z:function(){return h}});var r=n(73935),o=n(67294),i=n(45697),a=n.n(i),s=n(85893);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={wrapper:{position:"absolute",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"rgba(104, 123, 162, 0.39)",backdropFilter:"blur(20px)",zIndex:"50",display:"flex",flexDirection:"column",justifyContent:"safe center",alignItems:"center",overflow:"auto"},centerOnly:{background:"transparent",backdropFilter:"none",pointerEvents:"none"},content:{display:"block",pointerEvents:"all",margin:"40px"}};function h(e){var t=e.onDismiss,n=e.centerOnly,i=void 0!==n&&n,a=e.children,c=(0,o.useRef)(),u=(0,o.useCallback)((function(e){t&&c.current&&e.target.contains(c.current)&&(e.stopPropagation(),t())}),[c,t]),l=i?f(f({},p.wrapper),p.centerOnly):p.wrapper;return r.createPortal((0,s.jsx)("div",{onClick:u,style:l,children:(0,s.jsx)("div",{ref:c,style:p.content,children:a})}),document.getElementById("modal-root"))}function d(e){var t,n,r=(t=(0,o.useState)(e),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],a=r[1],s=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a(!0)}),[a]),c=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a(!1)}),[a]),l=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a((function(e){return!e}))}),[a]);return[i,s,c,l]}h.propTypes={onDismiss:a().func}},80993:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(58119),o=n(19617),i=n(67294),a=n(95998);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=window.matchMedia("(prefers-color-scheme: dark)"),u=function(e){return e.theme},l=n(85893),f=["label","children"],y=["children"];function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=e.children;return(0,l.jsx)("label",{style:{display:"block",width:"100%",fontSize:"120%",color:"var(--fg)"},children:t})}var g=[0,5,10,20,30,40,50,60,70,80,90].reduce((function(e,t){return m(m({},e),{},v({},"neutral".concat(t),"hsl(210, 33%, ".concat(t+15,"%)")))}),{});function k(e){var t,n,p,d,v,k,_=e.label,j=e.children,x=h(e,f),w=(t=(0,a.v9)(u),v=(0,i.useState)(c.matches),k=2,p=(n=function(e){if(Array.isArray(e))return e}(v)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(v,k)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(v,k)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],d=n[1],(0,i.useEffect)((function(){function e(e){d(e.matches)}return c.addEventListener("change",e),function(){return c.removeEventListener("change",e)}})),"dark"===t||"system"===t&&p);return(0,l.jsxs)("div",{style:{display:"inline-block",width:"auto"},children:[(0,l.jsx)(b,{children:_}),(0,l.jsx)(o.ZP,m({styles:{container:function(e,t){return m(m({},e),{},{display:"inline-block"})},control:function(e){return m(m({},e),{},{transition:"none"})},menu:function(e){return m(m({},e),{},{width:"max-content",zIndex:10})}},components:{MenuList:function(e){var t=e.children,n=h(e,y);return(0,l.jsxs)(r.c.MenuList,m(m({},n),{},{children:[t,j]}))}},theme:function(e){return m(m({},e),{},{colors:m(m({},e.colors),w?g:{})})},isSearchable:!1},x))]})}g.primary25="hsl(214, 100%, 40%)"},21517:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,r.useEffect)((function(){if(n){var r=function(n){var r=document.body.contains(n.target),o=e.current.contains(n.target);r&&!o&&t()};return document.body.addEventListener("click",r),function(){return document.body.removeEventListener("click",r)}}}),[e,n,t])}},91829:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t,n,i=(t=(0,r.useState)(e),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1];return[a,(0,r.useCallback)((function(){return s((function(e){return!e}))}),[s]),(0,r.useCallback)((function(){return s(!0)}),[s]),(0,r.useCallback)((function(){return s(!1)}),[s])]}},18311:function(e,t,n){"use strict";n.d(t,{Z:function(){return _},v:function(){return g}});var r=n(50361),o=n.n(r),i=n(63105),a=n.n(i),s=n(24350),c=n.n(s),u=n(67294),l=n(95998),f=n(2596),y=n(85893);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function d(){}function m(){}var v={};c(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=y.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==p(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=c(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),c(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),c(k,s,"Generator"),c(k,i,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}var g=(0,u.createContext)({keycodes:[],behaviours:[],behaviors:{},behaviorBinds:[],glyphs:[]}),k=function(e){return e.definitions};function _(e){var t=e.children,n=(0,l.v9)(k),r=(0,l.I0)();if((0,u.useEffect)((function(){b(h().mark((function e(){var t,i,s,u,l,f,y,p;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Promise.all([w(),j()]);case 4:t=e.sent,i=d(t,2),s=d(i[0],2),u=s[0],l=s[1],f=i[1],y=o()(f.behaviors),p=o()(f.bindings),u.indexed=c()(u,"code"),p.indexed=c()(p,"code"),p.context={none:p.filter((function(e){return!e.context})),macros:a()(p,{context:"macros"}),encoders:a()(p,{context:"encoders"})},p.byContext={none:c()(p.context.none,"code"),macros:c()(p.context.macros,"code"),encoders:c()(p.context.encoders,"code")},r({type:"DEFINITIONS_SET",definitions:{keycodes:u,behaviours:p,behaviors:y,behaviorBinds:p,glyphs:l}});case 17:case"end":return e.stop()}}),e)})))()}),[n,r]),n)return(0,y.jsx)(g.Provider,{value:n,children:t})}function j(){return x.apply(this,arguments)}function x(){return(x=b(h().mark((function e(){var t,r,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.t.bind(n,95130,23));case 2:return t=e.sent,r=t.behaviorSchemas,o=t.behaviorBindings,e.abrupt("return",{behaviors:r,bindings:o});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return A.apply(this,arguments)}function A(){return(A=b(h().mark((function e(){var t,r,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(3712).then(n.t.bind(n,52779,23));case 2:return t=e.sent,r=t.keycodes,o=t.keycodeGlyphs,e.abrupt("return",[(0,f.G)(r),o]);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},20817:function(e,t,n){"use strict";n.d(t,{Sh:function(){return u},VY:function(){return s},Z7:function(){return l}});var r=n(67294),o=n(39316),i=n(87205),a=n(85893),s=(0,r.createContext)({layout:[],bindingCount:0,wrapperDimensions:{},wrapperStyle:{}}),c={keySize:12,padding:1.5};function u(e){var t=e.layout,n=e.children,u=(0,r.useMemo)((function(){return(0,i.U2)(t)}),[t]),l=(0,r.useMemo)((function(){return t.length}),[t.length]),f=(0,r.useMemo)((function(){return(0,o.v1)(u)}),[u]),y=(0,r.useMemo)((function(){return(0,o.v1)(u,c)}),[u]),p=(0,r.useMemo)((function(){return(0,o.eG)(u,c)}),[u]),h={bindingCount:l,layout:u,layoutBbox:f,miniRenderOptions:c,miniLayoutBbox:y,miniLayoutPolygons:p};return(0,a.jsx)(s.Provider,{value:h,children:n})}function l(){var e=(0,r.useContext)(s);return{layout:e.layout,layoutBbox:e.miniLayoutBbox,polygons:e.miniLayoutPolygons,renderOptions:e.miniRenderOptions}}},80031:function(e,t,n){"use strict";n.d(t,{Jh:function(){return a},W8:function(){return c},Yo:function(){return l},qM:function(){return i},t6:function(){return u}});var r=n(2968),o=n(85893),i=(0,o.jsx)(r.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/issues",children:"Keymap Editor Issues"}),a=(0,o.jsx)(r.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/wiki/Defining-keyboard-layouts",children:"Keymap Editor Wiki: Defining keyboard layouts"}),s=(0,o.jsx)(r.Z,{external:!0,href:"https://nickcoutsos.github.io/keymap-layout-tools/",children:"Keymap Layout Tools - Helper"}),c=(0,o.jsx)(r.Z,{external:!0,href:"https://discord.com/users/115507966555193345",children:"Discord - nickcoutsos#4351"}),u=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{children:"If you are looking for help in getting up and running or want a better understanding of the issue, please feel free to reach out to me:"}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:i}),(0,o.jsx)("li",{children:c})]})]}),l=(0,o.jsxs)("p",{children:["For more information about how Keymap Editor layouts are defined, you can read ",a,", and if you need an environment to quickly test changes to a layout try ",s,"."]})},20058:function(e,t,n){"use strict";n.d(t,{E$:function(){return o},eG:function(){return c},hd:function(){return s},x5:function(){return u}});var r=n(97168),o=function(e){return e.keyboard.keymap.behaviorReconfigurations},i=(0,r.oM)({name:"behaviorReconfigurations",initialState:[],reducers:{addReconfiguration:function(e,t){e.push(t.payload.reconfiguration)},updateReconfiguration:function(e,t){e[t.payload.reconfigurationIndex]=t.payload.reconfiguration},deleteReconfiguration:function(e,t){e.splice(t.payload.reconfigurationIndex,1)}}}),a=i.actions,s=a.addReconfiguration,c=a.updateReconfiguration,u=a.deleteReconfiguration;t.ZP=i.reducer},29520:function(e,t,n){"use strict";n.d(t,{Q:function(){return y},V:function(){return p}});var r=n(97168);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,s,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,s)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function i(r,a,s,c){var u=y(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,c)}),(function(e){i("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return i("throw",e,s,c)}))}c(u.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,u,"Generator"),l(k,s,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}var a=i().mark(h);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=(0,r.PH)("behaviors/labelChanged",(function(e,t,n,r){var o=t[t.length-1],i=e.reduce((function(e,n){return l(l({},e),{},f({},n,t.includes(n)?n:o))}),{});return{payload:{currentLabels:e,targetLabels:t,labelMapping:i,behaviors:n,behaviorSchemas:r}}}));function p(e,t){return function(n,r){var o,i=r.payload,a=i.currentLabels,c=i.labelMapping,u=s(h(n,i.behaviors,i.behaviorSchemas,e,t));try{for(u.s();!(o=u.n()).done;){var l=o.value,f=l.type,y=l.collection,p=l.key,d=y[p].slice(1);if(a.includes(d)){var m=c[d];y[p]=m?"&".concat(m):"&none",m||"phandle-array"!==f||(y.params=[],y._isPlaceholder=!0)}}}catch(e){u.e(e)}finally{u.f()}}}function h(e,t,n,r,o){var c,u,l,f,y,p,h,d,m,v,b,g,k,_,j;return i().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:c=s(e),i.prev=1,c.s();case 3:if((u=c.n()).done){i.next=63;break}l=u.value,f=r(l,t,n),y=s(f),i.prev=7,y.s();case 9:if((p=y.n()).done){i.next=20;break}h=p.value,d=0;case 12:if(!(d<h.length)){i.next=18;break}return i.next=15,{type:"phandles",collection:h,key:d};case 15:d++,i.next=12;break;case 18:i.next=9;break;case 20:i.next=25;break;case 22:i.prev=22,i.t0=i.catch(7),y.e(i.t0);case 25:return i.prev=25,y.f(),i.finish(25);case 28:m=o(l,t,n),v=s(m),i.prev=30,v.s();case 32:if((b=v.n()).done){i.next=53;break}g=b.value,k=s(g),i.prev=35,k.s();case 37:if((_=k.n()).done){i.next=43;break}return j=_.value,i.next=41,{type:"phandle-array",collection:j,key:"value"};case 41:i.next=37;break;case 43:i.next=48;break;case 45:i.prev=45,i.t1=i.catch(35),k.e(i.t1);case 48:return i.prev=48,k.f(),i.finish(48);case 51:i.next=32;break;case 53:i.next=58;break;case 55:i.prev=55,i.t2=i.catch(30),v.e(i.t2);case 58:return i.prev=58,v.f(),i.finish(58);case 61:i.next=3;break;case 63:i.next=68;break;case 65:i.prev=65,i.t3=i.catch(1),c.e(i.t3);case 68:return i.prev=68,c.f(),i.finish(68);case 71:case"end":return i.stop()}}),a,null,[[1,65,68,71],[7,22,25,28],[30,55,58,61],[35,45,48,51]])}},28291:function(e,t,n){"use strict";n.d(t,{F6:function(){return y},md:function(){return p},pR:function(){return a},tY:function(){return h}});var r=n(97168),o=n(50868),i=n(29520),a=function(e){return e.keyboard.keymap.behaviors},s=function(e){return function(t,n,r){var o=function(e){var t,n,r;return(null===(t=e.properties.compatible)||void 0===t?void 0:t.parsed)||(null===(n=e.properties.compatible)||void 0===n||null===(r=n.raw)||void 0===r?void 0:r.replace(/"/g,""))}(t),i=r[o];return i?Object.keys(i.properties).reduce((function(n,r){var o=i.properties[r],a=t.properties[r];return o.type===e&&a&&n.push(a.parsed),n}),[]):[]}},c=s("phandles"),u=s("phandle-array"),l=(0,r.oM)({name:"behaviors",initialState:[],reducers:{addBehavior:function(e,t){e.push(t.payload.behavior)},updateBehavior:function(e,t){e[t.payload.behaviorIndex]=t.payload.behavior},deleteBehavior:function(e,t){e.splice(t.payload.behaviorIndex,1)}},extraReducers:function(e){e.addCase(o.fD,(0,o.Ie)(u)),e.addCase(i.Q,(0,i.V)(c,u))}}),f=l.actions,y=f.addBehavior,p=f.updateBehavior,h=f.deleteBehavior;t.ZP=l.reducer},64536:function(e,t,n){"use strict";n.d(t,{U4:function(){return c}});var r=n(45697),o=n.n(r),i={},a=o().string.isRequired,s=o().arrayOf(o().shape(i));i.value=a,i.params=s;var c=o().shape(i)},2732:function(e,t,n){"use strict";n.d(t,{CG:function(){return h},DP:function(){return u},SD:function(){return v},ij:function(){return y},l3:function(){return d},nJ:function(){return p},pd:function(){return m}});var r=n(27361),o=n.n(r),i=n(97168),a=n(50868),s=n(29520);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(e){return e.keyboard.keymap.combos},l=(0,i.oM)({name:"combos",initialState:[],reducers:{updateComboBinding:function(e,t){e[t.payload.comboIndex].properties.bindings={parsed:t.payload.bindings}},updateComboKeypositions:function(e,t){e[t.payload.comboIndex].properties["key-positions"]={parsed:t.payload.keyPositions}},createCombo:function(e,t){e.push(t.payload)},renameCombo:function(e,t){e[t.payload.index].name=t.payload.name},deleteCombo:function(e,t){e.splice(t.payload.index,1)},customizeCombo:function(e,t){var n=t.payload,r=n.index,o=n.combo;e[r]=o}},extraReducers:function(e){var t=(0,a.Ie)();e.addCase(a.fD,(function(e,n){var r=n.payload,i=r.positionMapping,a=r.sources.defines;t(e,n);var s,u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(u.s();!(s=u.n()).done;){var l,f,y=s.value.properties;null!==(l=y.layers)&&void 0!==l&&null!==(f=l.parsed)&&void 0!==f&&f.length&&(y.layers.parsed=y.layers.parsed.reduce((function(e,t){t=o()(a,t,t);var n=i[t];return null!==n&&e.push(n),e}),[]))}}catch(e){u.e(e)}finally{u.f()}})),e.addCase(s.Q,(0,s.V)((function(){return[]}),(function(e){return[e.properties.bindings.parsed]})))}}),f=l.actions,y=f.updateComboBinding,p=f.updateComboKeypositions,h=f.createCombo,d=f.renameCombo,m=f.deleteCombo,v=f.customizeCombo;t.ZP=l.reducer},59140:function(e,t,n){"use strict";n.d(t,{Iu:function(){return c},YA:function(){return y},Zp:function(){return f},h8:function(){return p}});var r=n(27361),o=n.n(r),i=n(97168),a=n(50868);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e){return e.keyboard.keymap.conditionalLayers},u=(0,i.oM)({name:"conditionalLayers",initialState:[],reducers:{addConditionalLayer:function(e,t){e.push(t.payload.node)},updateConditionalLayer:function(e,t){e[t.payload.index]=t.payload.node},deleteConditionalLayer:function(e,t){e.splice(t.payload.index,1)}},extraReducers:function(e){e.addCase(a.fD,(function(e,t){var n=t.payload,r=n.positionMapping,i=n.sources.defines;function a(e){return e=o()(i,e,e),r[e]}var c,u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(u.s();!(c=u.n()).done;){var l,f,y,p=c.value.properties;void 0!==(null===(l=p["then-layer"])||void 0===l?void 0:l.parsed)&&(p["then-layer"].parsed=a(p["then-layer"].parsed)),null!==(f=p["if-layers"])&&void 0!==f&&null!==(y=f.parsed)&&void 0!==y&&y.length&&(p["if-layers"].parsed=p["if-layers"].parsed.reduce((function(e,t){var n=a(t);return null!==n&&e.push(n),e}),[]))}}catch(e){u.e(e)}finally{u.f()}}))}}),l=u.actions,f=l.addConditionalLayer,y=l.updateConditionalLayer,p=l.deleteConditionalLayer;t.ZP=u.reducer},50868:function(e,t,n){"use strict";n.d(t,{Ie:function(){return m},fD:function(){return h}});var r=n(27361),o=n.n(r),i=n(97168),a=n(41696);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(){c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,c){var u=y(e[r],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,u,"Generator"),l(k,i,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}var u=c().mark(v);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){return(0,a.L)(e,t).reduce((function(t,n,r){return"layer"===n&&t.push(e.params[r]),t}),[])}var h=(0,i.PH)("layers/indexChanged",(function(e,t,n,r,o){var i=function(e,t,n){var r,o=function(e){if(Array.isArray(e))return y(e)}(r=n.keys())||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||f(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return null===t?o.map((function(t){return t===e?null:t>e?t-1:t})):o.map((function(r){var o=r>e&&r>t,i=r<e&&r<t,a=e<r&&r<t;return r===e?t===n.length?t-1:t:o||i?r:a?r-1:r+1}))}(e,t,n),a=r.sources,s=r.behaviorParameters;return{payload:{currentIndex:e,targetIndex:t,sources:a,behaviorSchemas:o.behaviors,behaviorParameters:s,positionMapping:i}}})),d=function(e){return[e.properties.bindings.parsed]};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return function(t,n){var r,i=n.payload,a=i.sources,s=i.behaviorSchemas,c=i.behaviorParameters,u=i.positionMapping,f=a.behaviours,y=a.defines,p=l(v(t,f,s,c,e));try{for(p.s();!(r=p.n()).done;){var h,d=r.value,m=o()(y,d.value,d.value);Number.isNaN(Number(m))||(m=Number(m)),d.value=null===(h=u[m])||void 0===h?void 0:h.toString(),void 0===d.value&&(d.value="0",d._isPlaceholder=!0)}}catch(e){p.e(e)}finally{p.f()}}}function v(e,t,n,r,o){var i,a,s,f,y,h,d,m,v,b,g,k;return c().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:i=l(e),c.prev=1,i.s();case 3:if((a=i.n()).done){c.next=54;break}s=a.value,f=l(o(s,t,n)),c.prev=6,f.s();case 8:if((y=f.n()).done){c.next=44;break}h=y.value,d=l(h),c.prev=11,d.s();case 13:if((m=d.n()).done){c.next=34;break}v=m.value,b=l(p(v,r)),c.prev=16,b.s();case 18:if((g=b.n()).done){c.next=24;break}return k=g.value,c.next=22,k;case 22:c.next=18;break;case 24:c.next=29;break;case 26:c.prev=26,c.t0=c.catch(16),b.e(c.t0);case 29:return c.prev=29,b.f(),c.finish(29);case 32:c.next=13;break;case 34:c.next=39;break;case 36:c.prev=36,c.t1=c.catch(11),d.e(c.t1);case 39:return c.prev=39,d.f(),c.finish(39);case 42:c.next=8;break;case 44:c.next=49;break;case 46:c.prev=46,c.t2=c.catch(6),f.e(c.t2);case 49:return c.prev=49,f.f(),c.finish(49);case 52:c.next=3;break;case 54:c.next=59;break;case 56:c.prev=56,c.t3=c.catch(1),i.e(c.t3);case 59:return c.prev=59,i.f(),c.finish(59);case 62:case"end":return c.stop()}}),u,null,[[1,56,59,62],[6,46,49,52],[11,36,39,42],[16,26,29,32]])}},80736:function(e,t,n){"use strict";n.d(t,{EI:function(){return y},En:function(){return O},Q:function(){return v},QR:function(){return A},UH:function(){return x},V6:function(){return g},WF:function(){return m},Xv:function(){return d},c7:function(){return _},sT:function(){return j},v1:function(){return w},vc:function(){return b},vl:function(){return f},zi:function(){return k}});var r=n(98913),o=n.n(r),i=n(97168),a=n(50868),s=n(29520);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l="&trans",f=function(e){return e.keyboard.keymap.layers};function y(e){var t,n;return(null==e||null===(t=e.properties)||void 0===t||null===(n=t.label)||void 0===n?void 0:n.parsed)||(null==e?void 0:e.name)}var p=(0,i.oM)({name:"layers",initialState:[],reducers:{createLayer:function(e,t){e.push({name:"layer_".concat(e.length),labels:[],properties:{bindings:{parsed:o()(t.payload.bindingCount,(function(){return function(){return{value:arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,params:[]}}()}))}}})},updateLayerMetadata:function(e,t){var n=t.payload,r=n.layerIndex,o=n.name,i=n.label;o&&(e[r].name=o),void 0!==i&&(e[r].properties.label={parsed:i})},renameLayer:function(e,t){e[t.payload.index].name=t.payload.name},repositionLayer:function(e,t){var n=t.payload,r=n.currentIndex,o=n.targetIndex;if(r!==o){var i=e[r],a=o>r?o-1:o;e.splice(r,1),e.splice(a,0,i)}},deleteLayer:function(e,t){e.splice(t.payload.index,1)},updateKeyBinding:function(e,t){e[t.payload.layerIndex].properties.bindings.parsed[t.payload.bindIndex]=t.payload.binding},updateSensorBindings:function(e,t){var n=t.payload,r=n.layerIndex,o=n.sensorIndex,i=n.bindings,a=e[r].properties;a["sensor-bindings"]=a["sensor-bindings"]||{parsed:[]};var s=a["sensor-bindings"].parsed;s[o]=i;for(var c=0;c<o;c++)s[c]=s[c]||{value:"&inc_dec_kp",params:[{value:0,_isPlaceholder:!0,params:[]},{value:0,_isPlaceholder:!0,params:[]}]};var u=s.indexOf(void 0);-1!==u&&s.splice(u,s.length-u)},rebindTransparentToKeyPress:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&trans"===o.value&&(o.value="&kp",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindTransparentToNone:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&trans"===o.value&&(o.value="&none",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindNoneToKeypress:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&none"===o.value&&(o.value="&kp",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindNoneToTransparent:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&none"===o.value&&(o.value="&trans",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindEmptyKeypressToTransparent:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o,i=n.value;"&kp"!==i.value||null!==(o=i.params[0])&&void 0!==o&&o.value||(i.value="&trans",i.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindEmptyKeypressToNone:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o,i=n.value;"&kp"!==i.value||null!==(o=i.params[0])&&void 0!==o&&o.value||(i.value="&none",i.params=[])}}catch(e){r.e(e)}finally{r.f()}}},extraReducers:function(e){e.addCase(a.fD,(0,a.Ie)((function(e){var t,n,r;return[(null===(t=e.properties)||void 0===t||null===(n=t.bindings)||void 0===n?void 0:n.parsed)||[],(null===(r=e.properties["sensor-bindings"])||void 0===r?void 0:r.parsed)||[]]}))),e.addCase(s.Q,(0,s.V)((function(){return[]}),(function(e){var t,n,r;return[(null===(t=e.properties)||void 0===t||null===(n=t.bindings)||void 0===n?void 0:n.parsed)||[],(null===(r=e.properties["sensor-bindings"])||void 0===r?void 0:r.parsed)||[]]})))}}),h=p.actions,d=h.createLayer,m=(h.renameLayer,h.repositionLayer),v=h.deleteLayer,b=h.updateLayerMetadata,g=h.updateKeyBinding,k=h.updateSensorBindings,_=h.rebindTransparentToKeyPress,j=h.rebindTransparentToNone,x=h.rebindNoneToKeypress,w=h.rebindNoneToTransparent,A=h.rebindEmptyKeypressToTransparent,O=h.rebindEmptyKeypressToNone;t.ZP=p.reducer},12736:function(e,t,n){"use strict";n.d(t,{F0:function(){return f},I2:function(){return l},bU:function(){return a},vo:function(){return y},xd:function(){return u}});var r=n(97168),o=n(50868),i=n(29520),a=function(e){return e.keyboard.keymap.macros},s=(0,r.oM)({name:"macros",initialState:[],reducers:{addMacro:function(e,t){e.push(t.payload)},deleteMacro:function(e,t){e.splice(t.payload.index,1)},updateMacroBindings:function(e,t){var n=t.payload,r=n.index,o=n.bindings;e[r].properties.bindings.parsed=o},customizeMacroOptions:function(e,t){Object.assign(e[t.payload.macroIndex],t.payload.options)}},extraReducers:function(e){e.addCase(o.fD,(0,o.Ie)()),e.addCase(i.Q,(0,i.V)((function(){return[]}),(function(e){return[e.properties.bindings.parsed]})))}}),c=s.actions,u=c.addMacro,l=c.deleteMacro,f=c.updateMacroBindings,y=c.customizeMacroOptions;t.ZP=s.reducer},46908:function(e,t,n){"use strict";n.d(t,{Q:function(){return p},m:function(){return y}});var r=n(94184),o=n.n(r),i=n(67294),a=n(85893);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=(0,i.createContext)({});function y(e){var t,n,r=e.tabs,l=e.children,y=e.tabsClassName,p=e.activeTabClassName,d=(t=(0,i.useState)(h),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||u(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=d[0],v=m.activeTab,b=m.context,g=d[1],k=(0,i.useCallback)((function(e,t){g((function(n){return{activeTab:e,context:void 0===t?n.context:t}}))}),[g]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ul",{className:y,children:r.map((function(e,t){var n,r,i,u=e.name,l=e.tabClasses,f=void 0===l?[]:l;return(0,a.jsx)("li",{onClick:function(e){e.stopPropagation(),k(t)},className:o().apply(void 0,c(f).concat([(n={},r=p,i=v===t,(r=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(r))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n)])),children:u},t)}))}),(0,a.jsx)(f.Provider,{value:{context:b,setActiveTab:k},children:(0,a.jsx)(i.Suspense,{children:l[v]})})]})}function p(){return(0,i.useContext)(f)}function h(){return{activeTab:0,context:null}}},69247:function(e,t,n){"use strict";n.d(t,{__:function(){return f},oT:function(){return u},zx:function(){return l}}),n(95998);var r=n(85893),o=["children","style"];function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=e.style,n=void 0===t?{}:t,o=e.children;return(0,r.jsx)("div",{style:s(s({},{height:"38px",lineHeight:"38px"}),n),children:o})}function l(e){var t=e.children,n=e.style,i=void 0===n?{}:n,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o);return(0,r.jsx)(u,{style:i,children:(0,r.jsx)("button",s(s({style:{height:"100%"}},a),{},{children:t}))})}function f(e){var t=e.children;return(0,r.jsx)("label",{style:{display:"block",width:"100%",fontSize:"120%",color:"var(--fg)"},children:t})}window.matchMedia("(prefers-color-scheme: dark)"),[0,5,10,20,30,40,50,60,70,80,90].reduce((function(e,t){return e["neutral".concat(t)]="hsl(210, 33%, ".concat(t+15,"%)"),e}),{}).primary25="hsl(214, 100%, 40%)"},93965:function(e,t,n){"use strict";var r=n(9669),o=n.n(r),i=n(26729),a=n.n(i),s=n(28962);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,s){var u=y(e[r],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,s,"Generator"),l(k,i,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,s,"next",e)}function s(e){l(i,r,o,a,s,"throw",e)}a(void 0)}))}}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}var b="".concat(s.ny.replace("http","ws"),"/github/events"),g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(x,e);var t,n,r,i,a,l,v,g,k,_,j=(k=x,_=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(k);if(_){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,e)});function x(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=j.call.apply(j,[this].concat(n))),"token",null),m(h(e),"initializing",!1),m(h(e),"installations",null),m(h(e),"repositories",null),m(h(e),"repoInstallationMap",null),m(h(e),"features",null),m(h(e),"socket",null),e}return t=x,n=[{key:"_request",value:(g=f(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"string"==typeof t&&(t={url:t}),t.url.startsWith("/")&&(t.url="".concat(s.ny).concat(t.url)),t.headers=Object.assign({},t.headers),this.token&&!t.headers.Authorization&&(t.headers.Authorization="Bearer ".concat(this.token)),e.prev=4,e.next=7,o()(t);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(4),401===(null===(n=e.t0.response)||void 0===n?void 0:n.status)&&(console.error("Authentication failed."),this.emit("authentication-failed",e.t0.response)),e.t0;case 14:case"end":return e.stop()}}),e,this,[[4,10]])}))),function(e){return g.apply(this,arguments)})},{key:"init",value:function(){var e=this;return this.initializing||(this.initializing=f(u().mark((function t(){var n,r,o,i,a,c;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.initEvents(),n="".concat(s.ny,"/github/installation"),(r=new URLSearchParams(window.location.search)).get("setup_action")&&r.get("installation_id")&&e.beginLoginFlow(),!r.get("blocked")){t.next=7;break}return setTimeout((function(){return e.emit("blocked")})),t.abrupt("return");case 7:if(o=r.get("token"),!window.localStorage.auth_token&&o&&(window.history.replaceState({},null,window.location.pathname),window.localStorage.auth_token=o),!window.localStorage.auth_token){t.next=22;break}return e.token=window.localStorage.auth_token,t.next=13,e._request(n);case 13:i=t.sent,a=i.data,c=a.installations.filter((function(e){return e.suspended_at})),a.installations.length===c.length&&(console.warn("No GitHub app installation found for authenticated user."),e.emit("app-not-installed")),e.username=a.username,e.installations=a.installations,e.repositories=a.repositories,e.repoInstallationMap=a.repoInstallationMap,e.emit("authenticated");case 22:case"end":return t.stop()}}),t)})))()),this.initializing}},{key:"initEvents",value:function(){var e=this,t=[],n=function(n){e.socket.readyState!==window.WebSocket.OPEN?(t.push(n),console.log("buffering websocket message",{readyState:e.socket.readyState},n)):e.socket.send(n)};this.socket=new window.WebSocket(b),this.socket.onopen=function(){console.log(new Date,"connected to console"),function(){for(var n;n=t.shift();)console.log("sending buffered websocket message",n),e.socket.send(n)}(),setInterval((function(){n(JSON.stringify({message:"ping"}))}),2e4)},this.socket.onclose=function(){return console.log(new Date,"disconnected from server")},this.socket.onerror=function(e){return console.error(new Date,e)},this.socket.onmessage=function(t){var n=JSON.parse(t.data);"workflow_run"===n.event&&e.emit("build-update",n.workflow_run)},this.on("authenticated",(function(){var t;null!==(t=e.installations)&&void 0!==t&&t.length&&(e.fetchAvailableFeatures(),n(JSON.stringify({message:"authorize",data:e.token})))}))}},{key:"beginLoginFlow",value:function(){window.localStorage.removeItem("auth_token"),window.location.href="".concat(s.ny,"/github/authorize")}},{key:"beginInstallAppFlow",value:function(){window.location.href="https://github.com/apps/".concat(s.cO,"/installations/new")}},{key:"logout",value:function(){window.localStorage.removeItem("auth_token"),window.location.href=s.AX}},{key:"manageInstallationRepos",value:function(e){var t=this.installations.find((function(t){return t.id===e}));window.location.href=t.html_url}},{key:"isGitHubAuthorized",value:function(){return!!this.token}},{key:"isAppSuspendedForRepoSelection",value:function(){var e,t,n;return(null===(e=this.installations)||void 0===e?void 0:e.length)>0&&(null===(t=this.installations)||void 0===t?void 0:t.every((function(e){return e.suspended_at})))&&(null===(n=this.installations)||void 0===n?void 0:n.some((function(e){return"all"===e.repository_selection})))}},{key:"isAppInstalled",value:function(){var e,t;return(null===(e=this.installations)||void 0===e?void 0:e.length)&&(null===(t=this.repositories)||void 0===t?void 0:t.length)}},{key:"fetchRepoBranches",value:(v=f(u().mark((function e(t){var n,r,o,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=encodeURIComponent(this.repoInstallationMap[t.full_name]),r=encodeURIComponent(t.full_name),e.next=4,this._request("/github/installation/".concat(n,"/").concat(r,"/branches"));case 4:return o=e.sent,i=o.data,e.abrupt("return",i);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"fetchBranchKeyboards",value:(l=f(u().mark((function e(t,n){var r,o,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=encodeURIComponent(this.repoInstallationMap[t.full_name]),o=encodeURIComponent(t.full_name),e.next=4,this._request("/github/installation/".concat(r,"/").concat(o,"/keyboards/").concat(n));case 4:return i=e.sent,a=i.data,e.abrupt("return",a);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return l.apply(this,arguments)})},{key:"fetchLayoutAndKeymap",value:(a=f(u().mark((function e(t,n){var r,o,i,a,c,l,f,y,p,h,d,m,v,b,g,k,_=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(_.length>2&&void 0!==_[2]?_[2]:{}).keyboard,o=encodeURIComponent(this.repoInstallationMap[t]),i=encodeURIComponent(t),a=new URL("".concat(s.ny,"/github/keyboard-files/").concat(o,"/").concat(i)),c=new URLSearchParams,n&&c.set("branch",n),r&&c.set("keyboard",r),a.search=c.toString(),e.prev=8,e.next=11,this._request(a.toString());case 11:return l=e.sent,f=l.data,y=f.info.layouts,p=f.keymap,h=f.keymapRaw,d=Object.keys(f.info.layouts)[0],m=p.chosen["zmk,matrix_transform"]?p.chosen["zmk,matrix_transform"].replace(/^&/,""):null,v=y[m]||y[d],b=v.layout,e.abrupt("return",{layoutMetadata:v,layout:b,keymap:p,keymapRaw:h,keyboards:f.keyboards,default:f.defaultKeymap,sensors:f.sensors,gitInfo:f.gitInfo});case 21:throw e.prev=21,e.t0=e.catch(8),400===(null===(g=e.t0.response)||void 0===g?void 0:g.status)?(console.error("Failed to load keymap and layout from github",e.t0.response.data),this.emit("repo-validation-error",e.t0.response.data)):500===(null===(k=e.t0.response)||void 0===k?void 0:k.status)&&"LayoutGenerationError"===e.t0.response.data.name&&this.emit("layout-generation-failed",e.t0.response.data),e.t0;case 25:case"end":return e.stop()}}),e,this,[[8,21]])}))),function(e,t){return a.apply(this,arguments)})},{key:"fetchAvailableFeatures",value:(i=f(u().mark((function e(){var t,n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isGitHubAuthorized()){e.next=2;break}return e.abrupt("return",{betaFeatures:[]});case 2:return this.features||(this.features=this._request("".concat(s.ny,"/github/features"))),e.next=5,this.features;case 5:return t=e.sent,n=t.data,e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fetchBuildStatus",value:(r=f(u().mark((function e(t,n){var r,o,i,a,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=encodeURIComponent(this.repoInstallationMap[t]),o=encodeURIComponent(t),i=new URL("".concat(s.ny,"/github/latest-run/").concat(r,"/").concat(o,"/").concat(encodeURIComponent(n))),e.next=5,this._request(i.toString());case 5:return a=e.sent,c=a.data,e.abrupt("return",c);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"createBranch",value:function(e,t,n){var r=this.repositories.find((function(t){return t.id===e})),o=encodeURIComponent(this.repoInstallationMap[r.full_name]),i=encodeURIComponent(r.full_name),a=new URL("".concat(s.ny,"/github/installation/").concat(o,"/").concat(i,"/branches")),c=new URLSearchParams({branch:t});return a.search=c.toString(),this._request({url:a.toString(),method:"POST",headers:{"Content-Type":"application/json"},data:{name:n}})}},{key:"commitChanges",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=o.message,a=void 0===i?null:i,c=o.keyboard,u=o.loadedGitInfo,l=encodeURIComponent(this.repoInstallationMap[e]),f=encodeURIComponent(e),y=new URL("".concat(s.ny,"/github/keyboard-files/").concat(l,"/").concat(f,"/").concat(encodeURIComponent(t))),p=new URLSearchParams({enableBehaviorEditing:!0});return c&&p.set("keyboard",c),y.search=p.toString(),this._request({url:y.toString(),method:"POST",headers:{"Content-Type":"application/json"},data:{keyboard:c,keymap:r,message:a,loadedGitInfo:u}})}}],n&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),x}(a()),k=new g;t.Z=k},28962:function(e,t,n){"use strict";function r(e){return e&&["1","on","yes","true"].includes(e.toString().toLowerCase())}n.d(t,{AX:function(){return i},IX:function(){return u},XG:function(){return f},cO:function(){return a},k0:function(){return s},mC:function(){return l},ny:function(){return o},qo:function(){return c}});var o="https://zmk-keymap-editor.fly.dev",i="https://nickcoutsos.github.io/keymap-editor",a="keymap-editor",s=r("true"),c=r("false"),u=r("true"),l=r("true"),f=r("true")},97020:function(e,t,n){"use strict";var r=n(67294),o=n(20745),i=n(95998),a=n(93379),s=n.n(a),c=n(7795),u=n.n(c),l=n(90569),f=n.n(l),y=n(3565),p=n.n(y),h=n(19216),d=n.n(h),m=n(44589),v=n.n(m),b=n(51424),g={};g.styleTagTransform=v(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(b.Z,g),b.Z&&b.Z.locals&&b.Z.locals,n(81802);var k=n(81485),_=n(62092),j=n(39693),x=n.n(j),w=n(50361),A=n.n(w),O=n(63105),E=n.n(O),S=n(27361),C=n.n(S),P=n(41609),L=n.n(P),I=n(24350),B=n.n(I),T=n(95130),D=n(51785),N=n(18311),R=n(2596),G=n(62412),M=n(85893),Z=["children"];function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){U(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===q(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(){Y=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==q(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function K(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=V(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function H(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function V(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function J(e){var t,o,i=(t=(0,r.useState)([]),o=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,o)||V(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1],c=(0,r.useMemo)((function(){return e.headers.reduce((function(e,t){return t in D&&e.push(D[t]),e}),[])}),[e.headers]);return(0,r.useEffect)((function(){var e,t;(e=Y().mark((function e(){var t,r,o,i,a;return Y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Q(c),e.prev=2,r.s();case 4:if((o=r.n()).done){e.next=12;break}return i=o.value,e.next=8,n(34366)("./".concat(i.filename));case 8:a=e.sent,t.push.apply(t,K((0,R.G)(a.keys)));case 10:e.next=4;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),r.e(e.t0);case 17:return e.prev=17,r.f(),e.finish(17);case 20:s(t);case 21:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})),t=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){H(i,r,o,a,s,"next",e)}function s(e){H(i,r,o,a,s,"throw",e)}a(void 0)}))},function(){return t.apply(this,arguments)})()}),[c]),a}var X=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Z).keymap,o=(0,r.useContext)(N.v),i=o.keycodes,a=o.behaviours,s=o.glyphs,c=(0,r.useContext)(k.J).settings,u=J(n),l=(0,r.useMemo)((function(){var e=window.navigator.platform.startsWith("Mac"),t=window.navigator.platform.startsWith("Win"),n=e?"mac":t&&"win";return(0,R.j)(s,{unicode:C()(c,"unicodeGlyphs",!0),platform:"auto"!==C()(c,"platformGlyphs","auto")?c.platformGlyphs:n})}),[s,c]),f=(0,r.useMemo)((function(){var e=n.behaviors.map((function(e){return(e=A()(e)).code="&".concat(e.labels[0]),e.compatible=e.properties.compatible.parsed,e}));(0,T.mergeBehaviorOverlays)(e,T.behaviorOverlays);var t=[].concat(K(a.map((function(e){var t;return F(F({},e),{},{description:e.description||(null===(t=e.schema)||void 0===t?void 0:t.description)})}))),K((e||[]).map((function(e){var t,n;return{code:"&".concat(e.labels[0]),bind:"&".concat(e.labels[0]),name:e.name,displayName:(null===(t=e.properties.label)||void 0===t?void 0:t.raw)||e.name,description:"Custom behavior: ".concat((null===(n=e.properties.label)||void 0===n?void 0:n.raw)||e.name),context:e.context}}))),K(n.macros.map((function(e){var t;return{code:"&".concat(e.labels[0]),name:e.name,description:"Custom macro ".concat((null===(t=e.properties.label)||void 0===t?void 0:t.raw)||e.name)}}))));return t.indexed=B()(t,"code"),t.context={none:t.filter((function(e){return!e.context})),macros:E()(t,{context:"macros"}),encoders:E()(t,{context:"encoders"})},t.byContext={none:B()(t.context.none,"code"),macros:B()(t.context.macros,"code"),encoders:B()(t.context.encoders,"code")},t}),[a,n.behaviors,n.macros]),y=(0,r.useMemo)((function(){return(0,G.resolveBehaviorParams)([].concat(K(a),K(n.behaviors),K(n.macros)))}),[a,n.behaviors,n.macros]),p=(0,r.useMemo)((function(){return L()(n)?[]:n.layers.map((function(e,t){return{code:t,description:e.name||"Layer ".concat(t)}}))}),[n]),h=(0,r.useMemo)((function(){return[].concat(K(i.map((function(e){return A()(e)}))),K(u.map((function(e){return A()(e)}))))}),[i,u]),d=(0,r.useMemo)((function(){var e=B()(h,"code");for(var t in l){var n,r=l[t],o=Q(e[t].aliases);try{for(o.s();!(n=o.n()).done;){var i=n.value;e[i].symbol=r.symbol||e[i].symbol,e[i].faIcon=r.faIcon||e[i].faIcon}}catch(e){o.e(e)}finally{o.f()}}for(var a=0,s=["EXCL","AT","HASH","DLLR","PRCNT","CARET","AMPS","STAR","UNDER","PLUS","PIPE","TILDE2","COLON","TILDE","LT","QMARK","CLEAR2","PIPE2","LPAR","RPAR","LBRC","RBRC","DQT","GT"];a<s.length;a++)e[s[a]].modifiers=["LS"];return e}),[h,l]),m=(0,r.useMemo)((function(){return{code:d,behaviours:f.indexed,behavioursByContext:f.byContext,layer:B()(p,"code"),defines:n.defines}}),[d,f,p,n.defines]),v=(0,r.useMemo)((function(){return{behaviour:f,code:h}}),[f,h]),b=(0,r.useMemo)((function(){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none";return e.enum?e.enum.map((function(e){return"object"===q(e)?e:{code:e}})):e.raw?[]:(v[e]||console.error("cannot find target for",e),"behaviour"===e?v.behaviour.context[n]:v[e])}}),[v]),g=(0,r.useMemo)((function(){return[].concat(K(Object.keys(d)),K(Object.keys(n.defines||{})))}),[d,n.defines]);return(0,M.jsx)(k.c.Provider,{value:{behaviorParameters:y,getSearchTargets:b,mergedGlyphs:l,sources:m,identifiers:g},children:t})},$=n(45697),ee=n.n($),te=n(64536),ne=ee().shape({index:ee().number,name:ee().string,properties:ee().shape({bindings:ee().shape({parsed:ee().arrayOf(te.U4).isRequired}).isRequired,"key-positions":ee().shape({parsed:ee().arrayOf(ee().number).isRequired}).isRequired})}),re=ee().shape({index:ee().number,name:ee().string,properties:ee().shape({bindings:ee().shape({parsed:ee().arrayOf(te.U4).isRequired}).isRequired,"sensor-bindings":ee().shape({parsed:ee().arrayOf(te.U4).isRequired})})}),oe=ee().shape({layers:ee().arrayOf(re).isRequired,combos:ee().arrayOf(ne)}),ie=n(95872),ae=n(7739),se=n.n(ae);function ce(e){return e.every((function(e){return void 0===e.row&&void 0===e.col}))?["Layout in info.json has no row/col definitions. Generated keymap files will not be nicely formatted."]:[]}var ue=n(2024);function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function fe(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ye(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==le(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===le(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var de=function(e){return e.name},me=function(e){return e.labels[0]},ve=function(e){var t;return null===(t=e.properties.label)||void 0===t?void 0:t.parsed};function be(e,t){var n=se()(e,t);return Object.values(n).filter((function(e){return e.length>1}))}function ge(e){var t=e.layers.map((function(e,t){return{location:"Keymap - Layer #".concat(t," (").concat(e.name,")"),path:"keymap.layers[".concat(t,"]"),name:de(e)}})),n=e.conditionalLayers.map((function(e,t){return{location:"Keymap - Conditional Layer #".concat(t," (").concat(e.name,")"),path:"keymap.conditionalLayers[".concat(t,"]"),name:de(e)}})),r=e.combos.map((function(e,t){return{location:"Combos - Combo #".concat(t," (").concat(e.name,")"),path:"combos[".concat(t,"].name"),name:e.name}})),o=e.macros.map((function(e,t){return{location:"Macros - Macro #".concat(t," (").concat(de(e),")"),path:"macros[".concat(t,"].name"),name:de(e)}})),i=function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(me(e),") - Name"),path:"behaviors[".concat(t,"].name"),name:de(e)}}))}(e.behaviors),a=[].concat(fe(be(t,"name")),fe(be(n,"name")),fe(be(r,"name")),fe(be(o,"name")),fe(be(i,"name"))),s=[].concat(fe(t.filter((function(e){return ue.includes(e.name)}))),fe(n.filter((function(e){return ue.includes(e.name)}))),fe(r.filter((function(e){return ue.includes(e.name)}))),fe(o.filter((function(e){return ue.includes(e.name)}))),fe(i.filter((function(e){return ue.includes(e.name)}))));return{duplicates:a,redefined:s,passwordMacros:fe(o.filter((function(e){return t=e.name,[/(^|[\b_])pass(word)?([\b_]|$)/].some((function(e){return t.match(e)}));var t})))}}function ke(e){var t=be([].concat(e.layers.reduce((function(e,t,n){var r=ve(t);return r&&e.push({location:"Keymap - Layer #".concat(n," (").concat(t.name,")"),path:"keymap.layers[".concat(n,"].label"),label:r}),e}),[]),e.macros.reduce((function(e,t,n){return t.label&&e.push({location:"Macros - Macro #".concat(n," (").concat(ve(t),") - Label"),path:"macros[".concat(n,"].label"),label:ve(t)}),e}),[]),function(e){return e.reduce((function(e,t,n){var r=ve(t),o=me(t);return r&&e.push({location:"Behaviors - Behavior #".concat(n," (").concat(o,") - Label"),path:"behaviors[".concat(n,"].label"),label:r}),e}),[])}(e.behaviors)),"label");return{duplicates:t}}function _e(e){var t=se()([].concat(e.macros.map((function(e,t){return{location:"Macros > Macro #".concat(t," (").concat(me(e),")"),path:"macros[".concat(t,"].name"),ref:me(e)}})),function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(me(e),") - Bind"),path:"behaviors[".concat(t,"].bind"),ref:me(e)}}))}(e.behaviors)),"ref");return{duplicates:Object.values(t).reduce((function(e,t){return t.length>1&&e.push(t),e}),[])}}function je(e){return{resetBindings:[].concat(fe(e.layers.reduce((function(e,t,n){var r,o;return null===(r=t.properties.bindings)||void 0===r||null===(o=r.parsed)||void 0===o||o.forEach((function(r,o){"&reset"===r.value&&e.push({location:"Keymap - Layer #".concat(n," (").concat(t.name,") - Key position ").concat(o),path:"keymap.layers[".concat(n,"].bindings[").concat(o,"]"),name:"&reset"})})),e}),[])),fe(e.macros.reduce((function(e,t,n){return t.properties.bindings.parsed.forEach((function(r,o){"&reset"===r.value&&e.push({location:"Macros - Macro #".concat(n," (").concat(t.name,") - Binding position ").concat(o),path:"keymap.macros[".concat(n,"].properties.bindings[").concat(o,"].parsed"),name:"&reset"})})),e}),[])),fe(e.combos.reduce((function(e,t,n){return t.properties.bindings.parsed.forEach((function(r,o){"&reset"===r.value&&e.push({location:"Combos - Combo #".concat(n," (").concat(t.name,")"),path:"keymap.combos[".concat(n,"].bindings[").concat(o,"]"),name:"&reset"})})),e}),[])),fe(e.behaviors.reduce((function(e,t,n){var r,o;return null===(r=t.properties.bindings)||void 0===r||null===(o=r.parsed)||void 0===o||o.forEach((function(r,o){"&reset"!==r.value&&"&reset"!==r||e.push({location:"Behaviors - Behavior #".concat(n," (").concat(t.name,") - Bind position ").concat(o),path:"keymap.behaviors[".concat(n,"].parsed.bindings[").concat(o,"].parsed"),name:"&reset"})})),e}),[])))}}var xe=n(20817),we=n(46908),Ae=(0,r.lazy)((function(){return Promise.all([n.e(535),n.e(6538),n.e(4820),n.e(5868)]).then(n.bind(n,32098))})),Oe=(0,r.lazy)((function(){return Promise.all([n.e(535),n.e(6538),n.e(4820),n.e(8315)]).then(n.bind(n,44019))})),Ee=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(535),n.e(6538),n.e(6793)]).then(n.bind(n,77537))})),Se=(0,r.lazy)((function(){return n.e(1803).then(n.bind(n,11937))})),Ce=(0,r.lazy)((function(){return Promise.all([n.e(535),n.e(6538),n.e(5819)]).then(n.bind(n,35634))})),Pe=(0,r.lazy)((function(){return n.e(5074).then(n.bind(n,727))})),Le=function(e){return e.keyboard.keymap};function Ie(){var e=(0,i.v9)(Le),t=(0,r.useContext)(xe.VY).layout,n=(0,r.useMemo)((function(){return function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({nodeNames:ge(e),nodeLabels:ke(e),nodeReferences:_e(e),deprecations:je(e)},function(e){return{layoutMissingPositions:ce(e)}}(t))}(e,t)}),[e,t]),o=(0,r.useMemo)((function(){var e=n.nodeNames,t=n.nodeLabels,r=n.nodeReferences,o=n.deprecations,i=n.layoutMissingPositions;return e.duplicates.length+e.redefined.length+e.passwordMacros.length+t.duplicates.length+r.duplicates.length+o.resetBindings.length+i.length}),[n]),a=x()([{name:"layers",component:(0,M.jsx)(Ee,{})},{name:"conditional layers",component:(0,M.jsx)(Se,{})},{name:"combos",component:(0,M.jsx)(Oe,{})},{name:"macros",component:(0,M.jsx)(Ce,{})},{name:"behaviors",component:(0,M.jsx)(Ae,{})},o>0&&{name:"warnings (".concat(o,")"),tabClasses:[ie.Z.warningTab],component:(0,M.jsx)(Pe,{sanityChecks:n})}]);return(0,M.jsx)(X,{keymap:e,children:(0,M.jsx)(we.m,{tabs:a,tabsClassName:ie.Z.editorModeTabs,activeTabClassName:ie.Z.activeEditTab,children:a.map((function(e,t){return(0,M.jsx)(r.Fragment,{children:e.component},t)}))})})}Ie.propTypes={keymap:oe};var Be=Ie,Te=n(41051),De=n(2746),Ne={};Ne.styleTagTransform=v(),Ne.setAttributes=p(),Ne.insert=f().bind(null,"head"),Ne.domAPI=u(),Ne.insertStyleElement=d(),s()(De.Z,Ne);var Re=De.Z&&De.Z.locals?De.Z.locals:void 0,Ge="https://github.com/nickcoutsos/keymap-editor";function Me(){return(0,M.jsxs)("div",{className:Re.wrapper,children:[(0,M.jsx)("label",{children:"Need help? Open an issue:"}),(0,M.jsxs)("a",{className:Re.githubLink,target:"_blank",rel:"noreferrer",href:Ge,children:[(0,M.jsx)(Te.Z,{collection:"brands",name:"github"}),"/nickcoutsos/keymap-editor"]})]})}var Ze=n(96186),qe=n(64261);function ze(e){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ze(e)}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ze(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ze(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke={description:{fontStyle:"italic",fontSize:"90%"}};function Qe(e){var t=e.settings,n=e.onUpdate,r=e.onClose;function o(e,r){n(Ue(Ue({},t),{},Ye({},e,r)))}return(0,M.jsx)(qe.Z,{onDismiss:r,children:(0,M.jsxs)(Ze.Z,{onDismiss:r,children:[(0,M.jsx)("h1",{children:"Settings"}),(0,M.jsx)("h2",{children:"Keycode glyphs"}),(0,M.jsx)("h3",{children:(0,M.jsxs)("label",{htmlFor:"enable-unicode-glyphs",children:[(0,M.jsx)("input",{id:"enable-unicode-glyphs",type:"checkbox",checked:t.unicodeGlyphs,onChange:function(e){return o("unicodeGlyphs",e.target.checked)}})," Use Unicode Glyphs"]})}),(0,M.jsxs)("p",{style:Ke.description,children:["Use unicode glyphs for visual representations of keycodes like ",(0,M.jsx)("code",{children:"Enter"})," (⮐), ",(0,M.jsx)("code",{children:"Right Arrow"})," (⏵), etc. You can disable this if the symbols don't render correctly."]}),(0,M.jsx)("h3",{children:(0,M.jsxs)("label",{htmlFor:"platform-specific-glyphs",children:["Platform specific glyphs ",(0,M.jsxs)("select",{id:"platform-specific-glyphs",value:t.platformGlyphs||"auto",onChange:function(e){return o("platformGlyphs",e.target.value)},children:[(0,M.jsx)("option",{value:"auto",children:"Automatic"}),(0,M.jsx)("option",{value:"win",children:"Windows"}),(0,M.jsx)("option",{value:"mac",children:"macOS"})]})]})}),(0,M.jsxs)("p",{style:Ke.description,children:["Render symbols specific to your platform. E.g., render left/right meta key as ",(0,M.jsx)(Te.Z,{name:"windows fa-brands"})," for Windows, or ⌘ for macOS."]})]})})}Qe.propTypes={settings:ee().object.isRequired,onUpdate:ee().func.isRequired,onClose:ee().func.isRequired},Qe.defaultProps={settings:{}};var He=Qe,Ve=n(94184),We=n.n(Ve),Je=n(13311),Xe=n.n(Je),$e=n(21517),et=n(91829),tt=n(80993),nt=n(80031);function rt(e){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rt(e)}function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==rt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==rt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===rt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(e){return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,it(it({},e),{},{children:[(0,M.jsx)("h2",{children:"This layout was Auto-Generated"}),(0,M.jsx)("p",{children:"Hi there! There wasn't a layout definition to accompany your keymap file, so the keymap editor tried to generate one automatically in a last-ditch effort to help you get into the app."}),(0,M.jsxs)("p",{children:["This layout definition was (or will be) saved when you first save keymap changes with the keymap editor, so remember that if there are any tweaks you'd like to make to improve it you can do so by editing the ",(0,M.jsx)("code",{children:"info.json"})," file."]}),nt.Yo]}))})}st.propTypes={};var ct=st,ut=n(69247),lt=n(27621);function ft(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsx)("p",{children:"It looks like some bindings in your keymap are using custom pre-processor macros which isn't supported by the Keymap Editor. These macros make it difficult both to resolve bindings to behaviors and parameters, as well as to generate modified keymap code that is consistent with your original intentions."}),(0,M.jsx)("p",{children:"Please either continue editing your keymap by hand with these helpers or if you would like to use this editor, rewrite the keymap to use ZMK's syntax directly."}),nt.t6]})})}ft.propTypes={onDismiss:ee().func.isRequired};var yt=ft,pt=n(2968),ht=(0,M.jsx)(pt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/wiki/Autoshift-using-ZMK-behaviors",children:"Autoshift using ZMK behaviors"});function dt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsxs)("p",{children:["It looks like you're using a custom pre-processor macro to implement an ",(0,M.jsx)("em",{children:"autoshift"})," in your keymap. Parsing these functions is not supported by the Keymap Editor, but if you're interested you can re-implement it using standard ZMK functionality."]}),(0,M.jsxs)("p",{children:["Please see ",ht," for a guide."]}),nt.t6]})})}dt.propTypes={onDismiss:ee().func.isRequired};var mt=dt;function vt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsxs)("p",{children:[(0,M.jsx)("code",{children:"keymap"})," is a top-level node."]}),(0,M.jsxs)("p",{children:["Your devicetree ",(0,M.jsx)("code",{children:"keymap"})," node wasn't found in the expected location. Usually this is the result of an incorrectly formatted tree and can introduce more errors if not fixed."]}),(0,M.jsxs)("p",{children:["Feel free to reach out for support at ",nt.qM,"."]})]})})}function bt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsx)("p",{children:"Something went wrong while trying to parse your keymap. It's hard to say what exactly, because I wasn't expecting this."}),(0,M.jsx)("p",{children:"A common occurrence here is keymaps using a variety of pre-processor macros to define layers/combos/etc."}),nt.t6]})})}vt.propTypes={onDismiss:ee().func.isRequired},bt.propTypes={onDismiss:ee().func.isRequired};var gt=bt;function kt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse Miryoku keymap"}),(0,M.jsx)("p",{children:"It looks like your keyboard is built using Miryoku to manage the configuration and keymap. Parsing and editing keymaps that use this syntax is unsupported by the Keymap Editor."}),(0,M.jsx)("p",{children:"Please either continue editing your keymap by hand with these helpers or if you would like to use this editor, rewrite the keymap to use ZMK's syntax directly."})]})})}kt.propTypes={onDismiss:ee().func.isRequired};var _t=kt;function jt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsx)("p",{children:"Missing devicetree root node."}),(0,M.jsx)("p",{children:"The keymap editor was unable to find a devicetree root node in your keymap. This means that either something is wrong with the parser or something is wrong with your keymap's syntax."}),(0,M.jsxs)("p",{children:["If you've been using the keymap editor succesfully up to now it's possible that it has introduced an error in the keymap file. Please reach out for support at ",nt.qM,"."]})]})})}jt.propTypes={onDismiss:ee().func.isRequired};var xt=jt;function wt(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Could not parse keymap"}),(0,M.jsxs)("p",{children:["Detected use of ",(0,M.jsx)("code",{children:"zmk-nodefree-config"})]}),(0,M.jsx)("p",{children:"It looks like your keymap is built using helper functions from the zmk-nodefree-config library to replace devicetree syntax. Parsing and editing keymaps that use this syntax is unsupported by the Keymap Editor."}),(0,M.jsx)("p",{children:"Please either continue editing your keymap by hand with these helpers or if you would like to use this editor, rewrite the keymap to use ZMK's syntax directly."})]})})}wt.propTypes={onDismiss:ee().func.isRequired};var At=wt,Ot=n(28962),Et=x()([Ot.IX&&{id:"demo",name:"Demo Keyboard",icon:"keyboard",shortDescription:"Play around with a sample keymap",description:"Take the keymap editor for a spin with a sample Corne keymap, no setup necessary."},Ot.qo&&{id:"local",name:"Local",icon:"home",shortDescription:"Hello, me",collapsible:!1},Ot.k0&&{id:"github",name:"GitHub",icon:"github",iconCollection:"brands",shortDescription:"Integrate with a GitHub repo, leveraging GitHub actions to compile firmware",description:"Have a zmk-config repository in GitHub? Integrate with it and use the app to make changes to your keymaps directly.",collapsible:!0},Ot.mC&&{id:"clipboard",name:"Clipboard",icon:"clipboard",shortDescription:"Read and write keymap data directly from your clipboard",description:"Prefer to work locally? Paste the contents of your keymaps into the app for graphical editing and copy changes to your clipboard with the click of a button.",isBeta:!0},Ot.XG&&window.showOpenFilePicker&&{id:"filesystem",name:"File System",icon:"file-code",shortDescription:"Read and write keymap files on your local filesystem",description:"Prefer to work locally? Locate keymaps on your filesystem and write changes directly.",isBeta:!0}]),St=localStorage.getItem("selectedSource"),Ct=(1===Et.length?Et[0].id:null)||(Et.find((function(e){return e.id===St}))?St:null),Pt=n(58723),Lt={};Lt.styleTagTransform=v(),Lt.setAttributes=p(),Lt.insert=f().bind(null,"head"),Lt.domAPI=u(),Lt.insertStyleElement=d(),s()(Pt.Z,Lt);var It=Pt.Z&&Pt.Z.locals?Pt.Z.locals:void 0;function Bt(e){var t=e.onSelect;return(0,M.jsxs)("div",{className:It.initialSelectionPage,children:[(0,M.jsxs)("div",{className:It.heading,children:[(0,M.jsx)("h1",{children:"Welcome!"}),(0,M.jsx)("p",{children:"This application allows you to load ZMK keymap code and manage it with a graphical presentation of your keyboard. To begin, select a source from which to load some keymap data. (You can switch between sources at any time)"})]}),(0,M.jsx)("div",{className:It.initialSelectionChoices,children:Et.map((function(e,n){return(0,M.jsxs)("div",{className:It.choice,children:[(0,M.jsxs)("div",{onClick:function(){t(e)},children:[(0,M.jsx)(Te.Z,{name:e.icon,collection:e.iconCollection,className:It.sourceIcon}),(0,M.jsx)("h2",{children:e.name})]}),(0,M.jsx)("div",{className:It.sourceDescription,children:e.description})]},n)}))})]})}function Tt(e){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Tt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Tt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Tt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Zt=(0,r.lazy)((function(){return n.e(3983).then(n.bind(n,67553))})),qt=(0,r.lazy)((function(){return n.e(4733).then(n.bind(n,2946))})),zt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(1066),n.e(3203)]).then(n.bind(n,12160))})),Ft=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(1066),n.e(4084),n.e(5708)]).then(n.bind(n,11823))})),Ut=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(1066),n.e(4084),n.e(4218)]).then(n.bind(n,61663))})),Yt=function(e){return e.keyboard};function Kt(e){var t=e.onSelect,n=(0,r.useRef)(),o=(0,i.v9)(Yt),a=Gt((0,r.useState)(Ct),2),s=a[0],c=a[1],u=Gt((0,r.useState)({autoGenerated:!1}),2),l=u[0].autoGenerated,f=u[1],y=Gt((0,r.useState)(null),2),p=y[0],h=y[1],d=(0,r.useCallback)((function(){return h(null)}),[h]),m=Gt((0,et.Z)(!0),4),v=m[0],b=m[2],g=m[3],k=(0,r.useCallback)((function(){h({component:ct,onClose:d})}),[h,d]),_=Xe()(Et,{id:s});(0,$e.Z)(n,g,!0===(null==_?void 0:_.collapsible)&&o&&v);var j=(0,r.useCallback)((function(e){t({source:e.id,keyboard:null}),c(e.id)}),[c,t]),x=(0,r.useCallback)((function(e){var n=e.keymap.warningFlags,r=void 0===n?[]:n,o=(e.layoutMetadata||{}).autoGenerated,i=void 0!==o&&o,a=function(e){switch(e[0]){case"USING_ZMK_NODEFREE_MACROS":return At;case"USING_MIRYOKU_DTSI":return _t;case"USING_NON_ZMK_MACRO":return yt;case"USING_AUTOSHIFT_MACRO":return mt;case"KEYMAP_PARSING_FAILED":return gt;case"MISSING_ROOT_NODE":return xt;case lt.warningFlags.USING_TOP_LEVEL_KEYMAP_NODE:return vt;default:return null}}(r);if(a)return h({component:a,onClose:d}),void t({source:s,keyboard:null});f({autoGenerated:i}),t(Nt({source:s},e))}),[t,s,h,d]),w=(0,r.useCallback)((function(e){var n=e.dialog,r=e.dialogProps;h({component:n,dialogProps:r,onClose:d}),t({source:s,keyboard:null})}),[h,d,t,s]);return(0,r.useEffect)((function(){localStorage.setItem("selectedSource",s)}),[s]),s?(0,M.jsxs)("div",{ref:n,className:We()(It.wrapper,Rt({},It.compact,!v)),children:[v&&(0,M.jsx)(tt.Z,{label:"Source",value:_,options:Et,onChange:j,getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.id},formatOptionLabel:function(e,t){return"value"===t.context?e.name:(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)("div",{children:[e.name,e.isBeta&&(0,M.jsx)(Qt,{})]}),(0,M.jsx)("div",{className:It.sourceDescription,children:(0,M.jsx)("sub",{children:e.shortDescription})})]})}}),(null==p?void 0:p.component)&&(0,M.jsx)(p.component,Nt(Nt({},p.dialogProps||{}),{},{onDismiss:p.onClose})),(0,M.jsxs)(r.Suspense,{children:["local"===s&&(0,M.jsx)(Zt,{onError:w,onSelect:x}),"demo"===s&&(0,M.jsx)(qt,{onSelect:x}),"github"===s&&(0,M.jsx)(zt,{expanded:v,onSelect:x,onError:w,onExpand:b}),"clipboard"===s&&(0,M.jsx)(Ft,{onSelect:x,onError:w}),"filesystem"===s&&(0,M.jsx)(Ut,{onSelect:x,onError:w})]}),l&&(0,M.jsxs)(ut.zx,{onClick:k,children:[(0,M.jsx)(Te.Z,{name:"warning"})," Layout wrong?"]})]}):(0,M.jsx)(Bt,{onSelect:j})}function Qt(){return(0,M.jsx)("span",{style:{color:"white",backgroundColor:"var(--error-highlight)",fontSize:"12px",fontWeight:"bold",padding:"1px 3px",margin:"2px",borderRadius:"6px",verticalAlign:"top"},children:"beta"})}Kt.propTypes={onSelect:ee().func.isRequired};var Ht=n(93965),Vt=n(14084),Wt={};Wt.styleTagTransform=v(),Wt.setAttributes=p(),Wt.insert=f().bind(null,"head"),Wt.domAPI=u(),Wt.insertStyleElement=d(),s()(Vt.Z,Wt);var Jt=Vt.Z&&Vt.Z.locals?Vt.Z.locals:void 0;function Xt(e){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(e)}function $t(){$t=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Xt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function en(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nn(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function rn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){nn(i,r,o,a,s,"next",e)}function s(e){nn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function on(e){return" ".concat(e.fileName,":").concat(e.lineNumber,":").concat(e.columnNumber)}var an=(0,M.jsx)(pt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/issues/new",children:"new issue"});function sn(e,t,n){return cn.apply(this,arguments)}function cn(){return cn=rn($t().mark((function e(t,n,r){var o,i,a;return $t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(Ot.ny,"/v2/events/client-errors"),i=JSON.stringify({error:t.toString(),stacktrace:n,info:r}),e.next=4,fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:i});case 4:(a=e.sent).ok||console.error("Failed to submit error report",a);case 6:case"end":return e.stop()}}),e)}))),cn.apply(this,arguments)}function un(e){var t=e.error,o=e.info,i=en((0,r.useState)([]),2),a=i[0],s=i[1],c=en((0,r.useState)(""),2),u=c[0],l=c[1],f=en((0,r.useState)(!1),2),y=f[0],p=f[1];return(0,r.useEffect)((function(){function e(){return(e=rn($t().mark((function e(){var r,i;return $t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(401).then(n.t.bind(n,70401,23));case 2:return r=e.sent,e.next=5,r.fromError(t);case 5:i=e.sent,s(i),sn(t,i,o);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[s,t,o]),(0,r.useEffect)((function(){l(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"\n".concat(e.name,"\n\n").concat(e.message,"\n\n").concat(t.map(on).join("\n"),"\n").trim()}(t,a))}),[t,a]),(0,r.useEffect)((function(){y&&setTimeout((function(){p(!1)}),3e3)}),[y,p]),(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{dismissText:!1,style:{maxWidth:"700px"},children:[(0,M.jsx)("h2",{children:"Unexpected error"}),(0,M.jsxs)("p",{children:["Something unexpected happened and the keymap editor app cannot recover. Please consider taking a moment to open a ",an,"with the details below to help me investigate and improve the app."]}),(0,M.jsxs)("div",{className:Jt.stackTrace,children:[(0,M.jsx)("pre",{children:u}),(0,M.jsx)(_.Z,{icon:"copy",title:"Copy error text",className:Jt.button,onClick:function(){var e="".concat("```","\n").concat(u,"\n").concat("```");navigator.clipboard.writeText(e).then((function(){return p(!0)}))}}),y&&(0,M.jsx)("div",{className:Jt.copyMessage,children:"Copied!"})]})]})})}un.propTypes={error:ee().instanceOf(Error).isRequired};var ln=un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==fn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==fn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===fn(o)?o:String(o)),r)}var o}function pn(e,t){return pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pn(e,t)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hn(e)}var dn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pn(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=hn(r);if(o){var n=hn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={error:null,info:null},t}return t=a,(n=[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?(0,M.jsx)(ln,{error:n,info:r}):e}}])&&yn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Component);function mn(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Failed to save keymap changes"}),(0,M.jsx)("p",{children:"Sorry, an unexpected error occurred while trying to save your keymap."}),(0,M.jsx)("p",{children:"Please try again or raise an issue if the problem persists and I'll try to work it out with you. Seriously I can only get this right if I know what's wrong, and in some cases that comes down to people using this editor in more advanced ways than I myself have."}),(0,M.jsx)("p",{children:nt.qM})]})})}mn.propTypes={onDismiss:ee().func.isRequired};var vn=mn;function bn(e){var t=e.onDismiss;return(0,M.jsx)(qe.Z,{children:(0,M.jsxs)(Ze.Z,{onDismiss:t,children:[(0,M.jsx)("h2",{children:"Keymap save failed: version mismatch"}),(0,M.jsx)("p",{children:"An error occurred while trying to save your keymap."}),(0,M.jsx)("p",{children:"The keymap in your GitHub repository doesn't match the keymap that was loaded in the app. This can happen if you make changes to the repo after loading it here, and can cause errors and failures while attempting to merge the two."}),(0,M.jsx)("p",{children:"You may need to reload the keymap and repeat your changes in the app."}),nt.t6]})})}bn.propTypes={onDismiss:ee().func.isRequired};var gn=bn,kn=n(9669),_n=n.n(kn);function jn(e){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jn(e)}function xn(){xn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==jn(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function wn(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function An(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wn(i,r,o,a,s,"next",e)}function s(e){wn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var En="https://www.githubstatus.com/api/v2/components.json",Sn=3e5,Cn=["brv1bkgrwx7q","4230lsnqdsld","br0l2tvcx85d"];function Pn(e){var t=e.enabled,n=function(e){var t,n,o=(t=(0,r.useState)({lastFetch:0,issues:[]}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?On(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=i.lastFetch,s=i.issues,c=o[1],u=(0,r.useCallback)(An(xn().mark((function e(){var t,n,r,o;return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_n()({url:En});case 3:t=e.sent,n=t.data.components,r=Date.now(),o=n.filter((function(e){return Cn.includes(e.id)&&"operational"!==e.status})),c({lastFetch:r,issues:o}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Could not fetch GitHub API status",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])}))),[c]);return(0,r.useEffect)((function(){if(e){a<Date.now()-Sn&&u();var t=setTimeout(u,Sn);return function(){return clearTimeout(t)}}}),[u,e,a]),s}(t);return t&&0!==n.length?(0,M.jsxs)("div",{style:{position:"absolute",bottom:"10px",left:"50%",transform:"translateX(-50%)"},children:[(0,M.jsx)(Te.Z,{name:"warning",style:{color:"gold",backgroundColor:"#555",padding:"6px",margin:"5px",borderRadius:"100%"}}),(0,M.jsx)(pt.Z,{external:!0,href:"https://www.githubstatus.com/",children:"Note: Experiencing GitHub API issues, keymap loading/saving may fail"})]}):null}function Ln(e){return Ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ln(e)}var In=["source","layout","keymap","sensors"];function Bn(){Bn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Ln(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Tn(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}var Dn=function(){var e=(0,i.v9)((function(e){return e})),t=(0,i.I0)(),n=e.sourceOther,o=e.keyboard,a=e.saveError,s=e.saveErrorDetails,c=e.theme,u=e.settingsVisible,l=e.experimentalSettings;(0,r.useEffect)((function(){var e;if(null!=n&&n.github)return(e=Bn().mark((function e(){var t,o,i;return Bn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.github,o=t.repository,i=t.branch,e.t0=r,e.next=4,Ht.Z.fetchBuildStatus(o,i);case 4:e.t1=e.sent,(0,e.t0)(e.t1);case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Tn(i,r,o,a,s,"next",e)}function s(e){Tn(i,r,o,a,s,"throw",e)}a(void 0)}))})(),Ht.Z.on("build-update",r),function(){return Ht.Z.off("build-update",r)};function r(e){e.head_branch===n.github.branch&&t({type:"GITHUB_BUILD_UPDATE",build:e})}t({type:"GITHUB_BUILD_UPDATE",build:null})}),[n,t]);var f=(0,r.useCallback)((function(e){var n=e.source,r=e.layout,o=e.keymap,i=e.sensors,a=void 0===i?[]:i,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,In);t(o?{type:"SELECT_KEYBOARD",source:n,sourceOther:s,layout:r,keymap:o,sensors:a}:{type:"CLEAR_KEYBOARD_SELECTION"})}),[t]),y=(0,r.useCallback)((function(e){t({type:"SETTINGS_UPDATE",settings:e})}),[t]),p=(0,r.useCallback)((function(){return t({type:"SETTINGS_OPEN"})}),[t]);return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(dn,{children:(0,M.jsxs)(k.J.Provider,{value:{settings:l,openSettingsDialog:p},children:[(0,M.jsx)(Kt,{onSelect:f}),(0,M.jsxs)("div",{id:"settings-bar",children:[(0,M.jsx)(_.Z,{id:"light-mode",title:"Toggle theme",icon:{light:"sun",dark:"moon",system:"circle-half-stroke"}[c]||"circle-half-stroke",onClick:function(){return t({type:"CYCLE_THEME"})}}),(0,M.jsx)(_.Z,{id:"settings-button",icon:"cog",onClick:p}),u&&(0,M.jsx)(He,{settings:l,onUpdate:y,onClose:function(){return t({type:"SETTINGS_CLOSE"})}})]}),(0,M.jsxs)(N.Z,{children:[o&&(0,M.jsx)(xe.Sh,{layout:o.layout,children:(0,M.jsx)(Be,{keymap:o.keymap,sensors:o.sensors})}),(null==s?void 0:s.commitMismatch)&&(0,M.jsx)(gn,{onDismiss:function(){return t({type:"CLEAR_SAVE_ERROR"})}}),!(null!=s&&s.commitMismatch)&&a&&(0,M.jsx)(vn,{onDismiss:function(){return t({type:"CLEAR_SAVE_ERROR"})}})]})]})}),(0,M.jsx)(Me,{}),(0,M.jsx)(Pn,{enabled:!(null==n||!n.github)})]})},Nn=n(78718),Rn=n.n(Nn),Gn=n(41696);function Mn(e){return Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mn(e)}function Zn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zn(Object(n),!0).forEach((function(t){zn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Mn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Mn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fn(){var e=JSON.parse(localStorage.getItem("experimental-settings")||"{}");return{definitions:null,source:null,sourceOther:null,keyboard:null,_unmodifiedKeymap:null,saving:null,saveError:null,saveErrorDetails:null,settingsVisible:null,commitDialogOpen:!1,theme:JSON.parse(localStorage.getItem("theme")||'"system"'),experimentalSettings:{unicodeGlyphs:C()(e,"unicodeGlyphs",!0),platformGlyphs:C()(e,"platformGlyphs","auto")},latestBuild:null}}var Un=Fn();var Yn=n(14890),Kn=n(97168),Qn=n(80736),Hn=n(59140),Vn=n(2732),Wn=n(12736),Jn=n(28291),Xn=n(20058);function $n(e){return $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$n(e)}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){nr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==$n(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==$n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===$n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr=(0,Yn.UY)({layout:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]},sensors:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]},keymap:(0,Yn.UY)({warningFlags:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]},defines:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]},headers:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]},chosen:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},behaviors:Jn.ZP,behaviorReconfigurations:Xn.ZP,layers:Qn.ZP,combos:Vn.ZP,macros:Wn.ZP,conditionalLayers:Hn.ZP})}),or=(0,Kn.xC)({reducer:function(e,t){var n=function(e,t){switch(t.type){case"INITIALIZE":return Fn();case"DEFINITIONS_SET":return qn(qn({},e),{},{definitions:t.definitions});case"CLEAR_KEYBOARD_SELECTION":return qn(qn({},e),{},{keyboard:null});case"SELECT_KEYBOARD":return function(e,t){var n=e.keyboard,r=Rn()(t,["layout","keymap","sensors"]);return(0,Gn.u)(r.keymap),qn(qn({},e),{},{source:t.source,sourceOther:t.sourceOther,keyboard:qn(qn({},n),r),_unmodifiedKeymap:A()(r.keymap)})}(e,t);case"COMMIT_DIALOG_OPEN":return qn(qn({},e),{},{commitDialogOpen:!0});case"COMMIT_DIALOG_CLOSE":return qn(qn({},e),{},{commitDialogOpen:!1});case"GITHUB_BUILD_UPDATE":return qn(qn({},e),{},{latestBuild:t.build});case"KEYMAP_SAVE_START":return qn(qn({},e),{},{saving:!0,saveError:!1,saveErrorDetails:null});case"KEYMAP_SAVE_SUCCESS":return function(e,t){var n=qn({},t.keymap);return(0,Gn.u)(n),qn(qn({},e),{},{saving:!1,unsaved:!1,keyboard:qn(qn({},e.keyboard),{},{keymap:n}),_unmodifiedKeymap:n})}(e,t);case"KEYMAP_SAVE_FAILURE":return qn(qn({},e),{},{saving:!1,saveError:!0,saveErrorDetails:t.details||{}});case"CLEAR_SAVE_ERROR":return qn(qn({},e),{},{saveError:null,saveErrorDetails:null});case"SETTINGS_OPEN":return qn(qn({},e),{},{settingsVisible:!0});case"SETTINGS_CLOSE":return qn(qn({},e),{},{settingsVisible:!1});case"SETTINGS_UPDATE":return localStorage.setItem("experimental-settings",JSON.stringify(t.settings)),qn(qn({},e),{},{experimentalSettings:t.settings});case"CYCLE_THEME":return function(e,t){var n=["light","dark","system"],r=n.indexOf(e.theme),o=n.at((r+1)%n.length);return localStorage.setItem("theme",'"'.concat(o,'"')),document.body.dataset.theme=o,qn(qn({},e),{},{theme:o})}(e);default:return e}}(e,t);return tr(tr({},n),{},{keyboard:n.keyboard&&tr(tr({},n.keyboard),rr(n.keyboard,t))})},preloadedState:Un});document.body.dataset.theme=Un.theme,o.createRoot(document.getElementById("app-root")).render((0,M.jsx)(r.StrictMode,{children:(0,M.jsx)(i.zt,{store:or,children:(0,M.jsx)(Dn,{})})}))},2596:function(e,t,n){"use strict";n.d(t,{G:function(){return l},j:function(){return f}});var r=n(39693),o=n.n(r);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(t=e,function(e){if(Array.isArray(e))return s(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort((function(e,t){return e.length-t.length}))[0];var t}var u=/^(.+?)\((code)\)$/;function l(e){return e.reduce((function(e,t){var n,r=t.description,o=t.context,a=t.symbol,s=t.faIcon,l=t.modifiers,f=void 0===l?[]:l,y=t.names.filter((function(e){return!e.match(u)})),p=c(y),h=t.names.map((function(e){return e.match(u)})).filter((function(e){return!!e}))[0],d={name:p,aliases:y,description:r,context:o,faIcon:s,symbol:a||p,modifiers:f,params:[]},m=i(y);try{for(m.s();!(n=m.n()).done;){var v=n.value;e.push(Object.assign({},d,{code:v,isModifier:!!h}))}}catch(e){m.e(e)}finally{m.f()}return h&&e.push(Object.assign({},d,{code:h[1],params:h[2].split(",")})),e}),[])}function f(e,t){return o()([e.basic,t.unicode&&e.unicode,"mac"===t.platform&&e.platforms.mac,"win"===t.platform&&e.platforms.win]).reduce((function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,a=o.names.filter((function(e){return!e.match(u)})),s=c(a);e[s]||(e[s]={}),e[s].symbol=e[s].symbol||o.symbol,e[s].faIcon=e[s].faIcon||o.faIcon}}catch(e){r.e(e)}finally{r.f()}return e}),{})}},41696:function(e,t,n){"use strict";n.d(t,{L:function(){return y},u:function(){return f}});var r=n(13311),o=n.n(r),i=n(27361),a=n.n(i),s=n(78718),c=n.n(s);function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){e.layers=e.layers.map((function(e){return c()(e,["index","name","labels","properties"])})),e.combos=e.combos.map((function(e){return c()(e,["index","name","labels","properties"])})),e.behaviors=e.behaviors.map((function(e){return c()(e,["index","name","labels","properties","params"])})),e.macros=e.macros.map((function(e){return c()(e,["index","name","labels","properties"])}))}function y(e,t){var n=e.value,r=e.params,i=t[n]||[],s=function(e,t){var n=a()(e,"[0]",{}),r=a()(t,"[0]");if(null!=r&&r.enum){var i={code:n.value},s=o()(r.enum,i);if(null!=s&&s.additionalParams)return s.additionalParams}return[]}(r,i);return[].concat(u(i),u(s))}},81485:function(e,t,n){"use strict";n.d(t,{J:function(){return i},c:function(){return o}});var r=n(67294),o=(0,r.createContext)({getSearchTargets:null}),i=(0,r.createContext)({settings:null,openSettingsDialog:null})},51424:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n","",{version:3,sources:["webpack://./src/index.css"],names:[],mappings:"AAAA;EACE,SAAS;EACT,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE;aACW;AACb",sourcesContent:["body {\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n"],sourceRoot:""}]),t.Z=a},49502:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".ZpdcqlK42OntJos3eGw0 {\n background-color: var(--dialog-bg, var(--bg));\n padding: 20px 40px;\n max-width: 500px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n border-radius: 3px;\n border: 0.25px solid rgba(0, 0, 0, 0.4);\n}\n\n.ZpdcqlK42OntJos3eGw0 > h2:first-child {\n margin-top: 0;\n}\n\n.ZpdcqlK42OntJos3eGw0 p, .ZpdcqlK42OntJos3eGw0 ul {\n font-family: sans-serif;\n line-height: 1.3rem;\n}\n\n.Mywg1Gw3bKMc9Kd9qcEO {\n display: block;\n margin: 0 auto;\n}\n","",{version:3,sources:["webpack://./src/Common/dialog-box.module.css"],names:[],mappings:"AAAA;EACE,6CAA6C;EAC7C,kBAAkB;EAClB,gBAAgB;EAChB,4CAA4C;EAC5C,kBAAkB;EAClB,uCAAuC;AACzC;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,cAAc;AAChB",sourcesContent:[".dialog {\n background-color: var(--dialog-bg, var(--bg));\n padding: 20px 40px;\n max-width: 500px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n border-radius: 3px;\n border: 0.25px solid rgba(0, 0, 0, 0.4);\n}\n\n.dialog > h2:first-child {\n margin-top: 0;\n}\n\n.dialog p, .dialog ul {\n font-family: sans-serif;\n line-height: 1.3rem;\n}\n\n.button {\n display: block;\n margin: 0 auto;\n}\n"],sourceRoot:""}]),a.locals={dialog:"ZpdcqlK42OntJos3eGw0",button:"Mywg1Gw3bKMc9Kd9qcEO"},t.Z=a},87617:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".J2R67AQeCK_aC1DKFCMJ {\n margin: 4px;\n}","",{version:3,sources:["webpack://./src/Common/link.module.css"],names:[],mappings:"AAAA;EACE,WAAW;AACb",sourcesContent:[".icon {\n margin: 4px;\n}"],sourceRoot:""}]),a.locals={icon:"J2R67AQeCK_aC1DKFCMJ"},t.Z=a},14084:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".Q5veln3l3laVkuNPs5dQ {\n position: relative;\n}\n\n.Q5veln3l3laVkuNPs5dQ pre {\n white-space: pre;\n background-color: var(--code-bg);\n color: var(--key-color-base);\n padding: 10px;\n max-height: 320px;\n overflow: scroll;\n}\n\n.dqzgBwJ1Rq0XgMqeAKe7 {\n position: absolute;\n top: 15px;\n right: 15px;\n padding: 4px 7px;\n color: var(--key-color-base);\n background-color: var(--key-bg-base);\n border: 1px solid var(--key-color-base);\n border-radius: 3px;\n}\n.dqzgBwJ1Rq0XgMqeAKe7:hover {\n cursor: pointer;\n background-color: var(--selection);\n border: var(--selection);\n color: white;\n}\n\n.YV2lKA9hbJpP4Vs4udw8 {\n position: absolute;\n top: 5px;\n right: 0px;\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 2px;\n cursor: none;\n}\n","",{version:3,sources:["webpack://./src/Dialogs/unexpected-error.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,iBAAiB;EACjB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,WAAW;EACX,gBAAgB;EAChB,4BAA4B;EAC5B,oCAAoC;EACpC,uCAAuC;EACvC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kCAAkC;EAClC,wBAAwB;EACxB,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,kCAAkC;EAClC,YAAY;EACZ,aAAa;EACb,kBAAkB;EAClB,YAAY;AACd",sourcesContent:[".stackTrace {\n position: relative;\n}\n\n.stackTrace pre {\n white-space: pre;\n background-color: var(--code-bg);\n color: var(--key-color-base);\n padding: 10px;\n max-height: 320px;\n overflow: scroll;\n}\n\n.button {\n position: absolute;\n top: 15px;\n right: 15px;\n padding: 4px 7px;\n color: var(--key-color-base);\n background-color: var(--key-bg-base);\n border: 1px solid var(--key-color-base);\n border-radius: 3px;\n}\n.button:hover {\n cursor: pointer;\n background-color: var(--selection);\n border: var(--selection);\n color: white;\n}\n\n.copyMessage {\n position: absolute;\n top: 5px;\n right: 0px;\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 2px;\n cursor: none;\n}\n"],sourceRoot:""}]),a.locals={stackTrace:"Q5veln3l3laVkuNPs5dQ",button:"dqzgBwJ1Rq0XgMqeAKe7",copyMessage:"YV2lKA9hbJpP4Vs4udw8"},t.Z=a},87995:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".D0BH39_6wwiclW8aKuoi {\n display: inline-flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.D0BH39_6wwiclW8aKuoi li {\n cursor: pointer;\n padding: 5px;\n margin: 5px;\n border-radius: 4px;\n font-variant: small-caps;\n}\n.D0BH39_6wwiclW8aKuoi li.xwo6V7AWCmy8CDvuTwRg {\n background-color: var(--selection);\n color: white;\n cursor: default;\n}\n\n.nVbskEoaGxWf96qEgtxz {\n position: absolute;\n}\n.nVbskEoaGxWf96qEgtxz > * {\n width: 100% !important;\n height: 100% !important;\n}\n\n.Ae2s0eqIVhebTEcJGc3F {\n position: relative\n}\n.Ae2s0eqIVhebTEcJGc3F::after {\n content: 'beta';\n background-color: var(--error-highlight);\n color: white;\n font-size: 12px;\n font-weight: bold;\n padding: 1px 3px;\n border-radius: 6px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(60%, -60%) rotate(13deg);\n}\n.xwo6V7AWCmy8CDvuTwRg .Ae2s0eqIVhebTEcJGc3F::after {\n background-color: white;\n color: var(--selection);\n border: 1px solid var(--selection);\n}\n.sQQ0qFjHptJbQ8qvuXGa {\n color: var(--error-highlight);\n}\n.D0BH39_6wwiclW8aKuoi li.xwo6V7AWCmy8CDvuTwRg.sQQ0qFjHptJbQ8qvuXGa {\n background-color: var(--error-highlight);\n color: white;\n}","",{version:3,sources:["webpack://./src/Keyboard/styles.module.css"],names:[],mappings:"AAAA;EACE,oBAAoB;EACpB,qBAAqB;EACrB,SAAS;EACT,UAAU;AACZ;AACA;EACE,eAAe;EACf,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,wBAAwB;AAC1B;AACA;EACE,kCAAkC;EAClC,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE;AACF;AACA;EACE,eAAe;EACf,wCAAwC;EACxC,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,6CAA6C;AAC/C;AACA;EACE,uBAAuB;EACvB,uBAAuB;EACvB,kCAAkC;AACpC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,wCAAwC;EACxC,YAAY;AACd",sourcesContent:[".editorModeTabs {\n display: inline-flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.editorModeTabs li {\n cursor: pointer;\n padding: 5px;\n margin: 5px;\n border-radius: 4px;\n font-variant: small-caps;\n}\n.editorModeTabs li.activeEditTab {\n background-color: var(--selection);\n color: white;\n cursor: default;\n}\n\n.placer {\n position: absolute;\n}\n.placer > * {\n width: 100% !important;\n height: 100% !important;\n}\n\n.beta {\n position: relative\n}\n.beta::after {\n content: 'beta';\n background-color: var(--error-highlight);\n color: white;\n font-size: 12px;\n font-weight: bold;\n padding: 1px 3px;\n border-radius: 6px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(60%, -60%) rotate(13deg);\n}\n.activeEditTab .beta::after {\n background-color: white;\n color: var(--selection);\n border: 1px solid var(--selection);\n}\n.warningTab {\n color: var(--error-highlight);\n}\n.editorModeTabs li.activeEditTab.warningTab {\n background-color: var(--error-highlight);\n color: white;\n}"],sourceRoot:""}]),a.locals={editorModeTabs:"D0BH39_6wwiclW8aKuoi",activeEditTab:"xwo6V7AWCmy8CDvuTwRg",placer:"nVbskEoaGxWf96qEgtxz",beta:"Ae2s0eqIVhebTEcJGc3F",warningTab:"sQQ0qFjHptJbQ8qvuXGa"},t.Z=a},58723:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".hY07j_e1kQx0WX5BwG6I {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\n z-index: 5;\n}\n\n._0h266lacmB1N_qDdQcy {\n align-items: center;\n}\n\n.hY07j_e1kQx0WX5BwG6I button {\n height: 38px;\n}\n\n.xwu_0RR7bcAhL2xRBstH {\n font-style: italic;\n max-width: 250px;\n opacity: 0.6;\n}\n\n.CbI1DmyecYVc2ntWR2cA {\n margin: 50px;\n}\n\n.CbI1DmyecYVc2ntWR2cA .d9uc4wYR0zIgucKJPHlF {\n margin-bottom: 80px;\n max-width: 600px;\n}\n\n.nQoX73HeicZto3zGCV22 {\n display: flex;\n flex-direction: row;\n gap: 50px;\n justify-content: center;\n flex-wrap: wrap;\n}\n\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o {\n width: 200px;\n min-width: 200px;\n}\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o h2 {\n text-align: center;\n}\n\n.nQoX73HeicZto3zGCV22 .iOrNsHYczpUov9QyN2qm {\n display: block;\n font-size: 120px;\n text-align: center;\n color: var(--key-color-base);\n}\n\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o:hover h2,\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o:hover .iOrNsHYczpUov9QyN2qm {\n color: royalblue;\n cursor: pointer;\n}\n\n.nQoX73HeicZto3zGCV22 .xwu_0RR7bcAhL2xRBstH {\n background-color: var(--key-bg-base);\n padding: 10px;\n border-radius: 10px;\n}","",{version:3,sources:["webpack://./src/Sources/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,QAAQ;EACR,WAAW;EACX,YAAY;EACZ,UAAU;AACZ;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,mBAAmB;EACnB,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,SAAS;EACT,uBAAuB;EACvB,eAAe;AACjB;;AAEA;EACE,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,kBAAkB;EAClB,4BAA4B;AAC9B;;AAEA;;EAEE,gBAAgB;EAChB,eAAe;AACjB;;AAEA;EACE,oCAAoC;EACpC,aAAa;EACb,mBAAmB;AACrB",sourcesContent:[".wrapper {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\n z-index: 5;\n}\n\n.compact {\n align-items: center;\n}\n\n.wrapper button {\n height: 38px;\n}\n\n.sourceDescription {\n font-style: italic;\n max-width: 250px;\n opacity: 0.6;\n}\n\n.initialSelectionPage {\n margin: 50px;\n}\n\n.initialSelectionPage .heading {\n margin-bottom: 80px;\n max-width: 600px;\n}\n\n.initialSelectionChoices {\n display: flex;\n flex-direction: row;\n gap: 50px;\n justify-content: center;\n flex-wrap: wrap;\n}\n\n.initialSelectionChoices .choice {\n width: 200px;\n min-width: 200px;\n}\n.initialSelectionChoices .choice h2 {\n text-align: center;\n}\n\n.initialSelectionChoices .sourceIcon {\n display: block;\n font-size: 120px;\n text-align: center;\n color: var(--key-color-base);\n}\n\n.initialSelectionChoices .choice:hover h2,\n.initialSelectionChoices .choice:hover .sourceIcon {\n color: royalblue;\n cursor: pointer;\n}\n\n.initialSelectionChoices .sourceDescription {\n background-color: var(--key-bg-base);\n padding: 10px;\n border-radius: 10px;\n}"],sourceRoot:""}]),a.locals={wrapper:"hY07j_e1kQx0WX5BwG6I",compact:"_0h266lacmB1N_qDdQcy",sourceDescription:"xwu_0RR7bcAhL2xRBstH",initialSelectionPage:"CbI1DmyecYVc2ntWR2cA",heading:"d9uc4wYR0zIgucKJPHlF",initialSelectionChoices:"nQoX73HeicZto3zGCV22",choice:"cPeyM58B0L2GlSIiLq4o",sourceIcon:"iOrNsHYczpUov9QyN2qm"},t.Z=a},2746:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n._vWNIXMkemQax9rkCJQh {\n display: inline-block;\n position: absolute;\n z-index: 100;\n bottom: 5px;\n left: 5px;\n}\n\n._vWNIXMkemQax9rkCJQh label {\n font-size: 75%;\n font-style: italic;\n display: block;\n padding: 0 10px;\n}\n\n.qiC2NrujE4ebqmHjzq0_ {\n display: inline-block;\n font-size: 110%;\n font-style: italic;\n background-color: var(--code-bg);\n border-radius: 20px;\n padding: 5px 10px;\n text-decoration: none;\n\n color: royalblue;\n}\n.qiC2NrujE4ebqmHjzq0_:hover {\n background-color: royalblue;\n color: white;\n}","",{version:3,sources:["webpack://./src/styles.module.css"],names:[],mappings:";AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,SAAS;AACX;;AAEA;EACE,cAAc;EACd,kBAAkB;EAClB,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,qBAAqB;EACrB,eAAe;EACf,kBAAkB;EAClB,gCAAgC;EAChC,mBAAmB;EACnB,iBAAiB;EACjB,qBAAqB;;EAErB,gBAAgB;AAClB;AACA;EACE,2BAA2B;EAC3B,YAAY;AACd",sourcesContent:["\n.wrapper {\n display: inline-block;\n position: absolute;\n z-index: 100;\n bottom: 5px;\n left: 5px;\n}\n\n.wrapper label {\n font-size: 75%;\n font-style: italic;\n display: block;\n padding: 0 10px;\n}\n\n.githubLink {\n display: inline-block;\n font-size: 110%;\n font-style: italic;\n background-color: var(--code-bg);\n border-radius: 20px;\n padding: 5px 10px;\n text-decoration: none;\n\n color: royalblue;\n}\n.githubLink:hover {\n background-color: royalblue;\n color: white;\n}"],sourceRoot:""}]),a.locals={wrapper:"_vWNIXMkemQax9rkCJQh",githubLink:"qiC2NrujE4ebqmHjzq0_"},t.Z=a},95872:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),c=n.n(s),u=n(3565),l=n.n(u),f=n(19216),y=n.n(f),p=n(44589),h=n.n(p),d=n(87995),m={};m.styleTagTransform=h(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=y(),o()(d.Z,m),t.Z=d.Z&&d.Z.locals?d.Z.locals:void 0},34366:function(e,t,n){var r={"./catalog":[51785],"./catalog.json":[51785],"./keys_ar":[73810,6392],"./keys_ar.json":[73810,6392],"./keys_ar_102":[78381,8017],"./keys_ar_102.json":[78381,8017],"./keys_ar_azerty":[56724,2650],"./keys_ar_azerty.json":[56724,2650],"./keys_as":[68045,9082],"./keys_as.json":[68045,9082],"./keys_az":[21708,8070],"./keys_az.json":[21708,8070],"./keys_az_cyrillic":[7200,8242],"./keys_az_cyrillic.json":[7200,8242],"./keys_az_standard":[2498,3647],"./keys_az_standard.json":[2498,3647],"./keys_ba":[24745,5332],"./keys_ba.json":[24745,5332],"./keys_be":[80468,308],"./keys_be.json":[80468,308],"./keys_bg":[87317,2408],"./keys_bg.json":[87317,2408],"./keys_bg_latin":[80885,421],"./keys_bg_latin.json":[80885,421],"./keys_bg_phonetic":[10220,4595],"./keys_bg_phonetic.json":[10220,4595],"./keys_bm":[71350,8956],"./keys_bm.json":[71350,8956],"./keys_bn":[99691,1480],"./keys_bn.json":[99691,1480],"./keys_bn_inscript":[31658,9142],"./keys_bn_inscript.json":[31658,9142],"./keys_bo":[29692,3282],"./keys_bo.json":[29692,3282],"./keys_bs":[5396,1315],"./keys_bs.json":[5396,1315],"./keys_bug":[15317,4443],"./keys_bug.json":[15317,4443],"./keys_chr":[8250,6943],"./keys_chr.json":[8250,6943],"./keys_chr_phonetic":[6221,4688],"./keys_chr_phonetic.json":[6221,4688],"./keys_ckb":[29448,1936],"./keys_ckb.json":[29448,1936],"./keys_cs":[98019,8207],"./keys_cs.json":[98019,8207],"./keys_cs_programmers":[7578,3735],"./keys_cs_programmers.json":[7578,3735],"./keys_cs_qwerty":[58733,2659],"./keys_cs_qwerty.json":[58733,2659],"./keys_da":[81460,6691],"./keys_da.json":[81460,6691],"./keys_de":[68013,3359],"./keys_de.json":[68013,3359],"./keys_de_belgian":[69798,9619],"./keys_de_belgian.json":[69798,9619],"./keys_de_belgian_period":[12991,1808],"./keys_de_belgian_period.json":[12991,1808],"./keys_de_ibm":[85155,1507],"./keys_de_ibm.json":[85155,1507],"./keys_de_swiss":[57153,6184],"./keys_de_swiss.json":[57153,6184],"./keys_dsb":[93859,9616],"./keys_dsb.json":[93859,9616],"./keys_dsb_extended":[45816,7686],"./keys_dsb_extended.json":[45816,7686],"./keys_dv":[60573,5485],"./keys_dv.json":[60573,5485],"./keys_dvorak":[17499,6157],"./keys_dvorak.json":[17499,6157],"./keys_dvorak_left":[5085,8793],"./keys_dvorak_left.json":[5085,8793],"./keys_dvorak_right":[43474,3362],"./keys_dvorak_right.json":[43474,3362],"./keys_dyu":[56817,749],"./keys_dyu.json":[56817,749],"./keys_dz":[3461,3893],"./keys_dz.json":[3461,3893],"./keys_el":[82182,1545],"./keys_el.json":[82182,1545],"./keys_el_220":[74695,3743],"./keys_el_220.json":[74695,3743],"./keys_el_319":[43615,4263],"./keys_el_319.json":[43615,4263],"./keys_el_latin":[61897,8971],"./keys_el_latin.json":[61897,8971],"./keys_el_latin_220":[52401,7603],"./keys_el_latin_220.json":[52401,7603],"./keys_el_latin_319":[70286,5821],"./keys_el_latin_319.json":[70286,5821],"./keys_el_polytonic":[19430,4296],"./keys_el_polytonic.json":[19430,4296],"./keys_en_gb":[85702,7495],"./keys_en_gb.json":[85702,7495],"./keys_en_gb_extended":[30206,1343],"./keys_en_gb_extended.json":[30206,1343],"./keys_en_india":[28440,8302],"./keys_en_india.json":[28440,8302],"./keys_es":[68633,771],"./keys_es.json":[68633,771],"./keys_es_latin_american":[67356,6429],"./keys_es_latin_american.json":[67356,6429],"./keys_es_variation":[73173,3033],"./keys_es_variation.json":[73173,3033],"./keys_et":[76498,7022],"./keys_et.json":[76498,7022],"./keys_fa":[76451,8599],"./keys_fa.json":[76451,8599],"./keys_fa_standard":[79355,819],"./keys_fa_standard.json":[79355,819],"./keys_fi":[36863,8706],"./keys_fi.json":[36863,8706],"./keys_fi_sami":[58592,9866],"./keys_fi_sami.json":[58592,9866],"./keys_fo":[48622,9586],"./keys_fo.json":[48622,9586],"./keys_fr":[50955,7554],"./keys_fr.json":[50955,7554],"./keys_fr_belgian":[39330,8855],"./keys_fr_belgian.json":[39330,8855],"./keys_fr_belgian_period":[17494,7950],"./keys_fr_belgian_period.json":[17494,7950],"./keys_fr_canadian_french":[74301,4491],"./keys_fr_canadian_french.json":[74301,4491],"./keys_fr_canadian_standard":[76297,8251],"./keys_fr_canadian_standard.json":[76297,8251],"./keys_fr_swiss":[41417,1514],"./keys_fr_swiss.json":[41417,1514],"./keys_ga":[47467,8185],"./keys_ga.json":[47467,8185],"./keys_gd":[50596,6457],"./keys_gd.json":[50596,6457],"./keys_gn":[78996,4289],"./keys_gn.json":[78996,4289],"./keys_got":[45327,9893],"./keys_got.json":[45327,9893],"./keys_gu":[21372,2787],"./keys_gu.json":[21372,2787],"./keys_ha":[28061,2982],"./keys_ha.json":[28061,2982],"./keys_haw":[63525,3618],"./keys_haw.json":[63525,3618],"./keys_he":[2357,7446],"./keys_he.json":[2357,7446],"./keys_he_standard":[58311,7108],"./keys_he_standard.json":[58311,7108],"./keys_hi":[55225,6688],"./keys_hi.json":[55225,6688],"./keys_hi_traditional":[48923,8119],"./keys_hi_traditional.json":[48923,8119],"./keys_hu":[4526,8796],"./keys_hu.json":[4526,8796],"./keys_hu_101":[3013,3322],"./keys_hu_101.json":[3013,3322],"./keys_hy":[15584,2015],"./keys_hy.json":[15584,2015],"./keys_hy_phonetic":[28860,9136],"./keys_hy_phonetic.json":[28860,9136],"./keys_ig":[4055,7892],"./keys_ig.json":[4055,7892],"./keys_is":[87591,5604],"./keys_is.json":[87591,5604],"./keys_it":[24277,4465],"./keys_it.json":[24277,4465],"./keys_it_142":[83333,833],"./keys_it_142.json":[83333,833],"./keys_iu":[79407,5840],"./keys_iu.json":[79407,5840],"./keys_iu_latin":[90290,9176],"./keys_iu_latin.json":[90290,9176],"./keys_jv":[83271,6710],"./keys_jv.json":[83271,6710],"./keys_ka":[36196,3687],"./keys_ka.json":[36196,3687],"./keys_ka_ergonomic":[76892,9698],"./keys_ka_ergonomic.json":[76892,9698],"./keys_ka_qwerty":[84211,2621],"./keys_ka_qwerty.json":[84211,2621],"./keys_khb":[93128,5842],"./keys_khb.json":[93128,5842],"./keys_khb_tai_le":[16011,539],"./keys_khb_tai_le.json":[16011,539],"./keys_kk":[81713,951],"./keys_kk.json":[81713,951],"./keys_kl":[87006,7303],"./keys_kl.json":[87006,7303],"./keys_km":[86151,6794],"./keys_km.json":[86151,6794],"./keys_km_nida":[91831,3268],"./keys_km_nida.json":[91831,3268],"./keys_kn":[88868,8709],"./keys_kn.json":[88868,8709],"./keys_ko":[96130,8427],"./keys_ko.json":[96130,8427],"./keys_ky":[49911,9244],"./keys_ky.json":[49911,9244],"./keys_la_old_italic":[72596,8438],"./keys_la_old_italic.json":[72596,8438],"./keys_lb":[6012,5606],"./keys_lb.json":[6012,5606],"./keys_lis":[86353,8945],"./keys_lis.json":[86353,8945],"./keys_lis_standard":[70912,4887],"./keys_lis_standard.json":[70912,4887],"./keys_lo":[34659,398],"./keys_lo.json":[34659,398],"./keys_lt":[92979,7771],"./keys_lt.json":[92979,7771],"./keys_lt_ibm":[90075,129],"./keys_lt_ibm.json":[90075,129],"./keys_lt_standard":[70040,3746],"./keys_lt_standard.json":[70040,3746],"./keys_lv":[25622,1671],"./keys_lv.json":[25622,1671],"./keys_lv_qwerty":[70689,6777],"./keys_lv_qwerty.json":[70689,6777],"./keys_lv_standard":[68148,9081],"./keys_lv_standard.json":[68148,9081],"./keys_man":[95287,1156],"./keys_man.json":[95287,1156],"./keys_mi":[97585,9512],"./keys_mi.json":[97585,9512],"./keys_mk":[8069,8041],"./keys_mk.json":[8069,8041],"./keys_ml":[79302,1547],"./keys_ml.json":[79302,1547],"./keys_mn":[78647,389],"./keys_mn.json":[78647,389],"./keys_mn_phags_pa":[94641,3194],"./keys_mn_phags_pa.json":[94641,3194],"./keys_mn_traditional":[1301,8568],"./keys_mn_traditional.json":[1301,8568],"./keys_mr":[28928,2247],"./keys_mr.json":[28928,2247],"./keys_mt":[5848,7568],"./keys_mt.json":[5848,7568],"./keys_mt_101":[10244,3880],"./keys_mt_101.json":[10244,3880],"./keys_my":[14052,5015],"./keys_my.json":[14052,5015],"./keys_nb":[56360,4919],"./keys_nb.json":[56360,4919],"./keys_nb_sami":[96408,8636],"./keys_nb_sami.json":[96408,8636],"./keys_ne":[97192,4892],"./keys_ne.json":[97192,4892],"./keys_nl":[37853,6415],"./keys_nl.json":[37853,6415],"./keys_nl_period":[80045,2271],"./keys_nl_period.json":[80045,2271],"./keys_non":[50248,5991],"./keys_non.json":[50248,5991],"./keys_nso":[34757,8307],"./keys_nso.json":[34757,8307],"./keys_or":[40914,2383],"./keys_or.json":[40914,2383],"./keys_pa":[51095,9989],"./keys_pa.json":[51095,9989],"./keys_pl":[91654,8391],"./keys_pl.json":[91654,8391],"./keys_pl_programmers":[188,920],"./keys_pl_programmers.json":[188,920],"./keys_ps":[65138,6049],"./keys_ps.json":[65138,6049],"./keys_pt":[33474,4821],"./keys_pt.json":[33474,4821],"./keys_pt_abnt":[84986,1872],"./keys_pt_abnt.json":[84986,1872],"./keys_pt_abnt2":[50167,9112],"./keys_pt_abnt2.json":[50167,9112],"./keys_ro":[35695,68],"./keys_ro.json":[35695,68],"./keys_ro_programmers":[53693,4795],"./keys_ro_programmers.json":[53693,4795],"./keys_ru":[62672,8986],"./keys_ru.json":[62672,8986],"./keys_ru_phonetic":[48927,7292],"./keys_ru_phonetic.json":[48927,7292],"./keys_sah":[75234,7289],"./keys_sah.json":[75234,7289],"./keys_sat":[767,9414],"./keys_sat.json":[767,9414],"./keys_se":[31828,8019],"./keys_se.json":[31828,8019],"./keys_se_finland_sweden":[44292,8699],"./keys_se_finland_sweden.json":[44292,8699],"./keys_si":[39915,9061],"./keys_si.json":[39915,9061],"./keys_sk":[49999,7803],"./keys_sk.json":[49999,7803],"./keys_sk_qwerty":[92153,1720],"./keys_sk_qwerty.json":[92153,1720],"./keys_sl":[11998,5715],"./keys_sl.json":[11998,5715],"./keys_so":[32727,9193],"./keys_so.json":[32727,9193],"./keys_sq":[93752,8173],"./keys_sq.json":[93752,8173],"./keys_sr":[45358,2231],"./keys_sr.json":[45358,2231],"./keys_sr_latin":[80121,578],"./keys_sr_latin.json":[80121,578],"./keys_srb":[929,5354],"./keys_srb.json":[929,5354],"./keys_sv":[74243,8649],"./keys_sv.json":[74243,8649],"./keys_sv_sami":[26330,4717],"./keys_sv_sami.json":[26330,4717],"./keys_syr":[20591,4777],"./keys_syr.json":[20591,4777],"./keys_syr_phonetic":[85609,2619],"./keys_syr_phonetic.json":[85609,2619],"./keys_ta":[17843,4036],"./keys_ta.json":[17843,4036],"./keys_te":[69130,4824],"./keys_te.json":[69130,4824],"./keys_tg":[79797,3393],"./keys_tg.json":[79797,3393],"./keys_th":[70732,6684],"./keys_th.json":[70732,6684],"./keys_th_pattachote":[85219,422],"./keys_th_pattachote.json":[85219,422],"./keys_tk":[31794,2275],"./keys_tk.json":[31794,2275],"./keys_tmh":[89416,2835],"./keys_tmh.json":[89416,2835],"./keys_tmh_extended":[33866,8110],"./keys_tmh_extended.json":[33866,8110],"./keys_tn":[79848,4257],"./keys_tn.json":[79848,4257],"./keys_tr":[32066,5303],"./keys_tr.json":[32066,5303],"./keys_tr_f":[77176,4670],"./keys_tr_f.json":[77176,4670],"./keys_tt":[13069,7305],"./keys_tt.json":[13069,7305],"./keys_tzm":[93917,814],"./keys_tzm.json":[93917,814],"./keys_ug":[29436,3474],"./keys_ug.json":[29436,3474],"./keys_uk":[18936,2602],"./keys_uk.json":[18936,2602],"./keys_uk_enhanced":[60895,7228],"./keys_uk_enhanced.json":[60895,7228],"./keys_ur":[48883,8216],"./keys_ur.json":[48883,8216],"./keys_us_international":[61141,2947],"./keys_us_international.json":[61141,2947],"./keys_uz":[8196,7080],"./keys_uz.json":[8196,7080],"./keys_vi":[88305,7994],"./keys_vi.json":[88305,7994],"./keys_wo":[97528,7069],"./keys_wo.json":[97528,7069],"./keys_yo":[8962,5998],"./keys_yo.json":[8962,5998]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n.t(o,19)}))}o.keys=function(){return Object.keys(r)},o.id=34366,e.exports=o},51785:function(e){"use strict";e.exports=JSON.parse('{"keys_ar.h":{"filename":"keys_ar.json","prefix":"ar"},"keys_ar_azerty.h":{"filename":"keys_ar_azerty.json","prefix":"ar"},"keys_ar_102.h":{"filename":"keys_ar_102.json","prefix":"ar"},"keys_as.h":{"filename":"keys_as.json","prefix":"as"},"keys_az.h":{"filename":"keys_az.json","prefix":"az"},"keys_az_standard.h":{"filename":"keys_az_standard.json","prefix":"az"},"keys_az_cyrillic.h":{"filename":"keys_az_cyrillic.json","prefix":"az"},"keys_ba.h":{"filename":"keys_ba.json","prefix":"ba"},"keys_be.h":{"filename":"keys_be.json","prefix":"be"},"keys_bg.h":{"filename":"keys_bg.json","prefix":"bg"},"keys_bg_phonetic.h":{"filename":"keys_bg_phonetic.json","prefix":"bg"},"keys_bg_latin.h":{"filename":"keys_bg_latin.json","prefix":"bg"},"keys_bm.h":{"filename":"keys_bm.json","prefix":"bm"},"keys_dyu.h":{"filename":"keys_dyu.json","prefix":"dyu"},"keys_man.h":{"filename":"keys_man.json","prefix":"man"},"keys_bn.h":{"filename":"keys_bn.json","prefix":"bn"},"keys_bn_inscript.h":{"filename":"keys_bn_inscript.json","prefix":"bn"},"keys_bo.h":{"filename":"keys_bo.json","prefix":"bo"},"keys_bs.h":{"filename":"keys_bs.json","prefix":"bs"},"keys_bug.h":{"filename":"keys_bug.json","prefix":"bug"},"keys_chr.h":{"filename":"keys_chr.json","prefix":"chr"},"keys_chr_phonetic.h":{"filename":"keys_chr_phonetic.json","prefix":"chr"},"keys_ckb.h":{"filename":"keys_ckb.json","prefix":"ckb"},"keys_cs.h":{"filename":"keys_cs.json","prefix":"cs"},"keys_cs_programmers.h":{"filename":"keys_cs_programmers.json","prefix":"cs"},"keys_cs_qwerty.h":{"filename":"keys_cs_qwerty.json","prefix":"cs"},"keys_da.h":{"filename":"keys_da.json","prefix":"da"},"keys_de.h":{"filename":"keys_de.json","prefix":"de"},"keys_de_ibm.h":{"filename":"keys_de_ibm.json","prefix":"de"},"keys_de_belgian.h":{"filename":"keys_de_belgian.json","prefix":"de"},"keys_de_belgian_period.h":{"filename":"keys_de_belgian_period.json","prefix":"de"},"keys_de_swiss.h":{"filename":"keys_de_swiss.json","prefix":"de"},"keys_dsb.h":{"filename":"keys_dsb.json","prefix":"dsb"},"keys_dsb_extended.h":{"filename":"keys_dsb_extended.json","prefix":"dsb"},"keys_dv.h":{"filename":"keys_dv.json","prefix":"dv"},"keys_dz.h":{"filename":"keys_dz.json","prefix":"dz"},"keys_el.h":{"filename":"keys_el.json","prefix":"el"},"keys_el_220.h":{"filename":"keys_el_220.json","prefix":"el"},"keys_el_319.h":{"filename":"keys_el_319.json","prefix":"el"},"keys_el_latin.h":{"filename":"keys_el_latin.json","prefix":"el"},"keys_el_latin_220.h":{"filename":"keys_el_latin_220.json","prefix":"el"},"keys_el_latin_319.h":{"filename":"keys_el_latin_319.json","prefix":"el"},"keys_el_polytonic.h":{"filename":"keys_el_polytonic.json","prefix":"el"},"keys_en_gb.h":{"filename":"keys_en_gb.json","prefix":"en"},"keys_en_gb_extended.h":{"filename":"keys_en_gb_extended.json","prefix":"en"},"keys_en_india.h":{"filename":"keys_en_india.json","prefix":"en"},"keys_us_international.h":{"filename":"keys_us_international.json","prefix":"usx"},"keys_dvorak.h":{"filename":"keys_dvorak.json","prefix":"en"},"keys_dvorak_left.h":{"filename":"keys_dvorak_left.json","prefix":"en"},"keys_dvorak_right.h":{"filename":"keys_dvorak_right.json","prefix":"en"},"keys_es.h":{"filename":"keys_es.json","prefix":"es"},"keys_es_variation.h":{"filename":"keys_es_variation.json","prefix":"es"},"keys_es_latin_american.h":{"filename":"keys_es_latin_american.json","prefix":"es"},"keys_et.h":{"filename":"keys_et.json","prefix":"et"},"keys_fa.h":{"filename":"keys_fa.json","prefix":"fa"},"keys_fa_standard.h":{"filename":"keys_fa_standard.json","prefix":"fa"},"keys_fi.h":{"filename":"keys_fi.json","prefix":"fi"},"keys_fi_sami.h":{"filename":"keys_fi_sami.json","prefix":"fi"},"keys_fo.h":{"filename":"keys_fo.json","prefix":"fo"},"keys_fr.h":{"filename":"keys_fr.json","prefix":"fr"},"keys_fr_belgian.h":{"filename":"keys_fr_belgian.json","prefix":"fr"},"keys_fr_belgian_period.h":{"filename":"keys_fr_belgian_period.json","prefix":"fr"},"keys_fr_canadian_standard.h":{"filename":"keys_fr_canadian_standard.json","prefix":"fr"},"keys_fr_canadian_french.h":{"filename":"keys_fr_canadian_french.json","prefix":"fr"},"keys_fr_swiss.h":{"filename":"keys_fr_swiss.json","prefix":"fr"},"keys_ga.h":{"filename":"keys_ga.json","prefix":"ga"},"keys_gd.h":{"filename":"keys_gd.json","prefix":"gd"},"keys_gn.h":{"filename":"keys_gn.json","prefix":"gn"},"keys_got.h":{"filename":"keys_got.json","prefix":"got"},"keys_gu.h":{"filename":"keys_gu.json","prefix":"gu"},"keys_ha.h":{"filename":"keys_ha.json","prefix":"ha"},"keys_haw.h":{"filename":"keys_haw.json","prefix":"haw"},"keys_he.h":{"filename":"keys_he.json","prefix":"he"},"keys_he_standard.h":{"filename":"keys_he_standard.json","prefix":"he"},"keys_hi.h":{"filename":"keys_hi.json","prefix":"hi"},"keys_hi_traditional.h":{"filename":"keys_hi_traditional.json","prefix":"hi"},"keys_hu.h":{"filename":"keys_hu.json","prefix":"hu"},"keys_hu_101.h":{"filename":"keys_hu_101.json","prefix":"hu"},"keys_hy.h":{"filename":"keys_hy.json","prefix":"hy"},"keys_hy_phonetic.h":{"filename":"keys_hy_phonetic.json","prefix":"hy"},"keys_ig.h":{"filename":"keys_ig.json","prefix":"ig"},"keys_is.h":{"filename":"keys_is.json","prefix":"is"},"keys_it.h":{"filename":"keys_it.json","prefix":"it"},"keys_it_142.h":{"filename":"keys_it_142.json","prefix":"it"},"keys_iu.h":{"filename":"keys_iu.json","prefix":"iu"},"keys_iu_latin.h":{"filename":"keys_iu_latin.json","prefix":"iu"},"keys_jv.h":{"filename":"keys_jv.json","prefix":"jv"},"keys_ka.h":{"filename":"keys_ka.json","prefix":"ka"},"keys_ka_ergonomic.h":{"filename":"keys_ka_ergonomic.json","prefix":"ka"},"keys_ka_qwerty.h":{"filename":"keys_ka_qwerty.json","prefix":"ka"},"keys_khb.h":{"filename":"keys_khb.json","prefix":"khb"},"keys_khb_tai_le.h":{"filename":"keys_khb_tai_le.json","prefix":"khb"},"keys_kk.h":{"filename":"keys_kk.json","prefix":"kk"},"keys_kl.h":{"filename":"keys_kl.json","prefix":"kl"},"keys_km.h":{"filename":"keys_km.json","prefix":"km"},"keys_km_nida.h":{"filename":"keys_km_nida.json","prefix":"km"},"keys_kn.h":{"filename":"keys_kn.json","prefix":"kn"},"keys_ko.h":{"filename":"keys_ko.json","prefix":"ko"},"keys_ky.h":{"filename":"keys_ky.json","prefix":"ky"},"keys_la_old_italic.h":{"filename":"keys_la_old_italic.json","prefix":"la"},"keys_lb.h":{"filename":"keys_lb.json","prefix":"lb"},"keys_lis.h":{"filename":"keys_lis.json","prefix":"lis"},"keys_lis_standard.h":{"filename":"keys_lis_standard.json","prefix":"lis"},"keys_lo.h":{"filename":"keys_lo.json","prefix":"lo"},"keys_lt.h":{"filename":"keys_lt.json","prefix":"lt"},"keys_lt_ibm.h":{"filename":"keys_lt_ibm.json","prefix":"lt"},"keys_lt_standard.h":{"filename":"keys_lt_standard.json","prefix":"lt"},"keys_lv.h":{"filename":"keys_lv.json","prefix":"lv"},"keys_lv_qwerty.h":{"filename":"keys_lv_qwerty.json","prefix":"lv"},"keys_lv_standard.h":{"filename":"keys_lv_standard.json","prefix":"lv"},"keys_mi.h":{"filename":"keys_mi.json","prefix":"mi"},"keys_mk.h":{"filename":"keys_mk.json","prefix":"mk"},"keys_ml.h":{"filename":"keys_ml.json","prefix":"ml"},"keys_mn.h":{"filename":"keys_mn.json","prefix":"mn"},"keys_mn_traditional.h":{"filename":"keys_mn_traditional.json","prefix":"mn"},"keys_mn_phags_pa.h":{"filename":"keys_mn_phags_pa.json","prefix":"mn"},"keys_mr.h":{"filename":"keys_mr.json","prefix":"mr"},"keys_mt.h":{"filename":"keys_mt.json","prefix":"mt"},"keys_mt_101.h":{"filename":"keys_mt_101.json","prefix":"mt"},"keys_my.h":{"filename":"keys_my.json","prefix":"my"},"keys_nb.h":{"filename":"keys_nb.json","prefix":"nb"},"keys_nb_sami.h":{"filename":"keys_nb_sami.json","prefix":"nb"},"keys_ne.h":{"filename":"keys_ne.json","prefix":"ne"},"keys_nl.h":{"filename":"keys_nl.json","prefix":"nl"},"keys_nl_period.h":{"filename":"keys_nl_period.json","prefix":"nl"},"keys_non.h":{"filename":"keys_non.json","prefix":"non"},"keys_nso.h":{"filename":"keys_nso.json","prefix":"nso"},"keys_or.h":{"filename":"keys_or.json","prefix":"or"},"keys_pa.h":{"filename":"keys_pa.json","prefix":"pa"},"keys_pl.h":{"filename":"keys_pl.json","prefix":"pl"},"keys_pl_programmers.h":{"filename":"keys_pl_programmers.json","prefix":"pl"},"keys_ps.h":{"filename":"keys_ps.json","prefix":"ps"},"keys_pt.h":{"filename":"keys_pt.json","prefix":"pt"},"keys_pt_abnt.h":{"filename":"keys_pt_abnt.json","prefix":"pt"},"keys_pt_abnt2.h":{"filename":"keys_pt_abnt2.json","prefix":"pt"},"keys_ro.h":{"filename":"keys_ro.json","prefix":"ro"},"keys_ro_programmers.h":{"filename":"keys_ro_programmers.json","prefix":"ro"},"keys_ru.h":{"filename":"keys_ru.json","prefix":"ru"},"keys_ru_phonetic.h":{"filename":"keys_ru_phonetic.json","prefix":"ru"},"keys_sah.h":{"filename":"keys_sah.json","prefix":"sah"},"keys_sat.h":{"filename":"keys_sat.json","prefix":"sat"},"keys_se.h":{"filename":"keys_se.json","prefix":"se"},"keys_se_finland_sweden.h":{"filename":"keys_se_finland_sweden.json","prefix":"se"},"keys_si.h":{"filename":"keys_si.json","prefix":"si"},"keys_sk.h":{"filename":"keys_sk.json","prefix":"sk"},"keys_sk_qwerty.h":{"filename":"keys_sk_qwerty.json","prefix":"sk"},"keys_sl.h":{"filename":"keys_sl.json","prefix":"sl"},"keys_so.h":{"filename":"keys_so.json","prefix":"so"},"keys_sq.h":{"filename":"keys_sq.json","prefix":"sq"},"keys_sr.h":{"filename":"keys_sr.json","prefix":"sr"},"keys_sr_latin.h":{"filename":"keys_sr_latin.json","prefix":"sr"},"keys_srb.h":{"filename":"keys_srb.json","prefix":"srb"},"keys_sv.h":{"filename":"keys_sv.json","prefix":"sv"},"keys_sv_sami.h":{"filename":"keys_sv_sami.json","prefix":"sv"},"keys_syr.h":{"filename":"keys_syr.json","prefix":"syr"},"keys_syr_phonetic.h":{"filename":"keys_syr_phonetic.json","prefix":"syr"},"keys_ta.h":{"filename":"keys_ta.json","prefix":"ta"},"keys_te.h":{"filename":"keys_te.json","prefix":"te"},"keys_tg.h":{"filename":"keys_tg.json","prefix":"tg"},"keys_th.h":{"filename":"keys_th.json","prefix":"th"},"keys_th_pattachote.h":{"filename":"keys_th_pattachote.json","prefix":"th"},"keys_tk.h":{"filename":"keys_tk.json","prefix":"tk"},"keys_tmh.h":{"filename":"keys_tmh.json","prefix":"tmh"},"keys_tmh_extended.h":{"filename":"keys_tmh_extended.json","prefix":"tmh"},"keys_tn.h":{"filename":"keys_tn.json","prefix":"tn"},"keys_tr.h":{"filename":"keys_tr.json","prefix":"tr"},"keys_tr_f.h":{"filename":"keys_tr_f.json","prefix":"tr"},"keys_tt.h":{"filename":"keys_tt.json","prefix":"tt"},"keys_tzm.h":{"filename":"keys_tzm.json","prefix":"tzm"},"keys_ug.h":{"filename":"keys_ug.json","prefix":"ug"},"keys_uk.h":{"filename":"keys_uk.json","prefix":"uk"},"keys_uk_enhanced.h":{"filename":"keys_uk_enhanced.json","prefix":"uk"},"keys_ur.h":{"filename":"keys_ur.json","prefix":"ur"},"keys_uz.h":{"filename":"keys_uz.json","prefix":"uz"},"keys_vi.h":{"filename":"keys_vi.json","prefix":"vi"},"keys_wo.h":{"filename":"keys_wo.json","prefix":"wo"},"keys_yo.h":{"filename":"keys_yo.json","prefix":"yo"}}')}},function(e){e.O(0,[3712,1216,5514],(function(){return 97020,e(e.s=97020)})),e.O()}]); +//# sourceMappingURL=main.5c97e743ab9f7ad50ccb.js.map
\ No newline at end of file diff --git a/main.5c97e743ab9f7ad50ccb.js.LICENSE.txt b/main.5c97e743ab9f7ad50ccb.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/main.5c97e743ab9f7ad50ccb.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/runtime.3d9b8b88f42ef0e9caca.js b/runtime.3d9b8b88f42ef0e9caca.js new file mode 100644 index 0000000..44cca63 --- /dev/null +++ b/runtime.3d9b8b88f42ef0e9caca.js @@ -0,0 +1,2 @@ +!function(){"use strict";var e,a,d,c,s,o={},t={};function l(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return o[e].call(d.exports,d,d.exports,l),d.loaded=!0,d.exports}l.m=o,e=[],l.O=function(a,d,c,s){if(!d){var o=1/0;for(k=0;k<e.length;k++){d=e[k][0],c=e[k][1],s=e[k][2];for(var t=!0,f=0;f<d.length;f++)(!1&s||o>=s)&&Object.keys(l.O).every((function(e){return l.O[e](d[f])}))?d.splice(f--,1):(t=!1,s<o&&(o=s));if(t){e.splice(k--,1);var b=c();void 0!==b&&(a=b)}}return a}s=s||0;for(var k=e.length;k>0&&e[k-1][2]>s;k--)e[k]=e[k-1];e[k]=[d,c,s]},l.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(a,{a:a}),a},d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var s=Object.create(null);l.r(s);var o={};a=a||[null,d({}),d([]),d(d)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((function(a){o[a]=function(){return e[a]}}));return o.default=function(){return e},l.d(s,o),s},l.d=function(e,a){for(var d in a)l.o(a,d)&&!l.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(a,d){return l.f[d](e,a),a}),[]))},l.u=function(e){return({5:"keyboard-data/lotus58-json-metadata",47:"keyboard-data/ergodash-json-metadata",68:"locales/keys_ro-keycodes",129:"locales/keys_lt_ibm-keycodes",308:"locales/keys_be-keycodes",320:"keyboard-data/kbdfans_tofu65_v2-json-metadata",327:"keyboard-data/reviung41-json-metadata",389:"locales/keys_mn-keycodes",398:"locales/keys_lo-keycodes",421:"locales/keys_bg_latin-keycodes",422:"locales/keys_th_pattachote-keycodes",504:"keyboard-data/bt60_v2-json-metadata",539:"locales/keys_khb_tai_le-keycodes",578:"locales/keys_sr_latin-keycodes",630:"keyboard-data/pancake-json-metadata",639:"keyboard-data/splitkb_aurora_sofle-json-metadata",749:"locales/keys_dyu-keycodes",771:"locales/keys_es-keycodes",814:"locales/keys_tzm-keycodes",819:"locales/keys_fa_standard-keycodes",833:"locales/keys_it_142-keycodes",920:"locales/keys_pl_programmers-keycodes",944:"keyboard-data/jian-json-metadata",951:"locales/keys_kk-keycodes",1038:"keyboard-data/bat43-json-metadata",1081:"keyboard-data/splitreus62-json-metadata",1145:"keyboard-data/ferris_rev02-json-metadata",1156:"locales/keys_man-keycodes",1315:"locales/keys_bs-keycodes",1319:"keyboard-data/zmk_uno-json-metadata",1325:"keyboard-data/ergodox-json-metadata",1343:"locales/keys_en_gb_extended-keycodes",1480:"locales/keys_bn-keycodes",1507:"locales/keys_de_ibm-keycodes",1514:"locales/keys_fr_swiss-keycodes",1522:"keyboard-data/bdn9_rev2-json-metadata",1545:"locales/keys_el-keycodes",1547:"locales/keys_ml-keycodes",1616:"keyboard-data/redox-json-metadata",1671:"locales/keys_lv-keycodes",1718:"keyboard-data/reviung5-json-metadata",1720:"locales/keys_sk_qwerty-keycodes",1803:"ConditionalLayerEditorTab",1808:"locales/keys_de_belgian_period-keycodes",1872:"locales/keys_pt_abnt-keycodes",1936:"locales/keys_ckb-keycodes",2015:"locales/keys_hy-keycodes",2124:"keyboard-data/two_percent_milk-json-metadata",2135:"keyboard-data/romac-json-metadata",2169:"keyboard-data/clog-json-metadata",2231:"locales/keys_sr-keycodes",2247:"locales/keys_mr-keycodes",2271:"locales/keys_nl_period-keycodes",2275:"locales/keys_tk-keycodes",2284:"keyboard-data/eternal_keypad_lefty-json-metadata",2308:"keyboard-data/jorne-json-metadata",2383:"locales/keys_or-keycodes",2408:"locales/keys_bg-keycodes",2602:"locales/keys_uk-keycodes",2619:"locales/keys_syr_phonetic-keycodes",2621:"locales/keys_ka_qwerty-keycodes",2650:"locales/keys_ar_azerty-keycodes",2659:"locales/keys_cs_qwerty-keycodes",2757:"keyboard-data/eek-json-metadata",2787:"locales/keys_gu-keycodes",2835:"locales/keys_tmh-keycodes",2838:"keyboard-data/bt60_v1_hs-json-metadata",2921:"keyboard-data/bt75_v1-json-metadata",2939:"keyboard-data/nibble-json-metadata",2947:"locales/keys_us_international-keycodes",2982:"locales/keys_ha-keycodes",3033:"locales/keys_es_variation-keycodes",3039:"keyboard-data/romac_plus-json-metadata",3194:"locales/keys_mn_phags_pa-keycodes",3197:"keyboard-data/s40nc-json-metadata",3203:"GithubPicker",3268:"locales/keys_km_nida-keycodes",3282:"locales/keys_bo-keycodes",3322:"locales/keys_hu_101-keycodes",3359:"locales/keys_de-keycodes",3362:"locales/keys_dvorak_right-keycodes",3393:"locales/keys_tg-keycodes",3394:"keyboard-data/hummingbird-json-metadata",3474:"locales/keys_ug-keycodes",3618:"locales/keys_haw-keycodes",3647:"locales/keys_az_standard-keycodes",3687:"locales/keys_ka-keycodes",3735:"locales/keys_cs_programmers-keycodes",3743:"locales/keys_el_220-keycodes",3746:"locales/keys_lt_standard-keycodes",3826:"keyboard-data/bt60_v1-json-metadata",3880:"locales/keys_mt_101-keycodes",3893:"locales/keys_dz-keycodes",3895:"keyboard-data/kyria_rev3-json-metadata",3983:"LocalPicker",4013:"keyboard-data/totem-json-metadata",4036:"locales/keys_ta-keycodes",4070:"keyboard-data/m60-json-metadata",4156:"keyboard-data/kyria_rev2-json-metadata",4213:"keyboard-data/corneish_zen-json-metadata",4218:"FileSystemPicker",4257:"locales/keys_tn-keycodes",4260:"keyboard-data/boardsource3x4-json-metadata",4263:"locales/keys_el_319-keycodes",4289:"locales/keys_gn-keycodes",4296:"locales/keys_el_polytonic-keycodes",4415:"keyboard-data/eternal_keypad-json-metadata",4443:"locales/keys_bug-keycodes",4465:"locales/keys_it-keycodes",4491:"locales/keys_fr_canadian_french-keycodes",4595:"locales/keys_bg_phonetic-keycodes",4670:"locales/keys_tr_f-keycodes",4688:"locales/keys_chr_phonetic-keycodes",4717:"locales/keys_sv_sami-keycodes",4733:"DemoPicker",4777:"locales/keys_syr-keycodes",4795:"locales/keys_ro_programmers-keycodes",4821:"locales/keys_pt-keycodes",4824:"locales/keys_te-keycodes",4830:"keyboard-data/chalice-json-metadata",4843:"keyboard-data/a_dux-json-metadata",4887:"locales/keys_lis_standard-keycodes",4892:"locales/keys_ne-keycodes",4919:"locales/keys_nb-keycodes",4959:"keyboard-data/crbn-json-metadata",4962:"keyboard-data/bfo9000-json-metadata",5015:"locales/keys_my-keycodes",5074:"WarningsTab",5272:"keyboard-data/quefrency-json-metadata",5303:"locales/keys_tr-keycodes",5332:"locales/keys_ba-keycodes",5354:"locales/keys_srb-keycodes",5356:"keyboard-data/boardsource5x12-json-metadata",5422:"keyboard-data/bt65_v1-json-metadata",5485:"locales/keys_dv-keycodes",5533:"keyboard-data/preonic_rev3-json-metadata",5604:"locales/keys_is-keycodes",5606:"locales/keys_lb-keycodes",5634:"keyboard-data/splitkb_aurora_lily58-json-metadata",5708:"ClipboardPicker",5715:"locales/keys_sl-keycodes",5810:"keyboard-data/naked60-json-metadata",5819:"MacroEditorTab",5821:"locales/keys_el_latin_319-keycodes",5840:"locales/keys_iu-keycodes",5842:"locales/keys_khb-keycodes",5868:"BehaviorEditorTab",5891:"keyboard-data/splitkb_aurora_sweep-json-metadata",5991:"locales/keys_non-keycodes",5998:"locales/keys_yo-keycodes",6019:"keyboard-data/tg4x-json-metadata",6049:"locales/keys_ps-keycodes",6157:"locales/keys_dvorak-keycodes",6158:"keyboard-data/leeloo-json-metadata",6184:"locales/keys_de_swiss-keycodes",6274:"keyboard-data/leeloo_micro-json-metadata",6324:"keyboard-data/lily58-json-metadata",6360:"keyboard-data/qaz-json-metadata",6392:"locales/keys_ar-keycodes",6415:"locales/keys_nl-keycodes",6429:"locales/keys_es_latin_american-keycodes",6457:"locales/keys_gd-keycodes",6528:"keyboard-data/knob_goblin-json-metadata",6684:"locales/keys_th-keycodes",6688:"locales/keys_hi-keycodes",6691:"locales/keys_da-keycodes",6710:"locales/keys_jv-keycodes",6777:"locales/keys_lv_qwerty-keycodes",6793:"LayerEditorTab",6794:"locales/keys_km-keycodes",6943:"locales/keys_chr-keycodes",7022:"locales/keys_et-keycodes",7038:"keyboard-data/corne-json-metadata",7069:"locales/keys_wo-keycodes",7080:"locales/keys_uz-keycodes",7108:"locales/keys_he_standard-keycodes",7110:"keyboard-data/osprette-json-metadata",7190:"keyboard-data/waterfowl-json-metadata",7218:"keyboard-data/nice60-json-metadata",7228:"locales/keys_uk_enhanced-keycodes",7266:"keyboard-data/zodiark-json-metadata",7289:"locales/keys_sah-keycodes",7292:"locales/keys_ru_phonetic-keycodes",7303:"locales/keys_kl-keycodes",7305:"locales/keys_tt-keycodes",7316:"keyboard-data/helix-json-metadata",7446:"locales/keys_he-keycodes",7495:"locales/keys_en_gb-keycodes",7554:"locales/keys_fr-keycodes",7568:"locales/keys_mt-keycodes",7603:"locales/keys_el_latin_220-keycodes",7686:"locales/keys_dsb_extended-keycodes",7771:"locales/keys_lt-keycodes",7803:"locales/keys_sk-keycodes",7892:"locales/keys_ig-keycodes",7905:"keyboard-data/fourier-json-metadata",7950:"locales/keys_fr_belgian_period-keycodes",7961:"keyboard-data/tidbit-json-metadata",7994:"locales/keys_vi-keycodes",7997:"keyboard-data/elephant42-json-metadata",8017:"locales/keys_ar_102-keycodes",8019:"locales/keys_se-keycodes",8041:"locales/keys_mk-keycodes",8070:"locales/keys_az-keycodes",8110:"locales/keys_tmh_extended-keycodes",8119:"locales/keys_hi_traditional-keycodes",8173:"locales/keys_sq-keycodes",8185:"locales/keys_ga-keycodes",8207:"locales/keys_cs-keycodes",8216:"locales/keys_ur-keycodes",8242:"locales/keys_az_cyrillic-keycodes",8251:"locales/keys_fr_canadian_standard-keycodes",8284:"keyboard-data/planck_rev6-json-metadata",8301:"keyboard-data/leeloo_rev2-json-metadata",8302:"locales/keys_en_india-keycodes",8307:"locales/keys_nso-keycodes",8315:"ComboEditorTab",8374:"keyboard-data/murphpad-json-metadata",8391:"locales/keys_pl-keycodes",8409:"keyboard-data/contra-json-metadata",8415:"keyboard-data/snap-json-metadata",8427:"locales/keys_ko-keycodes",8438:"locales/keys_la_old_italic-keycodes",8451:"keyboard-data/cradio-json-metadata",8568:"locales/keys_mn_traditional-keycodes",8599:"locales/keys_fa-keycodes",8636:"locales/keys_nb_sami-keycodes",8642:"keyboard-data/kyria-json-metadata",8649:"locales/keys_sv-keycodes",8699:"locales/keys_se_finland_sweden-keycodes",8706:"locales/keys_fi-keycodes",8709:"locales/keys_kn-keycodes",8729:"keyboard-data/sofle-json-metadata",8793:"locales/keys_dvorak_left-keycodes",8796:"locales/keys_hu-keycodes",8813:"keyboard-data/microdox-json-metadata",8855:"locales/keys_fr_belgian-keycodes",8945:"locales/keys_lis-keycodes",8956:"locales/keys_bm-keycodes",8971:"locales/keys_el_latin-keycodes",8986:"locales/keys_ru-keycodes",9061:"locales/keys_si-keycodes",9081:"locales/keys_lv_standard-keycodes",9082:"locales/keys_as-keycodes",9112:"locales/keys_pt_abnt2-keycodes",9134:"keyboard-data/iris-json-metadata",9136:"locales/keys_hy_phonetic-keycodes",9142:"locales/keys_bn_inscript-keycodes",9176:"locales/keys_iu_latin-keycodes",9193:"locales/keys_so-keycodes",9244:"locales/keys_ky-keycodes",9351:"keyboard-data/splitkb_aurora_corne-json-metadata",9414:"locales/keys_sat-keycodes",9512:"locales/keys_mi-keycodes",9586:"locales/keys_fo-keycodes",9616:"locales/keys_dsb-keycodes",9619:"locales/keys_de_belgian-keycodes",9698:"locales/keys_ka_ergonomic-keycodes",9707:"keyboard-data/jiran-json-metadata",9866:"locales/keys_fi_sami-keycodes",9893:"locales/keys_got-keycodes",9989:"locales/keys_pa-keycodes"}[e]||e)+"."+{5:"e4e4ffd65cbc4c65ecf1",47:"68ec143ed38bce6cbea4",68:"7b17882894d827d4a691",129:"93e9e7b55ff4db1b45f4",308:"e7d0c13e3ecc92b49444",320:"e0e22f0d3ac8f761ce0c",327:"dead44ee607261367451",389:"606dc039dbee5e7de1d4",398:"c8c541aaf844eeda8149",401:"bdae6943931998cef4fd",421:"dbb2c1733f9a7579098e",422:"666bd3a0ce35c4a274ff",504:"08471cae2d972b76b0db",535:"4900f4b064a004bf376d",539:"f13efc888eac2aa8e903",578:"04d1220d52840040f60b",630:"6b46117b424a7c066032",639:"ed35220caee82d9a98c9",749:"76b287374b8ae5f7a06c",771:"476e9ba05219d84921f3",814:"4764231c07fa0d0a04f6",819:"0795ba54cbc82dd190cf",833:"46444cf657dcf1bb1593",920:"dc595b5183e9c47ff557",944:"1d97a367f9bc03bebc24",951:"f0042702141cbb2ccabf",1038:"0dd9fa3315bf40184cef",1066:"81b49a8822b54303f72b",1081:"b7803c34bd0bfa5dafc5",1145:"eb22ba2cdea48aa2d95d",1156:"bb15c7631776a604bdb7",1315:"0db48f03173200e045f2",1319:"235d28f92c3ebf9de6a7",1325:"2f0b419e92ee75a38e38",1343:"8f70c7bbb298f625412f",1480:"dd1c948a8c44aac28b53",1507:"8cada04b0e43007bb4be",1514:"649b8ed65f356fa690ac",1522:"51261fedb8ec11fb688b",1545:"b152a1976be0001bfb43",1547:"c246a45983470f77e595",1616:"1f9bec7c4bfb7844f4b5",1671:"6bdbbb20361914659d30",1718:"48c9ef74da6b481e09e7",1720:"3328c6b7c20fbf918852",1803:"db97dd49c33ce73ea69e",1808:"abb32a6fe65c55952158",1872:"719fd6d2cfbc98065faa",1936:"8e41309b9c19de95960a",2015:"1189ea9050bf52385110",2124:"3a4b66bbd69961c6d5c2",2135:"525d812350d5ced6043f",2169:"63ac13cc199c3dc1a8f3",2231:"5080f1cbf58c1317f585",2247:"3459beb60f5e45f7a659",2271:"b737428706ade1ab91ed",2275:"6c3d70cbc0a2a960dede",2284:"88dbffa6a51dab15b0fe",2308:"3dcb94a43fdc92f06e92",2383:"45d4631f706b18beb2d9",2408:"49d33aa415e8f4992f21",2602:"d7b17cf5cd894ba30b64",2619:"5153da3fbe85b2f1f7f8",2621:"bd9a8dabd0cd755853b5",2650:"a829372aef4170ca51a4",2659:"c36d1660242da4a6482d",2757:"7bb49d3d556b1d93c064",2787:"23f639d1d9e06f080ea7",2835:"551ed1eddb65a0855ec0",2838:"84c69ef5c8dc271afe1d",2921:"377227f7d5e348eafa81",2939:"7a308a62c65bc646f73f",2947:"2b19227a71dd755ae4b6",2982:"36e9273f2ce6ff4f4673",3033:"b26fcf2e16e386fb33b1",3039:"af983ffea98d132ceba4",3194:"8a08d0da753f48f7f95e",3197:"c76645f1783dc0be1e59",3203:"09b2a104816c9e2d266a",3268:"f3f0e12f35d6ede0f40f",3282:"01584f37d4d33ad63efb",3322:"7ebaf8ec7ac148f4669d",3359:"2b1b7a00d5f5a3f3d4d7",3362:"4b171d128973788c904e",3393:"2b68325532554cc8d8ba",3394:"b0af5ee288c25da5c283",3474:"d8e51748742a2c676e34",3618:"d8420dbaf5d768e5d2d4",3647:"6703ed839e825c8771d3",3687:"e750c133ca55d5c6e548",3735:"c9d93c92c6c0423a5416",3743:"ebb2429d5bbde92909c4",3746:"a4deb37dc8a93b498757",3826:"97699fa9c0a1372dedb5",3880:"fcaa03e1df43df95ab97",3893:"c7df98614033002329af",3895:"132914156c62a82b3268",3983:"c8e99eda7fd1909627b2",4013:"cb89f5091aba0e288065",4036:"909dd7500874d97524c9",4070:"f616dcb60b78533d6bf0",4084:"80c8670641f9c037682a",4156:"3ac284a21e7e7924f35f",4213:"6f4898d50b5338d7300e",4218:"d61821d8d112a252513e",4257:"f5fd10e05ad3d0536453",4260:"7cf189c757bde6655415",4263:"931dcb76dcb966d4c80f",4289:"fa48da5f908e2f1c31fc",4296:"6398e9a1092dbd966cd4",4415:"39fdfb3dfabfb49c9f35",4443:"3d9b42bc9254f6af0784",4465:"f4574a240d1cc776a64d",4491:"85813c1f613b510d8c53",4595:"32f60188d0eaea679456",4670:"c00667ffdde3a68622ab",4688:"31df1ae6ad5f78bd01fc",4717:"abfe395f6284ad19bfcd",4733:"339bea75131d4c294e51",4777:"2224cbda2741be9da336",4795:"ed0ccd39951359fbbbca",4820:"f218f8a1d43f256dfc60",4821:"ddd40fd58db42a579031",4824:"0a6f4db1962949f69a35",4830:"e201d6b24b9cb1e2ad99",4843:"fd9113741beefa00f0b5",4887:"f052ae8bfdfdb1d513db",4892:"960290e8d85e0b47f102",4919:"4a12c76edfa94312b0ea",4959:"808a01eda41b51d14bcb",4962:"69a545b5fcc0f7130c05",5015:"0f3a2242ea9f9a42c4f9",5074:"b219616848293106abf3",5272:"c7e0af70b0a8c39034f3",5303:"a4497d24307a9897e5b5",5332:"777b50e4b114b352d258",5354:"2e00aaedbbdc1642bb92",5356:"1fba1c8cde51e25e2627",5422:"2ffe628e4ca4ccaccd22",5485:"55a0ec07c8abbfe214b4",5533:"c45da345e0fb10fa3770",5604:"f11c3e2dd4430602f243",5606:"8cfe7dc5f09ec96ea95e",5634:"d4e880ef4bc1bdca79dd",5708:"2c0e8b8f6b6ee99c8298",5715:"4ef9b548b6cfc7c605f9",5810:"637b457fc2054bcead5a",5819:"11d13c9431471c82e581",5821:"a4f5e6f31f799696cdaf",5840:"7e4e574c1214010c07dc",5842:"f7c89fd7bf3602a3399e",5868:"274dfe9314f11058e47b",5891:"3076456f65d49468799e",5991:"512b59c58af9c82a47d5",5998:"91c971fb3f5767c3d295",6019:"9b8b15f0b8ce84f82156",6049:"a62bb2191cc0eecda711",6157:"8b93a87cbbec10359b5d",6158:"889d4299cca613161f97",6184:"732ddeb1a32a40e2fc3a",6274:"5630298fa575b0640e66",6324:"1c52c22287b2cac5bded",6360:"13927c112e935b8e10f6",6392:"fa88aea6ab27afd6da50",6415:"627e38aee29608a5d6d2",6429:"b9b3578a604e51fa3455",6457:"ba688263a9c85e9843e1",6528:"b29141f3be2170066ee6",6538:"facfdddbe6ecd6bfbb2e",6684:"1274b7cfa9914c7663c9",6688:"5d24e1f96d6a6cfefcb0",6691:"b6cb655f0aa7dcd8787b",6710:"69f4ed313d19455e88f9",6777:"dab38c8f01434d45eb86",6793:"cd807d367062009a0bba",6794:"aa4330a831430380f7ca",6943:"9c0653724d1cbfa9ed86",7022:"9ece5bc0d21090bf91ad",7038:"84994fde2fafd27c8862",7069:"9929a74e7e92648a0f87",7080:"f083c93705b5e80e4a4e",7108:"906eeacc617750894b22",7110:"a4955e02f5ec94c45697",7190:"c0df8d5fa12d9a44ddb6",7218:"5b518329a6b8d1f99ef2",7228:"0a7f301444940610aa3a",7266:"b1ddb085343413bd0f2f",7289:"2fcc4bbd19c8e23bcfd9",7292:"364542469a1dd2fd041b",7303:"8f0ef5a9295943353ecf",7305:"ac74249c913980666520",7316:"c9818170d7ea30748c18",7446:"f26521f672e3d94f3c62",7495:"cb22512c8cea97bbcf19",7554:"bdf065db03088c4a4a5d",7568:"d9f3ad26c7b8b70fc1ec",7603:"d2d72bb470a9b2e1ede0",7686:"940990bf96e9413b2e9b",7771:"9942586e9e23d5059127",7803:"8760edf191caa0f69869",7892:"86c938c7b27b9a67ef50",7905:"23f278887548ad32dabd",7950:"6fb177a4414f9a190484",7961:"9a89555a7017f8c7c979",7994:"c160e150f1431807c681",7997:"ec7498e85efc36524556",8017:"837d18f3c4fcf868010b",8019:"02f2f252639bb1d459b6",8041:"dae4eea51cfd6e1fbef3",8070:"27f10e0739c78ab95d16",8110:"c132517c950a214d5731",8119:"58eb56bfeb45579c084c",8173:"1776ba2cbbdeb9918f9c",8185:"ece0dc278594eee67cb1",8207:"7e346d396cf1e067b94f",8216:"bd2ef62dab7ca40f6d44",8242:"3891fea81cc045034ad4",8251:"7bcdee9a73a0eb39baaa",8284:"6555a3d99bf8aa4a85ee",8301:"1b5acae3cec5d2b351b3",8302:"6b483d8d7739ff515b8f",8307:"e12dd0aad5e6a036ed3b",8315:"bcc33a09f9ca6ba88a56",8374:"36097a9be925aa82182c",8391:"eb08511c704d549f8237",8409:"f43f0bce73bf9b6a9c36",8415:"1a17db797b8c7966d730",8427:"409e29315cd91dfb038b",8438:"41a503f1b2737d035a74",8451:"ee4fc77b506ae42c350d",8568:"bf0989c363612ba74ac9",8599:"1c088737758fa51d0a0a",8636:"48c3cab70569554b8655",8642:"18f07547d3f5ddbc5c3b",8649:"519f8992d7c5b42bf4e1",8699:"6d4b2f405c48cf71aa4b",8706:"db5988f190774b8ecd7e",8709:"edbea20e0b917271d7a2",8729:"5e7f233ca2746206478d",8793:"9639129fefdac959af3a",8796:"594621d4b7b51b6c639b",8813:"1008878cec3cb3882209",8855:"38f81f640e33d713ea2c",8873:"123a9bf906885ec71b35",8945:"d5a920b4e65ee30d8356",8956:"b025b7e50cad64b75370",8971:"f906bba2b2b7e87a8ae0",8986:"4ad17334f3ef911b6b0b",9061:"df8e5e2756a89a473ac0",9081:"b6c8611601548f3554f7",9082:"35cb59b22a293243df26",9112:"7ebcaf2caf566e7902b8",9134:"ff4f0180e5079649f561",9136:"3249d48fcb94ad9e44a1",9142:"8933a018c2a618e987a4",9176:"2557b40f7b4fcef345a9",9193:"e2b545b8ea15c0016312",9244:"0e4e64562de0635942ff",9351:"937871a659c22427a634",9414:"b9aecaa9ab601ffcc6b4",9512:"dc6d783fb73d92e5a7fb",9586:"01151d539dca32e61272",9616:"0a4f102b3e946346e2d6",9619:"b044962c66577434486e",9698:"41ef3f798533a2b1c7cf",9707:"7d9b702ab7a66f9882c9",9866:"110121669330cd9e737c",9893:"4ff6eee70cdc1c6e3325",9989:"e7d2ba9eda5b0ac31cac"}[e]+".js"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},c={},s="app:",l.l=function(e,a,d,o){if(c[e])c[e].push(a);else{var t,f;if(void 0!==d)for(var b=document.getElementsByTagName("script"),k=0;k<b.length;k++){var y=b[k];if(y.getAttribute("src")==e||y.getAttribute("data-webpack")==s+d){t=y;break}}t||(f=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,l.nc&&t.setAttribute("nonce",l.nc),t.setAttribute("data-webpack",s+d),t.src=e),c[e]=[a];var r=function(a,d){t.onerror=t.onload=null,clearTimeout(n);var s=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),s&&s.forEach((function(e){return e(d)})),a)return a(d)},n=setTimeout(r.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=r.bind(null,t.onerror),t.onload=r.bind(null,t.onload),f&&document.head.appendChild(t)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var a=l.g.document;if(!e&&a&&(a.currentScript&&(e=a.currentScript.src),!e)){var d=a.getElementsByTagName("script");d.length&&(e=d[d.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),function(){l.b=document.baseURI||self.location.href;var e={3666:0};l.f.j=function(a,d){var c=l.o(e,a)?e[a]:void 0;if(0!==c)if(c)d.push(c[2]);else if(3666!=a){var s=new Promise((function(d,s){c=e[a]=[d,s]}));d.push(c[2]=s);var o=l.p+l.u(a),t=new Error;l.l(o,(function(d){if(l.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var s=d&&("load"===d.type?"missing":d.type),o=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+s+": "+o+")",t.name="ChunkLoadError",t.type=s,t.request=o,c[1](t)}}),"chunk-"+a,a)}else e[a]=0},l.O.j=function(a){return 0===e[a]};var a=function(a,d){var c,s,o=d[0],t=d[1],f=d[2],b=0;if(o.some((function(a){return 0!==e[a]}))){for(c in t)l.o(t,c)&&(l.m[c]=t[c]);if(f)var k=f(l)}for(a&&a(d);b<o.length;b++)s=o[b],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(k)},d=self.webpackChunkapp=self.webpackChunkapp||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))}(),l.nc=void 0}(); +//# sourceMappingURL=runtime.3d9b8b88f42ef0e9caca.js.map
\ No newline at end of file diff --git a/shared.092544b1311ee9b4c8ef.js b/shared.092544b1311ee9b4c8ef.js new file mode 100644 index 0000000..2e202b4 --- /dev/null +++ b/shared.092544b1311ee9b4c8ef.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3712],{66767:function(_,e,E){_.exports=E(92908)},59857:function(_,e,E){const{removeStartingWhitespace:t,removeTrailingWhitespace:o,reindent:s,dedent:i}=E(3769),{getLabeledItem:S,getNodeLabels:a}=E(35125),n=" ",A="keep";function r(_){return-1!==_.text.indexOf("\n")}function I(_){return"comment"===_.type&&_.previousSibling&&"preproc_def"!==_.previousSibling.type&&"preproc_function_def"!==_.previousSibling.type&&"preproc_include"!==_.previousSibling.type&&_.previousSibling.endPosition.row===_.startPosition.row}function D(_,e){return e.repeat(l(_))}function l(_){let e=_,E=0;const t=_.tree.rootNode;for(;(e=e.parent)&&e&&e.id!==t.id;)"labeled_item"!==e.type&&E++;return E}function u(_,e){if(!e)return!1;const E=_.type===e.type;return E&&"node"===_.type||"property"===(t=_)?.type&&(t.namedChildren.length>2||t.namedChildren.slice(1).some(r))||!E&&!I(e);var t}function R(_){return!!_.childForFieldName("address")}function O(_){return R(_)?`@${_.namedChildren[1].text}`:""}function d(_){return _.map((_=>`${_}: `)).join("")}_.exports={formatNode:function _(e,E={}){const{indent:l=n}=E;"labeled_item"===e.type&&(e=S(e));const[T,...N]=e.namedChildren,U=D(e,l);function c(e){return e.reduce(((t,o,s,i)=>I(o)?(t[t.length-1]+=o.text,t):(t.push(..._(o,E)),u(o,e[s+1])&&t.push(""),t)),[])}switch(e.type){case"document":return[...c(e.namedChildren),""];case"node":return[U+`${d(a(e))}${T.text}${O(e)} {`,...c(R(e)?e.namedChildren.slice(2):N),U+"};"];case"property":return function(e,E={}){const{indent:S=n,multilineIntegerCellsIndent:I=A}=E,[l,...u]=e.namedChildren,R=D(e,S),O=0===u.length,T=1===u.length&&!r(u[0]),N=1===u.length&&"integer_cells"===u[0].type,U=d(a(e));if(O)return[R+e.text];if(T)return[R+`${U}${l.text} = ${u[0].text};`];if(N){let _=t(o(u[0].text.slice(1,-2)));switch(I){case"reindent":_=s(_,R+S);break;case"dedent":_=i(_)}return[R+`${U}${l.text} = <`,..._.split("\n"),R+">;"]}return[R+`${l.text} =`,...[].concat(...u.map((e=>_(e,E)))).map(((_,e,E)=>[_,e===E.length-1?";":","].join("")))]}(e,E);case"preproc_include":case"preproc_def":case"preproc_function_def":return[e.text.trimEnd()];default:return[U+e.text]}},getModelineConfiguration:function(_){return _.rootNode.namedChildren.reduce(((_,e)=>{if("comment"===e.type){const E=e.text.startsWith("//")?e.text.slice(2).trim():e.text.slice(2,-2).trim();for(const e of E.split("\n")){const E=e.match(/dt-formatter:\s*(\w+)\s*=\s*(.+)$/);if(E){const[e,t]=E.slice(1);try{const E=JSON.parse(t);_[e]=E}catch{}}}}return _}),{})},getNodeDepth:l,isInlineComment:I,shouldIncludeBlank:u}},1530:function(_,e,E){_.exports=Object.assign({},E(35125),E(46933),E(31960),E(95147))},35125:function(_,e,E){const t=E(69282),o=E(49766);function s(_){return i(_.parent,"label")}function i(_,e){const E=[],t=_.walk();t.gotoFirstChild();do{const _=t.currentNode().isNamed(),o=t.currentFieldName()===e;_&&o&&E.push(t.currentNode())}while(t.gotoNextSibling());return t.delete(),E}function S(_,e){const E="string"==typeof e?_=>_===e:e;return _.namedChildren.filter((_=>"node"===_.type&&_.children.find((_=>"identifier"===_.type&&E(_.text)))))}_.exports={nodesAreConsecutive:function(_){return _.every(((e,E)=>!(E<_.length-1)||e.nextSibling.id===_[E+1].id))},getNodeLabels:function(_){return s(_).map((_=>_.text))},getNodeLabelNodes:s,getLabeledItem:function(_){return t("labeled_item"===_.type),_.childForFieldName("item")},getNodeChildrenByFieldName:i,findChildByIdentifier:function(_,e){_=[].concat(_);for(const E of o(_)){const _=S(E,e)[0];if(_)return _}},findChildrenByIdentifier:S,listNodes:function(_,e={}){const{stripNewlines:E=!0,limit:t=50}=e;for(const e of _){let _=e.text;E&&(_=_.replace(/\n/g,"")),t&&(_=_.slice(0,t)),console.log(e.id,`[${e.type}]`,"->",_)}}}},46933:function(_,e,E){const{getNodeChildrenByFieldName:t}=E(35125),{parseStringLiteral:o,parseIntegerCells:s,parseIntegerArray:i,parsePhandles:S,parsePhandle:a,parsePhandleArray:n,parseIntegerUnion:A,serializeIntValue:r,serializeArrayValue:I}=E(95147);function D(_,e){return _.children.find((_=>"property"===_.type&&_.children[0].text===e))}function l(_,e){return _.namedChildren.find((_=>"property"===_.type&&_.childForFieldName("name")?.text===e))}function u(_,e){const E=l(_,e);return E&&t(E,"value")}function R(_,e,E){const t=D(_,e),r=u(_,e);switch(E.type){case"string":return o(r?.[0]);case"boolean":return!!t;case"int":return s(r)?.[0];case"array":return i(r);case"phandle":return a(r);case"phandles":return S(r);case"phandle-array":return n(r);case"integer-union":return A(r)}}_.exports={findNodeProperty:D,getProperty:function(_,e){const E=_.children.find((_=>"property"===_.type&&_.children[0].text===e));return E&&{syntaxNode:E,name:e,value:E.children[2]?.text}},getPropertyNode:l,getPropertyValue:function(_,e){return(e="string"==typeof e?l(_,e):e)?.childForFieldName("value")},getPropertyValues:u,parsePropertiesFromSchema:function(_,e){return Object.keys(e).reduce(((E,t)=>{const o=e[t],s=R(_,t,o);return void 0!==s&&(E[t]={parsed:s}),E}),{})},parsePropertyFromSchema:R,serializePropertyFromSchema:function(_,e){switch(e.type){case"string":return`"${_.parsed}"`;case"boolean":return _.parsed;case"int":return r(_.parsed);case"array":return I(_.parsed);case"phandle":return _.parsed.map((_=>`<${_}>`)).join(", ");case"phandles":case"phandle-array":return _.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>`<${_.join(" ")}>`)).join(", ");case"integer-union":return _.parsed.length>0&&`<(${_.parsed.map((_=>_.toString())).join("|")})>`}}}},31960:function(_){function e(_,e={}){const{maxDepth:E=-1}=e,t=[{depth:0,node:_.rootNode||_}];return function(){const _=t.shift();return _&&(-1===E||_.depth<E)&&t.push(..._.node.namedChildren.map((e=>({node:e,depth:_.depth+1})))),_?.node}}function E(_,e={}){const{maxDepth:E=-1}=e,t=[{depth:0,node:_.rootNode||_}];return function(){const _=t.shift();return _&&(-1===E||_.depth<E)&&t.unshift(..._.node.namedChildren.map((e=>({node:e,depth:_.depth+1})))),_?.node}}function t(_,t,o={}){const{single:s=!1,maxDepth:i=-1,depthFirst:S=!1}=o,a=S?E(_,{maxDepth:i}):e(_,{maxDepth:i}),n=[];let A;for(;A=a();)if(t(A)){if(s)return A;n.push(A)}if(!s)return n}function o(_){let e;if(_ instanceof RegExp)e=e=>_.test(e);else if("string"==typeof _)e=e=>e===`"${_}"`;else{if("function"!=typeof _)throw new TypeError("Unexpected type "+typeof _);e=_}return _=>"property"===_.type&&"compatible"===_.childForFieldName("name").text&&e(_.childForFieldName("value").text)}_.exports={BreadthFirstIterator:e,DepthFirstIterator:E,searchTree:t,findLabeledItem:function(_,e){let E=t(_,(_=>"labeled_item"===_.type&&"identifier"===_.children[0].type&&_.children[0].text===e),{single:!0});if(!E)return null;do{E=E.childForFieldName("item")}while("labeled_item"===E.type);return E},findNodeByIdentifier:function(_,e){return t(_,(_=>"node"===_.type&&_.childForFieldName("name").text===e),{single:!0})},findNodeWithCompatible:function(_,e){return t(_,o(e),{single:!0})?.parent},findNodesWithCompatible:function(_,e){return t(_,o(e)).map((_=>_.parent))}}},95147:function(_,e,E){const{searchTree:t}=E(31960),o=_=>"unary_expression"===_.type&&"-"===_.childForFieldName("operator").type&&"integer_literal"===_.childForFieldName("argument").type,s=_=>["identifier","integer_literal"].includes(_.type)||o(_),i=_=>["identifier","integer_literal","reference","call_expression"].includes(_.type),S=_=>"reference"===_.type,a=_=>"integer_literal"===_.type||o(_)?Number(_.text):_.text;function n(_){return _?.flatMap((_=>_.namedChildren.filter(s).map(a)))}function A(_){return _?.flatMap((_=>_.namedChildren.filter(S).map((_=>_.text))))}function r(_){return(_=_.toString()).match(/-\d+/)&&(_=`(${_})`),_}_.exports={parseStringLiteral:function(_){return _?.text?.slice(1,-1)},parseIntegerCells:function(_){return n(_)},parseIntegerArray:n,parsePhandle:function(_){return A(_)[0]},parsePhandleArray:function(_){return _?.flatMap((_=>_.namedChildren.filter(i).map((_=>_.text))))},parsePhandles:A,parseIntegerUnion:function(_){return _?.flatMap((_=>t(_,s,{depthFirst:!0}))).map(a)},sanitizeIdentifier:function(_){return _.replace(/[^a-zA-Z0-9,._+-]/g,"_").slice(0,31)},serializeIntValue:function(_){return`<${r(_)}>`},serializeArrayValue:function(_){return`<${_.map(r).join(" ")}>`}}},89361:function(_,e,E){const t=E(69282),{ReferenceError:o}=t,s=E(66039),i=E(42148),S=E(33610),a=E(72243),n=E(84060),A=E(49766),{getNodeLabels:r,getLabeledItem:I}=E(35125),{getPropertyValues:D}=E(46933),{sanitizeIdentifier:l}=E(95147);_.exports={NodeCollection:class{managedProperties=[];_cached_container_node=null;_cached_container_tree_version=0;_cached_collection_nodes=null;_cached_collection_tree_version=0;constructor(_,e={}){this.document=_,e.managedProperties&&(this.managedProperties=e.managedProperties),e.lookupContainerNode&&(this.lookupContainerNode=e.lookupContainerNode.bind(this)),e.injectContainerNode&&(this.injectContainerNode=e.injectContainerNode.bind(this)),e.lookupNodes&&(this.lookupNodes=e.lookupNodes.bind(this)),e.injectNode&&(this.injectNode=e.injectNode.bind(this))}lookupContainerNode(){throw new o("Provide `lookupContainerNode` in constructor or override this method")}injectContainerNode(){throw new o("Provide `injectContainerNode` in constructor or override this method")}lookupNodes(){throw new o("Provide `lookupNodes` in constructor or override this method")}injectNode(){throw new o("Provide `injectNode` in constructor or override this method")}get container(){return this._cached_container_tree_version!==this.document._parse_version&&delete this._cached_container_node,this._cached_container_node||(this._cached_container_node=this.lookupContainerNode(this.document),this._cached_container_tree_version=this.document._parse_version),this._cached_container_node}get nodes(){return this._cached_collection_tree_version!==this.document._parse_version&&delete this._cached_collection_nodes,this._cached_collection_nodes||(this._cached_collection_nodes=this.lookupNodes(this.document),this._cached_collection_tree_version=this.document._parse_version),this._cached_collection_nodes}updateCollection(_){_.length&&!this.container&&(this.injectContainerNode(this),this.document.flushChanges());const e=[...this.nodes.keys()],E=i(a(_,"index"),(_=>this.nodes[_])),t=s(e,E),[o,S]=n(_,(_=>this.nodes[_.index]));for(const _ of o)this.updateNode(_.index,_);for(const _ of A(t))this.document.removeNode(this.nodes[_]);for(const _ of S)this.injectNode(this,_),this.document.flushChanges(),this.updateNode(this.nodes.length-1,_)}updateNode(_,e){const E=this.extractNode(this.nodes[_]);this.updateNodeName(_,e,E),this.updateNodeLabels(_,e,E),this.updateNodeProperties(_,e,E),this.cleanupNodeProperties(_,e,E)}updateNodeName(_,e,E){if(E.name!==e.name){const E=this.nodes[_].childForFieldName("name");this.document.replaceNode(E,l(e.name),{removeStartingWhitespace:!1})}}updateNodeLabels(_,e,E){S(E.labels,e.labels)||this.document.replaceNodeLabels(this.nodes[_],e.labels)}updateNodeProperties(_,e,E){const{properties:t}=e;for(const e in t){const o=t[e];S(o,E.properties[e])||this.document.setProperty(this.nodes[_],e,o)}}cleanupNodeProperties(_,e,E){const{properties:t}=e;for(const e of this.managedProperties)e in E.properties&&!(e in t)&&this.document.deleteProperty(this.nodes[_],e)}extractNode(_){t("node"===_.type);const e=_.childForFieldName("name").text,E=r(_),o=_.namedChildren.reduce(((e,E)=>{if("labeled_item"===E.type&&(E=I(E)),"property"===E.type){const t=E.childForFieldName("name").text,o=D(_,t),s=a(o,"text"),i=s.join(", ");e[t]={parsed:s,raw:i}}return e}),{});return{name:e,labels:E,properties:o}}extractCollection(){return this.nodes.map(((_,e)=>({index:e,...this.extractNode(_)})))}}}},92908:function(_,e,E){const t=E(69282),{sortBy:o}=E(59553),s=E(96912),{getPosition:i}=E(3769),{getNodeLabelNodes:S}=E(35125),{getProperty:a}=E(46933);let n;_.exports={getParser:async function(){if(!n){await s.init();const _=await s.Language.load(E.g.window?E(34886):"//../data/tree-sitter-devicetree.wasm");n=new s,n.setLanguage(_)}return n},DevicetreeDocument:class{constructor(_,e){this.parser=_,this._parse_version=0,this._enableChangeBuffering=!1,this._bufferedChanges=[],this.update(e)}cleanup(){this.tree.delete()}update(_,e=null){if(e&&this.tree&&this._enableChangeBuffering){const E=_.slice(e.startIndex,e.newEndIndex);this._bufferedChanges.push({startIndex:e.startIndex,update:e,replacementText:E})}else this.text=_,this._reparse()}_reparse(){this.tree&&this.tree.delete(),this.tree=this.parser.parse(this.text),this._parse_version++}flushChanges(){if(0===this._bufferedChanges.length)return;const _=o(this._bufferedChanges,"startIndex"),e=_.reduce(((e,{update:E,replacementText:t},o)=>{const s=_[o+1],i=o>0?_[o-1].update.oldEndIndex:0,S=this.text.slice(i,E.startIndex),a=t;return e.push(S),e.push(a),s||e.push(this.text.slice(E.oldEndIndex)),e}),[]);this.text=e.join(""),this._reparse(),this._bufferedChanges=[]}removeNode(_){this.replaceNode(_,"")}replaceNode(_,e,E={}){const{removeStartingWhitespace:t=!0}=E,{text:o}=this,s=o.lastIndexOf("\n",_.startIndex),S=-1!==s&&o.slice(s+1,_.startIndex).match(/\s+/)&&t?s:_.startIndex,a=[o.slice(0,S),e,o.slice(_.endIndex)].join(""),n={startIndex:S,startPosition:i(e,S),oldEndIndex:_.endIndex,oldEndPosition:_.endPosition,newEndIndex:S+e.length,newEndPosition:i(a,S+e.length)};this.update(a,n)}replaceRange(_,e,E){const{text:t}=this,o=[t.slice(0,_),E,t.slice(e)].join(""),s=_+E.length,S={startIndex:_,startPosition:i(t,_),oldEndIndex:e,oldEndPosition:i(t,e),newEndIndex:s,newEndPosition:i(o,s)};return this.update(o,S)}replaceNodeLabels(_,e){const E=S(_),t=o(E,"startIndex"),s=e.map((_=>`${_}:`)).join(" "),i=t[0]&&t[0].parent||_;this.replaceRange(i.startIndex,_.startIndex,s)}insertTextBeforeNode(_,e){this.replaceRange(_.startIndex,_.startIndex,e)}insertTextAfterNode(_,e){this.replaceRange(_.endIndex,_.endIndex,e)}addChildNode(_,e){t("node"===_.type);const E=_.children.find((_=>"}"===_.type));return this.replaceRange(E.startIndex,E.startIndex,e)}setProperty(_,e,E){const t=a(_,e);if("boolean"==typeof E&&!E)return void(t&&this.deleteProperty(_,e));const o=E.length?`${e} = ${E};`:`${e};`;return t?this.replaceNode(t.syntaxNode,o,{removeStartingWhitespace:!1}):this.addChildNode(_,`\n ${o}`)}deleteProperty(_,e){const E=a(_,e);E&&this.replaceNode(E.syntaxNode,"")}}}},83858:function(_,e,E){const t=E(26069),o=E(22469),s=E(41953),i=E(50501),S=E(72243),a=E(54600),n=E(22834),{getParser:A}=E(66767),{formatNode:r,getModelineConfiguration:I}=E(59857),{behaviorBindings:D}=E(95130),l=E(87325),{encodeKeyBinding:u}=E(69663),R=E(22443),O=i(D,"code");function d(_){const e=[...o(t(S(_.layers,"properties.bindings.parsed"))),...o(t(S(_.layers,"properties.sensor-bindings.parsed"))),...o(t(S(_.combos,"properties.bindings.parsed"))),...o(t(S(_.macros,"properties.bindings.parsed"))),...o(t(S(_.behaviors,"properties.bindings.parsed")))].map((_=>"object"==typeof _?_.value:_));return n(e)}_.exports=async function(_,e,E,t={}){!function(_,e){for(const E of _.layers){if(E.properties.bindings?.parsed){const{parsed:_}=E.properties.bindings;E.properties.bindings={parsed:_,useRaw:!0,raw:`<\n${l(e,_.map(u))}\n>`}}E.properties.label&&!E.properties.label.parsed&&delete E.properties.label,E.properties=a(E.properties,(_=>!_))}}(e,_);const i=o(d(e).map((_=>s(O,[_,"includes"],[])))),S=new R(await A(),E);S._enableChangeBuffering=!0,S.mergeUpdated(e,t),S.replaceBehaviourIncludes(i),S.flushChanges();try{const _=I(S.tree);return r(S.tree.rootNode,_).join("\n")}catch(_){return console.error("Failed to format devictree",_),S.text}finally{S.cleanup()}},_.exports.getBehaviorsUsed=d},69663:function(_,e,E){const t=E(42148),o=E(41953),{parsePropertyFromSchema:s}=E(46933);function i(_){return _.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")))}const S=["¯o_tap","¯o_press","¯o_release","¯o_tap_time","¯o_wait_time","¯o_pause_for_release"];function a(_){const e=(_.params||[]).map(a),E=e.length>0?`(${e.join(",")})`:"";return _.value+E}_.exports={parseBindings:function(_,e="bindings"){const E=s(_,e,{type:"phandle-array"});return E?i([].concat(...E)):void 0},parseKeyBinding:function(_,e){const E=/\((.+)\)/,s=_.match(/^(&.+?)\b/)[1],i=t(_.replace(/^&.+?\b\s*/,"").split(" ")).map((function _(t){const s=t.replace(E,""),i=o(t.match(E),"[1]","").split(",").map((_=>_.trim())).filter((_=>_.length>0)).map(_);return{value:o(e.defines,s,s),params:i}}));return{value:s,params:i}},groupMacroBindings:function(_){return _.reduce(((_,e,E,t)=>{const o=e.split(" ")[0];return S.includes(o)?(_.at(-1).length>0&&_.push([]),_.at(-1).push(e),E<t.length-1&&_.push([])):_.at(-1).push(e),_}),[[]])},groupPhandleArrayBindings:i,encodeKeyBinding:function(_){const{value:e,params:E}=_;return`${e} ${E.map(a).join(" ")}`.trim()}}},30051:function(_,e,E){const t=E(33610),o=E(50501),s=E(72243),{NodeCollection:i}=E(89361),{findChildByIdentifier:S,parsePropertyFromSchema:a,searchTree:n,serializePropertyFromSchema:A}=E(1530),{behaviorBindings:r,behaviorSchemas:I}=E(95130),{encodeKeyBinding:D,parseKeyBinding:l}=E(69663),u=s(r,"code"),R=o(r,"code");_.exports=class extends i{lookupContainerNode(){}injectContainerNode(){}lookupNodes(){return n(this.document.tree.rootNode,(_=>"node"===_.type&&"reference"===_.childForFieldName("name").type&&u.includes(_.childForFieldName("name").text)))}injectNode(_,e){const E=`${e.name} {};`,t=this.nodes.at(-1),o=S(this.document.tree.rootNode,"/");t?this.document.insertTextAfterNode(t,E):this.document.insertTextBeforeNode(o,E)}extractNode(_){const e=super.extractNode(_),{name:E}=e,{compatible:t}=R[E],o=I[t];if(o)for(const E in o.properties){const t=o.properties[E],s=e.properties[E];if(s&&(s.parsed=a(_,E,t),"phandle-array"===t.type)){const _=s.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")));s.parsed=_.map((_=>l(_,{})))}}return e.properties.label&&!o?.properties?.label&&(e.properties.label.parsed=a(_,"label",{type:"string"})),e.properties["#binding-cells"]&&!o?.properties?.["#binding-cells"]&&(e.properties["#binding-cells"].parsed=a(_,"#binding-cells",{type:"int"})),e.properties["#sensor-binding-cells"]&&!o?.properties?.["#sensor-binding-cells"]&&(e.properties["#sensor-binding-cells"].parsed=a(_,"#sensor-binding-cells",{type:"int"})),e.deletedProperties=this.extractDeletedProperties(_),e}extractDeletedProperties(_){return _.namedChildren.slice(1).filter((_=>"delete_property"===_.type)).map((_=>_.namedChildren[0].text))}updateNodeProperties(_,e,E){const{name:o,properties:s}=e,{compatible:i}=R[o],S=I[i];for(const e in s){const o=s[e],i=S?.properties?.[e];if(!t(o,E.properties[e])){const E=i&&void 0!==o.parsed&&!o.useRaw?"phandle-array"!==i.type?A(o,i):o.parsed.map((_=>D(_))).map((_=>`<${_}>`)).join(", "):o.raw;this.document.setProperty(this.nodes[_],e,E)}}}cleanupNodeProperties(_,e,E){for(const t in E.properties)t in e.properties||this.document.deleteProperty(this.nodes[_],t);const t=e.deletedProperties.filter((_=>!E.deletedProperties.includes(_))),o=E.deletedProperties.filter((_=>!e.deletedProperties.includes(_)));for(const e of o){const E=this.nodes[_].namedChildren.find((_=>"delete_property"===_.type&&_.namedChildren[0].text===e));this.document.replaceNode(E,"")}for(const e of t)this.document.addChildNode(this.nodes[_],`/delete-property/ ${e};`)}}},65403:function(_,e,E){const t=E(33610),{findChildByIdentifier:o,findChildrenByIdentifier:s,findNodesWithCompatible:i,findNodeProperty:S,getPropertyValues:a,parsePropertyFromSchema:n,sanitizeIdentifier:A,serializePropertyFromSchema:r}=E(1530),{NodeCollection:I}=E(89361),{behaviorSchemas:D}=E(95130),{parseKeyBinding:l,encodeKeyBinding:u}=E(69663);_.exports=class extends I{lookupContainerNode(){const _=s(this.document.tree.rootNode,"/");return o(_,"behaviors")}injectContainerNode(){const _=i(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,"\nbehaviors {};\n")}lookupNodes(){return i(this.document.tree.rootNode,(_=>_.startsWith('"zmk,behavior-')&&!_.startsWith('"zmk,behavior-macro')))}injectNode(_,e){const E=A(e.name),t=this.nodes.at(-1),o=`${e.labels[0]}: ${E} {\n compatible = ${e.properties.compatible.raw};\n };`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}extractNode(_){const e=S(_,"compatible")?.namedChildren[1].text.slice(1,-1),E=D[e],t=super.extractNode(_);if(t.properties.compatible.parsed=e,E)for(const e in E.properties){const o=E.properties[e],s=t.properties[e];if(s&&(s.parsed=n(_,e,o),"phandle-array"===o.type)){const _=s.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")));s.parsed=_.map((_=>l(_,{})))}}return t.properties.label&&!E?.properties?.label&&(t.properties.label.parsed=n(_,"label",{type:"string"})),t.properties["#binding-cells"]&&!E?.properties?.["#binding-cells"]&&(t.properties["#binding-cells"].parsed=n(_,"#binding-cells",{type:"int"})),t.properties["#sensor-binding-cells"]&&!E?.properties?.["#sensor-binding-cells"]&&(t.properties["#sensor-binding-cells"].parsed=n(_,"#sensor-binding-cells",{type:"int"})),(a(_,"bindings")||[]).flatMap((_=>_.namedChildren.flatMap((_=>_.text)))),t}updateNodeProperties(_,e,E){const{properties:o}=e,s=S(this.nodes[_],"compatible")?.namedChildren[1].text.slice(1,-1),i=D[s]||{properties:{compatible:{type:"string"},label:{type:"string"},"#binding-cells":{type:"int"},"#sensor-binding-cells":{type:"int"}}};for(const e in o){const s=o[e],S=i?.properties?.[e];if(!t(s,E.properties[e])){const E=S&&void 0!==s.parsed&&!s.useRaw?"phandle-array"!==S.type?r(s,S):s.parsed.map((_=>u(_))).map((_=>`<${_}>`)).join(", "):s.raw;this.document.setProperty(this.nodes[_],e,E)}}}cleanupNodeProperties(_,e,E){for(const t in E.properties)t in e.properties||this.document.deleteProperty(this.nodes[_],t)}}},84477:function(_,e,E){const t=E(33610),{findNodeWithCompatible:o,findNodesWithCompatible:s,getLabeledItem:i,getNodeLabels:S,parsePropertiesFromSchema:a,serializePropertyFromSchema:n}=E(1530),{NodeCollection:A}=E(89361),{groupPhandleArrayBindings:r,parseKeyBinding:I,encodeKeyBinding:D}=E(69663),l={bindings:{type:"phandle-array"},"key-positions":{type:"array"},"timeout-ms":{type:"int"},"slow-release":{type:"boolean"},layers:{type:"array"}};_.exports=class extends A{managedProperties=["bindings","key-positions","timeout-ms","layers","slow-release"];lookupContainerNode(){return o(this.document.tree.rootNode,"zmk,combos")}injectContainerNode(){const _=s(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,'\n combos {\n compatible = "zmk,combos";\n };\n ')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=i(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=e.name.replace(/[^a-zA-Z0-9_]/g,"_"),t=this.nodes.at(-1),o=`${E} {};`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}updateNodeProperties(_,e,E){const{properties:o}=e;for(const e in o){const s=o[e],i=l[e];if(!t(s,E.properties[e])){const E=i&&!s.useRaw?"phandle-array"!==i.type?n(s,i):s.parsed.map((_=>D(_))).map((_=>`<${_}>`)).join(", "):s.raw;this.document.setProperty(this.nodes[_],e,E)}}e.properties.layers?.parsed?.length||this.document.deleteProperty(this.nodes[_],"layers")}extractNode(_){const e=_.childForFieldName("name").text,E=S(_),t=a(_,l);return t.bindings&&(t.bindings.parsed=r(t.bindings.parsed).map(I)),{name:e,labels:E,properties:t}}legacyParse(_){const{name:e,labels:E,properties:o}=this.extractNode(_),s={name:e,labels:E,properties:o,identifier:e},i={bindings:"bindings","timeout-ms":"timeoutMs","key-positions":"keyPositions","slow-release":"slowRelease",layers:"layers"};for(const _ of Object.keys(i))o[_]&&(s[i[_]]=o[_].parsed);return(0===s.layers?.length||t(s.layers,[-1]))&&delete s.layers,s}legacyParseNodes(){return this.nodes.map((_=>this.legacyParse(_)))}}},60141:function(_,e,E){const t=E(33610),{findChildrenByIdentifier:o,findNodesWithCompatible:s,getLabeledItem:i,getNodeLabels:S,parsePropertiesFromSchema:a,serializePropertyFromSchema:n}=E(1530),{NodeCollection:A}=E(89361),r={"if-layers":{type:"array"},"then-layer":{type:"int"}};_.exports=class extends A{managedProperties=["if-layers","then-layer"];lookupContainerNode(){return s(this.document.tree.rootNode,"zmk,conditional-layers").at(-1)}injectContainerNode(){const _=o(this.document.tree.rootNode,"/");this.document.addChildNode(_.at(-1),'\nconditional_layers { compatible = "zmk,conditional-layers"; };\n')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=i(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=this.nodes.at(-1),t=`${(e.name||"new_conditional_layer").replace(/[^a-zA-Z0-9_]/g,"_")} {};`;E?this.document.insertTextAfterNode(E,t):this.document.addChildNode(this.container,t)}updateNodeProperties(_,e,E){const{properties:o}=e;for(const e in o){const s=o[e],i=r[e];if(!t(s,E.properties[e])){const E=i&&!s.useRaw?n(s,i):s.raw;this.document.setProperty(this.nodes[_],e,E)}}}extractNode(_){return{name:_.childForFieldName("name").text,labels:S(_),properties:a(_,r)}}}},21207:function(_,e,E){const t=E(66039),o=E(42148),s=E(33610),i=E(72243),{findChildrenByIdentifier:S,findNodesWithCompatible:a,getLabeledItem:n,getNodeLabels:A,parsePropertiesFromSchema:r,serializePropertyFromSchema:I}=E(1530),{NodeCollection:D}=E(89361),{groupPhandleArrayBindings:l,parseKeyBinding:u,encodeKeyBinding:R}=E(69663),O={label:{type:"string"},bindings:{type:"phandle-array"},"sensor-bindings":{type:"phandle-array"}};_.exports=class extends D{managedProperties=["label","bindings","sensor-bindings"];lookupContainerNode(){return a(this.document.tree.rootNode,"zmk,keymap").at(-1)}injectContainerNode(){const _=S(this.document.tree.rootNode,"/");this.document.addChildNode(_.at(-1),'\nkeymap { compatible = "zmk,keymap"; };\n')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=n(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=this.nodes.at(-1),t=`${(e.name||"new_layer").replace(/[^a-zA-Z0-9_]/g,"_")} {};`;E?this.document.insertTextAfterNode(E,t):this.document.addChildNode(this.container,t)}updateCollection(_){const e=[...this.nodes.keys()];super.updateCollection(_),this.updateLayerPositions(_,e)}updateLayerPositions(_,e){const E=o(i(_,"index"),(_=>this.nodes[_])),s=t(e,E),S=[...e];for(const E in _){const t=_[E],o=S.length;void 0!==t.index&&e.includes(t.index)||(t.index=o,S[o]=o)}for(let _=s.length-1;_>=0;--_){const e=s[_];S[e]=null;for(let _=e+1;_<S.length;_++)null!==S[_]&&(S[_]-=1)}const a=i(_,"index");a.length>0&&!a.every(((_,e,E)=>e===E.length-1||E[e]<E[e+1]))&&(this.document.flushChanges(),this.document.replaceRange(this.nodes[0].startIndex,this.nodes.at(-1).endIndex,a.map((_=>S[_])).map((_=>this.nodes[_].text)).join("\n")))}updateNodeProperties(_,e,E){const{properties:t}=e;for(const e in t){const o=t[e],i=O[e];if(!s(o,E.properties[e])){const E=i&&!o.useRaw?"phandle-array"!==i.type?I(o,i):0!==o.parsed.length&&o.parsed.map((_=>R(_))).map((_=>`<${_}>`)).join(", "):o.raw;this.document.setProperty(this.nodes[_],e,E)}}}extractNode(_){const e=_.childForFieldName("name").text,E=A(_),t=r(_,O);return t.bindings&&(t.bindings.parsed=l(t.bindings.parsed).map(u)),t["sensor-bindings"]&&(t["sensor-bindings"].parsed=l(t["sensor-bindings"].parsed).map(u)),{name:e,labels:E,properties:t}}}},67199:function(_,e,E){const t=E(64988),{findChildByIdentifier:o,findChildrenByIdentifier:s,findNodesWithCompatible:i}=E(1530),{NodeCollection:S}=E(89361),a=E(65403),{groupMacroBindings:n,encodeKeyBinding:A}=E(69663);_.exports=class extends a{managedProperties=["label","tap-ms","wait-ms"];lookupContainerNode(){const _=s(this.document.tree.rootNode,"/");return o(_,"macros")}injectContainerNode(){const _=i(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,"\nmacros {};\n")}lookupNodes(){return i(this.document.tree.rootNode,(_=>_.startsWith('"zmk,behavior-macro')))}injectNode(_,e){const E=e.name.replace(/[^a-zA-Z0-9_]/g,"_"),t=this.nodes.at(-1),o=`${E}: ${E} {\n compatible = "zmk,behavior-macro";\n };`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}updateNode(_,e){const E=function(_){const e=n(_.map(A)).map((_=>_.join(" ")));return 1===e.length?[`<${e[0]}>`]:e.map((_=>`<${_}>`))}(e.properties.bindings?.parsed||[]);e.properties.bindings={useRaw:!0,raw:E},super.updateNode(_,e)}legacyParse(_){return t(this.extractNode(_),["name","labels","properties"])}legacyParseNodes(){return this.nodes.map((_=>this.legacyParse(_)))}cleanupNodeProperties(_,e,E){const{cleanupNodeProperties:t}=S.prototype;return t.call(this,_,e,E)}}},22443:function(_,e,E){const t=E(42148),o=E(96070),s=E(49766),{DevicetreeDocument:i}=E(66767),{nodesAreConsecutive:S,findChildByIdentifier:a,findChildrenByIdentifier:n,getLabeledItem:A}=E(1530),{standardBehaviorIncludeFiles:r}=E(95130),I=E(67199),D=E(84477),l=E(21207),u=E(65403),R=E(30051),O=E(60141);_.exports=class extends i{constructor(..._){super(..._),this.macroCollection=new I(this),this.comboCollection=new D(this),this.layerCollection=new l(this),this.behaviorCollection=new u(this),this.behaviorReconfigurationCollection=new R(this),this.conditionalLayerCollection=new O(this)}cleanup(){super.cleanup(),delete this.layerCollection,delete this.comboCollection,delete this.macroCollection,delete this.behaviorCollection,delete this.behaviorReconfigurationCollection,delete this.conditionalLayerCollection}getChosenProperties(){const _=n(this.tree.rootNode,"/"),e=a(_,"chosen");return e?e.namedChildren.reduce(((_,e)=>{if("labeled_item"===e.type&&(e=A(e)),"property"===e.type){const E=e.childForFieldName("name").text,t=e.childForFieldName("value").text;_[E]=t}return _}),{}):{}}mergeUpdated(_,e={}){this.layerCollection.updateCollection(_.layers),this.comboCollection.updateCollection(_.combos),this.macroCollection.updateCollection(_.macros),this.conditionalLayerCollection.updateCollection(_.conditionalLayers),this.behaviorCollection.updateCollection(_.behaviors),"behaviorReconfigurations"in _&&this.behaviorReconfigurationCollection.updateCollection(_.behaviorReconfigurations)}replaceBehaviourIncludes(_){const e=_.sort().join("\n")+"\n",E=this.tree.rootNode.namedChildren.filter((_=>"preproc_include"===_.type&&r.some((e=>_.text.startsWith(e)))));if(E.length)if(S(E))this.replaceRange(E[0].startIndex,E.at(-1).endIndex,"");else{const _=E.map((_=>[_.startIndex,_.endIndex]));for(const[e,E]of s(_))this.replaceRange(e,E,"\n")}const i=o(t(this.tree.rootNode.children,{type:"preproc_include"})),a=this.tree.rootNode.children.find((_=>"preproc_def"===_.type)),n=this.tree.rootNode.children.find((_=>"node"===_.type));i?this.insertTextAfterNode(i,e):(a||n)&&this.insertTextBeforeNode(a||n,e)}}},27621:function(_,e,E){const{findNodesWithCompatible:t}=E(31960),{getPropertyValues:o}=E(46933),s="MISSING_ROOT_NODE",i="USING_ZMK_NODEFREE_MACROS",S="USING_TOP_LEVEL_KEYMAP_NODE",a="USING_MULTIPLE_ROOT_NODES",n="USING_MIRYOKU_DTSI",A="USING_NON_ZMK_MACRO",r="USING_AUTOSHIFT_MACRO";_.exports={keymapHasNoRootNodes:function(_){for(let e of _.tree.rootNode.namedChildren)if("labeled_item"===e.type&&(e=e.childForFieldName("item")),"node"===e.type&&"/"===e.childForFieldName("name").text)return;return s},keymapUsesNodefreeConfigHelpers:function(_){const e=["ZMK_BEHAVIOR","ZMK_COMBO","ZMK_CONDITIONAL_LAYER","ZMK_LAYER","UC_MACRO"];for(const E of _.tree.rootNode.namedChildren)if("ERROR"===E.type){const{text:_}=E;if(e.some((e=>_.startsWith(e))))return i}},keymapUsesMiryoku:function(_){for(const e of _.tree.rootNode.namedChildren)if("preproc_include"===e.type&&e.childForFieldName("path").text.includes("miryoku.dtsi"))return n},keymapBindingsUsePreprocessorMacros:function(_){let e=!1;const E=["LA","LC","LG","LS","RA","RC","RG","RS","RGB_COLOR_HSB","RGB_COLOR_HSB_VAL"];for(const t of _.layerCollection.nodes){const[_]=o(t,"bindings")||[];if(_)for(const t of _.namedChildren)if("call_expression"===t.type){const _=t.childForFieldName("function").text;if(_.match(/^_?AS$/i))e=!0;else if(!E.includes(_))return A}}if(e)return r},keymapHasTopLevelKeymapNode:function(_){const e=t(_.tree.rootNode,"zmk,keymap").at(-1);if(e&&"document"===e.parent?.type)return S},keymapHasMultipleRootNodes:function(_){let e=null;for(let E of _.tree.rootNode.namedChildren)if("labeled_item"===E.type&&(E=E.childForFieldName("item")),"node"===E.type&&"/"===E.childForFieldName("name").text){if(null!==e)return a;e=E}},keymapHasLayerBindingsWithNonBehaviorStarter:function(_){return _.layerCollection.nodes.some((_=>{const e=o(_,"bindings")||[],E=[].concat(...e).flatMap((_=>_.namedChildren))[0]?.type;return E&&"reference"!==E}))},warningFlags:{MISSING_ROOT_NODE:s,USING_ZMK_NODEFREE_MACROS:i,USING_ZMK_MACRO_MACRO:"USING_ZMK_MACRO_MACRO",USING_TOP_LEVEL_KEYMAP_NODE:S,USING_MULTIPLE_ROOT_NODES:a,USING_MIRYOKU_DTSI:n,USING_NON_ZMK_MACRO:A,USING_AUTOSHIFT_MACRO:r}}},33295:function(_,e,E){const t=E(26069),{getParser:o}=E(66767),s=E(22443),{keymapUsesNodefreeConfigHelpers:i,keymapUsesMiryoku:S,keymapBindingsUsePreprocessorMacros:a,keymapHasNoRootNodes:n,keymapHasLayerBindingsWithNonBehaviorStarter:A,warningFlags:{USING_NON_ZMK_MACRO:r},keymapHasTopLevelKeymapNode:I}=E(27621),{parseStringLiteral:D}=E(95147);function l(_){return t([n(_),I(_),i(_),S(_),a(_)])}function u(_){return _.tree.rootNode.namedChildren.reduce(((_,e)=>{if("preproc_def"===e.type){const E=e.childForFieldName("name").text,t=e.childForFieldName("value")?.text.trim();_[E]=t}return _}),{})}function R(_){return _.tree.rootNode.namedChildren.reduce(((_,e)=>{if("preproc_include"===e.type){const E=e.childForFieldName("path");"string_literal"===E.type&&_.push(D(E))}return _}),[])}_.exports=async function(_){const e=await o(),E=new s(e,_);try{return{warningFlags:l(E),defines:u(E),headers:R(E),chosen:E.getChosenProperties(),behaviors:E.behaviorCollection.extractCollection(),behaviorReconfigurations:E.behaviorReconfigurationCollection.extractCollection(),layers:E.layerCollection.extractCollection(),combos:E.comboCollection.extractCollection(),macros:E.macroCollection.extractCollection(),conditionalLayers:E.conditionalLayerCollection.extractCollection()}}catch(_){return A(E)?{warningFlags:[r],defines:{},headers:[],chosen:{},behaviors:[],behaviorReconfigurations:[],layers:[],combos:[],macros:[],conditionalLayers:[]}:(console.error(_),{warningFlags:["KEYMAP_PARSING_FAILED"],defines:{},headers:[],chosen:{},behaviors:[],behaviorReconfigurations:[],layers:[],combos:[],macros:[],conditionalLayers:[]})}finally{E.cleanup()}}},39316:function(_,e,E){"use strict";E.d(e,{Cg:function(){return s},FP:function(){return D},Pi:function(){return a},VW:function(){return I},eG:function(){return n},v1:function(){return A}});var t=E(72243),o=E.n(t);const s=70,i=5;function S(_,e,E={},t={}){const{keySize:o=s}=t;return{x:_.x*o,y:_.y*o,u:e.u*o,h:e.h*o,rx:(_.x-(E.x??_.x))*-o,ry:(_.y-(E.y??_.y))*-o,a:E.a||0}}function a(_,e,E,t={}){const{x:o,y:s,u:a,h:n,a:A,rx:r,ry:I}=S(_,e,E,t),{padding:D=i}=t;return{top:`${s}px`,left:`${o}px`,width:a-D+"px",height:n-D+"px",transformOrigin:`${r}px ${I}px`,transform:`rotate(${A||0}deg) translate(${D/2}px, ${D/2}px)`}}function n(_,e){return _.map((_=>r({x:_.x,y:_.y},{u:_.u||_.w||1,h:_.h||1},{x:_.rx,y:_.ry,a:_.r},e)))}function A(_,e){return _.map((_=>function(_,e,E,t){return I(r(_,e,E,t))}({x:_.x,y:_.y},{u:_.u||_.w||1,h:_.h||1},{x:_.rx,y:_.ry,a:_.r},e))).reduce(D)}function r(_,e,E,t){const{x:o,y:s,u:i,h:a,a:n,rx:A,ry:r}=S(_,e,E,t);return[{x:0,y:0},{x:i,y:0},{x:i,y:a},{x:0,y:a}].map((function(_){const e=_.x-A,E=_.y-r,t=Math.PI*n/180;return{x:A+e*Math.cos(t)-E*Math.sin(t),y:r+E*Math.cos(t)+e*Math.sin(t)}})).map((function(_){return{x:_.x+o,y:_.y+s}}))}function I(_){const e=o()(_,"x"),E=o()(_,"y");return{min:{x:Math.min(...e),y:Math.min(...E)},max:{x:Math.max(...e),y:Math.max(...E)}}}function D(_,e){return{min:{x:Math.min(_.min.x,e.min.x),y:Math.min(_.min.y,e.min.y)},max:{x:Math.max(_.max.x,e.max.x),y:Math.max(_.max.y,e.max.y)}}}},87205:function(_,e,E){"use strict";E.d(e,{U2:function(){return o}});var t=E(39316);function o(_,e={keySize:1,padding:0}){const E=(0,t.v1)(_,e);return _.map((_=>{const e={..._};return e.x=_.x-E.min.x,e.y=_.y-E.min.y,"rx"in _&&(e.rx=_.rx-E.min.x),"ry"in _&&(e.ry=_.ry-E.min.y),e}))}},87325:function(_,e,E){const t=E(45223);_.exports=function(_,e,E={}){const{margin:o=2}=E,s=e.reduce(((e,E,t)=>{if(_[t]){const{row:o=0,col:s}=_[t];e[o]=e[o]||[],e[o][s||e[o].length]=E}return e}),[]),i=Object.keys(s),S=Math.max(...i.map((_=>s[_].length))),a=t(S,(_=>_)),n=a.map((_=>Math.max(...i.map((e=>s[e][_]?.length||0)))));return s.map(((_,e)=>a.map((e=>{const E=_.slice(e).every((_=>void 0===_)),t=n[e]+(e===_.length-1?"":o);return E?"":_[e]?_[e].padEnd(t):" ".repeat(t)})).join("").replace(/\s+$/,""))).join("\n")}},62608:function(_,e,E){const t=E(80460);class o extends Error{constructor(_){super(),this.name="InfoValidationError",this.errors=_}}function s(_,e){let E=-1/0;const t=[];for(const o of e.keys()){const{row:s}=e[o];if(void 0!==s)if(s<E){const e=`layouts[${_}].layout[${o}]`;t.push(`Row index at ${e} is not sequential`)}else E=s}return t}function i(_,e){let E=0,t=-1/0;const o=[];for(const s of e.keys()){const{row:i,col:S}=e[s];if(void 0!==i&&void 0!==S)if(E!==i&&(E=i,t=-1/0),S<t){const e=`layouts[${_}].layout[${s}]`;o.push(`Column index at ${e} is not sequential`)}else t=S}return o}_.exports={InfoValidationError:o,validateInfoJson:function(_){const e=[];if("object"!=typeof _||null===_)e.push("info.json root must be an object");else if(_.layouts)if("object"!=typeof _.layouts||null===_.layouts)e.push("layouts must be an object");else if(0===Object.values(_.layouts).length)e.push("layouts must define at least one layout");else for(const E in _.layouts){const o=_.layouts[E];if("object"!=typeof o||null===o)e.push(`layout ${E} must be an object`);else if(Array.isArray(o.layout)){const _=o.layout.some((_=>void 0!==_?.row||void 0!==_?.col));for(const s in o.layout){const i=o.layout[s],S=`layouts[${E}].layout[${s}]`;if("object"!=typeof i||null===i)e.push(`Key definition at ${S} must be an object`);else{const E=["u","h","r","rx","ry"];t(i.x)||e.push(`Key definition at ${S} must include "x" position`),t(i.y)||e.push(`Key definition at ${S} must include "y" position`);for(const _ of E)_ in i&&!t(i[_])&&e.push(`Key definition at ${S} optional "${_}" must be number`);for(const E of["row","col"])_&&!(E in i)?e.push(`Key definition at ${S} is missing property "${E}"`):E in i&&(!Number.isInteger(i[E])||i[E]<0)&&e.push(`Key definition at ${S} "${E}" must be a non-negative integer`)}}const S=o.layout.reduce(((_,e,E)=>{const{row:t,col:o}=e,s=`(${t},${o})`;return void 0!==t&&void 0!==o&&(_[s]=[..._[s]||[],E]),_}),{});for(const _ of Object.values(S)){if(_.length<=1)continue;const{row:t,col:s}=o.layout[_[0]],i=`{row: ${t}, col: ${s}}`;for(const t of _){const _=`layouts[${E}].layout[${t}]`;e.push(`Key definition at ${_} has overlapping position ${i}`)}}e.push(...s(E,o.layout)),e.push(...i(E,o.layout))}else e.push(`layout ${E} must define "layout" array`)}else e.push('info must define "layouts"');if(e.length)throw new o(e)}}},3769:function(_){function e(_){const e=_.split("\n"),E=e.reduce(((_,e)=>{const E=e.match(/^(\s*)\S/);return E?Math.min(_,E[1].length):_}),1/0);return e.map((_=>_.slice(0,E).match(/^\s+$/)?_.slice(E):_))}_.exports={dedent:function(_){return e(_).join("\n")},reindent:function(_,E){return e(_).map((_=>E+_)).join("\n")},getPosition:function(_,e){let E,t;for(E=0,t=0;-1!==t;E++,t=_.indexOf("\n",t+1));return{row:E,col:e-t}},removeStartingWhitespace:function(_){return _.split("\n").reduce(((_,e)=>((_.length>0||e.match(/\S/))&&_.push(e),_)),[]).join("\n")},removeTrailingWhitespace:function(_){return _.split("\n").reverse().reduce(((_,e)=>((_.length>0||e.match(/\S/))&&_.push(e),_)),[]).reverse().join("\n")}}},95130:function(_,e,E){const t=E(41536),o=E(1286),s=E(22834),i=E(24234),S=E(31742),a=E(61443),n=E(80012),A=E(43003),r=E(92914);function I(_,e){const E=Array.isArray(_)?_:Object.values(_);for(const _ of E)for(const{match:E,...s}of e)o(_,E)&&t(_,s)}Object.assign(i,S),a.push(...n),I(i,A),I(a,r);const D=s(r.flatMap((_=>_.includes||[])));for(const _ of a){const e=i[_.compatible];t(_,{schema:e})}_.exports={behaviorSchemas:i,behaviorBindings:a,behaviorOverlays:r,behaviorSchemaOverlays:A,standardBehaviorIncludeFiles:D,mergeBehaviorOverlays:I}},62029:function(_){const e=_=>({value:"&kp",params:[{value:_,params:[]}]}),E=[{pattern:/^[0-9]$/,convert:_=>e(`N${_}`)},{pattern:/^[a-z]$/,convert:_=>e(_.toUpperCase())},{pattern:/^[A-Z]$/,convert:_=>({value:"&kp",params:[{value:"LS",params:[{value:_.toUpperCase(),params:[]}]}]})}],t={"!":e("EXCL"),"@":e("AT"),"#":e("POUND"),$:e("DLLR"),"%":e("PRCNT"),"^":e("CARET"),"&":e("AMPS"),"*":e("STAR"),"(":e("LPAR"),")":e("RPAR"),"\n":e("RET")," ":e("SPACE"),"-":e("MINUS"),_:e("UNDER"),"=":e("EQUAL"),"+":e("PLUS"),"[":e("LBKT"),"]":e("LBRC"),"{":e("RBKT"),"}":e("RBRC"),"\\":e("BSLH"),"|":e("PIPE"),"":e("TILDE2"),";":e("SEMI"),":":e("COLON"),"'":e("SQT"),'"':e("DQT"),"`":e("GRAVE"),"~":e("TILDE"),",":e("COMMA"),"<":e("LT"),".":e("DOT"),">":e("GT"),"/":e("FSLH"),"?":e("QMARK")};_.exports={mapCharacter:function(_){if(t[_])return t[_];for(const{pattern:e,convert:t}of E)if(_.match(e))return t(_)}}},52779:function(_,e,E){const t=E(15126),o={basic:E(97107),unicode:E(445),platforms:{mac:E(27112),win:E(27453)}};_.exports={keycodes:t,keycodeGlyphs:o}},62412:function(_,e,E){const t=E(45223),{behaviorSchemas:o,behaviorBindings:s}=E(95130),i=E(30877),S=i.reduce(((_,e)=>(e.match.code&&(_[`&${e.match.code}`]=e),_)),{}),a=i.reduce(((_,e)=>(e.match.compatible&&(_[e.match.compatible]=e),_)),{});function n(_){this.message=_,this.name="BehaviorResolutionError"}function A(_,e="#binding-cells"){const E=_.properties?.[e]?.parsed;if("number"==typeof E)return E;const t=(_.properties?.[e]?.raw||"<>").match(/<(\d+)>/);return t?Number(t[1]):void 0}function r(_,e){for(const E of e.labels)_[`&${E}`]=e;return _}function I(_,e){const E=(_.properties.bindings?.parsed||[]).map((_=>_.value)),t=E.map((_=>e[_]?.properties?.compatible?.parsed))||[],o=D(E,e,t.indexOf("zmk,macro-param-1to1")),s=D(E,e,t.indexOf("zmk,macro-param-1to2")),i=[];if(o?i.push([o,0]):s?i.push([s,1]):i.push(["&none",0]),"zmk,behavior-macro-two-param"===_.properties.compatible.parsed){const _=D(E,e,t.indexOf("zmk,macro-param-2to1")),o=D(E,e,t.indexOf("zmk,macro-param-2to2"));_?i.push([_,0]):o?i.push([o,1]):i.push(["&none",0])}return i}function D(_,e,E=0){if(-1===E)return null;for(let t=Math.min(E,_.length-1);t<_.length;t++){const E=_[t],o=e[E]?.properties?.compatible?.parsed;if(!o?.startsWith?.("zmk,macro-")&&!o?.startsWith?.("zmk,behavior-macro-"))return E}}_.exports={resolveBehaviorParams:function(_){const e=s.reduce(r,{}),E=_.reduce(r,{}),i={...e,...E},D={};function l(_,s=[]){const r=`&${_.labels[0]}`;if(D[r])return D[r];const u=function(_){const e=_.labels.map((_=>`&${_}`)),E=_.properties.compatible?.parsed;for(const _ of e)if(S[_])return S[_];if(a[E])return a[E]}(_);if(u)return u.params;const R=_.properties?.compatible?.parsed,O=o[R],d=function(_,e){const E=e?.properties?.["#binding-cells"]?.const,t=e?.properties?.["#sensor-binding-cells"]?.const;return E??t??A(_)??A(_,"#sensor-binding-cells")}(_,O),T=function(_,e,E){return function(_){return["zmk,behavior-macro-one-param","zmk,behavior-macro-two-param"].includes(_.properties?.compatible?.parsed)}(_)?I(_,E):(_.properties?.bindings?.parsed||[]).map((_=>[_,0]))}(_,0,i);return d?T.length?T.reduce(((t,[o,i])=>{if(!o.startsWith("&"))return t;if(s.includes(o))throw new n(`Circular reference in bindings: "&${_.labels[0]}" -> "${o}".`);if(s.length>3)throw new n("Reference depth limit exceeded.");const S=E[o]||e[o];if(!S)return _.error=`Unrecognized behavior binding "${o}".`,[...t,{raw:!0}];try{const _=l(S,[...s,o]);for(const e of S.labels)D[`&${e}`]=_;t.push(_[i]||{type:"placeholder"})}catch(_){throw _ instanceof n&&(S.error=_.message,D[o]=[]),_}return t}),[]):t(d,(()=>({type:"string",raw:!0}))):[]}for(const e of _)try{const _=l(e);for(const E of e.labels)D[`&${E}`]=_}catch(_){if(!(_ instanceof n))throw _;console.error("Failed to resolve behavior parameters",_),e.error=_.message;const E=t(A(e)||0,(()=>({raw:!0})));for(const _ of e.labels)D[`&${_}`]=E}return D},getParameterizedMacroDependencies:I}},34886:function(_,e,E){"use strict";_.exports=E.p+"2f0cf3405ab1202f0045.wasm"},98553:function(_){"use strict";_.exports=JSON.parse('{"a_dux":{"id":"a_dux","name":"A. Dux"},"bat43":{"id":"bat43","name":"BAT43"},"bdn9_rev2":{"id":"bdn9_rev2","name":"BDN9 Rev2"},"bfo9000":{"id":"bfo9000","name":"BFO-9000"},"boardsource3x4":{"id":"boardsource3x4","name":"Boardsource 3x4 Macropad"},"boardsource5x12":{"id":"boardsource5x12","name":"Boardsource 5x12"},"bt60_v1":{"id":"bt60_v1","name":"BT60 V1 Soldered"},"bt60_v1_hs":{"id":"bt60_v1_hs","name":"BT60 V1 Hotswap"},"bt60_v2":{"id":"bt60_v2","name":"BT60 V2"},"bt65_v1":{"id":"bt65_v1","name":"BT65"},"bt75_v1":{"id":"bt75_v1","name":"BT75_V1"},"chalice":{"id":"chalice","name":"Chalice"},"clog":{"id":"clog","name":"Clog"},"contra":{"id":"contra","name":"Contra"},"corne":{"id":"corne","name":"Corne"},"corneish_zen":{"id":"corneish_zen","name":"Corneish Zen v2"},"cradio":{"id":"cradio","name":"Cradio/Sweep"},"crbn":{"id":"crbn","name":"CRBN Featherlight"},"eek":{"id":"eek","name":"eek!"},"elephant42":{"id":"elephant42","name":"Elephant42"},"ergodash":{"id":"ergodash","name":"Ergodash"},"eternal_keypad":{"id":"eternal_keypad","name":"Eternal Keypad"},"eternal_keypad_lefty":{"id":"eternal_keypad_lefty","name":"Eternal Keypad Lefty"},"ferris_rev02":{"id":"ferris_rev02","name":"Ferris 0.2"},"fourier":{"id":"fourier","name":"Fourier Rev. 1"},"helix":{"id":"helix","name":"Helix"},"hummingbird":{"id":"hummingbird","name":"Hummingbird"},"iris":{"id":"iris","name":"Iris"},"jian":{"id":"jian","name":"Jian"},"jiran":{"id":"jiran","name":"Jiran"},"jorne":{"id":"jorne","name":"Jorne"},"kbdfans_tofu65_v2":{"id":"kbdfans_tofu65_v2","name":"KBDfans Tofu65 2.0"},"knob_goblin":{"id":"knob_goblin","name":"Knob Goblin"},"kyria":{"id":"kyria","name":"Kyria"},"kyria_rev2":{"id":"kyria_rev2","name":"Kyria Rev2"},"kyria_rev3":{"id":"kyria_rev3","name":"Kyria Rev3"},"leeloo":{"id":"leeloo","name":"Leeloo"},"leeloo_micro":{"id":"leeloo_micro","name":"Leeloo-Micro"},"leeloo_rev2":{"id":"leeloo_rev2","name":"Leeloo v2"},"lily58":{"id":"lily58","name":"Lily58"},"lotus58":{"id":"lotus58","name":"Lotus58"},"m60":{"id":"m60","name":"MakerDiary m60"},"microdox":{"id":"microdox","name":"Microdox"},"murphpad":{"id":"murphpad","name":"MurphPad"},"naked60":{"id":"naked60","name":"Naked60"},"nibble":{"id":"nibble","name":"Nibble"},"nice60":{"id":"nice60","name":"nice!60"},"osprette":{"id":"osprette","name":"Osprette"},"pancake":{"id":"pancake","name":"Pancake"},"planck_rev6":{"id":"planck_rev6","name":"Planck Rev6"},"preonic_rev3":{"id":"preonic_rev3","name":"Preonic Rev3"},"qaz":{"id":"qaz","name":"QAZ"},"quefrency":{"id":"quefrency","name":"Quefrency Rev. 1"},"redox":{"id":"redox","name":"Redox"},"reviung41":{"id":"reviung41","name":"REVIUNG41"},"reviung5":{"id":"reviung5","name":"REVIUNG5"},"romac":{"id":"romac","name":"Romac Macropad"},"romac_plus":{"id":"romac_plus","name":"Romac+ Macropad"},"s40nc":{"id":"s40nc","name":"S40NC"},"snap":{"id":"snap","name":"SNAP"},"sofle":{"id":"sofle","name":"Sofle"},"splitkb_aurora_corne":{"id":"splitkb_aurora_corne","name":"splitkb.com Aurora Corne"},"splitkb_aurora_lily58":{"id":"splitkb_aurora_lily58","name":"splitkb.com Aurora Lily58"},"splitkb_aurora_sofle":{"id":"splitkb_aurora_sofle","name":"splitkb.com Aurora Sofle"},"splitkb_aurora_sweep":{"id":"splitkb_aurora_sweep","name":"splitkb.com Aurora Sweep"},"splitreus62":{"id":"splitreus62","name":"Splitreus62"},"tg4x":{"id":"tg4x","name":"TG4x"},"tidbit":{"id":"tidbit","name":"Tidbit Numpad"},"totem":{"id":"totem","name":"Totem"},"two_percent_milk":{"id":"two_percent_milk","name":"2% Milk"},"waterfowl":{"id":"waterfowl","name":"Waterfowl"},"zmk_uno":{"id":"zmk_uno","name":"ZMK Uno"},"zodiark":{"id":"zodiark","name":"Zodiark"}}')},24234:function(_){"use strict";_.exports=JSON.parse('{"zmk,behavior-backlight":{"description":"Backlight behavior","compatible":"zmk,behavior-backlight","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-bluetooth":{"description":"Bluetooth Behavior","compatible":"zmk,behavior-bluetooth","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-caps-word":{"description":"Caps word behavior","compatible":"zmk,behavior-caps-word","include":"zero_param.yaml","properties":{"continue-list":{"type":"array","required":true},"mods":{"type":"int"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-ext-power":{"description":"External power control Behavior","compatible":"zmk,behavior-ext-power","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-hold-tap":{"description":"Hold or Tap behavior","compatible":"zmk,behavior-hold-tap","include":"two_param.yaml","properties":{"bindings":{"type":"phandles","required":true},"tapping-term-ms":{"type":"int"},"tapping_term_ms":{"type":"int"},"quick-tap-ms":{"type":"int","default":-1},"quick_tap_ms":{"type":"int"},"global-quick-tap":{"type":"boolean"},"flavor":{"type":"string","required":false,"default":"hold-preferred","enum":["hold-preferred","balanced","tap-preferred","tap-unless-interrupted"]},"retro-tap":{"type":"boolean"},"hold-trigger-key-positions":{"type":"array","required":false,"default":[]},"hold-trigger-on-release":{"type":"boolean"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-key-press":{"description":"Key press/release behavior","compatible":"zmk,behavior-key-press","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-key-repeat":{"description":"Key repeat behavior","compatible":"zmk,behavior-key-repeat","include":"zero_param.yaml","properties":{"usage-pages":{"type":"array","required":true},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-key-toggle":{"description":"Key toggle behavior","compatible":"zmk,behavior-key-toggle","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-macro-one-param":{"description":"Macro Behavior","compatible":"zmk,behavior-macro-one-param","include":["one_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-macro-two-param":{"description":"Macro Behavior","compatible":"zmk,behavior-macro-two-param","include":["two_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-macro":{"description":"Macro Behavior","compatible":"zmk,behavior-macro","include":["zero_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-mod-morph":{"description":"Mod Morph Behavior","compatible":"zmk,behavior-mod-morph","include":"zero_param.yaml","properties":{"bindings":{"type":"phandle-array","required":true},"mods":{"type":"int","required":true},"keep-mods":{"type":"int","required":false},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-momentary-layer":{"description":"Momentary layer on press/release behavior","compatible":"zmk,behavior-momentary-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-none":{"description":"None Binding Behavior","compatible":"zmk,behavior-none","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-outputs":{"description":"Output Selection Behavior","compatible":"zmk,behavior-outputs","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-reset":{"description":"Keyboard Reset Behavior","compatible":"zmk,behavior-reset","include":"zero_param.yaml","properties":{"type":{"type":"int","default":0},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-rgb-underglow":{"description":"RGB Underglow Action","compatible":"zmk,behavior-rgb-underglow","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-sensor-rotate-var":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate-var","properties":{"label":{"type":"string","required":true},"#sensor-binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandles","required":true},"tap-ms":{"type":"int","default":5}},"sensor-binding-cells":["param1","param2"]},"zmk,behavior-sensor-rotate":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate","properties":{"label":{"type":"string","required":true},"#sensor-binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"tap-ms":{"type":"int","default":5}}},"zmk,behavior-sticky-key":{"description":"Sticky key behavior","compatible":"zmk,behavior-sticky-key","include":"one_param.yaml","properties":{"bindings":{"type":"phandles","required":true},"release-after-ms":{"type":"int","required":true},"quick-release":{"type":"boolean"},"ignore-modifiers":{"type":"boolean"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-tap-dance":{"description":"Tap Dance Behavior","compatible":"zmk,behavior-tap-dance","include":"zero_param.yaml","properties":{"bindings":{"type":"phandle-array","required":true},"tapping-term-ms":{"type":"int","default":200},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-to-layer":{"description":"To Layer","compatible":"zmk,behavior-to-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-toggle-layer":{"description":"Toggle Layer","compatible":"zmk,behavior-toggle-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-transparent":{"description":"Transparent Binding Behavior","compatible":"zmk,behavior-transparent","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-press":{"description":"Set Macro To Press Mode","compatible":"zmk,macro-control-mode-press","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-release":{"description":"Set Macro To Release Mode","compatible":"zmk,macro-control-mode-release","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-tap":{"description":"Set Macro To Tap Mode","compatible":"zmk,macro-control-mode-tap","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-tap-time":{"description":"Set Macro Tap Duration","compatible":"zmk,macro-control-tap-time","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,macro-control-wait-time":{"description":"Set Macro Wait Duration","compatible":"zmk,macro-control-wait-time","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,macro-param-1to1":{"description":"Macro Parameter One Substituted Into Next Binding\'s First Parameter","compatible":"zmk,macro-param-1to1","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-1to2":{"description":"Macro Parameter One Substituted Into Next Binding\'s Second Parameter","compatible":"zmk,macro-param-1to2","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-2to1":{"description":"Macro Parameter Two Substituted Into Next Binding\'s First Parameter","compatible":"zmk,macro-param-2to1","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-2to2":{"description":"Macro Parameter Two Substituted Into Next Binding\'s Second Parameter","compatible":"zmk,macro-param-2to2","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-pause-for-release":{"description":"Macro Pause Until Release Marker","compatible":"zmk,macro-pause-for-release","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}}}')},61443:function(_){"use strict";_.exports=JSON.parse('[{"name":"behavior_backlight","labels":["bl"],"code":"&bl","compatible":"zmk,behavior-backlight","properties":{"compatible":{"raw":"\\"zmk,behavior-backlight\\"","parsed":"zmk,behavior-backlight"},"label":{"raw":"\\"BCKLGHT\\"","parsed":"BCKLGHT"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_bluetooth","labels":["bt"],"code":"&bt","compatible":"zmk,behavior-bluetooth","properties":{"compatible":{"raw":"\\"zmk,behavior-bluetooth\\"","parsed":"zmk,behavior-bluetooth"},"label":{"raw":"\\"BLUETOOTH\\"","parsed":"BLUETOOTH"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_caps_word","labels":["caps_word"],"code":"&caps_word","compatible":"zmk,behavior-caps-word","properties":{"compatible":{"raw":"\\"zmk,behavior-caps-word\\"","parsed":"zmk,behavior-caps-word"},"continue-list":{"raw":"<UNDERSCORE BACKSPACE DELETE>","parsed":["UNDERSCORE","BACKSPACE","DELETE"]},"label":{"raw":"\\"CAPS_WORD\\"","parsed":"CAPS_WORD"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_ext_power","labels":["ext_power"],"code":"&ext_power","compatible":"zmk,behavior-ext-power","properties":{"compatible":{"raw":"\\"zmk,behavior-ext-power\\"","parsed":"zmk,behavior-ext-power"},"label":{"raw":"\\"EXTPOWER\\"","parsed":"EXTPOWER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"grave_escape","labels":["gresc"],"code":"&gresc","compatible":"zmk,behavior-mod-morph","properties":{"compatible":{"raw":"\\"zmk,behavior-mod-morph\\"","parsed":"zmk,behavior-mod-morph"},"bindings":{"raw":"<&kp ESC>, <&kp GRAVE>","parsed":[{"value":"&kp","params":[{"value":"ESC","params":[]}]},{"value":"&kp","params":[{"value":"GRAVE","params":[]}]}]},"mods":{"raw":"<(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>","parsed":["MOD_LGUI","MOD_LSFT","MOD_RGUI","MOD_RSFT"]},"label":{"raw":"\\"GRAVE_ESCAPE\\"","parsed":"GRAVE_ESCAPE"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_key_press","labels":["cp","kp"],"code":"&kp","compatible":"zmk,behavior-key-press","properties":{"compatible":{"raw":"\\"zmk,behavior-key-press\\"","parsed":"zmk,behavior-key-press"},"label":{"raw":"\\"KEY_PRESS\\"","parsed":"KEY_PRESS"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_key_repeat","labels":["key_repeat"],"code":"&key_repeat","compatible":"zmk,behavior-key-repeat","properties":{"compatible":{"raw":"\\"zmk,behavior-key-repeat\\"","parsed":"zmk,behavior-key-repeat"},"usage-pages":{"raw":"<HID_USAGE_KEY>","parsed":["HID_USAGE_KEY"]},"label":{"raw":"\\"KEY_REPEAT\\"","parsed":"KEY_REPEAT"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_key_toggle","labels":["kt"],"code":"&kt","compatible":"zmk,behavior-key-toggle","properties":{"compatible":{"raw":"\\"zmk,behavior-key-toggle\\"","parsed":"zmk,behavior-key-toggle"},"label":{"raw":"\\"KEY_TOGGLE\\"","parsed":"KEY_TOGGLE"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_layer_tap","labels":["lt"],"code":"<","compatible":"zmk,behavior-hold-tap","properties":{"compatible":{"raw":"\\"zmk,behavior-hold-tap\\"","parsed":"zmk,behavior-hold-tap"},"bindings":{"raw":"<&mo>, <&kp>","parsed":["&mo","&kp"]},"tapping-term-ms":{"raw":"<200>","parsed":200},"flavor":{"raw":"\\"tap-preferred\\"","parsed":"tap-preferred"},"label":{"raw":"\\"LAYER_TAP\\"","parsed":"LAYER_TAP"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"macro_control_mode_tap","labels":["macro_tap"],"code":"¯o_tap","compatible":"zmk,macro-control-mode-tap","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-tap\\"","parsed":"zmk,macro-control-mode-tap"},"label":{"raw":"\\"MAC_TAP\\"","parsed":"MAC_TAP"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_mode_press","labels":["macro_press"],"code":"¯o_press","compatible":"zmk,macro-control-mode-press","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-press\\"","parsed":"zmk,macro-control-mode-press"},"label":{"raw":"\\"MAC_PRESS\\"","parsed":"MAC_PRESS"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_mode_release","labels":["macro_release"],"code":"¯o_release","compatible":"zmk,macro-control-mode-release","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-release\\"","parsed":"zmk,macro-control-mode-release"},"label":{"raw":"\\"MAC_REL\\"","parsed":"MAC_REL"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_tap_time","labels":["macro_tap_time"],"code":"¯o_tap_time","compatible":"zmk,macro-control-tap-time","properties":{"compatible":{"raw":"\\"zmk,macro-control-tap-time\\"","parsed":"zmk,macro-control-tap-time"},"label":{"raw":"\\"MAC_TAP_TIME\\"","parsed":"MAC_TAP_TIME"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"macro_control_wait_time","labels":["macro_wait_time"],"code":"¯o_wait_time","compatible":"zmk,macro-control-wait-time","properties":{"compatible":{"raw":"\\"zmk,macro-control-wait-time\\"","parsed":"zmk,macro-control-wait-time"},"label":{"raw":"\\"MAC_WAIT_TIME\\"","parsed":"MAC_WAIT_TIME"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"macro_pause_for_release","labels":["macro_pause_for_release"],"code":"¯o_pause_for_release","compatible":"zmk,macro-pause-for-release","properties":{"compatible":{"raw":"\\"zmk,macro-pause-for-release\\"","parsed":"zmk,macro-pause-for-release"},"label":{"raw":"\\"MAC_WAIT_REL\\"","parsed":"MAC_WAIT_REL"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_1to1","labels":["macro_param_1to1"],"code":"¯o_param_1to1","compatible":"zmk,macro-param-1to1","properties":{"compatible":{"raw":"\\"zmk,macro-param-1to1\\"","parsed":"zmk,macro-param-1to1"},"label":{"raw":"\\"MAC_PARAM_1TO1\\"","parsed":"MAC_PARAM_1TO1"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_1to2","labels":["macro_param_1to2"],"code":"¯o_param_1to2","compatible":"zmk,macro-param-1to2","properties":{"compatible":{"raw":"\\"zmk,macro-param-1to2\\"","parsed":"zmk,macro-param-1to2"},"label":{"raw":"\\"MAC_PARAM_1TO2\\"","parsed":"MAC_PARAM_1TO2"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_2to1","labels":["macro_param_2to1"],"code":"¯o_param_2to1","compatible":"zmk,macro-param-2to1","properties":{"compatible":{"raw":"\\"zmk,macro-param-2to1\\"","parsed":"zmk,macro-param-2to1"},"label":{"raw":"\\"MAC_PARAM_2TO1\\"","parsed":"MAC_PARAM_2TO1"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_2to2","labels":["macro_param_2to2"],"code":"¯o_param_2to2","compatible":"zmk,macro-param-2to2","properties":{"compatible":{"raw":"\\"zmk,macro-param-2to2\\"","parsed":"zmk,macro-param-2to2"},"label":{"raw":"\\"MAC_PARAM_2TO2\\"","parsed":"MAC_PARAM_2TO2"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_mod_tap","labels":["mt"],"code":"&mt","compatible":"zmk,behavior-hold-tap","properties":{"compatible":{"raw":"\\"zmk,behavior-hold-tap\\"","parsed":"zmk,behavior-hold-tap"},"bindings":{"raw":"<&kp>, <&kp>","parsed":["&kp","&kp"]},"tapping-term-ms":{"raw":"<200>","parsed":200},"flavor":{"raw":"\\"hold-preferred\\"","parsed":"hold-preferred"},"label":{"raw":"\\"MOD_TAP\\"","parsed":"MOD_TAP"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_momentary_layer","labels":["mo"],"code":"&mo","compatible":"zmk,behavior-momentary-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-momentary-layer\\"","parsed":"zmk,behavior-momentary-layer"},"label":{"raw":"\\"MO\\"","parsed":"MO"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_none","labels":["none"],"code":"&none","compatible":"zmk,behavior-none","properties":{"compatible":{"raw":"\\"zmk,behavior-none\\"","parsed":"zmk,behavior-none"},"label":{"raw":"\\"NONE\\"","parsed":"NONE"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_outputs","labels":["out"],"code":"&out","compatible":"zmk,behavior-outputs","properties":{"compatible":{"raw":"\\"zmk,behavior-outputs\\"","parsed":"zmk,behavior-outputs"},"label":{"raw":"\\"OUTPUTS\\"","parsed":"OUTPUTS"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_reset","labels":["sys_reset"],"code":"&sys_reset","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"label":{"raw":"\\"SYSRESET\\"","parsed":"SYSRESET"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_reset_dfu","labels":["bootloader"],"code":"&bootloader","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"type":{"raw":"<RST_UF2>","parsed":"RST_UF2"},"label":{"raw":"\\"BOOTLOAD\\"","parsed":"BOOTLOAD"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_rgb_underglow","labels":["rgb_ug"],"code":"&rgb_ug","compatible":"zmk,behavior-rgb-underglow","properties":{"compatible":{"raw":"\\"zmk,behavior-rgb-underglow\\"","parsed":"zmk,behavior-rgb-underglow"},"label":{"raw":"\\"RGB_UG\\"","parsed":"RGB_UG"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_sensor_rotate_key_press","labels":["inc_dec_cp","inc_dec_kp"],"code":"&inc_dec_kp","compatible":"zmk,behavior-sensor-rotate-var","properties":{"compatible":{"raw":"\\"zmk,behavior-sensor-rotate-var\\"","parsed":"zmk,behavior-sensor-rotate-var"},"#sensor-binding-cells":{"raw":"<2>","parsed":2},"bindings":{"raw":"<&kp>, <&kp>","parsed":["&kp","&kp"]},"label":{"raw":"\\"ENC_KEY_PRESS\\"","parsed":"ENC_KEY_PRESS"}}},{"name":"behavior_sticky_key","labels":["sk"],"code":"&sk","compatible":"zmk,behavior-sticky-key","properties":{"compatible":{"raw":"\\"zmk,behavior-sticky-key\\"","parsed":"zmk,behavior-sticky-key"},"bindings":{"raw":"<&kp>","parsed":["&kp"]},"release-after-ms":{"raw":"<1000>","parsed":1000},"ignore-modifiers":{"raw":"","parsed":true},"label":{"raw":"\\"STICKY_KEY\\"","parsed":"STICKY_KEY"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_sticky_layer","labels":["sl"],"code":"&sl","compatible":"zmk,behavior-sticky-key","properties":{"compatible":{"raw":"\\"zmk,behavior-sticky-key\\"","parsed":"zmk,behavior-sticky-key"},"bindings":{"raw":"<&mo>","parsed":["&mo"]},"release-after-ms":{"raw":"<1000>","parsed":1000},"quick-release":{"raw":"","parsed":true},"label":{"raw":"\\"STICKY_LAYER\\"","parsed":"STICKY_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_to_layer","labels":["to"],"code":"&to","compatible":"zmk,behavior-to-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-to-layer\\"","parsed":"zmk,behavior-to-layer"},"label":{"raw":"\\"TO_LAYER\\"","parsed":"TO_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_toggle_layer","labels":["tog"],"code":"&tog","compatible":"zmk,behavior-toggle-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-toggle-layer\\"","parsed":"zmk,behavior-toggle-layer"},"label":{"raw":"\\"TOGGLE_LAYER\\"","parsed":"TOGGLE_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_transparent","labels":["trans"],"code":"&trans","compatible":"zmk,behavior-transparent","properties":{"compatible":{"raw":"\\"zmk,behavior-transparent\\"","parsed":"zmk,behavior-transparent"},"label":{"raw":"\\"TRANS\\"","parsed":"TRANS"},"#binding-cells":{"raw":"<0>","parsed":0}}}]')},15126:function(_){"use strict";_.exports=JSON.parse('[{"names":["A"],"description":"a and A","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458756}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["B"],"description":"b and B","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458757}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["C"],"description":"c and C","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458758}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["D"],"description":"d and D","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458759}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["E"],"description":"e and E","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458760}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F"],"description":"f and F","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458761}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["G"],"description":"g and G","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458762}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["H"],"description":"h and H","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458763}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["I"],"description":"i and I","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458764}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["J"],"description":"j and J","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458765}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K"],"description":"k and K","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458766}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["L"],"description":"l and L","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458767}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["M"],"description":"m and M","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458768}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["N"],"description":"n and N","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458769}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["O"],"description":"o and O","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458770}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["P"],"description":"p and P","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458771}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Q"],"description":"q and Q","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458772}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["R"],"description":"r and R","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458773}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["S"],"description":"s and S","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458774}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["T"],"description":"t and T","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458775}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["U"],"description":"u and U","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458776}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["V"],"description":"v and V","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458777}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["W"],"description":"w and W","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458778}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["X"],"description":"x and X","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458779}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Y"],"description":"y and Y","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458780}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Z"],"description":"z and Z","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458781}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_1","N1"],"description":"1 and ! [Exclamation]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458782}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["EXCLAMATION","EXCL"],"description":"! [Exclamation]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458782},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_2","N2"],"description":"2 and @ [At Sign]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458783}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["AT_SIGN","AT"],"description":"@ [At Sign]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458783},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_3","N3"],"description":"3 and # [Hash / Pound]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458784}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["HASH","POUND"],"description":"# [Hash / Pound]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458784},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_4","N4"],"description":"4 and $ [Dollar]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458785}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOLLAR","DLLR"],"description":"$ [Dollar]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458785},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_5","N5"],"description":"5 and % [Percent]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458786}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PERCENT","PRCNT"],"description":"% [Percent]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458786},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_6","N6"],"description":"6 and ^ [Caret]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458787}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["CARET"],"description":"^ [Caret]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458787},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_7","N7"],"description":"7 and & [Ampersand]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458788}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["AMPERSAND","AMPS"],"description":"& [Ampersand]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458788},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_8","N8"],"description":"8 and * [Asterisk / Star]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458789}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["ASTERISK","ASTRK","STAR"],"description":"* [Asterisk / Star]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458789},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_9","N9"],"description":"9 and ( [Left Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458790}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_PARENTHESIS","LPAR"],"description":"( [Left Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458790},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_0","N0"],"description":"0 and ) [Right Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458791}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_PARENTHESIS","RPAR"],"description":") [Right Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458791},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RETURN","ENTER","RET"],"description":"Return (Enter)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458792}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["ESCAPE","ESC"],"description":"Escape","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458793}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["BACKSPACE","BSPC"],"description":"Backspace","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458794}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TAB"],"description":"Tab","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458795}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SPACE"],"description":"Space","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458796}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["MINUS"],"description":"- [Minus] and _ [Underscore]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458797}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["UNDERSCORE","UNDER"],"description":"_ [Underscore]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458797},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["EQUAL"],"description":"= [Equal] and + [Plus]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458798}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PLUS"],"description":"+ [Plus]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458798},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_BRACKET","LBKT"],"description":"[ [Left Bracket] and { [Left Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458799}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_BRACE","LBRC"],"description":"{ [Left Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458799},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_BRACKET","RBKT"],"description":"] [Right Bracket] and } [Right Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458800}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_BRACE","RBRC"],"description":"} [Right Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458800},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["BACKSLASH","BSLH"],"description":"\\\\ [Backslash] and | [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458801}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PIPE"],"description":"| [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458801},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NON_US_HASH","NUHS"],"description":"Non-US # [Hash/Pound] and ~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458802}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TILDE2"],"description":"~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458802},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SEMICOLON","SEMI"],"description":"; [Semicolon] and : [Colon]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458803}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["COLON"],"description":": [Colon]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458803},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SINGLE_QUOTE","SQT","APOSTROPHE","APOS"],"description":"\' [Apostrophe] and \\" [Quote (Double)]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458804}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOUBLE_QUOTES","DQT"],"description":"\\" [Quote (Double)]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458804},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["GRAVE"],"description":"` [Grave Accent] and ~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458805}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TILDE"],"description":"~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458805},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["COMMA"],"description":", [Comma] and < [Less Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458806}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LESS_THAN","LT"],"description":"< [Less Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458806},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PERIOD","DOT"],"description":". [Period] and > [Greater Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458807}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["GREATER_THAN","GT"],"description":"> [Greater Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458807},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SLASH","FSLH"],"description":"/ [Forward Slash] and ? [Question Mark]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458808}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["QUESTION","QMARK"],"description":"? [Question Mark]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458808},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["CAPSLOCK","CAPS","CLCK"],"description":"Caps Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458809}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F1"],"description":"F1","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458810}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F2"],"description":"F2","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458811}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F3"],"description":"F3","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458812}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F4"],"description":"F4","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458813}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F5"],"description":"F5","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458814}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F6"],"description":"F6","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458815}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F7"],"description":"F7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458816}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F8"],"description":"F8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458817}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F9"],"description":"F9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458818}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F10"],"description":"F10","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458819}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F11"],"description":"F11","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458820}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F12"],"description":"F12","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458821}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PRINTSCREEN","PSCRN"],"description":"Print Screen","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458822}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SCROLLLOCK","SLCK"],"description":"Scroll Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458823}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAUSE_BREAK"],"description":"Pause / Break","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458824}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["INSERT","INS"],"description":"Insert","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458825}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["HOME"],"description":"Home","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458826}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAGE_UP","PG_UP"],"description":"Page Up","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458827}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DELETE","DEL"],"description":"Delete","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458828}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["END"],"description":"End","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458829}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAGE_DOWN","PG_DN"],"description":"Page Down","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458830}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_ARROW","RIGHT"],"description":"⮕ [Right Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458831}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_ARROW","LEFT"],"description":"⬅ [Left Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458832}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOWN_ARROW","DOWN"],"description":"⬇ [Down Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458833}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["UP_ARROW","UP"],"description":"⬆ [Up Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458834}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMLOCK","KP_NUM","KP_NLCK"],"description":"Numlock and Clear","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458835}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR2"],"description":"Clear","context":"Keypad","clarify":null,"usages":[{"application":65542,"item":458835},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_DIVIDE","KP_SLASH"],"description":"/ [Divide]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458836}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_MULTIPLY","KP_ASTERISK"],"description":"* [Multiply]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458837}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_MINUS","KP_SUBTRACT"],"description":"- [Minus]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458838}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_PLUS"],"description":"+ [Plus]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458839}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_ENTER"],"description":"Enter","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458840}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_1","KP_N1"],"description":"1","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458841}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_2","KP_N2"],"description":"2","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458842}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_3","KP_N3"],"description":"3","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458843}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_4","KP_N4"],"description":"4","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458844}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_5","KP_N5"],"description":"5","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458845}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_6","KP_N6"],"description":"6","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458846}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_7","KP_N7"],"description":"7","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458847}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_8","KP_N8"],"description":"8","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458848}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_9","KP_N9"],"description":"9","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458849}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_0","KP_N0"],"description":"0","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458850}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_DOT"],"description":". [Dot]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458851}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NON_US_BACKSLASH","NON_US_BSLH","NUBS"],"description":"Non-US \\\\ [Backslash] and | [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458852}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PIPE2"],"description":"| [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458852},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K_APPLICATION","K_APP","K_CONTEXT_MENU","K_CMENU"],"description":"Application (Context Menu)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458853}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{"ios":["iosApplication"]}},{"names":["K_POWER","K_PWR"],"description":"Power","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458854}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":false,"android":true,"macos":true,"ios":true},"footnotes":{"macos":["macosPower"],"ios":["iosPower"]}},{"names":["KP_EQUAL"],"description":"= [Equal]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458855}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":true},"footnotes":{}},{"names":["F13"],"description":"F13","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458856}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F14"],"description":"F14","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458857}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F15"],"description":"F15","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458858}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F16"],"description":"F16","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458859}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F17"],"description":"F17","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458860}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F18"],"description":"F18","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458861}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F19"],"description":"F19","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458862}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F20"],"description":"F20","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458863}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F21"],"description":"F21","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458864}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F22"],"description":"F22","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458865}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F23"],"description":"F23","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458866}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F24"],"description":"F24","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458867}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["K_EXECUTE","K_EXEC"],"description":"Execute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458868}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_HELP"],"description":"Help","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458869}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_MENU"],"description":"Menu","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458870}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_SELECT"],"description":"Select","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458871}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_STOP"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458872}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["K_AGAIN","K_REDO"],"description":"Again","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458873}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_UNDO"],"description":"Undo","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458874}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_CUT"],"description":"Cut","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458875}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_COPY"],"description":"Copy","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458876}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_PASTE"],"description":"Paste","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458877}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_FIND"],"description":"Find","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458878}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_MUTE"],"description":"Mute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458879}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["K_VOLUME_UP","K_VOL_UP"],"description":"Volume Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458880}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":null},"footnotes":{}},{"names":["K_VOLUME_DOWN","K_VOL_DN"],"description":"Volume Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458881}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":null},"footnotes":{}},{"names":["LOCKING_CAPS","LCAPS"],"description":"Locking Caps Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458882}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LOCKING_NUM","LNLCK"],"description":"Locking Num Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458883}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LOCKING_SCROLL","LSLCK"],"description":"Locking Scroll Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458884}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_COMMA"],"description":", [Comma]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458885}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_EQUAL_AS400"],"description":"= [Equal] (AS/400 keyboards)","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458886}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_1","INT1","INT_RO"],"description":"ろ (International 1)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458887}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_2","INT2","INT_KATAKANAHIRAGANA","INT_KANA"],"description":"かな (International 2)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458888}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_3","INT3","INT_YEN"],"description":"¥ (International 3)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458889}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_4","INT4","INT_HENKAN"],"description":"変換 (International 4)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458890}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_5","INT5","INT_MUHENKAN"],"description":"無変換 (International 5)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458891}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_6","INT6","INT_KPJPCOMMA"],"description":", [カソマ] (International 6)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458892}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_7","INT7"],"description":"International 7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458893}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_8","INT8"],"description":"International 8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458894}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_9","INT9"],"description":"International 9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458895}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_1","LANG1","LANG_HANGEUL"],"description":"한/영 (Language 1)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458896}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":true,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_2","LANG2","LANG_HANJA"],"description":"한자 (Language 2)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458897}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":true,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_3","LANG3","LANG_KATAKANA"],"description":"カタカナ (Language 3)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458898}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_4","LANG4","LANG_HIRAGANA"],"description":"ひらがな (Language 4)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458899}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_5","LANG5","LANG_ZENKAKUHANKAKU"],"description":"半角/全角 (Language 5)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458900}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_6","LANG6"],"description":"Language 6","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458901}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_7","LANG7"],"description":"Language 7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458902}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_8","LANG8"],"description":"Language 8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458903}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_9","LANG9"],"description":"Language 9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458904}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["ALT_ERASE"],"description":"Alternate Erase","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458905}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["SYSREQ","ATTENTION"],"description":"SysReq / Attention","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458906}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_CANCEL"],"description":"Cancel","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458907}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR"],"description":"Clear","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458908}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["PRIOR"],"description":"Prior","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458909}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["RETURN2","RET2"],"description":"Return","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458910}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["SEPARATOR"],"description":"Separator","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458911}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["OUT"],"description":"Out","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458912}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["OPER"],"description":"Oper","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458913}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR_AGAIN"],"description":"Clear / Again","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458914}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CRSEL"],"description":"CrSel / Props","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458915}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["EXSEL"],"description":"ExSel","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458916}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_LEFT_PARENTHESIS","KP_LPAR"],"description":"( [Left Parenthesis]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458934}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["KP_RIGHT_PARENTHESIS","KP_RPAR"],"description":") [Right Parenthesis]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458935}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["KP_CLEAR"],"description":"Clear","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458968}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["LEFT_CONTROL","LCTRL","LC(code)"],"description":"Left Control","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458976}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_SHIFT","LSHIFT","LSHFT","LS(code)"],"description":"Left Shift ⇧","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_ALT","LALT","LA(code)"],"description":"Left Alt","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458978}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"description":"Left GUI (Windows / Command / Meta)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458979}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_CONTROL","RCTRL","RC(code)"],"description":"Right Control","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458980}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_SHIFT","RSHIFT","RSHFT","RS(code)"],"description":"Right Shift ⇧","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458981}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_ALT","RALT","RA(code)"],"description":"Right Alt","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458982}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_GUI","RGUI","RG(code)","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA"],"description":"Right GUI (Windows / Command / Meta)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458983}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K_PLAY_PAUSE","K_PP"],"description":"Play / Pause","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458984}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_STOP2"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458985}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_PREVIOUS","K_PREV"],"description":"Previous","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458986}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_NEXT"],"description":"Next","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458987}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_EJECT"],"description":"Eject","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458988}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_VOLUME_UP2","K_VOL_UP2"],"description":"Volume Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458989}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_VOLUME_DOWN2","K_VOL_DN2"],"description":"Volume Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458990}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_MUTE2"],"description":"Mute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458991}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_WWW"],"description":"Internet Browser","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458992}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_BACK"],"description":"Back","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458993}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_FORWARD"],"description":"Forward","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458994}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_STOP3"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458995}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_FIND2"],"description":"Find","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458996}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SCROLL_UP"],"description":"Scroll Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458997}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SCROLL_DOWN"],"description":"Scroll Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458998}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_EDIT"],"description":"Edit","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458999}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SLEEP"],"description":"Sleep","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459000}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_LOCK","K_SCREENSAVER","K_COFFEE"],"description":"Lock","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459001}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_REFRESH"],"description":"Refresh","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459002}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_CALCULATOR","K_CALC"],"description":"Calculator","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459003}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["C_POWER","C_PWR"],"description":"Power","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786480}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{"macos":["macosPower"],"ios":["iosPower"]}},{"names":["C_RESET"],"description":"Reset","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786481}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLEEP"],"description":"Sleep","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786482}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLEEP_MODE"],"description":"Sleep Mode","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786484}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU"],"description":"Menu","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786496}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_PICK","C_MENU_SELECT"],"description":"Pick","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786497}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_UP"],"description":"Up","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786498}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_DOWN"],"description":"Down","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786499}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_LEFT"],"description":"Left","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786500}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_RIGHT"],"description":"Right","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786501}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_ESCAPE","C_MENU_ESC"],"description":"Escape","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786502}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_INCREASE","C_MENU_INC"],"description":"Value Increase","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786503}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_DECREASE","C_MENU_DEC"],"description":"Value Decrease","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786504}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_DATA_ON_SCREEN"],"description":"Data On Screen","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786528}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CAPTIONS","C_SUBTITLES"],"description":"Closed Caption","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786529}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SNAPSHOT"],"description":"Snapshot","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786533}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PIP"],"description":"Picture-in-Picture Toggle","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786535}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RED_BUTTON","C_RED"],"description":"Red Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786537}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_GREEN_BUTTON","C_GREEN"],"description":"Green Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786538}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BLUE_BUTTON","C_BLUE"],"description":"Blue Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786539}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_YELLOW_BUTTON","C_YELLOW"],"description":"Yellow Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786540}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_ASPECT"],"description":"Aspect","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786541}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_INC","C_BRI_INC","C_BRI_UP"],"description":"Increase Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786543}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":true,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_DEC","C_BRI_DEC","C_BRI_DN"],"description":"Decrease Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786544}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":true,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_BACKLIGHT_TOGGLE","C_BKLT_TOG"],"description":"Backlight Toggle","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786546}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_MINIMUM","C_BRI_MIN"],"description":"Minimum Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786547}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_MAXIMUM","C_BRI_MAX"],"description":"Maximum Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786548}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_AUTO","C_BRI_AUTO"],"description":"Auto Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786549}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_STEP","C_MODE_STEP"],"description":"Mode Step","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786562}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RECALL_LAST","C_CHAN_LAST"],"description":"Recall Last","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786563}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_COMPUTER"],"description":"Computer","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786568}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TV"],"description":"TV","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786569}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_WWW"],"description":"WWW","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786570}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_DVD"],"description":"DVD","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786571}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_PHONE"],"description":"Telephone","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786572}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_GUIDE"],"description":"Program Guide","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786573}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VIDEOPHONE"],"description":"Video Phone","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786574}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_GAMES"],"description":"Games","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786575}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_MESSAGES"],"description":"Messages","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786576}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_CD"],"description":"CD","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786577}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VCR"],"description":"VCR","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786578}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TUNER"],"description":"Tuner","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786579}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_QUIT"],"description":"Quit","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786580}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_HELP"],"description":"Help","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786581}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TAPE"],"description":"Tape","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786582}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_CABLE"],"description":"Cable","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786583}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_SATELLITE"],"description":"Satellite","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786584}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_HOME"],"description":"Home","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786586}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CHANNEL_INC","C_CHAN_INC"],"description":"Channel Increment","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786588}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CHANNEL_DEC","C_CHAN_DEC"],"description":"Channel Decrement","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786589}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VCR_PLUS"],"description":"VCR Plus","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786592}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PLAY"],"description":"Play","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786608}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PAUSE"],"description":"Pause","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786609}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RECORD","C_REC"],"description":"Record","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786610}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_FAST_FORWARD","C_FF"],"description":"Fast Forward","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786611}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_REWIND","C_RW"],"description":"Rewind","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786612}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_NEXT"],"description":"Next","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786613}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_PREVIOUS","C_PREV"],"description":"Previous","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786614}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_STOP"],"description":"Stop","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786615}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_EJECT"],"description":"Eject","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786616}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RANDOM_PLAY","C_SHUFFLE"],"description":"Random Play","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786617}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_REPEAT"],"description":"Repeat","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786620}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLOW_TRACKING","C_SLOW2"],"description":"Slow Tracking","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786623}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_STOP_EJECT"],"description":"Stop / Eject","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786636}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PLAY_PAUSE","C_PP"],"description":"Play / Pause","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786637}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_VOICE_COMMAND"],"description":"Voice Command","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786639}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MUTE"],"description":"Mute","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786658}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BASS_BOOST"],"description":"Bass Boost","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786661}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_VOLUME_UP","C_VOL_UP"],"description":"Volume Up","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786665}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_VOLUME_DOWN","C_VOL_DN"],"description":"Volume Down","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786666}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_SLOW"],"description":"Slow","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786677}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=141","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_ALTERNATE_AUDIO_INCREMENT","C_ALT_AUDIO_INC"],"description":"Alternate Audio Increment","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786803}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf","os":{"windows":null,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CCC"],"description":"Consumer Control Configuration","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786819}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_WORD"],"description":"Word Processor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786820}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_TEXT_EDITOR"],"description":"Text Editor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786821}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SPREADSHEET","C_AL_SHEET"],"description":"Spreadsheet","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786822}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_GRAPHICS_EDITOR"],"description":"Graphics Editor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786823}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_PRESENTATION"],"description":"Presentation","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786824}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_DATABASE","C_AL_DB"],"description":"Database App","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786825}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_EMAIL","C_AL_MAIL"],"description":"Email Reader","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786826}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NEWS"],"description":"Newsreader","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786827}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_VOICEMAIL"],"description":"Voicemail","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786828}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CONTACTS","C_AL_ADDRESS_BOOK"],"description":"Contacts / Address Book","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786829}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CALENDAR","C_AL_CAL"],"description":"Calendar / Schedule","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786830}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_TASK_MANAGER"],"description":"Task / Project Manager","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786831}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_JOURNAL"],"description":"Log / Journal / Timecard","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786832}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_FINANCE"],"description":"Checkbook / Finance","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786833}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CALCULATOR","C_AL_CALC"],"description":"Calculator","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786834}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_AV_CAPTURE_PLAYBACK"],"description":"A/V Capture / Playback","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786835}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_MY_COMPUTER"],"description":"Local Machine Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786836}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_WWW"],"description":"Internet Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786838}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NETWORK_CHAT","C_AL_CHAT"],"description":"Network Chat","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786841}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_LOGOFF"],"description":"Logoff","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786844}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_LOCK","C_AL_SCREENSAVER","C_AL_COFFEE"],"description":"Terminal Lock / Screensaver","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786846}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CONTROL_PANEL"],"description":"Control Panel","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786847}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SELECT_TASK"],"description":"Select Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786850}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NEXT_TASK"],"description":"Next Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786851}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_PREVIOUS_TASK","C_AL_PREV_TASK"],"description":"Previous Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786852}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_HELP"],"description":"Integrated Help Center","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786854}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_DOCUMENTS","C_AL_DOCS"],"description":"Documents","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786855}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SPELLCHECK","C_AL_SPELL"],"description":"Spell Check","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786859}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_KEYBOARD_LAYOUT"],"description":"Keyboard Layout","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786862}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SCREEN_SAVER"],"description":"Screen Saver","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786865}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_FILE_BROWSER","C_AL_FILES"],"description":"File Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786868}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_IMAGE_BROWSER","C_AL_IMAGES"],"description":"Image Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786870}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_AUDIO_BROWSER","C_AL_AUDIO","C_AL_MUSIC"],"description":"Audio Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786871}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_MOVIE_BROWSER","C_AL_MOVIES"],"description":"Movie Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786872}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_INSTANT_MESSAGING","C_AL_IM"],"description":"Instant Messaging","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786876}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=149","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_OEM_FEATURES","C_AL_TIPS","C_AL_TUTORIAL"],"description":"OEM Features / Tips / Tutorial Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786877}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=149","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_NEW"],"description":"New","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786945}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_OPEN"],"description":"Open","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786946}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CLOSE"],"description":"Close","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786947}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_EXIT"],"description":"Exit","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786948}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SAVE"],"description":"Save","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786951}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PRINT"],"description":"Print","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786952}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PROPERTIES","C_AC_PROPS"],"description":"Properties","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786953}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_UNDO"],"description":"Undo","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786970}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_COPY"],"description":"Copy","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786971}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CUT"],"description":"Cut","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786972}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PASTE"],"description":"Paste","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786973}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FIND"],"description":"Find","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786975}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SEARCH"],"description":"Search","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_AC_GOTO"],"description":"Go To","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786978}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_HOME"],"description":"Home","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786979}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_BACK"],"description":"Back","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786980}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FORWARD"],"description":"Forward","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786981}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_STOP"],"description":"Stop","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786982}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REFRESH"],"description":"Refresh","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786983}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_BOOKMARKS","C_AC_FAVORITES","C_AC_FAVOURITES"],"description":"Bookmarks","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786986}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM_IN"],"description":"Zoom In","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786989}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM_OUT"],"description":"Zoom Out","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786990}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM"],"description":"Zoom","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786991}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_VIEW_TOGGLE"],"description":"View Toggle","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786994}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SCROLL_UP"],"description":"Scroll Up","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786995}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SCROLL_DOWN"],"description":"Scroll Down","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786996}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_EDIT"],"description":"Edit","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787005}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CANCEL"],"description":"Cancel","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787039}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_INSERT","C_AC_INS"],"description":"Insert Mode","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787049}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_DEL"],"description":"Delete","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787050}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REDO"],"description":"Redo / Repeat","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787065}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REPLY"],"description":"Reply","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787081}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FORWARD_MAIL"],"description":"Forward","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787083}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SEND"],"description":"Send","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787084}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_DESKTOP_SHOW_ALL_WINDOWS"],"description":"Desktop Show All Windows","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787103}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_AC_DESKTOP_SHOW_ALL_APPLICATIONS"],"description":"Desktop Show All Applications","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787106}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_PREVIOUS","C_KBIA_PREV"],"description":"Previous","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787143}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_NEXT","C_KBIA_NEXT"],"description":"Next","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787144}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","C_KBIA_PREV_GRP"],"description":"Previous Group","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787145}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","C_KBIA_NEXT_GRP"],"description":"Next Group","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787146}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_ACCEPT","C_KBIA_ACCEPT"],"description":"Accept","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787147}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_CANCEL","C_KBIA_CANCEL"],"description":"Cancel","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787148}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}}]')},2024:function(_){"use strict";_.exports=JSON.parse('["BL_ON_CMD","BL_OFF_CMD","BL_TOG_CMD","BL_INC_CMD","BL_DEC_CMD","BL_CYCLE_CMD","BL_SET_CMD","BL_ON","BL_OFF","BL_TOG","BL_INC","BL_DEC","BL_CYCLE","BL_SET","BT_CLR_CMD","BT_NXT_CMD","BT_PRV_CMD","BT_SEL_CMD","BT_CLR","BT_NXT","BT_PRV","BT_SEL","EXT_POWER_OFF_CMD","EXT_POWER_ON_CMD","EXT_POWER_TOGGLE_CMD","EP_ON","EP_OFF","EP_TOG","HID_USAGE_GD_UNDEFINED","HID_USAGE_GD_POINTER","HID_USAGE_GD_MOUSE","HID_USAGE_GD_JOYSTICK","HID_USAGE_GD_GAMEPAD","HID_USAGE_GD_KEYBOARD","HID_USAGE_GD_KEYPAD","HID_USAGE_GD_MULTI_AXIS_CONTROLLER","HID_USAGE_GD_TABLET_PC_SYSTEM_CONTROLS","HID_USAGE_GD_WATER_COOLING_DEVICE","HID_USAGE_GD_COMPUTER_CHASSIS_DEVICE","HID_USAGE_GD_WIRELESS_RADIO_CONTROLS","HID_USAGE_GD_PORTABLE_DEVICE_CONTROL","HID_USAGE_GD_SYSTEM_MULTI_AXIS_CONTROLLER","HID_USAGE_GD_SPATIAL_CONTROLLER","HID_USAGE_GD_ASSISTIVE_CONTROL","HID_USAGE_GD_DEVICE_DOCK","HID_USAGE_GD_DOCKABLE_DEVICE","HID_USAGE_GD_X","HID_USAGE_GD_Y","HID_USAGE_GD_Z","HID_USAGE_GD_RX","HID_USAGE_GD_RY","HID_USAGE_GD_RZ","HID_USAGE_GD_SLIDER","HID_USAGE_GD_DIAL","HID_USAGE_GD_WHEEL","HID_USAGE_GD_HAT_SWITCH","HID_USAGE_GD_COUNTED_BUFFER","HID_USAGE_GD_BYTE_COUNT","HID_USAGE_GD_MOTION_WAKEUP","HID_USAGE_GD_START","HID_USAGE_GD_SELECT","HID_USAGE_GD_VX","HID_USAGE_GD_VY","HID_USAGE_GD_VZ","HID_USAGE_GD_VBRX","HID_USAGE_GD_VBRY","HID_USAGE_GD_VBRZ","HID_USAGE_GD_VNO","HID_USAGE_GD_FEATURE_NOTIFICATION","HID_USAGE_GD_RESOLUTION_MULTIPLIER","HID_USAGE_GD_QX","HID_USAGE_GD_QY","HID_USAGE_GD_QZ","HID_USAGE_GD_QW","HID_USAGE_GD_SYSTEM_CONTROL","HID_USAGE_GD_SYSTEM_POWER_DOWN","HID_USAGE_GD_SYSTEM_SLEEP","HID_USAGE_GD_SYSTEM_WAKE_UP","HID_USAGE_GD_SYSTEM_CONTEXT_MENU","HID_USAGE_GD_SYSTEM_MAIN_MENU","HID_USAGE_GD_SYSTEM_APP_MENU","HID_USAGE_GD_SYSTEM_MENU_HELP","HID_USAGE_GD_SYSTEM_MENU_EXIT","HID_USAGE_GD_SYSTEM_MENU_SELECT","HID_USAGE_GD_SYSTEM_MENU_RIGHT","HID_USAGE_GD_SYSTEM_MENU_LEFT","HID_USAGE_GD_SYSTEM_MENU_UP","HID_USAGE_GD_SYSTEM_MENU_DOWN","HID_USAGE_GD_SYSTEM_COLD_RESTART","HID_USAGE_GD_SYSTEM_WARM_RESTART","HID_USAGE_GD_D_PAD_UP","HID_USAGE_GD_D_PAD_DOWN","HID_USAGE_GD_D_PAD_RIGHT","HID_USAGE_GD_D_PAD_LEFT","HID_USAGE_GD_INDEX_TRIGGER","HID_USAGE_GD_PALM_TRIGGER","HID_USAGE_GD_THUMBSTICK","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT_LOCK","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT_LOCK_INDICATOR","HID_USAGE_GD_SYSTEM_DISMISS_NOTIFICATION","HID_USAGE_GD_SYSTEM_DO_NOT_DISTURB","HID_USAGE_GD_SYSTEM_DOCK","HID_USAGE_GD_SYSTEM_UNDOCK","HID_USAGE_GD_SYSTEM_SETUP","HID_USAGE_GD_SYSTEM_BREAK","HID_USAGE_GD_SYSTEM_DEBUGGER_BREAK","HID_USAGE_GD_APPLICATION_BREAK","HID_USAGE_GD_APPLICATION_DEBUGGER_BREAK","HID_USAGE_GD_SYSTEM_SPEAKER_MUTE","HID_USAGE_GD_SYSTEM_HIBERNATE","HID_USAGE_GD_SYSTEM_DISPLAY_INVERT","HID_USAGE_GD_SYSTEM_DISPLAY_INTERNAL","HID_USAGE_GD_SYSTEM_DISPLAY_EXTERNAL","HID_USAGE_GD_SYSTEM_DISPLAY_BOTH","HID_USAGE_GD_SYSTEM_DISPLAY_DUAL","HID_USAGE_GD_SYSTEM_DISPLAY_TOGGLE_INT_EXT_MODE","HID_USAGE_GD_SYSTEM_DISPLAY_SWAP_PRIMARY_SECONDARY","HID_USAGE_GD_SYSTEM_DISPLAY_TOGGLE_LCD_AUTOSCALE","HID_USAGE_GD_SENSOR_ZONE","HID_USAGE_GD_RPM","HID_USAGE_GD_COOLANT_LEVEL","HID_USAGE_GD_COOLANT_CRITICAL_LEVEL","HID_USAGE_GD_COOLANT_PUMP","HID_USAGE_GD_CHASSIS_ENCLOSURE","HID_USAGE_GD_WIRELESS_RADIO_BUTTON","HID_USAGE_GD_WIRELESS_RADIO_LED","HID_USAGE_GD_WIRELESS_RADIO_SLIDER_SWITCH","HID_USAGE_GD_SYSTEM_DISPLAY_ROTATION_LOCK_BUTTON","HID_USAGE_GD_SYSTEM_DISPLAY_ROTATION_LOCK_SLIDER_SWITCH","HID_USAGE_GD_CONTROL_ENABLE","HID_USAGE_GD_DOCKABLE_DEVICE_UNIQUE_ID","HID_USAGE_GD_DOCKABLE_DEVICE_VENDOR_ID","HID_USAGE_GD_DOCKABLE_DEVICE_PRIMARY_USAGE_PAGE","HID_USAGE_GD_DOCKABLE_DEVICE_PRIMARY_USAGE_ID","HID_USAGE_GD_DOCKABLE_DEVICE_DOCKING_STATE","HID_USAGE_GD_DOCKABLE_DEVICE_DISPLAY_OCCLUSION","HID_USAGE_GD_DOCKABLE_DEVICE_OBJECT_TYPE","HID_USAGE_SIM_UNDEFINED","HID_USAGE_SIM_FLIGHT_SIMULATION_DEVICE","HID_USAGE_SIM_AUTOMOBILE_SIMULATION_DEVICE","HID_USAGE_SIM_TANK_SIMULATION_DEVICE","HID_USAGE_SIM_SPACESHIP_SIMULATION_DEVICE","HID_USAGE_SIM_SUBMARINE_SIMULATION_DEVICE","HID_USAGE_SIM_SAILING_SIMULATION_DEVICE","HID_USAGE_SIM_MOTORCYCLE_SIMULATION_DEVICE","HID_USAGE_SIM_SPORTS_SIMULATION_DEVICE","HID_USAGE_SIM_AIRPLANE_SIMULATION_DEVICE","HID_USAGE_SIM_HELICOPTER_SIMULATION_DEVICE","HID_USAGE_SIM_MAGIC_CARPET_SIMULATION_DEVICE","HID_USAGE_SIM_BICYCLE_SIMULATION_DEVICE","HID_USAGE_SIM_FLIGHT_CONTROL_STICK","HID_USAGE_SIM_FLIGHT_STICK","HID_USAGE_SIM_CYCLIC_CONTROL","HID_USAGE_SIM_CYCLIC_TRIM","HID_USAGE_SIM_FLIGHT_YOKE","HID_USAGE_SIM_TRACK_CONTROL","HID_USAGE_SIM_AILERON","HID_USAGE_SIM_AILERON_TRIM","HID_USAGE_SIM_ANTI_TORQUE_CONTROL","HID_USAGE_SIM_AUTOPILOT_ENABLE","HID_USAGE_SIM_CHAFF_RELEASE","HID_USAGE_SIM_COLLECTIVE_CONTROL","HID_USAGE_SIM_DIVE_BRAKE","HID_USAGE_SIM_ELECTRONIC_COUNTERMEASURES","HID_USAGE_SIM_ELEVATOR","HID_USAGE_SIM_ELEVATOR_TRIM","HID_USAGE_SIM_RUDDER","HID_USAGE_SIM_THROTTLE","HID_USAGE_SIM_FLIGHT_COMMUNICATIONS","HID_USAGE_SIM_FLARE_RELEASE","HID_USAGE_SIM_LANDING_GEAR","HID_USAGE_SIM_TOE_BRAKE","HID_USAGE_SIM_TRIGGER","HID_USAGE_SIM_WEAPONS_ARM","HID_USAGE_SIM_WEAPONS_SELECT","HID_USAGE_SIM_WING_FLAPS","HID_USAGE_SIM_ACCELERATOR","HID_USAGE_SIM_BRAKE","HID_USAGE_SIM_CLUTCH","HID_USAGE_SIM_SHIFTER","HID_USAGE_SIM_STEERING","HID_USAGE_SIM_TURRET_DIRECTION","HID_USAGE_SIM_BARREL_ELEVATION","HID_USAGE_SIM_DIVE_PLANE","HID_USAGE_SIM_BALLAST","HID_USAGE_SIM_BICYCLE_CRANK","HID_USAGE_SIM_HANDLE_BARS","HID_USAGE_SIM_FRONT_BRAKE","HID_USAGE_SIM_REAR_BRAKE","HID_USAGE_VR_UNDEFINED","HID_USAGE_VR_BELT","HID_USAGE_VR_BODY_SUIT","HID_USAGE_VR_FLEXOR","HID_USAGE_VR_GLOVE","HID_USAGE_VR_HEAD_TRACKER","HID_USAGE_VR_HEAD_MOUNTED_DISPLAY","HID_USAGE_VR_HAND_TRACKER","HID_USAGE_VR_OCULOMETER","HID_USAGE_VR_VEST","HID_USAGE_VR_ANIMATRONIC_DEVICE","HID_USAGE_VR_STEREO_ENABLE","HID_USAGE_VR_DISPLAY_ENABLE","HID_USAGE_SPORT_UNDEFINED","HID_USAGE_SPORT_BASEBALL_BAT","HID_USAGE_SPORT_GOLF_CLUB","HID_USAGE_SPORT_ROWING_MACHINE","HID_USAGE_SPORT_TREADMILL","HID_USAGE_SPORT_OAR","HID_USAGE_SPORT_SLOPE","HID_USAGE_SPORT_RATE","HID_USAGE_SPORT_STICK_SPEED","HID_USAGE_SPORT_STICK_FACE_ANGLE","HID_USAGE_SPORT_STICK_HEEL_TOE","HID_USAGE_SPORT_STICK_FOLLOW_THROUGH","HID_USAGE_SPORT_STICK_TEMPO","HID_USAGE_SPORT_STICK_TYPE","HID_USAGE_SPORT_STICK_HEIGHT","HID_USAGE_SPORT_PUTTER","HID_USAGE_SPORT_1_IRON","HID_USAGE_SPORT_2_IRON","HID_USAGE_SPORT_3_IRON","HID_USAGE_SPORT_4_IRON","HID_USAGE_SPORT_5_IRON","HID_USAGE_SPORT_6_IRON","HID_USAGE_SPORT_7_IRON","HID_USAGE_SPORT_8_IRON","HID_USAGE_SPORT_9_IRON","HID_USAGE_SPORT_10_IRON","HID_USAGE_SPORT_11_IRON","HID_USAGE_SPORT_SAND_WEDGE","HID_USAGE_SPORT_LOFT_WEDGE","HID_USAGE_SPORT_POWER_WEDGE","HID_USAGE_SPORT_1_WOOD","HID_USAGE_SPORT_3_WOOD","HID_USAGE_SPORT_5_WOOD","HID_USAGE_SPORT_7_WOOD","HID_USAGE_SPORT_9_WOOD","HID_USAGE_GAME_UNDEFINED","HID_USAGE_GAME_3D_GAME_CONTROLLER","HID_USAGE_GAME_PINBALL_DEVICE","HID_USAGE_GAME_GUN_DEVICE","HID_USAGE_GAME_POINT_OF_VIEW","HID_USAGE_GAME_TURN_RIGHT_LEFT","HID_USAGE_GAME_PITCH_FORWARD_BACKWARD","HID_USAGE_GAME_ROLL_RIGHT_LEFT","HID_USAGE_GAME_MOVE_RIGHT_LEFT","HID_USAGE_GAME_MOVE_FORWARD_BACKWARD","HID_USAGE_GAME_MOVE_UP_DOWN","HID_USAGE_GAME_LEAN_RIGHT_LEFT","HID_USAGE_GAME_LEAN_FORWARD_BACKWARD","HID_USAGE_GAME_HEIGHT_OF_POV","HID_USAGE_GAME_FLIPPER","HID_USAGE_GAME_SECONDARY_FLIPPER","HID_USAGE_GAME_BUMP","HID_USAGE_GAME_NEW_GAME","HID_USAGE_GAME_SHOOT_BALL","HID_USAGE_GAME_PLAYER","HID_USAGE_GAME_GUN_BOLT","HID_USAGE_GAME_GUN_CLIP","HID_USAGE_GAME_GUN_SELECTOR","HID_USAGE_GAME_GUN_SINGLE_SHOT","HID_USAGE_GAME_GUN_BURST","HID_USAGE_GAME_GUN_AUTOMATIC","HID_USAGE_GAME_GUN_SAFETY","HID_USAGE_GAME_GAMEPAD_FIRE_JUMP","HID_USAGE_GAME_GAMEPAD_TRIGGER","HID_USAGE_GAME_FORM_FITTING_GAMEPAD","HID_USAGE_GDV_UNDEFINED","HID_USAGE_GDV_BACKGROUND_NONUSER_CONTROLS","HID_USAGE_GDV_BATTERY_STRENGTH","HID_USAGE_GDV_WIRELESS_CHANNEL","HID_USAGE_GDV_WIRELESS_ID","HID_USAGE_GDV_DISCOVER_WIRELESS_CONTROL","HID_USAGE_GDV_SECURITY_CODE_CHARACTER_ENTERED","HID_USAGE_GDV_SECURITY_CODE_CHARACTER_ERASED","HID_USAGE_GDV_SECURITY_CODE_CLEARED","HID_USAGE_GDV_SEQUENCE_ID","HID_USAGE_GDV_SEQUENCE_ID_RESET","HID_USAGE_GDV_RF_SIGNAL_STRENGTH","HID_USAGE_GDV_SOFTWARE_VERSION","HID_USAGE_GDV_PROTOCOL_VERSION","HID_USAGE_GDV_HARDWARE_VERSION","HID_USAGE_GDV_MAJOR","HID_USAGE_GDV_MINOR","HID_USAGE_GDV_REVISION","HID_USAGE_GDV_HANDEDNESS","HID_USAGE_GDV_EITHER_HAND","HID_USAGE_GDV_LEFT_HAND","HID_USAGE_GDV_RIGHT_HAND","HID_USAGE_GDV_BOTH_HANDS","HID_USAGE_GDV_GRIP_POSE_OFFSET","HID_USAGE_GDV_POINTER_POSE_OFFSET","HID_USAGE_KEY_KEYBOARD_ERRORROLLOVER","HID_USAGE_KEY_KEYBOARD_POSTFAIL","HID_USAGE_KEY_KEYBOARD_ERRORUNDEFINED","HID_USAGE_KEY_KEYBOARD_A","HID_USAGE_KEY_KEYBOARD_B","HID_USAGE_KEY_KEYBOARD_C","HID_USAGE_KEY_KEYBOARD_D","HID_USAGE_KEY_KEYBOARD_E","HID_USAGE_KEY_KEYBOARD_F","HID_USAGE_KEY_KEYBOARD_G","HID_USAGE_KEY_KEYBOARD_H","HID_USAGE_KEY_KEYBOARD_I","HID_USAGE_KEY_KEYBOARD_J","HID_USAGE_KEY_KEYBOARD_K","HID_USAGE_KEY_KEYBOARD_L","HID_USAGE_KEY_KEYBOARD_M","HID_USAGE_KEY_KEYBOARD_N","HID_USAGE_KEY_KEYBOARD_O","HID_USAGE_KEY_KEYBOARD_P","HID_USAGE_KEY_KEYBOARD_Q","HID_USAGE_KEY_KEYBOARD_R","HID_USAGE_KEY_KEYBOARD_S","HID_USAGE_KEY_KEYBOARD_T","HID_USAGE_KEY_KEYBOARD_U","HID_USAGE_KEY_KEYBOARD_V","HID_USAGE_KEY_KEYBOARD_W","HID_USAGE_KEY_KEYBOARD_X","HID_USAGE_KEY_KEYBOARD_Y","HID_USAGE_KEY_KEYBOARD_Z","HID_USAGE_KEY_KEYBOARD_1_AND_EXCLAMATION","HID_USAGE_KEY_KEYBOARD_2_AND_AT","HID_USAGE_KEY_KEYBOARD_3_AND_HASH","HID_USAGE_KEY_KEYBOARD_4_AND_DOLLAR","HID_USAGE_KEY_KEYBOARD_5_AND_PERCENT","HID_USAGE_KEY_KEYBOARD_6_AND_CARET","HID_USAGE_KEY_KEYBOARD_7_AND_AMPERSAND","HID_USAGE_KEY_KEYBOARD_8_AND_ASTERISK","HID_USAGE_KEY_KEYBOARD_9_AND_LEFT_PARENTHESIS","HID_USAGE_KEY_KEYBOARD_0_AND_RIGHT_PARENTHESIS","HID_USAGE_KEY_KEYBOARD_RETURN_ENTER","HID_USAGE_KEY_KEYBOARD_ESCAPE","HID_USAGE_KEY_KEYBOARD_DELETE_BACKSPACE","HID_USAGE_KEY_KEYBOARD_TAB","HID_USAGE_KEY_KEYBOARD_SPACEBAR","HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE","HID_USAGE_KEY_KEYBOARD_EQUAL_AND_PLUS","HID_USAGE_KEY_KEYBOARD_LEFT_BRACKET_AND_LEFT_BRACE","HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE","HID_USAGE_KEY_KEYBOARD_BACKSLASH_AND_PIPE","HID_USAGE_KEY_KEYBOARD_NON_US_HASH_AND_TILDE","HID_USAGE_KEY_KEYBOARD_SEMICOLON_AND_COLON","HID_USAGE_KEY_KEYBOARD_APOSTROPHE_AND_QUOTE","HID_USAGE_KEY_KEYBOARD_GRAVE_ACCENT_AND_TILDE","HID_USAGE_KEY_KEYBOARD_COMMA_AND_LESS_THAN","HID_USAGE_KEY_KEYBOARD_PERIOD_AND_GREATER_THAN","HID_USAGE_KEY_KEYBOARD_SLASH_AND_QUESTION_MARK","HID_USAGE_KEY_KEYBOARD_CAPS_LOCK","HID_USAGE_KEY_KEYBOARD_F1","HID_USAGE_KEY_KEYBOARD_F2","HID_USAGE_KEY_KEYBOARD_F3","HID_USAGE_KEY_KEYBOARD_F4","HID_USAGE_KEY_KEYBOARD_F5","HID_USAGE_KEY_KEYBOARD_F6","HID_USAGE_KEY_KEYBOARD_F7","HID_USAGE_KEY_KEYBOARD_F8","HID_USAGE_KEY_KEYBOARD_F9","HID_USAGE_KEY_KEYBOARD_F10","HID_USAGE_KEY_KEYBOARD_F11","HID_USAGE_KEY_KEYBOARD_F12","HID_USAGE_KEY_KEYBOARD_PRINTSCREEN","HID_USAGE_KEY_KEYBOARD_SCROLL_LOCK","HID_USAGE_KEY_KEYBOARD_PAUSE","HID_USAGE_KEY_KEYBOARD_INSERT","HID_USAGE_KEY_KEYBOARD_HOME","HID_USAGE_KEY_KEYBOARD_PAGEUP","HID_USAGE_KEY_KEYBOARD_DELETE_FORWARD","HID_USAGE_KEY_KEYBOARD_END","HID_USAGE_KEY_KEYBOARD_PAGEDOWN","HID_USAGE_KEY_KEYBOARD_RIGHTARROW","HID_USAGE_KEY_KEYBOARD_LEFTARROW","HID_USAGE_KEY_KEYBOARD_DOWNARROW","HID_USAGE_KEY_KEYBOARD_UPARROW","HID_USAGE_KEY_KEYPAD_NUM_LOCK_AND_CLEAR","HID_USAGE_KEY_KEYPAD_SLASH","HID_USAGE_KEY_KEYPAD_ASTERISK","HID_USAGE_KEY_KEYPAD_MINUS","HID_USAGE_KEY_KEYPAD_PLUS","HID_USAGE_KEY_KEYPAD_ENTER","HID_USAGE_KEY_KEYPAD_1_AND_END","HID_USAGE_KEY_KEYPAD_2_AND_DOWN_ARROW","HID_USAGE_KEY_KEYPAD_3_AND_PAGEDN","HID_USAGE_KEY_KEYPAD_4_AND_LEFT_ARROW","HID_USAGE_KEY_KEYPAD_5","HID_USAGE_KEY_KEYPAD_6_AND_RIGHT_ARROW","HID_USAGE_KEY_KEYPAD_7_AND_HOME","HID_USAGE_KEY_KEYPAD_8_AND_UP_ARROW","HID_USAGE_KEY_KEYPAD_9_AND_PAGEUP","HID_USAGE_KEY_KEYPAD_0_AND_INSERT","HID_USAGE_KEY_KEYPAD_PERIOD_AND_DELETE","HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE","HID_USAGE_KEY_KEYBOARD_APPLICATION","HID_USAGE_KEY_KEYBOARD_POWER","HID_USAGE_KEY_KEYPAD_EQUAL","HID_USAGE_KEY_KEYBOARD_F13","HID_USAGE_KEY_KEYBOARD_F14","HID_USAGE_KEY_KEYBOARD_F15","HID_USAGE_KEY_KEYBOARD_F16","HID_USAGE_KEY_KEYBOARD_F17","HID_USAGE_KEY_KEYBOARD_F18","HID_USAGE_KEY_KEYBOARD_F19","HID_USAGE_KEY_KEYBOARD_F20","HID_USAGE_KEY_KEYBOARD_F21","HID_USAGE_KEY_KEYBOARD_F22","HID_USAGE_KEY_KEYBOARD_F23","HID_USAGE_KEY_KEYBOARD_F24","HID_USAGE_KEY_KEYBOARD_EXECUTE","HID_USAGE_KEY_KEYBOARD_HELP","HID_USAGE_KEY_KEYBOARD_MENU","HID_USAGE_KEY_KEYBOARD_SELECT","HID_USAGE_KEY_KEYBOARD_STOP","HID_USAGE_KEY_KEYBOARD_AGAIN","HID_USAGE_KEY_KEYBOARD_UNDO","HID_USAGE_KEY_KEYBOARD_CUT","HID_USAGE_KEY_KEYBOARD_COPY","HID_USAGE_KEY_KEYBOARD_PASTE","HID_USAGE_KEY_KEYBOARD_FIND","HID_USAGE_KEY_KEYBOARD_MUTE","HID_USAGE_KEY_KEYBOARD_VOLUME_UP","HID_USAGE_KEY_KEYBOARD_VOLUME_DOWN","HID_USAGE_KEY_KEYBOARD_LOCKING_CAPS_LOCK","HID_USAGE_KEY_KEYBOARD_LOCKING_NUM_LOCK","HID_USAGE_KEY_KEYBOARD_LOCKING_SCROLL_LOCK","HID_USAGE_KEY_KEYPAD_COMMA","HID_USAGE_KEY_KEYPAD_EQUAL_SIGN","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL1","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL2","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL3","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL4","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL5","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL6","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL7","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL8","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL9","HID_USAGE_KEY_KEYBOARD_LANG1","HID_USAGE_KEY_KEYBOARD_LANG2","HID_USAGE_KEY_KEYBOARD_LANG3","HID_USAGE_KEY_KEYBOARD_LANG4","HID_USAGE_KEY_KEYBOARD_LANG5","HID_USAGE_KEY_KEYBOARD_LANG6","HID_USAGE_KEY_KEYBOARD_LANG7","HID_USAGE_KEY_KEYBOARD_LANG8","HID_USAGE_KEY_KEYBOARD_LANG9","HID_USAGE_KEY_KEYBOARD_ALTERNATE_ERASE","HID_USAGE_KEY_KEYBOARD_SYSREQ_ATTENTION","HID_USAGE_KEY_KEYBOARD_CANCEL","HID_USAGE_KEY_KEYBOARD_CLEAR","HID_USAGE_KEY_KEYBOARD_PRIOR","HID_USAGE_KEY_KEYBOARD_RETURN","HID_USAGE_KEY_KEYBOARD_SEPARATOR","HID_USAGE_KEY_KEYBOARD_OUT","HID_USAGE_KEY_KEYBOARD_OPER","HID_USAGE_KEY_KEYBOARD_CLEAR_AGAIN","HID_USAGE_KEY_KEYBOARD_CRSEL_PROPS","HID_USAGE_KEY_KEYBOARD_EXSEL","HID_USAGE_KEY_KEYPAD_00","HID_USAGE_KEY_KEYPAD_000","HID_USAGE_KEY_THOUSANDS_SEPARATOR","HID_USAGE_KEY_DECIMAL_SEPARATOR","HID_USAGE_KEY_CURRENCY_UNIT","HID_USAGE_KEY_CURRENCY_SUB_UNIT","HID_USAGE_KEY_KEYPAD_LEFT_PARENTHESIS","HID_USAGE_KEY_KEYPAD_RIGHT_PARENTHESIS","HID_USAGE_KEY_KEYPAD_LEFT_BRACE","HID_USAGE_KEY_KEYPAD_RIGHT_BRACE","HID_USAGE_KEY_KEYPAD_TAB","HID_USAGE_KEY_KEYPAD_BACKSPACE","HID_USAGE_KEY_KEYPAD_A","HID_USAGE_KEY_KEYPAD_B","HID_USAGE_KEY_KEYPAD_C","HID_USAGE_KEY_KEYPAD_D","HID_USAGE_KEY_KEYPAD_E","HID_USAGE_KEY_KEYPAD_F","HID_USAGE_KEY_KEYPAD_XOR","HID_USAGE_KEY_KEYPAD_CARET","HID_USAGE_KEY_KEYPAD_PERCENT","HID_USAGE_KEY_KEYPAD_LESS_THAN","HID_USAGE_KEY_KEYPAD_GREATER_THAN","HID_USAGE_KEY_KEYPAD_AMPERSAND","HID_USAGE_KEY_KEYPAD_AMPERSAND_AMPERSAND","HID_USAGE_KEY_KEYPAD_PIPE","HID_USAGE_KEY_KEYPAD_PIPE_PIPE","HID_USAGE_KEY_KEYPAD_COLON","HID_USAGE_KEY_KEYPAD_HASH","HID_USAGE_KEY_KEYPAD_SPACE","HID_USAGE_KEY_KEYPAD_AT","HID_USAGE_KEY_KEYPAD_EXCLAMATION","HID_USAGE_KEY_KEYPAD_MEMORY_STORE","HID_USAGE_KEY_KEYPAD_MEMORY_RECALL","HID_USAGE_KEY_KEYPAD_MEMORY_CLEAR","HID_USAGE_KEY_KEYPAD_MEMORY_ADD","HID_USAGE_KEY_KEYPAD_MEMORY_SUBTRACT","HID_USAGE_KEY_KEYPAD_MEMORY_MULTIPLY","HID_USAGE_KEY_KEYPAD_MEMORY_DIVIDE","HID_USAGE_KEY_KEYPAD_PLUS_MINUS","HID_USAGE_KEY_KEYPAD_CLEAR","HID_USAGE_KEY_KEYPAD_CLEAR_ENTRY","HID_USAGE_KEY_KEYPAD_BINARY","HID_USAGE_KEY_KEYPAD_OCTAL","HID_USAGE_KEY_KEYPAD_DECIMAL","HID_USAGE_KEY_KEYPAD_HEXADECIMAL","HID_USAGE_KEY_KEYBOARD_LEFTCONTROL","HID_USAGE_KEY_KEYBOARD_LEFTSHIFT","HID_USAGE_KEY_KEYBOARD_LEFTALT","HID_USAGE_KEY_KEYBOARD_LEFT_GUI","HID_USAGE_KEY_KEYBOARD_RIGHTCONTROL","HID_USAGE_KEY_KEYBOARD_RIGHTSHIFT","HID_USAGE_KEY_KEYBOARD_RIGHTALT","HID_USAGE_KEY_KEYBOARD_RIGHT_GUI","HID_USAGE_LED_UNDEFINED","HID_USAGE_LED_NUM_LOCK","HID_USAGE_LED_CAPS_LOCK","HID_USAGE_LED_SCROLL_LOCK","HID_USAGE_LED_COMPOSE","HID_USAGE_LED_KANA","HID_USAGE_LED_POWER","HID_USAGE_LED_SHIFT","HID_USAGE_LED_DO_NOT_DISTURB","HID_USAGE_LED_MUTE","HID_USAGE_LED_TONE_ENABLE","HID_USAGE_LED_HIGH_CUT_FILTER","HID_USAGE_LED_LOW_CUT_FILTER","HID_USAGE_LED_EQUALIZER_ENABLE","HID_USAGE_LED_SOUND_FIELD_ON","HID_USAGE_LED_SURROUND_ON","HID_USAGE_LED_REPEAT","HID_USAGE_LED_STEREO","HID_USAGE_LED_SAMPLING_RATE_DETECT","HID_USAGE_LED_SPINNING","HID_USAGE_LED_CAV","HID_USAGE_LED_CLV","HID_USAGE_LED_RECORDING_FORMAT_DETECT","HID_USAGE_LED_OFF_HOOK","HID_USAGE_LED_RING","HID_USAGE_LED_MESSAGE_WAITING","HID_USAGE_LED_DATA_MODE","HID_USAGE_LED_BATTERY_OPERATION","HID_USAGE_LED_BATTERY_OK","HID_USAGE_LED_BATTERY_LOW","HID_USAGE_LED_SPEAKER","HID_USAGE_LED_HEAD_SET","HID_USAGE_LED_HOLD","HID_USAGE_LED_MICROPHONE","HID_USAGE_LED_COVERAGE","HID_USAGE_LED_NIGHT_MODE","HID_USAGE_LED_SEND_CALLS","HID_USAGE_LED_CALL_PICKUP","HID_USAGE_LED_CONFERENCE","HID_USAGE_LED_STAND_BY","HID_USAGE_LED_CAMERA_ON","HID_USAGE_LED_CAMERA_OFF","HID_USAGE_LED_ON_LINE","HID_USAGE_LED_OFF_LINE","HID_USAGE_LED_BUSY","HID_USAGE_LED_READY","HID_USAGE_LED_PAPER_OUT","HID_USAGE_LED_PAPER_JAM","HID_USAGE_LED_REMOTE","HID_USAGE_LED_FORWARD","HID_USAGE_LED_REVERSE","HID_USAGE_LED_STOP","HID_USAGE_LED_REWIND","HID_USAGE_LED_FAST_FORWARD","HID_USAGE_LED_PLAY","HID_USAGE_LED_PAUSE","HID_USAGE_LED_RECORD","HID_USAGE_LED_ERROR","HID_USAGE_LED_USAGE_SELECTED_INDICATOR","HID_USAGE_LED_USAGE_IN_USE_INDICATOR","HID_USAGE_LED_USAGE_MULTI_MODE_INDICATOR","HID_USAGE_LED_INDICATOR_ON","HID_USAGE_LED_INDICATOR_FLASH","HID_USAGE_LED_INDICATOR_SLOW_BLINK","HID_USAGE_LED_INDICATOR_FAST_BLINK","HID_USAGE_LED_INDICATOR_OFF","HID_USAGE_LED_FLASH_ON_TIME","HID_USAGE_LED_SLOW_BLINK_ON_TIME","HID_USAGE_LED_SLOW_BLINK_OFF_TIME","HID_USAGE_LED_FAST_BLINK_ON_TIME","HID_USAGE_LED_FAST_BLINK_OFF_TIME","HID_USAGE_LED_USAGE_INDICATOR_COLOR","HID_USAGE_LED_INDICATOR_RED","HID_USAGE_LED_INDICATOR_GREEN","HID_USAGE_LED_INDICATOR_AMBER","HID_USAGE_LED_GENERIC_INDICATOR","HID_USAGE_LED_SYSTEM_SUSPEND","HID_USAGE_LED_EXTERNAL_POWER_CONNECTED","HID_USAGE_LED_INDICATOR_BLUE","HID_USAGE_LED_INDICATOR_ORANGE","HID_USAGE_LED_GOOD_STATUS","HID_USAGE_LED_WARNING_STATUS","HID_USAGE_LED_RGB_LED","HID_USAGE_LED_RED_LED_CHANNEL","HID_USAGE_LED_BLUE_LED_CHANNEL","HID_USAGE_LED_GREEN_LED_CHANNEL","HID_USAGE_LED_LED_INTENSITY","HID_USAGE_LED_PLAYER_INDICATOR","HID_USAGE_LED_PLAYER_1","HID_USAGE_LED_PLAYER_2","HID_USAGE_LED_PLAYER_3","HID_USAGE_LED_PLAYER_4","HID_USAGE_LED_PLAYER_5","HID_USAGE_LED_PLAYER_6","HID_USAGE_LED_PLAYER_7","HID_USAGE_LED_PLAYER_8","HID_USAGE_TELEPHONY_UNDEFINED","HID_USAGE_TELEPHONY_PHONE","HID_USAGE_TELEPHONY_ANSWERING_MACHINE","HID_USAGE_TELEPHONY_MESSAGE_CONTROLS","HID_USAGE_TELEPHONY_HANDSET","HID_USAGE_TELEPHONY_HEADSET","HID_USAGE_TELEPHONY_TELEPHONY_KEY_PAD","HID_USAGE_TELEPHONY_PROGRAMMABLE_BUTTON","HID_USAGE_TELEPHONY_HOOK_SWITCH","HID_USAGE_TELEPHONY_FLASH","HID_USAGE_TELEPHONY_FEATURE","HID_USAGE_TELEPHONY_HOLD","HID_USAGE_TELEPHONY_REDIAL","HID_USAGE_TELEPHONY_TRANSFER","HID_USAGE_TELEPHONY_DROP","HID_USAGE_TELEPHONY_PARK","HID_USAGE_TELEPHONY_FORWARD_CALLS","HID_USAGE_TELEPHONY_ALTERNATE_FUNCTION","HID_USAGE_TELEPHONY_LINE","HID_USAGE_TELEPHONY_SPEAKER_PHONE","HID_USAGE_TELEPHONY_CONFERENCE","HID_USAGE_TELEPHONY_RING_ENABLE","HID_USAGE_TELEPHONY_RING_SELECT","HID_USAGE_TELEPHONY_PHONE_MUTE","HID_USAGE_TELEPHONY_CALLER_ID","HID_USAGE_TELEPHONY_SEND","HID_USAGE_TELEPHONY_SPEED_DIAL","HID_USAGE_TELEPHONY_STORE_NUMBER","HID_USAGE_TELEPHONY_RECALL_NUMBER","HID_USAGE_TELEPHONY_PHONE_DIRECTORY","HID_USAGE_TELEPHONY_VOICE_MAIL","HID_USAGE_TELEPHONY_SCREEN_CALLS","HID_USAGE_TELEPHONY_DO_NOT_DISTURB","HID_USAGE_TELEPHONY_MESSAGE","HID_USAGE_TELEPHONY_ANSWER_ON_OFF","HID_USAGE_TELEPHONY_INSIDE_DIAL_TONE","HID_USAGE_TELEPHONY_OUTSIDE_DIAL_TONE","HID_USAGE_TELEPHONY_INSIDE_RING_TONE","HID_USAGE_TELEPHONY_OUTSIDE_RING_TONE","HID_USAGE_TELEPHONY_PRIORITY_RING_TONE","HID_USAGE_TELEPHONY_INSIDE_RINGBACK","HID_USAGE_TELEPHONY_PRIORITY_RINGBACK","HID_USAGE_TELEPHONY_LINE_BUSY_TONE","HID_USAGE_TELEPHONY_REORDER_TONE","HID_USAGE_TELEPHONY_CALL_WAITING_TONE","HID_USAGE_TELEPHONY_CONFIRMATION_TONE_1","HID_USAGE_TELEPHONY_CONFIRMATION_TONE_2","HID_USAGE_TELEPHONY_TONES_OFF","HID_USAGE_TELEPHONY_OUTSIDE_RINGBACK","HID_USAGE_TELEPHONY_RINGER","HID_USAGE_TELEPHONY_PHONE_KEY_0","HID_USAGE_TELEPHONY_PHONE_KEY_1","HID_USAGE_TELEPHONY_PHONE_KEY_2","HID_USAGE_TELEPHONY_PHONE_KEY_3","HID_USAGE_TELEPHONY_PHONE_KEY_4","HID_USAGE_TELEPHONY_PHONE_KEY_5","HID_USAGE_TELEPHONY_PHONE_KEY_6","HID_USAGE_TELEPHONY_PHONE_KEY_7","HID_USAGE_TELEPHONY_PHONE_KEY_8","HID_USAGE_TELEPHONY_PHONE_KEY_9","HID_USAGE_TELEPHONY_PHONE_KEY_STAR","HID_USAGE_TELEPHONY_PHONE_KEY_POUND","HID_USAGE_TELEPHONY_PHONE_KEY_A","HID_USAGE_TELEPHONY_PHONE_KEY_B","HID_USAGE_TELEPHONY_PHONE_KEY_C","HID_USAGE_TELEPHONY_PHONE_KEY_D","HID_USAGE_TELEPHONY_PHONE_CALL_HISTORY_KEY","HID_USAGE_TELEPHONY_PHONE_CALLER_ID_KEY","HID_USAGE_TELEPHONY_PHONE_SETTINGS_KEY","HID_USAGE_TELEPHONY_HOST_CONTROL","HID_USAGE_TELEPHONY_HOST_AVAILABLE","HID_USAGE_TELEPHONY_HOST_CALL_ACTIVE","HID_USAGE_TELEPHONY_ACTIVATE_HANDSET_AUDIO","HID_USAGE_TELEPHONY_RING_TYPE","HID_USAGE_TELEPHONY_RE_DIALABLE_PHONE_NUMBER","HID_USAGE_TELEPHONY_STOP_RING_TONE","HID_USAGE_TELEPHONY_PSTN_RING_TONE","HID_USAGE_TELEPHONY_HOST_RING_TONE","HID_USAGE_TELEPHONY_ALERT_SOUND_ERROR","HID_USAGE_TELEPHONY_ALERT_SOUND_CONFIRM","HID_USAGE_TELEPHONY_ALERT_SOUND_NOTIFICATION","HID_USAGE_TELEPHONY_SILENT_RING","HID_USAGE_TELEPHONY_EMAIL_MESSAGE_WAITING","HID_USAGE_TELEPHONY_VOICEMAIL_MESSAGE_WAITING","HID_USAGE_TELEPHONY_HOST_HOLD","HID_USAGE_TELEPHONY_INCOMING_CALL_HISTORY_COUNT","HID_USAGE_TELEPHONY_OUTGOING_CALL_HISTORY_COUNT","HID_USAGE_TELEPHONY_INCOMING_CALL_HISTORY","HID_USAGE_TELEPHONY_OUTGOING_CALL_HISTORY","HID_USAGE_TELEPHONY_PHONE_LOCALE","HID_USAGE_TELEPHONY_PHONE_TIME_SECOND","HID_USAGE_TELEPHONY_PHONE_TIME_MINUTE","HID_USAGE_TELEPHONY_PHONE_TIME_HOUR","HID_USAGE_TELEPHONY_PHONE_DATE_DAY","HID_USAGE_TELEPHONY_PHONE_DATE_MONTH","HID_USAGE_TELEPHONY_PHONE_DATE_YEAR","HID_USAGE_TELEPHONY_HANDSET_NICKNAME","HID_USAGE_TELEPHONY_ADDRESS_BOOK_ID","HID_USAGE_TELEPHONY_CALL_DURATION","HID_USAGE_TELEPHONY_DUAL_MODE_PHONE","HID_USAGE_CONSUMER_UNDEFINED","HID_USAGE_CONSUMER_CONSUMER_CONTROL","HID_USAGE_CONSUMER_NUMERIC_KEY_PAD","HID_USAGE_CONSUMER_PROGRAMMABLE_BUTTONS","HID_USAGE_CONSUMER_MICROPHONE","HID_USAGE_CONSUMER_HEADPHONE","HID_USAGE_CONSUMER_GRAPHIC_EQUALIZER","HID_USAGE_CONSUMER_INCREMENT10","HID_USAGE_CONSUMER_INCREMENT100","HID_USAGE_CONSUMER_AM_PM","HID_USAGE_CONSUMER_POWER","HID_USAGE_CONSUMER_RESET","HID_USAGE_CONSUMER_SLEEP","HID_USAGE_CONSUMER_SLEEP_AFTER","HID_USAGE_CONSUMER_SLEEP_MODE","HID_USAGE_CONSUMER_ILLUMINATION","HID_USAGE_CONSUMER_FUNCTION_BUTTONS","HID_USAGE_CONSUMER_MENU","HID_USAGE_CONSUMER_MENU_PICK","HID_USAGE_CONSUMER_MENU_UP","HID_USAGE_CONSUMER_MENU_DOWN","HID_USAGE_CONSUMER_MENU_LEFT","HID_USAGE_CONSUMER_MENU_RIGHT","HID_USAGE_CONSUMER_MENU_ESCAPE","HID_USAGE_CONSUMER_MENU_VALUE_INCREASE","HID_USAGE_CONSUMER_MENU_VALUE_DECREASE","HID_USAGE_CONSUMER_DATA_ON_SCREEN","HID_USAGE_CONSUMER_CLOSED_CAPTION","HID_USAGE_CONSUMER_CLOSED_CAPTION_SELECT","HID_USAGE_CONSUMER_VCR_TV","HID_USAGE_CONSUMER_BROADCAST_MODE","HID_USAGE_CONSUMER_SNAPSHOT","HID_USAGE_CONSUMER_STILL","HID_USAGE_CONSUMER_PICTURE_IN_PICTURE_TOGGLE","HID_USAGE_CONSUMER_PICTURE_IN_PICTURE_SWAP","HID_USAGE_CONSUMER_RED_MENU_BUTTON","HID_USAGE_CONSUMER_GREEN_MENU_BUTTON","HID_USAGE_CONSUMER_BLUE_MENU_BUTTON","HID_USAGE_CONSUMER_YELLOW_MENU_BUTTON","HID_USAGE_CONSUMER_ASPECT","HID_USAGE_CONSUMER_3D_MODE_SELECT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS_INCREMENT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS_DECREMENT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS","HID_USAGE_CONSUMER_DISPLAY_BACKLIGHT_TOGGLE","HID_USAGE_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MINIMUM","HID_USAGE_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MAXIMUM","HID_USAGE_CONSUMER_DISPLAY_SET_AUTO_BRIGHTNESS","HID_USAGE_CONSUMER_CAMERA_ACCESS_ENABLED","HID_USAGE_CONSUMER_CAMERA_ACCESS_DISABLED","HID_USAGE_CONSUMER_CAMERA_ACCESS_TOGGLE","HID_USAGE_CONSUMER_KEYBOARD_BRIGHTNESS_INCREMENT","HID_USAGE_CONSUMER_KEYBOARD_BRIGHTNESS_DECREMENT","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_LEVEL","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_OOC","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_MINIMUM","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_MAXIMUM","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_AUTO","HID_USAGE_CONSUMER_SELECTION","HID_USAGE_CONSUMER_ASSIGN_SELECTION","HID_USAGE_CONSUMER_MODE_STEP","HID_USAGE_CONSUMER_RECALL_LAST","HID_USAGE_CONSUMER_ENTER_CHANNEL","HID_USAGE_CONSUMER_ORDER_MOVIE","HID_USAGE_CONSUMER_CHANNEL","HID_USAGE_CONSUMER_MEDIA_SELECTION","HID_USAGE_CONSUMER_MEDIA_SELECT_COMPUTER","HID_USAGE_CONSUMER_MEDIA_SELECT_TV","HID_USAGE_CONSUMER_MEDIA_SELECT_WWW","HID_USAGE_CONSUMER_MEDIA_SELECT_DVD","HID_USAGE_CONSUMER_MEDIA_SELECT_TELEPHONE","HID_USAGE_CONSUMER_MEDIA_SELECT_PROGRAM_GUIDE","HID_USAGE_CONSUMER_MEDIA_SELECT_VIDEO_PHONE","HID_USAGE_CONSUMER_MEDIA_SELECT_GAMES","HID_USAGE_CONSUMER_MEDIA_SELECT_MESSAGES","HID_USAGE_CONSUMER_MEDIA_SELECT_CD","HID_USAGE_CONSUMER_MEDIA_SELECT_VCR","HID_USAGE_CONSUMER_MEDIA_SELECT_TUNER","HID_USAGE_CONSUMER_QUIT","HID_USAGE_CONSUMER_HELP","HID_USAGE_CONSUMER_MEDIA_SELECT_TAPE","HID_USAGE_CONSUMER_MEDIA_SELECT_CABLE","HID_USAGE_CONSUMER_MEDIA_SELECT_SATELLITE","HID_USAGE_CONSUMER_MEDIA_SELECT_SECURITY","HID_USAGE_CONSUMER_MEDIA_SELECT_HOME","HID_USAGE_CONSUMER_MEDIA_SELECT_CALL","HID_USAGE_CONSUMER_CHANNEL_INCREMENT","HID_USAGE_CONSUMER_CHANNEL_DECREMENT","HID_USAGE_CONSUMER_MEDIA_SELECT_SAP","HID_USAGE_CONSUMER_VCR_PLUS","HID_USAGE_CONSUMER_ONCE","HID_USAGE_CONSUMER_DAILY","HID_USAGE_CONSUMER_WEEKLY","HID_USAGE_CONSUMER_MONTHLY","HID_USAGE_CONSUMER_PLAY","HID_USAGE_CONSUMER_PAUSE","HID_USAGE_CONSUMER_RECORD","HID_USAGE_CONSUMER_FAST_FORWARD","HID_USAGE_CONSUMER_REWIND","HID_USAGE_CONSUMER_SCAN_NEXT_TRACK","HID_USAGE_CONSUMER_SCAN_PREVIOUS_TRACK","HID_USAGE_CONSUMER_STOP","HID_USAGE_CONSUMER_EJECT","HID_USAGE_CONSUMER_RANDOM_PLAY","HID_USAGE_CONSUMER_SELECT_DISC","HID_USAGE_CONSUMER_ENTER_DISC","HID_USAGE_CONSUMER_REPEAT","HID_USAGE_CONSUMER_TRACKING","HID_USAGE_CONSUMER_TRACK_NORMAL","HID_USAGE_CONSUMER_SLOW_TRACKING","HID_USAGE_CONSUMER_FRAME_FORWARD","HID_USAGE_CONSUMER_FRAME_BACK","HID_USAGE_CONSUMER_MARK","HID_USAGE_CONSUMER_CLEAR_MARK","HID_USAGE_CONSUMER_REPEAT_FROM_MARK","HID_USAGE_CONSUMER_RETURN_TO_MARK","HID_USAGE_CONSUMER_SEARCH_MARK_FORWARD","HID_USAGE_CONSUMER_SEARCH_MARK_BACKWARDS","HID_USAGE_CONSUMER_COUNTER_RESET","HID_USAGE_CONSUMER_SHOW_COUNTER","HID_USAGE_CONSUMER_TRACKING_INCREMENT","HID_USAGE_CONSUMER_TRACKING_DECREMENT","HID_USAGE_CONSUMER_STOP_EJECT","HID_USAGE_CONSUMER_PLAY_PAUSE","HID_USAGE_CONSUMER_PLAY_SKIP","HID_USAGE_CONSUMER_VOICE_COMMAND","HID_USAGE_CONSUMER_INVOKE_CAPTURE_INTERFACE","HID_USAGE_CONSUMER_START_OR_STOP_GAME_RECORDING","HID_USAGE_CONSUMER_HISTORICAL_GAME_CAPTURE","HID_USAGE_CONSUMER_CAPTURE_GAME_SCREENSHOT","HID_USAGE_CONSUMER_SHOW_OR_HIDE_RECORDING_INDICATOR","HID_USAGE_CONSUMER_START_OR_STOP_MICROPHONE_CAPTURE","HID_USAGE_CONSUMER_START_OR_STOP_CAMERA_CAPTURE","HID_USAGE_CONSUMER_START_OR_STOP_GAME_BROADCAST","HID_USAGE_CONSUMER_VOLUME","HID_USAGE_CONSUMER_BALANCE","HID_USAGE_CONSUMER_MUTE","HID_USAGE_CONSUMER_BASS","HID_USAGE_CONSUMER_TREBLE","HID_USAGE_CONSUMER_BASS_BOOST","HID_USAGE_CONSUMER_SURROUND_MODE","HID_USAGE_CONSUMER_LOUDNESS","HID_USAGE_CONSUMER_MPX","HID_USAGE_CONSUMER_VOLUME_INCREMENT","HID_USAGE_CONSUMER_VOLUME_DECREMENT","HID_USAGE_CONSUMER_SPEED_SELECT","HID_USAGE_CONSUMER_PLAYBACK_SPEED","HID_USAGE_CONSUMER_STANDARD_PLAY","HID_USAGE_CONSUMER_LONG_PLAY","HID_USAGE_CONSUMER_EXTENDED_PLAY","HID_USAGE_CONSUMER_SLOW","HID_USAGE_CONSUMER_FAN_ENABLE","HID_USAGE_CONSUMER_FAN_SPEED","HID_USAGE_CONSUMER_LIGHT_ENABLE","HID_USAGE_CONSUMER_LIGHT_ILLUMINATION_LEVEL","HID_USAGE_CONSUMER_CLIMATE_CONTROL_ENABLE","HID_USAGE_CONSUMER_ROOM_TEMPERATURE","HID_USAGE_CONSUMER_SECURITY_ENABLE","HID_USAGE_CONSUMER_FIRE_ALARM","HID_USAGE_CONSUMER_POLICE_ALARM","HID_USAGE_CONSUMER_PROXIMITY","HID_USAGE_CONSUMER_MOTION","HID_USAGE_CONSUMER_DURESS_ALARM","HID_USAGE_CONSUMER_HOLDUP_ALARM","HID_USAGE_CONSUMER_MEDICAL_ALARM","HID_USAGE_CONSUMER_BALANCE_RIGHT","HID_USAGE_CONSUMER_BALANCE_LEFT","HID_USAGE_CONSUMER_BASS_INCREMENT","HID_USAGE_CONSUMER_BASS_DECREMENT","HID_USAGE_CONSUMER_TREBLE_INCREMENT","HID_USAGE_CONSUMER_TREBLE_DECREMENT","HID_USAGE_CONSUMER_SPEAKER_SYSTEM","HID_USAGE_CONSUMER_CHANNEL_LEFT","HID_USAGE_CONSUMER_CHANNEL_RIGHT","HID_USAGE_CONSUMER_CHANNEL_CENTER","HID_USAGE_CONSUMER_CHANNEL_FRONT","HID_USAGE_CONSUMER_CHANNEL_CENTER_FRONT","HID_USAGE_CONSUMER_CHANNEL_SIDE","HID_USAGE_CONSUMER_CHANNEL_SURROUND","HID_USAGE_CONSUMER_CHANNEL_LOW_FREQUENCY_ENHANCEMENT","HID_USAGE_CONSUMER_CHANNEL_TOP","HID_USAGE_CONSUMER_CHANNEL_UNKNOWN","HID_USAGE_CONSUMER_SUB_CHANNEL","HID_USAGE_CONSUMER_SUB_CHANNEL_INCREMENT","HID_USAGE_CONSUMER_SUB_CHANNEL_DECREMENT","HID_USAGE_CONSUMER_ALTERNATE_AUDIO_INCREMENT","HID_USAGE_CONSUMER_ALTERNATE_AUDIO_DECREMENT","HID_USAGE_CONSUMER_APPLICATION_LAUNCH_BUTTONS","HID_USAGE_CONSUMER_AL_LAUNCH_BUTTON_CONFIGURATION_TOOL","HID_USAGE_CONSUMER_AL_PROGRAMMABLE_BUTTON_CONFIGURATION","HID_USAGE_CONSUMER_AL_CONSUMER_CONTROL_CONFIGURATION","HID_USAGE_CONSUMER_AL_WORD_PROCESSOR","HID_USAGE_CONSUMER_AL_TEXT_EDITOR","HID_USAGE_CONSUMER_AL_SPREADSHEET","HID_USAGE_CONSUMER_AL_GRAPHICS_EDITOR","HID_USAGE_CONSUMER_AL_PRESENTATION_APP","HID_USAGE_CONSUMER_AL_DATABASE_APP","HID_USAGE_CONSUMER_AL_EMAIL_READER","HID_USAGE_CONSUMER_AL_NEWSREADER","HID_USAGE_CONSUMER_AL_VOICEMAIL","HID_USAGE_CONSUMER_AL_CONTACTS_ADDRESS_BOOK","HID_USAGE_CONSUMER_AL_CALENDAR_SCHEDULE","HID_USAGE_CONSUMER_AL_TASK_PROJECT_MANAGER","HID_USAGE_CONSUMER_AL_LOG_JOURNAL_TIMECARD","HID_USAGE_CONSUMER_AL_CHECKBOOK_FINANCE","HID_USAGE_CONSUMER_AL_CALCULATOR","HID_USAGE_CONSUMER_AL_A_V_CAPTURE_PLAYBACK","HID_USAGE_CONSUMER_AL_LOCAL_MACHINE_BROWSER","HID_USAGE_CONSUMER_AL_LAN_WAN_BROWSER","HID_USAGE_CONSUMER_AL_INTERNET_BROWSER","HID_USAGE_CONSUMER_AL_REMOTE_NETWORKING_ISP_CONNECT","HID_USAGE_CONSUMER_AL_NETWORK_CONFERENCE","HID_USAGE_CONSUMER_AL_NETWORK_CHAT","HID_USAGE_CONSUMER_AL_TELEPHONY_DIALER","HID_USAGE_CONSUMER_AL_LOGON","HID_USAGE_CONSUMER_AL_LOGOFF","HID_USAGE_CONSUMER_AL_LOGON_LOGOFF","HID_USAGE_CONSUMER_AL_TERMINAL_LOCK_SCREENSAVER","HID_USAGE_CONSUMER_AL_CONTROL_PANEL","HID_USAGE_CONSUMER_AL_COMMAND_LINE_PROCESSOR_RUN","HID_USAGE_CONSUMER_AL_PROCESS_TASK_MANAGER","HID_USAGE_CONSUMER_AL_SELECT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_NEXT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_PREVIOUS_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_PREEMPTIVE_HALT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_INTEGRATED_HELP_CENTER","HID_USAGE_CONSUMER_AL_DOCUMENTS","HID_USAGE_CONSUMER_AL_THESAURUS","HID_USAGE_CONSUMER_AL_DICTIONARY","HID_USAGE_CONSUMER_AL_DESKTOP","HID_USAGE_CONSUMER_AL_SPELL_CHECK","HID_USAGE_CONSUMER_AL_GRAMMAR_CHECK","HID_USAGE_CONSUMER_AL_WIRELESS_STATUS","HID_USAGE_CONSUMER_AL_KEYBOARD_LAYOUT","HID_USAGE_CONSUMER_AL_VIRUS_PROTECTION","HID_USAGE_CONSUMER_AL_ENCRYPTION","HID_USAGE_CONSUMER_AL_SCREEN_SAVER","HID_USAGE_CONSUMER_AL_ALARMS","HID_USAGE_CONSUMER_AL_CLOCK","HID_USAGE_CONSUMER_AL_FILE_BROWSER","HID_USAGE_CONSUMER_AL_POWER_STATUS","HID_USAGE_CONSUMER_AL_IMAGE_BROWSER","HID_USAGE_CONSUMER_AL_AUDIO_BROWSER","HID_USAGE_CONSUMER_AL_MOVIE_BROWSER","HID_USAGE_CONSUMER_AL_DIGITAL_RIGHTS_MANAGER","HID_USAGE_CONSUMER_AL_DIGITAL_WALLET","HID_USAGE_CONSUMER_AL_INSTANT_MESSAGING","HID_USAGE_CONSUMER_AL_OEM_FEATURES_TIPS_TUTORIAL_BROWSER","HID_USAGE_CONSUMER_AL_OEM_HELP","HID_USAGE_CONSUMER_AL_ONLINE_COMMUNITY","HID_USAGE_CONSUMER_AL_ENTERTAINMENT_CONTENT_BROWSER","HID_USAGE_CONSUMER_AL_ONLINE_SHOPPING_BROWSER","HID_USAGE_CONSUMER_AL_SMARTCARD_INFORMATION_HELP","HID_USAGE_CONSUMER_AL_MARKET_MONITOR_FINANCE_BROWSER","HID_USAGE_CONSUMER_AL_CUSTOMIZED_CORPORATE_NEWS_BROWSER","HID_USAGE_CONSUMER_AL_ONLINE_ACTIVITY_BROWSER","HID_USAGE_CONSUMER_AL_RESEARCH_SEARCH_BROWSER","HID_USAGE_CONSUMER_AL_AUDIO_PLAYER","HID_USAGE_CONSUMER_AL_MESSAGE_STATUS","HID_USAGE_CONSUMER_AL_CONTACT_SYNC","HID_USAGE_CONSUMER_AL_NAVIGATION","HID_USAGE_CONSUMER_AL_CONTEXT_AWARE_DESKTOP_ASSISTANT","HID_USAGE_CONSUMER_GENERIC_GUI_APPLICATION_CONTROLS","HID_USAGE_CONSUMER_AC_NEW","HID_USAGE_CONSUMER_AC_OPEN","HID_USAGE_CONSUMER_AC_CLOSE","HID_USAGE_CONSUMER_AC_EXIT","HID_USAGE_CONSUMER_AC_MAXIMIZE","HID_USAGE_CONSUMER_AC_MINIMIZE","HID_USAGE_CONSUMER_AC_SAVE","HID_USAGE_CONSUMER_AC_PRINT","HID_USAGE_CONSUMER_AC_PROPERTIES","HID_USAGE_CONSUMER_AC_UNDO","HID_USAGE_CONSUMER_AC_COPY","HID_USAGE_CONSUMER_AC_CUT","HID_USAGE_CONSUMER_AC_PASTE","HID_USAGE_CONSUMER_AC_SELECT_ALL","HID_USAGE_CONSUMER_AC_FIND","HID_USAGE_CONSUMER_AC_FIND_AND_REPLACE","HID_USAGE_CONSUMER_AC_SEARCH","HID_USAGE_CONSUMER_AC_GO_TO","HID_USAGE_CONSUMER_AC_HOME","HID_USAGE_CONSUMER_AC_BACK","HID_USAGE_CONSUMER_AC_FORWARD","HID_USAGE_CONSUMER_AC_STOP","HID_USAGE_CONSUMER_AC_REFRESH","HID_USAGE_CONSUMER_AC_PREVIOUS_LINK","HID_USAGE_CONSUMER_AC_NEXT_LINK","HID_USAGE_CONSUMER_AC_BOOKMARKS","HID_USAGE_CONSUMER_AC_HISTORY","HID_USAGE_CONSUMER_AC_SUBSCRIPTIONS","HID_USAGE_CONSUMER_AC_ZOOM_IN","HID_USAGE_CONSUMER_AC_ZOOM_OUT","HID_USAGE_CONSUMER_AC_ZOOM","HID_USAGE_CONSUMER_AC_FULL_SCREEN_VIEW","HID_USAGE_CONSUMER_AC_NORMAL_VIEW","HID_USAGE_CONSUMER_AC_VIEW_TOGGLE","HID_USAGE_CONSUMER_AC_SCROLL_UP","HID_USAGE_CONSUMER_AC_SCROLL_DOWN","HID_USAGE_CONSUMER_AC_SCROLL","HID_USAGE_CONSUMER_AC_PAN_LEFT","HID_USAGE_CONSUMER_AC_PAN_RIGHT","HID_USAGE_CONSUMER_AC_PAN","HID_USAGE_CONSUMER_AC_NEW_WINDOW","HID_USAGE_CONSUMER_AC_TILE_HORIZONTALLY","HID_USAGE_CONSUMER_AC_TILE_VERTICALLY","HID_USAGE_CONSUMER_AC_FORMAT","HID_USAGE_CONSUMER_AC_EDIT","HID_USAGE_CONSUMER_AC_BOLD","HID_USAGE_CONSUMER_AC_ITALICS","HID_USAGE_CONSUMER_AC_UNDERLINE","HID_USAGE_CONSUMER_AC_STRIKETHROUGH","HID_USAGE_CONSUMER_AC_SUBSCRIPT","HID_USAGE_CONSUMER_AC_SUPERSCRIPT","HID_USAGE_CONSUMER_AC_ALL_CAPS","HID_USAGE_CONSUMER_AC_ROTATE","HID_USAGE_CONSUMER_AC_RESIZE","HID_USAGE_CONSUMER_AC_FLIP_HORIZONTAL","HID_USAGE_CONSUMER_AC_FLIP_VERTICAL","HID_USAGE_CONSUMER_AC_MIRROR_HORIZONTAL","HID_USAGE_CONSUMER_AC_MIRROR_VERTICAL","HID_USAGE_CONSUMER_AC_FONT_SELECT","HID_USAGE_CONSUMER_AC_FONT_COLOR","HID_USAGE_CONSUMER_AC_FONT_SIZE","HID_USAGE_CONSUMER_AC_JUSTIFY_LEFT","HID_USAGE_CONSUMER_AC_JUSTIFY_CENTER_H","HID_USAGE_CONSUMER_AC_JUSTIFY_RIGHT","HID_USAGE_CONSUMER_AC_JUSTIFY_BLOCK_H","HID_USAGE_CONSUMER_AC_JUSTIFY_TOP","HID_USAGE_CONSUMER_AC_JUSTIFY_CENTER_V","HID_USAGE_CONSUMER_AC_JUSTIFY_BOTTOM","HID_USAGE_CONSUMER_AC_JUSTIFY_BLOCK_V","HID_USAGE_CONSUMER_AC_INDENT_DECREASE","HID_USAGE_CONSUMER_AC_INDENT_INCREASE","HID_USAGE_CONSUMER_AC_NUMBERED_LIST","HID_USAGE_CONSUMER_AC_RESTART_NUMBERING","HID_USAGE_CONSUMER_AC_BULLETED_LIST","HID_USAGE_CONSUMER_AC_PROMOTE","HID_USAGE_CONSUMER_AC_DEMOTE","HID_USAGE_CONSUMER_AC_YES","HID_USAGE_CONSUMER_AC_NO","HID_USAGE_CONSUMER_AC_CANCEL","HID_USAGE_CONSUMER_AC_CATALOG","HID_USAGE_CONSUMER_AC_BUY_CHECKOUT","HID_USAGE_CONSUMER_AC_ADD_TO_CART","HID_USAGE_CONSUMER_AC_EXPAND","HID_USAGE_CONSUMER_AC_EXPAND_ALL","HID_USAGE_CONSUMER_AC_COLLAPSE","HID_USAGE_CONSUMER_AC_COLLAPSE_ALL","HID_USAGE_CONSUMER_AC_PRINT_PREVIEW","HID_USAGE_CONSUMER_AC_PASTE_SPECIAL","HID_USAGE_CONSUMER_AC_INSERT_MODE","HID_USAGE_CONSUMER_AC_DELETE","HID_USAGE_CONSUMER_AC_LOCK","HID_USAGE_CONSUMER_AC_UNLOCK","HID_USAGE_CONSUMER_AC_PROTECT","HID_USAGE_CONSUMER_AC_UNPROTECT","HID_USAGE_CONSUMER_AC_ATTACH_COMMENT","HID_USAGE_CONSUMER_AC_DELETE_COMMENT","HID_USAGE_CONSUMER_AC_VIEW_COMMENT","HID_USAGE_CONSUMER_AC_SELECT_WORD","HID_USAGE_CONSUMER_AC_SELECT_SENTENCE","HID_USAGE_CONSUMER_AC_SELECT_PARAGRAPH","HID_USAGE_CONSUMER_AC_SELECT_COLUMN","HID_USAGE_CONSUMER_AC_SELECT_ROW","HID_USAGE_CONSUMER_AC_SELECT_TABLE","HID_USAGE_CONSUMER_AC_SELECT_OBJECT","HID_USAGE_CONSUMER_AC_REDO_REPEAT","HID_USAGE_CONSUMER_AC_SORT","HID_USAGE_CONSUMER_AC_SORT_ASCENDING","HID_USAGE_CONSUMER_AC_SORT_DESCENDING","HID_USAGE_CONSUMER_AC_FILTER","HID_USAGE_CONSUMER_AC_SET_CLOCK","HID_USAGE_CONSUMER_AC_VIEW_CLOCK","HID_USAGE_CONSUMER_AC_SELECT_TIME_ZONE","HID_USAGE_CONSUMER_AC_EDIT_TIME_ZONES","HID_USAGE_CONSUMER_AC_SET_ALARM","HID_USAGE_CONSUMER_AC_CLEAR_ALARM","HID_USAGE_CONSUMER_AC_SNOOZE_ALARM","HID_USAGE_CONSUMER_AC_RESET_ALARM","HID_USAGE_CONSUMER_AC_SYNCHRONIZE","HID_USAGE_CONSUMER_AC_SEND_RECEIVE","HID_USAGE_CONSUMER_AC_SEND_TO","HID_USAGE_CONSUMER_AC_REPLY","HID_USAGE_CONSUMER_AC_REPLY_ALL","HID_USAGE_CONSUMER_AC_FORWARD_MSG","HID_USAGE_CONSUMER_AC_SEND","HID_USAGE_CONSUMER_AC_ATTACH_FILE","HID_USAGE_CONSUMER_AC_UPLOAD","HID_USAGE_CONSUMER_AC_DOWNLOAD_SAVE_TARGET_AS","HID_USAGE_CONSUMER_AC_SET_BORDERS","HID_USAGE_CONSUMER_AC_INSERT_ROW","HID_USAGE_CONSUMER_AC_INSERT_COLUMN","HID_USAGE_CONSUMER_AC_INSERT_FILE","HID_USAGE_CONSUMER_AC_INSERT_PICTURE","HID_USAGE_CONSUMER_AC_INSERT_OBJECT","HID_USAGE_CONSUMER_AC_INSERT_SYMBOL","HID_USAGE_CONSUMER_AC_SAVE_AND_CLOSE","HID_USAGE_CONSUMER_AC_RENAME","HID_USAGE_CONSUMER_AC_MERGE","HID_USAGE_CONSUMER_AC_SPLIT","HID_USAGE_CONSUMER_AC_DISRIBUTE_HORIZONTALLY","HID_USAGE_CONSUMER_AC_DISTRIBUTE_VERTICALLY","HID_USAGE_CONSUMER_AC_NEXT_KEYBOARD_LAYOUT_SELECT","HID_USAGE_CONSUMER_AC_NAVIGATION_GUIDANCE","HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_WINDOWS","HID_USAGE_CONSUMER_AC_SOFT_KEY_LEFT","HID_USAGE_CONSUMER_AC_SOFT_KEY_RIGHT","HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_APPLICATIONS","HID_USAGE_CONSUMER_AC_IDLE_KEEP_ALIVE","HID_USAGE_CONSUMER_EXTENDED_KEYBOARD_ATTRIBUTES_COLLECTION","HID_USAGE_CONSUMER_KEYBOARD_FORM_FACTOR","HID_USAGE_CONSUMER_KEYBOARD_KEY_TYPE","HID_USAGE_CONSUMER_KEYBOARD_PHYSICAL_LAYOUT","HID_USAGE_CONSUMER_VENDOR_SPECIFIC_KEYBOARD_PHYSICAL_LAYOUT","HID_USAGE_CONSUMER_KEYBOARD_IETF_LANGUAGE_TAG_INDEX","HID_USAGE_CONSUMER_IMPLEMENTED_KEYBOARD_INPUT_ASSIST_CONTROLS","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_ACCEPT","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_CANCEL","HID_USAGE_CONSUMER_PRIVACY_SCREEN_TOGGLE","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_DECREMENT","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_INCREMENT","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_MINIMUM","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_MAXIMUM","HID_USAGE_CONSUMER_CONTACT_EDITED","HID_USAGE_CONSUMER_CONTACT_ADDED","HID_USAGE_CONSUMER_CONTACT_RECORD_ACTIVE","HID_USAGE_CONSUMER_CONTACT_INDEX","HID_USAGE_CONSUMER_CONTACT_NICKNAME","HID_USAGE_CONSUMER_CONTACT_FIRST_NAME","HID_USAGE_CONSUMER_CONTACT_LAST_NAME","HID_USAGE_CONSUMER_CONTACT_FULL_NAME","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_PERSONAL","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_BUSINESS","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_MOBILE","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_PAGER","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_FAX","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_OTHER","HID_USAGE_CONSUMER_CONTACT_EMAIL_PERSONAL","HID_USAGE_CONSUMER_CONTACT_EMAIL_BUSINESS","HID_USAGE_CONSUMER_CONTACT_EMAIL_OTHER","HID_USAGE_CONSUMER_CONTACT_EMAIL_MAIN","HID_USAGE_CONSUMER_CONTACT_SPEED_DIAL_NUMBER","HID_USAGE_CONSUMER_CONTACT_STATUS_FLAG","HID_USAGE_CONSUMER_CONTACT_MISC","HID_USAGE_DIGITIZERS_UNDEFINED","HID_USAGE_DIGITIZERS_DIGITIZER","HID_USAGE_DIGITIZERS_PEN","HID_USAGE_DIGITIZERS_LIGHT_PEN","HID_USAGE_DIGITIZERS_TOUCH_SCREEN","HID_USAGE_DIGITIZERS_TOUCH_PAD","HID_USAGE_DIGITIZERS_WHITEBOARD","HID_USAGE_DIGITIZERS_COORDINATE_MEASURING_MACHINE","HID_USAGE_DIGITIZERS_3D_DIGITIZER","HID_USAGE_DIGITIZERS_STEREO_PLOTTER","HID_USAGE_DIGITIZERS_ARTICULATED_ARM","HID_USAGE_DIGITIZERS_ARMATURE","HID_USAGE_DIGITIZERS_MULTIPLE_POINT_DIGITIZER","HID_USAGE_DIGITIZERS_FREE_SPACE_WAND","HID_USAGE_DIGITIZERS_DEVICE_CONFIGURATION","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_DIGITIZER","HID_USAGE_DIGITIZERS_STYLUS","HID_USAGE_DIGITIZERS_PUCK","HID_USAGE_DIGITIZERS_FINGER","HID_USAGE_DIGITIZERS_DEVICE_SETTINGS","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE","HID_USAGE_DIGITIZERS_TIP_PRESSURE","HID_USAGE_DIGITIZERS_BARREL_PRESSURE","HID_USAGE_DIGITIZERS_IN_RANGE","HID_USAGE_DIGITIZERS_TOUCH","HID_USAGE_DIGITIZERS_UNTOUCH","HID_USAGE_DIGITIZERS_TAP","HID_USAGE_DIGITIZERS_QUALITY","HID_USAGE_DIGITIZERS_DATA_VALID","HID_USAGE_DIGITIZERS_TRANSDUCER_INDEX","HID_USAGE_DIGITIZERS_TABLET_FUNCTION_KEYS","HID_USAGE_DIGITIZERS_PROGRAM_CHANGE_KEYS","HID_USAGE_DIGITIZERS_BATTERY_STRENGTH","HID_USAGE_DIGITIZERS_INVERT","HID_USAGE_DIGITIZERS_X_TILT","HID_USAGE_DIGITIZERS_Y_TILT","HID_USAGE_DIGITIZERS_AZIMUTH","HID_USAGE_DIGITIZERS_ALTITUDE","HID_USAGE_DIGITIZERS_TWIST","HID_USAGE_DIGITIZERS_TIP_SWITCH","HID_USAGE_DIGITIZERS_SECONDARY_TIP_SWITCH","HID_USAGE_DIGITIZERS_BARREL_SWITCH","HID_USAGE_DIGITIZERS_ERASER","HID_USAGE_DIGITIZERS_TABLET_PICK","HID_USAGE_DIGITIZERS_TOUCH_VALID","HID_USAGE_DIGITIZERS_WIDTH","HID_USAGE_DIGITIZERS_HEIGHT","HID_USAGE_DIGITIZERS_CONTACT_IDENTIFIER","HID_USAGE_DIGITIZERS_DEVICE_MODE","HID_USAGE_DIGITIZERS_DEVICE_IDENTIFIER","HID_USAGE_DIGITIZERS_CONTACT_COUNT","HID_USAGE_DIGITIZERS_CONTACT_COUNT_MAXIMUM","HID_USAGE_DIGITIZERS_SCAN_TIME","HID_USAGE_DIGITIZERS_SURFACE_SWITCH","HID_USAGE_DIGITIZERS_BUTTON_SWITCH","HID_USAGE_DIGITIZERS_PAD_TYPE","HID_USAGE_DIGITIZERS_SECONDARY_BARREL_SWITCH","HID_USAGE_DIGITIZERS_TRANSDUCER_SERIAL_NUMBER","HID_USAGE_DIGITIZERS_PREFERRED_COLOR","HID_USAGE_DIGITIZERS_PREFERRED_COLOR_IS_LOCKED","HID_USAGE_DIGITIZERS_PREFERRED_LINE_WIDTH","HID_USAGE_DIGITIZERS_PREFERRED_LINE_WIDTH_IS_LOCKED","HID_USAGE_DIGITIZERS_LATENCY_MODE","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_QUALITY","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE_DATA_LENGTH","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE_DATA","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_ENCODING","HID_USAGE_DIGITIZERS_UTF8_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF16_LITTLE_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF16_BIG_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF32_LITTLE_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF32_BIG_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_PROTOCOL_VENDOR_ID","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_PROTOCOL_VERSION","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_FRAME_DATA","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_ENABLE","HID_USAGE_DIGITIZERS_PREFERRED_LINE_STYLE","HID_USAGE_DIGITIZERS_PREFERRED_LINE_STYLE_IS_LOCKED","HID_USAGE_DIGITIZERS_INK","HID_USAGE_DIGITIZERS_PENCIL","HID_USAGE_DIGITIZERS_HIGHLIGHTER","HID_USAGE_DIGITIZERS_CHISEL_MARKER","HID_USAGE_DIGITIZERS_BRUSH","HID_USAGE_DIGITIZERS_NO_PREFERENCE","HID_USAGE_DIGITIZERS_DIGITIZER_DIAGNOSTIC","HID_USAGE_DIGITIZERS_DIGITIZER_ERROR","HID_USAGE_DIGITIZERS_ERR_NORMAL_STATUS","HID_USAGE_DIGITIZERS_ERR_TRANSDUCERS_EXCEEDED","HID_USAGE_DIGITIZERS_ERR_FULL_TRANS_FEATURES_UNAVAILABLE","HID_USAGE_DIGITIZERS_ERR_CHARGE_LOW","HID_USAGE_DIGITIZERS_TRANSDUCER_SOFTWARE_INFO","HID_USAGE_DIGITIZERS_TRANSDUCER_VENDOR_ID","HID_USAGE_DIGITIZERS_TRANSDUCER_PRODUCT_ID","HID_USAGE_DIGITIZERS_DEVICE_SUPPORTED_PROTOCOLS","HID_USAGE_DIGITIZERS_TRANSDUCER_SUPPORTED_PROTOCOLS","HID_USAGE_DIGITIZERS_NO_PROTOCOL","HID_USAGE_DIGITIZERS_WACOM_AES_PROTOCOL","HID_USAGE_DIGITIZERS_USI_PROTOCOL","HID_USAGE_DIGITIZERS_MICROSOFT_PEN_PROTOCOL","HID_USAGE_DIGITIZERS_SUPPORTED_REPORT_RATES","HID_USAGE_DIGITIZERS_REPORT_RATE","HID_USAGE_DIGITIZERS_TRANSDUCER_CONNECTED","HID_USAGE_DIGITIZERS_SWITCH_DISABLED","HID_USAGE_DIGITIZERS_SWITCH_UNIMPLEMENTED","HID_USAGE_DIGITIZERS_TRANSDUCER_SWITCHES","HID_USAGE_HAPTICS_UNDEFINED","HID_USAGE_HAPTICS_SIMPLE_HAPTIC_CONTROLLER","HID_USAGE_HAPTICS_WAVEFORM_LIST","HID_USAGE_HAPTICS_DURATION_LIST","HID_USAGE_HAPTICS_AUTO_TRIGGER","HID_USAGE_HAPTICS_MANUAL_TRIGGER","HID_USAGE_HAPTICS_AUTO_TRIGGER_ASSOCIATED_CONTROL","HID_USAGE_HAPTICS_INTENSITY","HID_USAGE_HAPTICS_REPEAT_COUNT","HID_USAGE_HAPTICS_RETRIGGER_PERIOD","HID_USAGE_HAPTICS_WAVEFORM_VENDOR_PAGE","HID_USAGE_HAPTICS_WAVEFORM_VENDOR_ID","HID_USAGE_HAPTICS_WAVEFORM_CUTOFF_TIME","HID_USAGE_HAPTICS_WAVEFORM_NONE","HID_USAGE_HAPTICS_WAVEFORM_STOP","HID_USAGE_HAPTICS_WAVEFORM_CLICK","HID_USAGE_HAPTICS_WAVEFORM_BUZZ_CONTINUOUS","HID_USAGE_HAPTICS_WAVEFORM_RUMBLE_CONTINUOUS","HID_USAGE_HAPTICS_WAVEFORM_PRESS","HID_USAGE_HAPTICS_WAVEFORM_RELEASE","HID_USAGE_PID_UNDEFINED","HID_USAGE_PID_PHYSICAL_INTERFACE_DEVICE","HID_USAGE_PID_NORMAL","HID_USAGE_PID_SET_EFFECT_REPORT","HID_USAGE_PID_EFFECT_BLOCK_INDEX","HID_USAGE_PID_PARAMETER_BLOCK_OFFSET","HID_USAGE_PID_ROM_FLAG","HID_USAGE_PID_EFFECT_TYPE","HID_USAGE_PID_ET_CONSTANT_FORCE","HID_USAGE_PID_ET_RAMP","HID_USAGE_PID_ET_CUSTOM_FORCE_DATA","HID_USAGE_PID_ET_SQUARE","HID_USAGE_PID_ET_SINE","HID_USAGE_PID_ET_TRIANGLE","HID_USAGE_PID_ET_SAWTOOTH_UP","HID_USAGE_PID_ET_SAWTOOTH_DOWN","HID_USAGE_PID_ET_SPRING","HID_USAGE_PID_ET_DAMPER","HID_USAGE_PID_ET_INERTIA","HID_USAGE_PID_ET_FRICTION","HID_USAGE_PID_DURATION","HID_USAGE_PID_SAMPLE_PERIOD","HID_USAGE_PID_GAIN","HID_USAGE_PID_TRIGGER_BUTTON","HID_USAGE_PID_TRIGGER_REPEAT_INTERVAL","HID_USAGE_PID_AXES_ENABLE","HID_USAGE_PID_DIRECTION_ENABLE","HID_USAGE_PID_DIRECTION","HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_OFFSET","HID_USAGE_PID_BLOCK_TYPE","HID_USAGE_PID_SET_ENVELOPE_REPORT","HID_USAGE_PID_ATTACK_LEVEL","HID_USAGE_PID_ATTACK_TIME","HID_USAGE_PID_FADE_LEVEL","HID_USAGE_PID_FADE_TIME","HID_USAGE_PID_SET_CONDITION_REPORT","HID_USAGE_PID_CP_OFFSET","HID_USAGE_PID_POSITIVE_COEFFICIENT","HID_USAGE_PID_NEGATIVE_COEFFICIENT","HID_USAGE_PID_POSITIVE_SATURATION","HID_USAGE_PID_NEGATIVE_SATURATION","HID_USAGE_PID_DEAD_BAND","HID_USAGE_PID_DOWNLOAD_FORCE_SAMPLE","HID_USAGE_PID_ISOCH_CUSTOM_FORCE_ENABLE","HID_USAGE_PID_CUSTOM_FORCE_DATA_REPORT","HID_USAGE_PID_CUSTOM_FORCE_DATA","HID_USAGE_PID_CUSTOM_FORCE_VENDOR_DEFINED_DATA","HID_USAGE_PID_SET_CUSTOM_FORCE_REPORT","HID_USAGE_PID_CUSTOM_FORCE_DATA_OFFSET","HID_USAGE_PID_SAMPLE_COUNT","HID_USAGE_PID_SET_PERIODIC_REPORT","HID_USAGE_PID_OFFSET","HID_USAGE_PID_MAGNITUDE","HID_USAGE_PID_PHASE","HID_USAGE_PID_PERIOD","HID_USAGE_PID_SET_CONSTANT_FORCE_REPORT","HID_USAGE_PID_SET_RAMP_FORCE_REPORT","HID_USAGE_PID_RAMP_START","HID_USAGE_PID_RAMP_END","HID_USAGE_PID_EFFECT_OPERATION_REPORT","HID_USAGE_PID_EFFECT_OPERATION","HID_USAGE_PID_OP_EFFECT_START","HID_USAGE_PID_OP_EFFECT_START_SOLO","HID_USAGE_PID_OP_EFFECT_STOP","HID_USAGE_PID_LOOP_COUNT","HID_USAGE_PID_DEVICE_GAIN_REPORT","HID_USAGE_PID_DEVICE_GAIN","HID_USAGE_PID_PID_POOL_REPORT","HID_USAGE_PID_RAM_POOL_SIZE","HID_USAGE_PID_ROM_POOL_SIZE","HID_USAGE_PID_ROM_EFFECT_BLOCK_COUNT","HID_USAGE_PID_SIMULTANEOUS_EFFECTS_MAX","HID_USAGE_PID_POOL_ALIGNMENT","HID_USAGE_PID_PID_POOL_MOVE_REPORT","HID_USAGE_PID_MOVE_SOURCE","HID_USAGE_PID_MOVE_DESTINATION","HID_USAGE_PID_MOVE_LENGTH","HID_USAGE_PID_PID_BLOCK_LOAD_REPORT","HID_USAGE_PID_BLOCK_LOAD_STATUS","HID_USAGE_PID_BLOCK_LOAD_SUCCESS","HID_USAGE_PID_BLOCK_LOAD_FULL","HID_USAGE_PID_BLOCK_LOAD_ERROR","HID_USAGE_PID_BLOCK_HANDLE","HID_USAGE_PID_PID_BLOCK_FREE_REPORT","HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_HANDLE","HID_USAGE_PID_PID_STATE_REPORT","HID_USAGE_PID_EFFECT_PLAYING","HID_USAGE_PID_PID_DEVICE_CONTROL_REPORT","HID_USAGE_PID_PID_DEVICE_CONTROL","HID_USAGE_PID_DC_ENABLE_ACTUATORS","HID_USAGE_PID_DC_DISABLE_ACTUATORS","HID_USAGE_PID_DC_STOP_ALL_EFFECTS","HID_USAGE_PID_DC_DEVICE_RESET","HID_USAGE_PID_DC_DEVICE_PAUSE","HID_USAGE_PID_DC_DEVICE_CONTINUE","HID_USAGE_PID_DEVICE_PAUSED","HID_USAGE_PID_ACTUATORS_ENABLED","HID_USAGE_PID_SAFETY_SWITCH","HID_USAGE_PID_ACTUATOR_OVERRIDE_SWITCH","HID_USAGE_PID_ACTUATOR_POWER","HID_USAGE_PID_START_DELAY","HID_USAGE_PID_PARAMETER_BLOCK_SIZE","HID_USAGE_PID_DEVICE_MANAGED_POOL","HID_USAGE_PID_SHARED_PARAMETER_BLOCKS","HID_USAGE_PID_CREATE_NEW_EFFECT_REPORT","HID_USAGE_PID_RAM_POOL_AVAILABLE","HID_USAGE_EHT_UNDEFINED","HID_USAGE_EHT_EYE_TRACKER","HID_USAGE_EHT_HEAD_TRACKER","HID_USAGE_EHT_TRACKING_DATA","HID_USAGE_EHT_CAPABILITIES","HID_USAGE_EHT_CONFIGURATION","HID_USAGE_EHT_STATUS","HID_USAGE_EHT_CONTROL","HID_USAGE_EHT_SENSOR_TIMESTAMP","HID_USAGE_EHT_POSITION_X","HID_USAGE_EHT_POSITION_Y","HID_USAGE_EHT_POSITION_Z","HID_USAGE_EHT_GAZE_POINT","HID_USAGE_EHT_LEFT_EYE_POSITION","HID_USAGE_EHT_RIGHT_EYE_POSITION","HID_USAGE_EHT_HEAD_POSITION","HID_USAGE_EHT_HEAD_DIRECTION_POINT","HID_USAGE_EHT_ROTATION_ABOUT_X_AXIS","HID_USAGE_EHT_ROTATION_ABOUT_Y_AXIS","HID_USAGE_EHT_ROTATION_ABOUT_Z_AXIS","HID_USAGE_EHT_TRACKER_QUALITY","HID_USAGE_EHT_MINIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_OPTIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_MAXIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_MAXIMUM_SCREEN_PLANE_WIDTH","HID_USAGE_EHT_MAXIMUM_SCREEN_PLANE_HEIGHT","HID_USAGE_EHT_DISPLAY_MANUFACTURER_ID","HID_USAGE_EHT_DISPLAY_PRODUCT_ID","HID_USAGE_EHT_DISPLAY_SERIAL_NUMBER","HID_USAGE_EHT_DISPLAY_MANUFACTURER_DATE","HID_USAGE_EHT_CALIBRATED_SCREEN_WIDTH","HID_USAGE_EHT_CALIBRATED_SCREEN_HEIGHT","HID_USAGE_EHT_SAMPLING_FREQUENCY","HID_USAGE_EHT_CONFIGURATION_STATUS","HID_USAGE_EHT_DEVICE_MODE_REQUEST","HID_USAGE_AUXDISP_UNDEFINED","HID_USAGE_AUXDISP_ALPHANUMERIC_DISPLAY","HID_USAGE_AUXDISP_AUXILIARY_DISPLAY","HID_USAGE_AUXDISP_DISPLAY_ATTRIBUTES_REPORT","HID_USAGE_AUXDISP_ASCII_CHARACTER_SET","HID_USAGE_AUXDISP_DATA_READ_BACK","HID_USAGE_AUXDISP_FONT_READ_BACK","HID_USAGE_AUXDISP_DISPLAY_CONTROL_REPORT","HID_USAGE_AUXDISP_CLEAR_DISPLAY","HID_USAGE_AUXDISP_DISPLAY_ENABLE","HID_USAGE_AUXDISP_SCREEN_SAVER_DELAY","HID_USAGE_AUXDISP_SCREEN_SAVER_ENABLE","HID_USAGE_AUXDISP_VERTICAL_SCROLL","HID_USAGE_AUXDISP_HORIZONTAL_SCROLL","HID_USAGE_AUXDISP_CHARACTER_REPORT","HID_USAGE_AUXDISP_DISPLAY_DATA","HID_USAGE_AUXDISP_DISPLAY_STATUS","HID_USAGE_AUXDISP_STAT_NOT_READY","HID_USAGE_AUXDISP_STAT_READY","HID_USAGE_AUXDISP_ERR_NOT_A_LOADABLE_CHARACTER","HID_USAGE_AUXDISP_ERR_FONT_DATA_CANNOT_BE_READ","HID_USAGE_AUXDISP_CURSOR_POSITION_REPORT","HID_USAGE_AUXDISP_ROW","HID_USAGE_AUXDISP_COLUMN","HID_USAGE_AUXDISP_ROWS","HID_USAGE_AUXDISP_COLUMNS","HID_USAGE_AUXDISP_CURSOR_PIXEL_POSITIONING","HID_USAGE_AUXDISP_CURSOR_MODE","HID_USAGE_AUXDISP_CURSOR_ENABLE","HID_USAGE_AUXDISP_CURSOR_BLINK","HID_USAGE_AUXDISP_FONT_REPORT","HID_USAGE_AUXDISP_FONT_DATA","HID_USAGE_AUXDISP_CHARACTER_WIDTH","HID_USAGE_AUXDISP_CHARACTER_HEIGHT","HID_USAGE_AUXDISP_CHARACTER_SPACING_HORIZONTAL","HID_USAGE_AUXDISP_CHARACTER_SPACING_VERTICAL","HID_USAGE_AUXDISP_UNICODE_CHARACTER_SET","HID_USAGE_AUXDISP_FONT_7_SEGMENT","HID_USAGE_AUXDISP_7_SEGMENT_DIRECT_MAP","HID_USAGE_AUXDISP_FONT_14_SEGMENT","HID_USAGE_AUXDISP_14_SEGMENT_DIRECT_MAP","HID_USAGE_AUXDISP_DISPLAY_BRIGHTNESS","HID_USAGE_AUXDISP_DISPLAY_CONTRAST","HID_USAGE_AUXDISP_CHARACTER_ATTRIBUTE","HID_USAGE_AUXDISP_ATTRIBUTE_READBACK","HID_USAGE_AUXDISP_ATTRIBUTE_DATA","HID_USAGE_AUXDISP_CHAR_ATTR_ENHANCE","HID_USAGE_AUXDISP_CHAR_ATTR_UNDERLINE","HID_USAGE_AUXDISP_CHAR_ATTR_BLINK","HID_USAGE_AUXDISP_BITMAP_SIZE_X","HID_USAGE_AUXDISP_BITMAP_SIZE_Y","HID_USAGE_AUXDISP_MAX_BLIT_SIZE","HID_USAGE_AUXDISP_BIT_DEPTH_FORMAT","HID_USAGE_AUXDISP_DISPLAY_ORIENTATION","HID_USAGE_AUXDISP_PALETTE_REPORT","HID_USAGE_AUXDISP_PALETTE_DATA_SIZE","HID_USAGE_AUXDISP_PALETTE_DATA_OFFSET","HID_USAGE_AUXDISP_PALETTE_DATA","HID_USAGE_AUXDISP_BLIT_REPORT","HID_USAGE_AUXDISP_BLIT_RECTANGLE_X1","HID_USAGE_AUXDISP_BLIT_RECTANGLE_Y1","HID_USAGE_AUXDISP_BLIT_RECTANGLE_X2","HID_USAGE_AUXDISP_BLIT_RECTANGLE_Y2","HID_USAGE_AUXDISP_BLIT_DATA","HID_USAGE_AUXDISP_SOFT_BUTTON","HID_USAGE_AUXDISP_SOFT_BUTTON_ID","HID_USAGE_AUXDISP_SOFT_BUTTON_SIDE","HID_USAGE_AUXDISP_SOFT_BUTTON_OFFSET_1","HID_USAGE_AUXDISP_SOFT_BUTTON_OFFSET_2","HID_USAGE_AUXDISP_SOFT_BUTTON_REPORT","HID_USAGE_AUXDISP_SOFT_KEYS","HID_USAGE_AUXDISP_DISPLAY_DATA_EXTENSIONS","HID_USAGE_AUXDISP_CHARACTER_MAPPING","HID_USAGE_AUXDISP_UNICODE_EQUIVALENT","HID_USAGE_AUXDISP_CHARACTER_PAGE_MAPPING","HID_USAGE_AUXDISP_REQUEST_REPORT","HID_USAGE_SENSORS_UNDEFINED","HID_USAGE_SENSORS_SENSOR","HID_USAGE_SENSORS_BIOMETRIC","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_PRESENCE","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_PROXIMITY","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_TOUCH","HID_USAGE_SENSORS_BIOMETRIC_BLOOD_PRESSURE","HID_USAGE_SENSORS_BIOMETRIC_BODY_TEMPERATURE","HID_USAGE_SENSORS_BIOMETRIC_HEART_RATE","HID_USAGE_SENSORS_BIOMETRIC_HEART_RATE_VARIABILITY","HID_USAGE_SENSORS_BIOMETRIC_PERIPHERAL_OXYGEN_SATURATION","HID_USAGE_SENSORS_BIOMETRIC_RESPIRATORY_RATE","HID_USAGE_SENSORS_ELECTRICAL","HID_USAGE_SENSORS_ELECTRICAL_CAPACITANCE","HID_USAGE_SENSORS_ELECTRICAL_CURRENT","HID_USAGE_SENSORS_ELECTRICAL_POWER","HID_USAGE_SENSORS_ELECTRICAL_INDUCTANCE","HID_USAGE_SENSORS_ELECTRICAL_RESISTANCE","HID_USAGE_SENSORS_ELECTRICAL_VOLTAGE","HID_USAGE_SENSORS_ELECTRICAL_POTENTIOMETER","HID_USAGE_SENSORS_ELECTRICAL_FREQUENCY","HID_USAGE_SENSORS_ELECTRICAL_PERIOD","HID_USAGE_SENSORS_ENVIRONMENTAL","HID_USAGE_SENSORS_ENVIRONMENTAL_ATMOSPHERIC_PRESSURE","HID_USAGE_SENSORS_ENVIRONMENTAL_HUMIDITY","HID_USAGE_SENSORS_ENVIRONMENTAL_TEMPERATURE","HID_USAGE_SENSORS_ENVIRONMENTAL_WIND_DIRECTION","HID_USAGE_SENSORS_ENVIRONMENTAL_WIND_SPEED","HID_USAGE_SENSORS_ENVIRONMENTAL_AIR_QUALITY","HID_USAGE_SENSORS_ENVIRONMENTAL_HEAT_INDEX","HID_USAGE_SENSORS_ENVIRONMENTAL_SURFACE_TEMPERATURE","HID_USAGE_SENSORS_ENVIRONMENTAL_VOLATILE_ORGANIC_COMPOUNDS","HID_USAGE_SENSORS_ENVIRONMENTAL_OBJECT_PRESENCE","HID_USAGE_SENSORS_ENVIRONMENTAL_OBJECT_PROXIMITY","HID_USAGE_SENSORS_LIGHT","HID_USAGE_SENSORS_LIGHT_AMBIENT_LIGHT","HID_USAGE_SENSORS_LIGHT_CONSUMER_INFRARED","HID_USAGE_SENSORS_LIGHT_INFRARED_LIGHT","HID_USAGE_SENSORS_LIGHT_VISIBLE_LIGHT","HID_USAGE_SENSORS_LIGHT_ULTRAVIOLET_LIGHT","HID_USAGE_SENSORS_LOCATION","HID_USAGE_SENSORS_LOCATION_BROADCAST","HID_USAGE_SENSORS_LOCATION_DEAD_RECKONING","HID_USAGE_SENSORS_LOCATION_GPS_GLOBAL_POSITIONING_SYSTEM","HID_USAGE_SENSORS_LOCATION_LOOKUP","HID_USAGE_SENSORS_LOCATION_OTHER","HID_USAGE_SENSORS_LOCATION_STATIC","HID_USAGE_SENSORS_LOCATION_TRIANGULATION","HID_USAGE_SENSORS_MECHANICAL","HID_USAGE_SENSORS_MECHANICAL_BOOLEAN_SWITCH","HID_USAGE_SENSORS_MECHANICAL_BOOLEAN_SWITCH_ARRAY","HID_USAGE_SENSORS_MECHANICAL_MULTIVALUE_SWITCH","HID_USAGE_SENSORS_MECHANICAL_FORCE","HID_USAGE_SENSORS_MECHANICAL_PRESSURE","HID_USAGE_SENSORS_MECHANICAL_STRAIN","HID_USAGE_SENSORS_MECHANICAL_WEIGHT","HID_USAGE_SENSORS_MECHANICAL_HAPTIC_VIBRATOR","HID_USAGE_SENSORS_MECHANICAL_HALL_EFFECT_SWITCH","HID_USAGE_SENSORS_MOTION","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_1D","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_2D","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_3D","HID_USAGE_SENSORS_MOTION_GYROMETER_1D","HID_USAGE_SENSORS_MOTION_GYROMETER_2D","HID_USAGE_SENSORS_MOTION_GYROMETER_3D","HID_USAGE_SENSORS_MOTION_MOTION_DETECTOR","HID_USAGE_SENSORS_MOTION_SPEEDOMETER","HID_USAGE_SENSORS_MOTION_ACCELEROMETER","HID_USAGE_SENSORS_MOTION_GYROMETER","HID_USAGE_SENSORS_MOTION_GRAVITY_VECTOR","HID_USAGE_SENSORS_MOTION_LINEAR_ACCELEROMETER","HID_USAGE_SENSORS_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_COMPASS_1D","HID_USAGE_SENSORS_ORIENTATION_COMPASS_2D","HID_USAGE_SENSORS_ORIENTATION_COMPASS_3D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_1D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_2D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_3D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_1D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_2D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_3D","HID_USAGE_SENSORS_ORIENTATION_DEVICE_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_COMPASS","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER","HID_USAGE_SENSORS_ORIENTATION_DISTANCE","HID_USAGE_SENSORS_ORIENTATION_RELATIVE_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_SIMPLE_ORIENTATION","HID_USAGE_SENSORS_SCANNER","HID_USAGE_SENSORS_SCANNER_BARCODE","HID_USAGE_SENSORS_SCANNER_RFID","HID_USAGE_SENSORS_SCANNER_NFC","HID_USAGE_SENSORS_TIME","HID_USAGE_SENSORS_TIME_ALARM_TIMER","HID_USAGE_SENSORS_TIME_REAL_TIME_CLOCK","HID_USAGE_SENSORS_PERSONAL_ACTIVITY","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_ACTIVITY_DETECTION","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_DEVICE_POSITION","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_PEDOMETER","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_STEP_DETECTION","HID_USAGE_SENSORS_ORIENTATION_EXTENDED","HID_USAGE_SENSORS_ORIENTATION_EXTENDED_GEOMAGNETIC_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_EXTENDED_MAGNETOMETER","HID_USAGE_SENSORS_GESTURE","HID_USAGE_SENSORS_GESTURE_CHASSIS_FLIP_GESTURE","HID_USAGE_SENSORS_GESTURE_HINGE_FOLD_GESTURE","HID_USAGE_SENSORS_OTHER","HID_USAGE_SENSORS_OTHER_CUSTOM","HID_USAGE_SENSORS_OTHER_GENERIC","HID_USAGE_SENSORS_OTHER_GENERIC_ENUMERATOR","HID_USAGE_SENSORS_OTHER_HINGE_ANGLE","HID_USAGE_SENSORS_EVENT","HID_USAGE_SENSORS_EVENT_SENSOR_STATE","HID_USAGE_SENSORS_EVENT_SENSOR_EVENT","HID_USAGE_SENSORS_PROPERTY","HID_USAGE_SENSORS_PROPERTY_FRIENDLY_NAME","HID_USAGE_SENSORS_PROPERTY_PERSISTENT_UNIQUE_ID","HID_USAGE_SENSORS_PROPERTY_SENSOR_STATUS","HID_USAGE_SENSORS_PROPERTY_MINIMUM_REPORT_INTERVAL","HID_USAGE_SENSORS_PROPERTY_SENSOR_MANUFACTURER","HID_USAGE_SENSORS_PROPERTY_SENSOR_MODEL","HID_USAGE_SENSORS_PROPERTY_SENSOR_SERIAL_NUMBER","HID_USAGE_SENSORS_PROPERTY_SENSOR_DESCRIPTION","HID_USAGE_SENSORS_PROPERTY_SENSOR_CONNECTION_TYPE","HID_USAGE_SENSORS_PROPERTY_SENSOR_DEVICE_PATH","HID_USAGE_SENSORS_PROPERTY_HARDWARE_REVISION","HID_USAGE_SENSORS_PROPERTY_FIRMWARE_VERSION","HID_USAGE_SENSORS_PROPERTY_RELEASE_DATE","HID_USAGE_SENSORS_PROPERTY_REPORT_INTERVAL","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_ABSOLUTE","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_PERCENT_OF_RANGE","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_PERCENT_RELATIVE","HID_USAGE_SENSORS_PROPERTY_ACCURACY","HID_USAGE_SENSORS_PROPERTY_RESOLUTION","HID_USAGE_SENSORS_PROPERTY_MAXIMUM","HID_USAGE_SENSORS_PROPERTY_MINIMUM","HID_USAGE_SENSORS_PROPERTY_REPORTING_STATE","HID_USAGE_SENSORS_PROPERTY_SAMPLING_RATE","HID_USAGE_SENSORS_PROPERTY_RESPONSE_CURVE","HID_USAGE_SENSORS_PROPERTY_POWER_STATE","HID_USAGE_SENSORS_PROPERTY_MAXIMUM_FIFO_EVENTS","HID_USAGE_SENSORS_PROPERTY_REPORT_LATENCY","HID_USAGE_SENSORS_PROPERTY_FLUSH_FIFO_EVENTS","HID_USAGE_SENSORS_PROPERTY_MAXIMUM_POWER_CONSUMPTION","HID_USAGE_SENSORS_PROPERTY_IS_PRIMARY","HID_USAGE_SENSORS_DATA_FIELD_LOCATION","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ANTENNA_SEA_LEVEL","HID_USAGE_SENSORS_DATA_FIELD_DIFFERENTIAL_REFERENCE_STATION_ID","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ELLIPSOID_ERROR","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ELLIPSOID","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_SEA_LEVEL_ERROR","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_SEA_LEVEL","HID_USAGE_SENSORS_DATA_FIELD_DIFFERENTIAL_GPS_DATA_AGE","HID_USAGE_SENSORS_DATA_FIELD_ERROR_RADIUS","HID_USAGE_SENSORS_DATA_FIELD_FIX_QUALITY","HID_USAGE_SENSORS_DATA_FIELD_FIX_TYPE","HID_USAGE_SENSORS_DATA_FIELD_GEOIDAL_SEPARATION","HID_USAGE_SENSORS_DATA_FIELD_GPS_OPERATION_MODE","HID_USAGE_SENSORS_DATA_FIELD_GPS_SELECTION_MODE","HID_USAGE_SENSORS_DATA_FIELD_GPS_STATUS","HID_USAGE_SENSORS_DATA_FIELD_POSITION_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_HORIZONTAL_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_VERTICAL_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_LATITUDE","HID_USAGE_SENSORS_DATA_FIELD_LONGITUDE","HID_USAGE_SENSORS_DATA_FIELD_TRUE_HEADING","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_HEADING","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_VARIATION","HID_USAGE_SENSORS_DATA_FIELD_SPEED","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_AZIMUTH","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_ELEVATION","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_IDS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_PRNS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_S_N_RATIOS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_USED_COUNT","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_USED_PRNS","HID_USAGE_SENSORS_DATA_FIELD_NMEA_SENTENCE","HID_USAGE_SENSORS_DATA_FIELD_ADDRESS_LINE_1","HID_USAGE_SENSORS_DATA_FIELD_ADDRESS_LINE_2","HID_USAGE_SENSORS_DATA_FIELD_CITY","HID_USAGE_SENSORS_DATA_FIELD_STATE_OR_PROVINCE","HID_USAGE_SENSORS_DATA_FIELD_COUNTRY_OR_REGION","HID_USAGE_SENSORS_DATA_FIELD_POSTAL_CODE","HID_USAGE_SENSORS_PROPERTY_LOCATION","HID_USAGE_SENSORS_PROPERTY_LOCATION_DESIRED_ACCURACY","HID_USAGE_SENSORS_DATA_FIELD_ENVIRONMENTAL","HID_USAGE_SENSORS_DATA_FIELD_ATMOSPHERIC_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_RELATIVE_HUMIDITY","HID_USAGE_SENSORS_DATA_FIELD_TEMPERATURE","HID_USAGE_SENSORS_DATA_FIELD_WIND_DIRECTION","HID_USAGE_SENSORS_DATA_FIELD_WIND_SPEED","HID_USAGE_SENSORS_DATA_FIELD_AIR_QUALITY_INDEX","HID_USAGE_SENSORS_DATA_FIELD_EQUIVALENT_CO2","HID_USAGE_SENSORS_DATA_FIELD_VOLATILE_ORGANIC_COMPOUND_CONCENTRATION","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PRESENCE","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PROXIMITY_RANGE","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PROXIMITY_OUT_OF_RANGE","HID_USAGE_SENSORS_PROPERTY_ENVIRONMENTAL","HID_USAGE_SENSORS_PROPERTY_REFERENCE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_MOTION","HID_USAGE_SENSORS_DATA_FIELD_MOTION_STATE","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_X","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_Y","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_Z","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MOTION_SPEED","HID_USAGE_SENSORS_DATA_FIELD_MOTION_INTENSITY","HID_USAGE_SENSORS_DATA_FIELD_ORIENTATION","HID_USAGE_SENSORS_DATA_FIELD_HEADING","HID_USAGE_SENSORS_DATA_FIELD_HEADING_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_COMPENSATED_MAGNETIC_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_COMPENSATED_TRUE_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_MAGNETIC_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_TRUE_NORTH","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_OUT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_TILT","HID_USAGE_SENSORS_DATA_FIELD_TILT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_TILT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_TILT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ROTATION_MATRIX","HID_USAGE_SENSORS_DATA_FIELD_QUATERNION","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETOMETER_ACCURACY","HID_USAGE_SENSORS_DATA_FIELD_SIMPLE_ORIENTATION_DIRECTION","HID_USAGE_SENSORS_DATA_FIELD_MECHANICAL","HID_USAGE_SENSORS_DATA_FIELD_BOOLEAN_SWITCH_STATE","HID_USAGE_SENSORS_DATA_FIELD_BOOLEAN_SWITCH_ARRAY_STATES","HID_USAGE_SENSORS_DATA_FIELD_MULTIVALUE_SWITCH_VALUE","HID_USAGE_SENSORS_DATA_FIELD_FORCE","HID_USAGE_SENSORS_DATA_FIELD_ABSOLUTE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_GAUGE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_STRAIN","HID_USAGE_SENSORS_DATA_FIELD_WEIGHT","HID_USAGE_SENSORS_PROPERTY_MECHANICAL","HID_USAGE_SENSORS_PROPERTY_VIBRATION_STATE","HID_USAGE_SENSORS_PROPERTY_FORWARD_VIBRATION_SPEED","HID_USAGE_SENSORS_PROPERTY_BACKWARD_VIBRATION_SPEED","HID_USAGE_SENSORS_DATA_FIELD_BIOMETRIC","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PRESENCE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PROXIMITY_RANGE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PROXIMITY_OUT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_TOUCH_STATE","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE_DIASTOLIC","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE_SYSTOLIC","HID_USAGE_SENSORS_DATA_FIELD_HEART_RATE","HID_USAGE_SENSORS_DATA_FIELD_RESTING_HEART_RATE","HID_USAGE_SENSORS_DATA_FIELD_HEARTBEAT_INTERVAL","HID_USAGE_SENSORS_DATA_FIELD_RESPIRATORY_RATE","HID_USAGE_SENSORS_DATA_FIELD_SPO2","HID_USAGE_SENSORS_DATA_FIELD_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ILLUMINANCE","HID_USAGE_SENSORS_DATA_FIELD_COLOR_TEMPERATURE","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY_X","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY_Y","HID_USAGE_SENSORS_DATA_FIELD_CONSUMER_IR_SENTENCE_RECEIVE","HID_USAGE_SENSORS_DATA_FIELD_INFRARED_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_RED_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_GREEN_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_BLUE_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_A_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_B_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_INDEX","HID_USAGE_SENSORS_DATA_FIELD_NEAR_INFRARED_LIGHT","HID_USAGE_SENSORS_PROPERTY_LIGHT","HID_USAGE_SENSORS_PROPERTY_CONSUMER_IR_SENTENCE_SEND","HID_USAGE_SENSORS_PROPERTY_AUTO_BRIGHTNESS_PREFERRED","HID_USAGE_SENSORS_PROPERTY_AUTO_COLOR_PREFERRED","HID_USAGE_SENSORS_DATA_FIELD_SCANNER","HID_USAGE_SENSORS_DATA_FIELD_RFID_TAG_40_BIT","HID_USAGE_SENSORS_DATA_FIELD_NFC_SENTENCE_RECEIVE","HID_USAGE_SENSORS_PROPERTY_SCANNER","HID_USAGE_SENSORS_PROPERTY_NFC_SENTENCE_SEND","HID_USAGE_SENSORS_DATA_FIELD_ELECTRICAL","HID_USAGE_SENSORS_DATA_FIELD_CAPACITANCE","HID_USAGE_SENSORS_DATA_FIELD_CURRENT","HID_USAGE_SENSORS_DATA_FIELD_ELECTRICAL_POWER","HID_USAGE_SENSORS_DATA_FIELD_INDUCTANCE","HID_USAGE_SENSORS_DATA_FIELD_RESISTANCE","HID_USAGE_SENSORS_DATA_FIELD_VOLTAGE","HID_USAGE_SENSORS_DATA_FIELD_FREQUENCY","HID_USAGE_SENSORS_DATA_FIELD_PERIOD","HID_USAGE_SENSORS_DATA_FIELD_PERCENT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_TIME","HID_USAGE_SENSORS_DATA_FIELD_YEAR","HID_USAGE_SENSORS_DATA_FIELD_MONTH","HID_USAGE_SENSORS_DATA_FIELD_DAY","HID_USAGE_SENSORS_DATA_FIELD_DAY_OF_WEEK","HID_USAGE_SENSORS_DATA_FIELD_HOUR","HID_USAGE_SENSORS_DATA_FIELD_MINUTE","HID_USAGE_SENSORS_DATA_FIELD_SECOND","HID_USAGE_SENSORS_DATA_FIELD_MILLISECOND","HID_USAGE_SENSORS_DATA_FIELD_TIMESTAMP","HID_USAGE_SENSORS_DATA_FIELD_JULIAN_DAY_OF_YEAR","HID_USAGE_SENSORS_DATA_FIELD_TIME_SINCE_SYSTEM_BOOT","HID_USAGE_SENSORS_PROPERTY_TIME","HID_USAGE_SENSORS_PROPERTY_TIME_ZONE_OFFSET_FROM_UTC","HID_USAGE_SENSORS_PROPERTY_TIME_ZONE_NAME","HID_USAGE_SENSORS_PROPERTY_DAYLIGHT_SAVINGS_TIME_OBSERVED","HID_USAGE_SENSORS_PROPERTY_TIME_TRIM_ADJUSTMENT","HID_USAGE_SENSORS_PROPERTY_ARM_ALARM","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_USAGE","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_BOOLEAN_ARRAY","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_1","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_2","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_3","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_4","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_5","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_6","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_7","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_8","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_9","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_10","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_11","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_12","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_13","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_14","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_15","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_16","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_17","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_18","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_19","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_20","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_21","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_22","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_23","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_24","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_25","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_26","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_27","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_28","HID_USAGE_SENSORS_DATA_FIELD_GENERIC","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID_OR_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_CATEGORY_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_TYPE_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_EVENT_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTY_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_DATA_FIELD_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_EVENT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_DATA_FIELD","HID_USAGE_SENSORS_DATA_FIELD_ENUMERATOR_TABLE_ROW_INDEX","HID_USAGE_SENSORS_DATA_FIELD_ENUMERATOR_TABLE_ROW_COUNT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID_OR_PROPERTYKEY_KIND","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_TOP_LEVEL_COLLECTION_ID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_ID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_ITEM_POSITION_INDEX","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_FIRMWARE_VARTYPE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_UNIT_OF_MEASURE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_UNIT_EXPONENT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_SIZE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_COUNT","HID_USAGE_SENSORS_PROPERTY_GENERIC","HID_USAGE_SENSORS_PROPERTY_ENUMERATOR_TABLE_ROW_INDEX","HID_USAGE_SENSORS_PROPERTY_ENUMERATOR_TABLE_ROW_COUNT","HID_USAGE_SENSORS_DATA_FIELD_PERSONAL_ACTIVITY","HID_USAGE_SENSORS_DATA_FIELD_ACTIVITY_TYPE","HID_USAGE_SENSORS_DATA_FIELD_ACTIVITY_STATE","HID_USAGE_SENSORS_DATA_FIELD_DEVICE_POSITION","HID_USAGE_SENSORS_DATA_FIELD_STEP_COUNT","HID_USAGE_SENSORS_DATA_FIELD_STEP_COUNT_RESET","HID_USAGE_SENSORS_DATA_FIELD_STEP_DURATION","HID_USAGE_SENSORS_DATA_FIELD_STEP_TYPE","HID_USAGE_SENSORS_PROPERTY_MINIMUM_ACTIVITY_DETECTION_INTERVAL","HID_USAGE_SENSORS_PROPERTY_SUPPORTED_ACTIVITY_TYPES","HID_USAGE_SENSORS_PROPERTY_SUBSCRIBED_ACTIVITY_TYPES","HID_USAGE_SENSORS_PROPERTY_SUPPORTED_STEP_TYPES","HID_USAGE_SENSORS_PROPERTY_SUBSCRIBED_STEP_TYPES","HID_USAGE_SENSORS_PROPERTY_FLOOR_HEIGHT","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_TYPE_ID","HID_USAGE_SENSORS_PROPERTY_CUSTOM","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_1","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_2","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_3","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_4","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_5","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_6","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_7","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_8","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_9","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_10","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_11","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_12","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_13","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_14","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_15","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_16","HID_USAGE_SENSORS_DATA_FIELD_HINGE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_GESTURE_SENSOR","HID_USAGE_SENSORS_DATA_FIELD_GESTURE_STATE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_INITIAL_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_FINAL_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_CONTRIBUTING_PANEL","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_TYPE","HID_USAGE_SENSORS_SENSOR_STATE_UNDEFINED","HID_USAGE_SENSORS_SENSOR_STATE_READY","HID_USAGE_SENSORS_SENSOR_STATE_NOT_AVAILABLE","HID_USAGE_SENSORS_SENSOR_STATE_NO_DATA","HID_USAGE_SENSORS_SENSOR_STATE_INITIALIZING","HID_USAGE_SENSORS_SENSOR_STATE_ACCESS_DENIED","HID_USAGE_SENSORS_SENSOR_STATE_ERROR","HID_USAGE_SENSORS_SENSOR_EVENT_UNKNOWN","HID_USAGE_SENSORS_SENSOR_EVENT_STATE_CHANGED","HID_USAGE_SENSORS_SENSOR_EVENT_PROPERTY_CHANGED","HID_USAGE_SENSORS_SENSOR_EVENT_DATA_UPDATED","HID_USAGE_SENSORS_SENSOR_EVENT_POLL_RESPONSE","HID_USAGE_SENSORS_SENSOR_EVENT_CHANGE_SENSITIVITY","HID_USAGE_SENSORS_SENSOR_EVENT_RANGE_MAXIMUM_REACHED","HID_USAGE_SENSORS_SENSOR_EVENT_RANGE_MINIMUM_REACHED","HID_USAGE_SENSORS_SENSOR_EVENT_HIGH_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_HIGH_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_LOW_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_LOW_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_ZERO_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_ZERO_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_PERIOD_EXCEEDED","HID_USAGE_SENSORS_SENSOR_EVENT_FREQUENCY_EXCEEDED","HID_USAGE_SENSORS_SENSOR_EVENT_COMPLEX_TRIGGER","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_INTEGRATED","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_ATTACHED","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_EXTERNAL","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_NO_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_ALL_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_THRESHOLD_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_NO_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_ALL_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_THRESHOLD_EVENTS","HID_USAGE_SENSORS_POWER_STATE_UNDEFINED","HID_USAGE_SENSORS_POWER_STATE_D0_FULL_POWER","HID_USAGE_SENSORS_POWER_STATE_D1_LOW_POWER","HID_USAGE_SENSORS_POWER_STATE_D2_STANDBY_POWER_WITH_WAKEUP","HID_USAGE_SENSORS_POWER_STATE_D3_SLEEP_WITH_WAKEUP","HID_USAGE_SENSORS_POWER_STATE_D4_POWER_OFF","HID_USAGE_SENSORS_FIX_QUALITY_NO_FIX","HID_USAGE_SENSORS_FIX_QUALITY_GPS","HID_USAGE_SENSORS_FIX_QUALITY_DGPS","HID_USAGE_SENSORS_FIX_TYPE_NO_FIX","HID_USAGE_SENSORS_FIX_TYPE_GPS_SPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_DGPS_SPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_GPS_PPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_REAL_TIME_KINEMATIC","HID_USAGE_SENSORS_FIX_TYPE_FLOAT_RTK","HID_USAGE_SENSORS_FIX_TYPE_ESTIMATED_DEAD_RECKONED","HID_USAGE_SENSORS_FIX_TYPE_MANUAL_INPUT_MODE","HID_USAGE_SENSORS_FIX_TYPE_SIMULATOR_MODE","HID_USAGE_SENSORS_GPS_OPERATION_MODE_MANUAL","HID_USAGE_SENSORS_GPS_OPERATION_MODE_AUTOMATIC","HID_USAGE_SENSORS_GPS_SELECTION_MODE_AUTONOMOUS","HID_USAGE_SENSORS_GPS_SELECTION_MODE_DGPS","HID_USAGE_SENSORS_GPS_SELECTION_MODE_ESTIMATED_DEAD_RECKONED","HID_USAGE_SENSORS_GPS_SELECTION_MODE_MANUAL_INPUT","HID_USAGE_SENSORS_GPS_SELECTION_MODE_SIMULATOR","HID_USAGE_SENSORS_GPS_SELECTION_MODE_DATA_NOT_VALID","HID_USAGE_SENSORS_GPS_STATUS_DATA_VALID","HID_USAGE_SENSORS_GPS_STATUS_DATA_NOT_VALID","HID_USAGE_SENSORS_ACCURACY_DEFAULT","HID_USAGE_SENSORS_ACCURACY_HIGH","HID_USAGE_SENSORS_ACCURACY_MEDIUM","HID_USAGE_SENSORS_ACCURACY_LOW","HID_USAGE_SENSORS_DAY_OF_WEEK_SUNDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_MONDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_TUESDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_WEDNESDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_THURSDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_FRIDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_SATURDAY","HID_USAGE_SENSORS_KIND_CATEGORY","HID_USAGE_SENSORS_KIND_TYPE","HID_USAGE_SENSORS_KIND_EVENT","HID_USAGE_SENSORS_KIND_PROPERTY","HID_USAGE_SENSORS_KIND_DATA_FIELD","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_LOW","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_MEDIUM","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_HIGH","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_NOT_ROTATED","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_90_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_180_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_270_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_FACE_UP","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_FACE_DOWN","HID_USAGE_SENSORS_VT_NULL","HID_USAGE_SENSORS_VT_BOOL","HID_USAGE_SENSORS_VT_UI1","HID_USAGE_SENSORS_VT_I1","HID_USAGE_SENSORS_VT_UI2","HID_USAGE_SENSORS_VT_I2","HID_USAGE_SENSORS_VT_UI4","HID_USAGE_SENSORS_VT_I4","HID_USAGE_SENSORS_VT_UI8","HID_USAGE_SENSORS_VT_I8","HID_USAGE_SENSORS_VT_R4","HID_USAGE_SENSORS_VT_R8","HID_USAGE_SENSORS_VT_WSTR","HID_USAGE_SENSORS_VT_STR","HID_USAGE_SENSORS_VT_CLSID","HID_USAGE_SENSORS_VT_VECTOR_VT_UI1","HID_USAGE_SENSORS_VT_F16E0","HID_USAGE_SENSORS_VT_F16E1","HID_USAGE_SENSORS_VT_F16E2","HID_USAGE_SENSORS_VT_F16E3","HID_USAGE_SENSORS_VT_F16E4","HID_USAGE_SENSORS_VT_F16E5","HID_USAGE_SENSORS_VT_F16E6","HID_USAGE_SENSORS_VT_F16E7","HID_USAGE_SENSORS_VT_F16E8","HID_USAGE_SENSORS_VT_F16E9","HID_USAGE_SENSORS_VT_F16EA","HID_USAGE_SENSORS_VT_F16EB","HID_USAGE_SENSORS_VT_F16EC","HID_USAGE_SENSORS_VT_F16ED","HID_USAGE_SENSORS_VT_F16EE","HID_USAGE_SENSORS_VT_F16EF","HID_USAGE_SENSORS_VT_F32E0","HID_USAGE_SENSORS_VT_F32E1","HID_USAGE_SENSORS_VT_F32E2","HID_USAGE_SENSORS_VT_F32E3","HID_USAGE_SENSORS_VT_F32E4","HID_USAGE_SENSORS_VT_F32E5","HID_USAGE_SENSORS_VT_F32E6","HID_USAGE_SENSORS_VT_F32E7","HID_USAGE_SENSORS_VT_F32E8","HID_USAGE_SENSORS_VT_F32E9","HID_USAGE_SENSORS_VT_F32EA","HID_USAGE_SENSORS_VT_F32EB","HID_USAGE_SENSORS_VT_F32EC","HID_USAGE_SENSORS_VT_F32ED","HID_USAGE_SENSORS_VT_F32EE","HID_USAGE_SENSORS_VT_F32EF","HID_USAGE_SENSORS_ACTIVITY_TYPE_UNKNOWN","HID_USAGE_SENSORS_ACTIVITY_TYPE_STATIONARY","HID_USAGE_SENSORS_ACTIVITY_TYPE_FIDGETING","HID_USAGE_SENSORS_ACTIVITY_TYPE_WALKING","HID_USAGE_SENSORS_ACTIVITY_TYPE_RUNNING","HID_USAGE_SENSORS_ACTIVITY_TYPE_IN_VEHICLE","HID_USAGE_SENSORS_ACTIVITY_TYPE_BIKING","HID_USAGE_SENSORS_ACTIVITY_TYPE_IDLE","HID_USAGE_SENSORS_UNIT_NOT_SPECIFIED","HID_USAGE_SENSORS_UNIT_LUX","HID_USAGE_SENSORS_UNIT_DEGREES_KELVIN","HID_USAGE_SENSORS_UNIT_DEGREES_CELSIUS","HID_USAGE_SENSORS_UNIT_PASCAL","HID_USAGE_SENSORS_UNIT_NEWTON","HID_USAGE_SENSORS_UNIT_METERS_SECOND","HID_USAGE_SENSORS_UNIT_KILOGRAM","HID_USAGE_SENSORS_UNIT_METER","HID_USAGE_SENSORS_UNIT_METERS_SECOND_SECOND","HID_USAGE_SENSORS_UNIT_FARAD","HID_USAGE_SENSORS_UNIT_AMPERE","HID_USAGE_SENSORS_UNIT_WATT","HID_USAGE_SENSORS_UNIT_HENRY","HID_USAGE_SENSORS_UNIT_OHM","HID_USAGE_SENSORS_UNIT_VOLT","HID_USAGE_SENSORS_UNIT_HERTZ","HID_USAGE_SENSORS_UNIT_BAR","HID_USAGE_SENSORS_UNIT_DEGREES_ANTI_CLOCKWISE","HID_USAGE_SENSORS_UNIT_DEGREES_CLOCKWISE","HID_USAGE_SENSORS_UNIT_DEGREES","HID_USAGE_SENSORS_UNIT_DEGREES_SECOND","HID_USAGE_SENSORS_UNIT_DEGREES_SECOND_SECOND","HID_USAGE_SENSORS_UNIT_KNOT","HID_USAGE_SENSORS_UNIT_PERCENT","HID_USAGE_SENSORS_UNIT_SECOND","HID_USAGE_SENSORS_UNIT_MILLISECOND","HID_USAGE_SENSORS_UNIT_G","HID_USAGE_SENSORS_UNIT_BYTES","HID_USAGE_SENSORS_UNIT_MILLIGAUSS","HID_USAGE_SENSORS_UNIT_BITS","HID_USAGE_SENSORS_ACTIVITY_STATE_NO_STATE_CHANGE","HID_USAGE_SENSORS_ACTIVITY_STATE_START_ACTIVITY","HID_USAGE_SENSORS_ACTIVITY_STATE_END_ACTIVITY","HID_USAGE_SENSORS_EXPONENT_0","HID_USAGE_SENSORS_EXPONENT_1","HID_USAGE_SENSORS_EXPONENT_2","HID_USAGE_SENSORS_EXPONENT_3","HID_USAGE_SENSORS_EXPONENT_4","HID_USAGE_SENSORS_EXPONENT_5","HID_USAGE_SENSORS_EXPONENT_6","HID_USAGE_SENSORS_EXPONENT_7","HID_USAGE_SENSORS_EXPONENT_8","HID_USAGE_SENSORS_EXPONENT_9","HID_USAGE_SENSORS_EXPONENT_A","HID_USAGE_SENSORS_EXPONENT_B","HID_USAGE_SENSORS_EXPONENT_C","HID_USAGE_SENSORS_EXPONENT_D","HID_USAGE_SENSORS_EXPONENT_E","HID_USAGE_SENSORS_EXPONENT_F","HID_USAGE_SENSORS_DEVICE_POSITION_UNKNOWN","HID_USAGE_SENSORS_DEVICE_POSITION_UNCHANGED","HID_USAGE_SENSORS_DEVICE_POSITION_ON_DESK","HID_USAGE_SENSORS_DEVICE_POSITION_IN_HAND","HID_USAGE_SENSORS_DEVICE_POSITION_MOVING_IN_BAG","HID_USAGE_SENSORS_DEVICE_POSITION_STATIONARY_IN_BAG","HID_USAGE_SENSORS_STEP_TYPE_UNKNOWN","HID_USAGE_SENSORS_STEP_TYPE_RUNNING","HID_USAGE_SENSORS_STEP_TYPE_WALKING","HID_USAGE_SENSORS_GESTURE_STATE_UNKNOWN","HID_USAGE_SENSORS_GESTURE_STATE_STARTED","HID_USAGE_SENSORS_GESTURE_STATE_COMPLETED","HID_USAGE_SENSORS_GESTURE_STATE_CANCELLED","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_UNKNOWN","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_PANEL_1","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_PANEL_2","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_BOTH","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_UNKNOWN","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_INCREASING","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_DECREASING","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_ABSOLUTE","HID_USAGE_SENSORS_MODIFIER_MAXIMUM","HID_USAGE_SENSORS_MODIFIER_MINIMUM","HID_USAGE_SENSORS_MODIFIER_ACCURACY","HID_USAGE_SENSORS_MODIFIER_RESOLUTION","HID_USAGE_SENSORS_MODIFIER_THRESHOLD_HIGH","HID_USAGE_SENSORS_MODIFIER_THRESHOLD_LOW","HID_USAGE_SENSORS_MODIFIER_CALIBRATION_OFFSET","HID_USAGE_SENSORS_MODIFIER_CALIBRATION_MULTIPLIER","HID_USAGE_SENSORS_MODIFIER_REPORT_INTERVAL","HID_USAGE_SENSORS_MODIFIER_FREQUENCY_MAX","HID_USAGE_SENSORS_MODIFIER_PERIOD_MAX","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_PERCENT_OF_RANGE","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_PERCENT_RELATIVE","HID_USAGE_MEDICAL_UNDEFINED","HID_USAGE_MEDICAL_MEDICAL_ULTRASOUND","HID_USAGE_MEDICAL_VCR_ACQUISITION","HID_USAGE_MEDICAL_FREEZE_THAW","HID_USAGE_MEDICAL_CLIP_STORE","HID_USAGE_MEDICAL_UPDATE","HID_USAGE_MEDICAL_NEXT","HID_USAGE_MEDICAL_SAVE","HID_USAGE_MEDICAL_PRINT","HID_USAGE_MEDICAL_MICROPHONE_ENABLE","HID_USAGE_MEDICAL_CINE","HID_USAGE_MEDICAL_TRANSMIT_POWER","HID_USAGE_MEDICAL_VOLUME","HID_USAGE_MEDICAL_FOCUS","HID_USAGE_MEDICAL_DEPTH","HID_USAGE_MEDICAL_SOFT_STEP_MINUS_PRIMARY","HID_USAGE_MEDICAL_SOFT_STEP_MINUS_SECONDARY","HID_USAGE_MEDICAL_DEPTH_GAIN_COMPENSATION","HID_USAGE_MEDICAL_ZOOM_SELECT","HID_USAGE_MEDICAL_ZOOM_ADJUST","HID_USAGE_MEDICAL_SPECTRAL_DOPPLER_MODE_SELECT","HID_USAGE_MEDICAL_SPECTRAL_DOPPLER_ADJUST","HID_USAGE_MEDICAL_COLOR_DOPPLER_MODE_SELECT","HID_USAGE_MEDICAL_COLOR_DOPPLER_ADJUST","HID_USAGE_MEDICAL_MOTION_MODE_SELECT","HID_USAGE_MEDICAL_MOTION_MODE_ADJUST","HID_USAGE_MEDICAL_2_D_MODE_SELECT","HID_USAGE_MEDICAL_2_D_MODE_ADJUST","HID_USAGE_MEDICAL_SOFT_CONTROL_SELECT","HID_USAGE_MEDICAL_SOFT_CONTROL_ADJUST","HID_USAGE_BRAILLE_UNDEFINED","HID_USAGE_BRAILLE_BRAILLE_DISPLAY","HID_USAGE_BRAILLE_BRAILLE_ROW","HID_USAGE_BRAILLE_8_DOT_BRAILLE_CELL","HID_USAGE_BRAILLE_6_DOT_BRAILLE_CELL","HID_USAGE_BRAILLE_NUMBER_OF_BRAILLE_CELLS","HID_USAGE_BRAILLE_SCREEN_READER_CONTROL","HID_USAGE_BRAILLE_SCREEN_READER_IDENTIFIER","HID_USAGE_BRAILLE_ROUTER_SET_1","HID_USAGE_BRAILLE_ROUTER_SET_2","HID_USAGE_BRAILLE_ROUTER_SET_3","HID_USAGE_BRAILLE_ROUTER_KEY","HID_USAGE_BRAILLE_ROW_ROUTER_KEY","HID_USAGE_BRAILLE_BRAILLE_BUTTONS","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_1","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_2","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_3","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_4","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_5","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_6","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_7","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_8","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_SPACE","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_LEFT_SPACE","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_RIGHT_SPACE","HID_USAGE_BRAILLE_BRAILLE_FACE_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_LEFT_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_RIGHT_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_TOP_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_CENTER","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_UP","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_DOWN","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_LEFT","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_RIGHT","HID_USAGE_BRAILLE_BRAILLE_D_PAD_CENTER","HID_USAGE_BRAILLE_BRAILLE_D_PAD_UP","HID_USAGE_BRAILLE_BRAILLE_D_PAD_DOWN","HID_USAGE_BRAILLE_BRAILLE_D_PAD_LEFT","HID_USAGE_BRAILLE_BRAILLE_D_PAD_RIGHT","HID_USAGE_BRAILLE_BRAILLE_PAN_LEFT","HID_USAGE_BRAILLE_BRAILLE_PAN_RIGHT","HID_USAGE_BRAILLE_BRAILLE_ROCKER_UP","HID_USAGE_BRAILLE_BRAILLE_ROCKER_DOWN","HID_USAGE_BRAILLE_BRAILLE_ROCKER_PRESS","HID_USAGE_LIGHT_UNDEFINED","HID_USAGE_LIGHT_LAMP_ARRAY","HID_USAGE_LIGHT_LAMP_ARRAY_ATTRIBUTES_REPORT","HID_USAGE_LIGHT_LAMP_COUNT","HID_USAGE_LIGHT_BOUNDING_BOX_WIDTH_IN_MICROMETERS","HID_USAGE_LIGHT_BOUNDING_BOX_HEIGHT_IN_MICROMETERS","HID_USAGE_LIGHT_BOUNDING_BOX_DEPTH_IN_MICROMETERS","HID_USAGE_LIGHT_LAMP_ARRAY_KIND","HID_USAGE_LIGHT_MIN_UPDATE_INTERVAL_IN_MICROSECONDS","HID_USAGE_LIGHT_LAMP_ATTRIBUTES_REQUEST_REPORT","HID_USAGE_LIGHT_LAMP_ID","HID_USAGE_LIGHT_LAMP_ATTRIBUTES_RESPONSE_REPORT","HID_USAGE_LIGHT_POSITION_X_IN_MICROMETERS","HID_USAGE_LIGHT_POSITION_Y_IN_MICROMETERS","HID_USAGE_LIGHT_POSITION_Z_IN_MICROMETERS","HID_USAGE_LIGHT_LAMP_PURPOSES","HID_USAGE_LIGHT_UPDATE_LATENCY_IN_MICROSECONDS","HID_USAGE_LIGHT_RED_LEVEL_COUNT","HID_USAGE_LIGHT_GREEN_LEVEL_COUNT","HID_USAGE_LIGHT_BLUE_LEVEL_COUNT","HID_USAGE_LIGHT_INTENSITY_LEVEL_COUNT","HID_USAGE_LIGHT_IS_PROGRAMMABLE","HID_USAGE_LIGHT_INPUT_BINDING","HID_USAGE_LIGHT_LAMP_MULTI_UPDATE_REPORT","HID_USAGE_LIGHT_RED_UPDATE_CHANNEL","HID_USAGE_LIGHT_GREEN_UPDATE_CHANNEL","HID_USAGE_LIGHT_BLUE_UPDATE_CHANNEL","HID_USAGE_LIGHT_INTENSITY_UPDATE_CHANNEL","HID_USAGE_LIGHT_LAMP_UPDATE_FLAGS","HID_USAGE_LIGHT_LAMP_RANGE_UPDATE_REPORT","HID_USAGE_LIGHT_LAMP_ID_START","HID_USAGE_LIGHT_LAMP_ID_END","HID_USAGE_LIGHT_LAMP_ARRAY_CONTROL_REPORT","HID_USAGE_LIGHT_AUTONOMOUS_MODE","HID_USAGE_MONITOR_MONITOR_CONTROL","HID_USAGE_MONITOR_EDID_INFORMATION","HID_USAGE_MONITOR_VDIF_INFORMATION","HID_USAGE_MONITOR_VESA_VERSION","HID_USAGE_MONITOR_VESA_BRIGHTNESS","HID_USAGE_MONITOR_VESA_CONTRAST","HID_USAGE_MONITOR_VESA_RED_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_GREEN_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_BLUE_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_FOCUS","HID_USAGE_MONITOR_VESA_HORIZONTAL_POSITION","HID_USAGE_MONITOR_VESA_HORIZONTAL_SIZE","HID_USAGE_MONITOR_VESA_HORIZONTAL_PINCUSHION","HID_USAGE_MONITOR_VESA_HORIZONTAL_PINCUSHION_BALANCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_MISCONVERGENCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_LINEARITY","HID_USAGE_MONITOR_VESA_HORIZONTAL_LINEARITY_BALANCE","HID_USAGE_MONITOR_VESA_VERTICAL_POSITION","HID_USAGE_MONITOR_VESA_VERTICAL_SIZE","HID_USAGE_MONITOR_VESA_VERTICAL_PINCUSHION","HID_USAGE_MONITOR_VESA_VERTICAL_PINCUSHION_BALANCE","HID_USAGE_MONITOR_VESA_VERTICAL_MISCONVERGENCE","HID_USAGE_MONITOR_VESA_VERTICAL_LINEARITY","HID_USAGE_MONITOR_VESA_VERTICAL_LINEARITY_BALANCE","HID_USAGE_MONITOR_VESA_PARALLELOGRAM_DISTORTION_KEY_BALANCE","HID_USAGE_MONITOR_VESA_TRAPEZOIDAL_DISTORTION_KEY","HID_USAGE_MONITOR_VESA_TILT_ROTATION","HID_USAGE_MONITOR_VESA_TOP_CORNER_DISTORTION_CONTROL","HID_USAGE_MONITOR_VESA_TOP_CORNER_DISTORTION_BALANCE","HID_USAGE_MONITOR_VESA_BOTTOM_CORNER_DISTORTION_CONTROL","HID_USAGE_MONITOR_VESA_BOTTOM_CORNER_DISTORTION_BALANCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_MOIR","HID_USAGE_MONITOR_VESA_VERTICAL_MOIR","HID_USAGE_MONITOR_VESA_RED_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_GREEN_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_BLUE_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_INPUT_LEVEL_SELECT","HID_USAGE_MONITOR_VESA_INPUT_SOURCE_SELECT","HID_USAGE_MONITOR_VESA_ON_SCREEN_DISPLAY","HID_USAGE_MONITOR_VESA_STEREOMODE","HID_USAGE_MONITOR_VESA_AUTO_SIZE_CENTER","HID_USAGE_MONITOR_VESA_POLARITY_HORIZONTAL_SYNCHRONIZATION","HID_USAGE_MONITOR_VESA_POLARITY_VERTICAL_SYNCHRONIZATION","HID_USAGE_MONITOR_VESA_SYNCHRONIZATION_TYPE","HID_USAGE_MONITOR_VESA_SCREEN_ORIENTATION","HID_USAGE_MONITOR_VESA_HORIZONTAL_FREQUENCY","HID_USAGE_MONITOR_VESA_VERTICAL_FREQUENCY","HID_USAGE_MONITOR_VESA_DEGAUSS","HID_USAGE_MONITOR_VESA_SETTINGS","HID_USAGE_POS_BARCODE_UNDEFINED","HID_USAGE_POS_BARCODE_BAR_CODE_BADGE_READER","HID_USAGE_POS_BARCODE_BAR_CODE_SCANNER","HID_USAGE_POS_BARCODE_DUMB_BAR_CODE_SCANNER","HID_USAGE_POS_BARCODE_CORDLESS_SCANNER_BASE","HID_USAGE_POS_BARCODE_BAR_CODE_SCANNER_CRADLE","HID_USAGE_POS_BARCODE_ATTRIBUTE_REPORT","HID_USAGE_POS_BARCODE_SETTINGS_REPORT","HID_USAGE_POS_BARCODE_SCANNED_DATA_REPORT","HID_USAGE_POS_BARCODE_RAW_SCANNED_DATA_REPORT","HID_USAGE_POS_BARCODE_TRIGGER_REPORT","HID_USAGE_POS_BARCODE_STATUS_REPORT","HID_USAGE_POS_BARCODE_UPC_EAN_CONTROL_REPORT","HID_USAGE_POS_BARCODE_EAN_2_3_LABEL_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODE_39_CONTROL_REPORT","HID_USAGE_POS_BARCODE_INTERLEAVED_2_OF_5_CONTROL_REPORT","HID_USAGE_POS_BARCODE_STANDARD_2_OF_5_CONTROL_REPORT","HID_USAGE_POS_BARCODE_MSI_PLESSEY_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODABAR_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODE_128_CONTROL_REPORT","HID_USAGE_POS_BARCODE_MISC_1D_CONTROL_REPORT","HID_USAGE_POS_BARCODE_2D_CONTROL_REPORT","HID_USAGE_POS_BARCODE_AIMING_POINTER_MODE","HID_USAGE_POS_BARCODE_BAR_CODE_PRESENT_SENSOR","HID_USAGE_POS_BARCODE_CLASS_1A_LASER","HID_USAGE_POS_BARCODE_CLASS_2_LASER","HID_USAGE_POS_BARCODE_HEATER_PRESENT","HID_USAGE_POS_BARCODE_CONTACT_SCANNER","HID_USAGE_POS_BARCODE_ELECTRONIC_ARTICLE_SURVEILLANCE_NOTIFICATION","HID_USAGE_POS_BARCODE_CONSTANT_ELECTRONIC_ARTICLE_SURVEILLANCE","HID_USAGE_POS_BARCODE_ERROR_INDICATION","HID_USAGE_POS_BARCODE_FIXED_BEEPER","HID_USAGE_POS_BARCODE_GOOD_DECODE_INDICATION","HID_USAGE_POS_BARCODE_HANDS_FREE_SCANNING","HID_USAGE_POS_BARCODE_INTRINSICALLY_SAFE","HID_USAGE_POS_BARCODE_KLASSE_EINS_LASER","HID_USAGE_POS_BARCODE_LONG_RANGE_SCANNER","HID_USAGE_POS_BARCODE_MIRROR_SPEED_CONTROL","HID_USAGE_POS_BARCODE_NOT_ON_FILE_INDICATION","HID_USAGE_POS_BARCODE_PROGRAMMABLE_BEEPER","HID_USAGE_POS_BARCODE_TRIGGERLESS","HID_USAGE_POS_BARCODE_WAND","HID_USAGE_POS_BARCODE_WATER_RESISTANT","HID_USAGE_POS_BARCODE_MULTI_RANGE_SCANNER","HID_USAGE_POS_BARCODE_PROXIMITY_SENSOR","HID_USAGE_POS_BARCODE_FRAGMENT_DECODING","HID_USAGE_POS_BARCODE_SCANNER_READ_CONFIDENCE","HID_USAGE_POS_BARCODE_DATA_PREFIX","HID_USAGE_POS_BARCODE_PREFIX_AIMI","HID_USAGE_POS_BARCODE_PREFIX_NONE","HID_USAGE_POS_BARCODE_PREFIX_PROPRIETARY","HID_USAGE_POS_BARCODE_ACTIVE_TIME","HID_USAGE_POS_BARCODE_AIMING_LASER_PATTERN","HID_USAGE_POS_BARCODE_BAR_CODE_PRESENT","HID_USAGE_POS_BARCODE_BEEPER_STATE","HID_USAGE_POS_BARCODE_LASER_ON_TIME","HID_USAGE_POS_BARCODE_LASER_STATE","HID_USAGE_POS_BARCODE_LOCKOUT_TIME","HID_USAGE_POS_BARCODE_MOTOR_STATE","HID_USAGE_POS_BARCODE_MOTOR_TIMEOUT","HID_USAGE_POS_BARCODE_POWER_ON_RESET_SCANNER","HID_USAGE_POS_BARCODE_PREVENT_READ_OF_BARCODES","HID_USAGE_POS_BARCODE_INITIATE_BARCODE_READ","HID_USAGE_POS_BARCODE_TRIGGER_STATE","HID_USAGE_POS_BARCODE_TRIGGER_MODE","HID_USAGE_POS_BARCODE_TRIGGER_MODE_BLINKING_LASER_ON","HID_USAGE_POS_BARCODE_TRIGGER_MODE_CONTINUOUS_LASER_ON","HID_USAGE_POS_BARCODE_TRIGGER_MODE_LASER_ON_WHILE_PULLED","HID_USAGE_POS_BARCODE_TRIGGER_MODE_LASER_STAYS_ON_AFTER_TRIGGER_RELEASE","HID_USAGE_POS_BARCODE_COMMIT_PARAMETERS_TO_NVM","HID_USAGE_POS_BARCODE_PARAMETER_SCANNING","HID_USAGE_POS_BARCODE_PARAMETERS_CHANGED","HID_USAGE_POS_BARCODE_SET_PARAMETER_DEFAULT_VALUES","HID_USAGE_POS_BARCODE_SCANNER_IN_CRADLE","HID_USAGE_POS_BARCODE_SCANNER_IN_RANGE","HID_USAGE_POS_BARCODE_AIM_DURATION","HID_USAGE_POS_BARCODE_GOOD_READ_LAMP_DURATION","HID_USAGE_POS_BARCODE_GOOD_READ_LAMP_INTENSITY","HID_USAGE_POS_BARCODE_GOOD_READ_LED","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_FREQUENCY","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_LENGTH","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_VOLUME","HID_USAGE_POS_BARCODE_NO_READ_MESSAGE","HID_USAGE_POS_BARCODE_NOT_ON_FILE_VOLUME","HID_USAGE_POS_BARCODE_POWERUP_BEEP","HID_USAGE_POS_BARCODE_SOUND_ERROR_BEEP","HID_USAGE_POS_BARCODE_SOUND_GOOD_READ_BEEP","HID_USAGE_POS_BARCODE_SOUND_NOT_ON_FILE_BEEP","HID_USAGE_POS_BARCODE_GOOD_READ_WHEN_TO_WRITE","HID_USAGE_POS_BARCODE_GRWTI_AFTER_DECODE","HID_USAGE_POS_BARCODE_GRWTI_BEEP_LAMP_AFTER_TRANSMIT","HID_USAGE_POS_BARCODE_GRWTI_NO_BEEP_LAMP_USE_AT_ALL","HID_USAGE_POS_BARCODE_BOOKLAND_EAN","HID_USAGE_POS_BARCODE_CONVERT_EAN_8_TO_13_TYPE","HID_USAGE_POS_BARCODE_CONVERT_UPC_A_TO_EAN_13","HID_USAGE_POS_BARCODE_CONVERT_UPC_E_TO_A","HID_USAGE_POS_BARCODE_EAN_13","HID_USAGE_POS_BARCODE_EAN_8","HID_USAGE_POS_BARCODE_EAN_99_128_MANDATORY","HID_USAGE_POS_BARCODE_EAN_99_P5_128_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_EAN","HID_USAGE_POS_BARCODE_UPC_EAN_COUPON_CODE","HID_USAGE_POS_BARCODE_UPC_EAN_PERIODICALS","HID_USAGE_POS_BARCODE_UPC_A","HID_USAGE_POS_BARCODE_UPC_A_WITH_128_MANDATORY","HID_USAGE_POS_BARCODE_UPC_A_WITH_128_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_A_WITH_P5_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_E","HID_USAGE_POS_BARCODE_UPC_E1","HID_USAGE_POS_BARCODE_PERIODICAL","HID_USAGE_POS_BARCODE_PERIODICAL_AUTO_DISCRIMINATE_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_ONLY_DECODE_WITH_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_IGNORE_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_AUTO_DISCRIMINATE_PLUS_5","HID_USAGE_POS_BARCODE_PERIODICAL_ONLY_DECODE_WITH_PLUS_5","HID_USAGE_POS_BARCODE_PERIODICAL_IGNORE_PLUS_5","HID_USAGE_POS_BARCODE_CHECK","HID_USAGE_POS_BARCODE_CHECK_DISABLE_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_4_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_5_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_EUROPEAN_4_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_EUROPEAN_5_DIGIT_PRICE","HID_USAGE_POS_BARCODE_EAN_TWO_LABEL","HID_USAGE_POS_BARCODE_EAN_THREE_LABEL","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_1","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_2","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_3","HID_USAGE_POS_BARCODE_EAN_13_FLAG_DIGIT_1","HID_USAGE_POS_BARCODE_EAN_13_FLAG_DIGIT_2","HID_USAGE_POS_BARCODE_TRANSMIT_CHECK_DIGIT","HID_USAGE_POS_BARCODE_DISABLE_CHECK_DIGIT_TRANSMIT","HID_USAGE_POS_BARCODE_ENABLE_CHECK_DIGIT_TRANSMIT","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_1","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_2","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_3","HID_USAGE_POS_BARCODE_DECODED_DATA","HID_USAGE_POS_BARCODE_DECODE_DATA_CONTINUED","HID_USAGE_POS_BARCODE_BAR_SPACE_DATA","HID_USAGE_POS_BARCODE_SCANNER_DATA_ACCURACY","HID_USAGE_POS_BARCODE_RAW_DATA_POLARITY","HID_USAGE_POS_BARCODE_POLARITY_INVERTED_BAR_CODE","HID_USAGE_POS_BARCODE_POLARITY_NORMAL_BAR_CODE","HID_USAGE_POS_BARCODE_MINIMUM_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_MAXIMUM_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_FIRST_DISCRETE_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_SECOND_DISCRETE_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_DATA_LENGTH_METHOD","HID_USAGE_POS_BARCODE_DL_METHOD_READ_ANY","HID_USAGE_POS_BARCODE_DL_METHOD_CHECK_IN_RANGE","HID_USAGE_POS_BARCODE_DL_METHOD_CHECK_FOR_DISCRETE","HID_USAGE_POS_BARCODE_AZTEC_CODE","HID_USAGE_POS_BARCODE_BC412","HID_USAGE_POS_BARCODE_CHANNEL_CODE","HID_USAGE_POS_BARCODE_CODE_16","HID_USAGE_POS_BARCODE_CODE_32","HID_USAGE_POS_BARCODE_CODE_49","HID_USAGE_POS_BARCODE_CODE_ONE","HID_USAGE_POS_BARCODE_COLORCODE","HID_USAGE_POS_BARCODE_DATA_MATRIX","HID_USAGE_POS_BARCODE_MAXICODE","HID_USAGE_POS_BARCODE_MICROPDF","HID_USAGE_POS_BARCODE_PDF_417","HID_USAGE_POS_BARCODE_POSICODE","HID_USAGE_POS_BARCODE_QR_CODE","HID_USAGE_POS_BARCODE_SUPERCODE","HID_USAGE_POS_BARCODE_ULTRACODE","HID_USAGE_POS_BARCODE_USD_5_SLUG_CODE","HID_USAGE_POS_BARCODE_VERICODE","HID_USAGE_POS_SCALE_UNDEFINED","HID_USAGE_POS_SCALE_WEIGHING_DEVICE","HID_USAGE_POS_SCALE_SCALE_DEVICE","HID_USAGE_POS_SCALE_SCALE_CLASS_I_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_I_METRIC_2","HID_USAGE_POS_SCALE_SCALE_CLASS_II_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_III_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_IIIL_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_IV_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_III_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_IIIL_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_IV_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_GENERIC","HID_USAGE_POS_SCALE_SCALE_ATTRIBUTE_REPORT","HID_USAGE_POS_SCALE_SCALE_CONTROL_REPORT","HID_USAGE_POS_SCALE_SCALE_DATA_REPORT","HID_USAGE_POS_SCALE_SCALE_STATUS_REPORT","HID_USAGE_POS_SCALE_SCALE_WEIGHT_LIMIT_REPORT","HID_USAGE_POS_SCALE_SCALE_STATISTICS_REPORT","HID_USAGE_POS_SCALE_DATA_WEIGHT","HID_USAGE_POS_SCALE_DATA_SCALING","HID_USAGE_POS_SCALE_WEIGHT_UNIT","HID_USAGE_POS_SCALE_WEIGHT_UNIT_MILLIGRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_GRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_KILOGRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_CARATS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_TAELS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_GRAINS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_PENNYWEIGHTS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_METRIC_TON","HID_USAGE_POS_SCALE_WEIGHT_UNIT_AVOIR_TON","HID_USAGE_POS_SCALE_WEIGHT_UNIT_TROY_OUNCE","HID_USAGE_POS_SCALE_WEIGHT_UNIT_OUNCE","HID_USAGE_POS_SCALE_WEIGHT_UNIT_POUND","HID_USAGE_POS_SCALE_CALIBRATION_COUNT","HID_USAGE_POS_SCALE_RE_ZERO_COUNT","HID_USAGE_POS_SCALE_SCALE_STATUS","HID_USAGE_POS_SCALE_SCALE_STATUS_FAULT","HID_USAGE_POS_SCALE_SCALE_STATUS_STABLE_AT_CENTER_OF_ZERO","HID_USAGE_POS_SCALE_SCALE_STATUS_IN_MOTION","HID_USAGE_POS_SCALE_SCALE_STATUS_WEIGHT_STABLE","HID_USAGE_POS_SCALE_SCALE_STATUS_UNDER_ZERO","HID_USAGE_POS_SCALE_SCALE_STATUS_OVER_WEIGHT_LIMIT","HID_USAGE_POS_SCALE_SCALE_STATUS_REQUIRES_CALIBRATION","HID_USAGE_POS_SCALE_SCALE_STATUS_REQUIRES_RE_ZEROING","HID_USAGE_POS_SCALE_ZERO_SCALE","HID_USAGE_POS_SCALE_ENFORCED_ZERO_RETURN","HID_USAGE_POS_MSR_UNDEFINED","HID_USAGE_POS_MSR_MSR_DEVICE_READ_ONLY","HID_USAGE_POS_MSR_TRACK_1_LENGTH","HID_USAGE_POS_MSR_TRACK_2_LENGTH","HID_USAGE_POS_MSR_TRACK_3_LENGTH","HID_USAGE_POS_MSR_TRACK_JIS_LENGTH","HID_USAGE_POS_MSR_TRACK_DATA","HID_USAGE_POS_MSR_TRACK_1_DATA","HID_USAGE_POS_MSR_TRACK_2_DATA","HID_USAGE_POS_MSR_TRACK_3_DATA","HID_USAGE_POS_MSR_TRACK_JIS_DATA","HID_USAGE_CAMERA_UNDEFINED","HID_USAGE_CAMERA_CAMERA_AUTO_FOCUS","HID_USAGE_CAMERA_CAMERA_SHUTTER","HID_USAGE_FIDO_UNDEFINED","HID_USAGE_FIDO_U2F_AUTHENTICATOR_DEVICE","HID_USAGE_FIDO_INPUT_REPORT_DATA","HID_USAGE_FIDO_OUTPUT_REPORT_DATA","ZMK_HID_USAGE","ZMK_HID_USAGE_ID","ZMK_HID_USAGE_PAGE","USAGE_KEYPAD","USAGE_CONSUMER","HID_USAGE_GD","HID_USAGE_SIM","HID_USAGE_VR","HID_USAGE_SPORT","HID_USAGE_GAME","HID_USAGE_GDV","HID_USAGE_KEY","HID_USAGE_LED","HID_USAGE_TELEPHONY","HID_USAGE_CONSUMER","HID_USAGE_DIGITIZERS","HID_USAGE_HAPTICS","HID_USAGE_PID","HID_USAGE_EHT","HID_USAGE_AUXDISP","HID_USAGE_SENSORS","HID_USAGE_MEDICAL","HID_USAGE_BRAILLE","HID_USAGE_LIGHT","HID_USAGE_MONITOR","HID_USAGE_MONITOR_VALUES","HID_USAGE_MONITOR_VESA","HID_USAGE_POWER","HID_USAGE_POS_BARCODE","HID_USAGE_POS_SCALE","HID_USAGE_POS_MSR","HID_USAGE_POS_RESV","HID_USAGE_CAMERA","HID_USAGE_ARCADE","HID_USAGE_GAMING","HID_USAGE_FIDO","SYSTEM_POWER","SYS_PWR","SYSTEM_SLEEP","SYS_SLEEP","SYSTEM_WAKE_UP","SYS_WAKE","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","NUMBER_1","N1","NUM_1","EXCLAMATION","EXCL","BANG","NUMBER_2","N2","NUM_2","AT_SIGN","AT","ATSN","NUMBER_3","N3","NUM_3","HASH","POUND","NUMBER_4","N4","NUM_4","DOLLAR","DLLR","NUMBER_5","N5","NUM_5","PERCENT","PRCNT","PRCT","NUMBER_6","N6","NUM_6","CARET","CRRT","NUMBER_7","N7","NUM_7","AMPERSAND","AMPS","NUMBER_8","N8","NUM_8","ASTERISK","ASTRK","STAR","NUMBER_9","N9","NUM_9","LEFT_PARENTHESIS","LPAR","LPRN","NUMBER_0","N0","NUM_0","RIGHT_PARENTHESIS","RPAR","RPRN","RETURN","ENTER","RET","ESCAPE","ESC","BACKSPACE","BSPC","BKSP","TAB","SPACE","SPC","MINUS","UNDERSCORE","UNDER","EQUAL","EQL","PLUS","LEFT_BRACKET","LBKT","LEFT_BRACE","LBRC","LCUR","RIGHT_BRACKET","RBKT","RIGHT_BRACE","RBRC","RCUR","BACKSLASH","BSLH","PIPE","NON_US_HASH","NUHS","TILDE2","SEMICOLON","SEMI","SCLN","COLON","COLN","SINGLE_QUOTE","SQT","APOSTROPHE","APOS","QUOT","DOUBLE_QUOTES","DQT","GRAVE","GRAV","TILDE","TILD","COMMA","CMMA","LESS_THAN","LT","LABT","PERIOD","DOT","GREATER_THAN","GT","RABT","SLASH","FSLH","QUESTION","QMARK","CAPSLOCK","CAPS","CLCK","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","PRINTSCREEN","PSCRN","PRSC","SCROLLLOCK","SLCK","SCLK","PAUSE_BREAK","PAUS","INSERT","INS","HOME","PAGE_UP","PG_UP","PGUP","DELETE","DEL","END","PAGE_DOWN","PG_DN","PGDN","RIGHT_ARROW","RIGHT","RARW","LEFT_ARROW","LEFT","LARW","DOWN_ARROW","DOWN","DARW","UP_ARROW","UP","UARW","KP_NUMLOCK","KP_NUM","KP_NLCK","CLEAR2","KP_DIVIDE","KP_SLASH","KDIV","KP_MULTIPLY","KP_ASTERISK","KMLT","KP_MINUS","KP_SUBTRACT","KMIN","KP_PLUS","KPLS","KP_ENTER","KP_NUMBER_1","KP_N1","KP_NUMBER_2","KP_N2","KP_NUMBER_3","KP_N3","KP_NUMBER_4","KP_N4","KP_NUMBER_5","KP_N5","KP_NUMBER_6","KP_N6","KP_NUMBER_7","KP_N7","KP_NUMBER_8","KP_N8","KP_NUMBER_9","KP_N9","KP_NUMBER_0","KP_N0","KP_DOT","NON_US_BACKSLASH","NON_US_BSLH","NUBS","PIPE2","K_APPLICATION","K_APP","K_CONTEXT_MENU","K_CMENU","GUI","K_POWER","K_PWR","KP_EQUAL","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","K_EXECUTE","K_EXEC","K_HELP","K_MENU","K_SELECT","K_STOP","K_AGAIN","K_REDO","K_UNDO","UNDO","K_CUT","CUT","K_COPY","COPY","K_PASTE","PSTE","K_FIND","K_MUTE","K_VOLUME_UP","K_VOL_UP","VOLU","K_VOLUME_DOWN","K_VOL_DN","VOLD","LOCKING_CAPS","LCAPS","LOCKING_NUM","LNLCK","LOCKING_SCROLL","LSLCK","KP_COMMA","KP_EQUAL_AS400","INTERNATIONAL_1","INT1","INT_RO","INTERNATIONAL_2","INT2","INT_KATAKANAHIRAGANA","INT_KANA","INTERNATIONAL_3","INT3","INT_YEN","INTERNATIONAL_4","INT4","INT_HENKAN","INTERNATIONAL_5","INT5","INT_MUHENKAN","INTERNATIONAL_6","INT6","INT_KPJPCOMMA","INTERNATIONAL_7","INT7","INTERNATIONAL_8","INT8","INTERNATIONAL_9","INT9","LANGUAGE_1","LANG1","LANG_HANGEUL","LANGUAGE_2","LANG2","LANG_HANJA","LANGUAGE_3","LANG3","LANG_KATAKANA","LANGUAGE_4","LANG4","LANG_HIRAGANA","LANGUAGE_5","LANG5","LANG_ZENKAKUHANKAKU","LANGUAGE_6","LANG6","LANGUAGE_7","LANG7","LANGUAGE_8","LANG8","LANGUAGE_9","LANG9","ALT_ERASE","SYSREQ","ATTENTION","K_CANCEL","CLEAR","PRIOR","RETURN2","RET2","SEPARATOR","OUT","OPER","CLEAR_AGAIN","CRSEL","EXSEL","CURU","KP_LEFT_PARENTHESIS","KP_LPAR","KP_RIGHT_PARENTHESIS","KP_RPAR","KSPC","KP_CLEAR","LEFT_CONTROL","LCTRL","LCTL","LEFT_SHIFT","LSHIFT","LSHFT","LSFT","LEFT_ALT","LALT","LEFT_GUI","LGUI","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA","RIGHT_CONTROL","RCTRL","RCTL","RIGHT_SHIFT","RSHIFT","RSHFT","RSFT","RIGHT_ALT","RALT","RIGHT_GUI","RGUI","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA","K_PLAY_PAUSE","K_PP","K_STOP2","K_PREVIOUS","K_PREV","K_NEXT","K_EJECT","K_VOLUME_UP2","K_VOL_UP2","K_VOLUME_DOWN2","K_VOL_DN2","K_MUTE2","K_WWW","K_BACK","K_FORWARD","K_STOP3","K_FIND2","K_SCROLL_UP","K_SCROLL_DOWN","K_EDIT","K_SLEEP","K_LOCK","K_SCREENSAVER","K_COFFEE","K_REFRESH","K_CALCULATOR","K_CALC","C_POWER","C_PWR","C_RESET","C_SLEEP","C_SLEEP_MODE","C_MENU","C_MENU_PICK","C_MENU_SELECT","C_MENU_UP","C_MENU_DOWN","C_MENU_LEFT","C_MENU_RIGHT","C_MENU_ESCAPE","C_MENU_ESC","C_MENU_INCREASE","C_MENU_INC","C_MENU_DECREASE","C_MENU_DEC","C_DATA_ON_SCREEN","C_CAPTIONS","C_SUBTITLES","C_SNAPSHOT","C_PIP","C_RED_BUTTON","C_RED","C_GREEN_BUTTON","C_GREEN","C_BLUE_BUTTON","C_BLUE","C_YELLOW_BUTTON","C_YELLOW","C_ASPECT","C_BRIGHTNESS_INC","C_BRI_INC","C_BRI_UP","C_BRIGHTNESS_DEC","C_BRI_DEC","C_BRI_DN","C_BACKLIGHT_TOGGLE","C_BKLT_TOG","C_BRIGHTNESS_MINIMUM","C_BRI_MIN","C_BRIGHTNESS_MAXIMUM","C_BRI_MAX","C_BRIGHTNESS_AUTO","C_BRI_AUTO","C_MEDIA_STEP","C_MODE_STEP","C_RECALL_LAST","C_CHAN_LAST","C_MEDIA_COMPUTER","C_MEDIA_TV","C_MEDIA_WWW","C_MEDIA_DVD","C_MEDIA_PHONE","C_MEDIA_GUIDE","C_MEDIA_VIDEOPHONE","C_MEDIA_GAMES","C_MEDIA_MESSAGES","C_MEDIA_CD","C_MEDIA_VCR","C_MEDIA_TUNER","C_QUIT","C_HELP","C_MEDIA_TAPE","C_MEDIA_CABLE","C_MEDIA_SATELLITE","C_MEDIA_HOME","C_CHANNEL_INC","C_CHAN_INC","C_CHANNEL_DEC","C_CHAN_DEC","C_MEDIA_VCR_PLUS","C_PLAY","C_PAUSE","C_RECORD","C_REC","C_FAST_FORWARD","C_FF","C_REWIND","C_RW","C_NEXT","M_NEXT","C_PREVIOUS","C_PREV","M_PREV","C_STOP","M_STOP","C_EJECT","M_EJCT","C_RANDOM_PLAY","C_SHUFFLE","C_REPEAT","C_SLOW_TRACKING","C_SLOW2","C_STOP_EJECT","C_PLAY_PAUSE","C_PP","M_PLAY","C_VOICE_COMMAND","C_MUTE","M_MUTE","C_BASS_BOOST","C_VOLUME_UP","C_VOL_UP","M_VOLU","C_VOLUME_DOWN","C_VOL_DN","M_VOLD","C_SLOW","C_ALTERNATE_AUDIO_INCREMENT","C_ALT_AUDIO_INC","C_AL_CCC","C_AL_WORD","C_AL_TEXT_EDITOR","C_AL_SPREADSHEET","C_AL_SHEET","C_AL_GRAPHICS_EDITOR","C_AL_PRESENTATION","C_AL_DATABASE","C_AL_DB","C_AL_EMAIL","C_AL_MAIL","C_AL_NEWS","C_AL_VOICEMAIL","C_AL_CONTACTS","C_AL_ADDRESS_BOOK","C_AL_CALENDAR","C_AL_CAL","C_AL_TASK_MANAGER","C_AL_JOURNAL","C_AL_FINANCE","C_AL_CALCULATOR","C_AL_CALC","C_AL_AV_CAPTURE_PLAYBACK","C_AL_MY_COMPUTER","C_AL_WWW","C_AL_NETWORK_CHAT","C_AL_CHAT","C_AL_LOGOFF","C_AL_LOCK","C_AL_SCREENSAVER","C_AL_COFFEE","C_AL_CONTROL_PANEL","C_AL_SELECT_TASK","C_AL_NEXT_TASK","C_AL_PREVIOUS_TASK","C_AL_PREV_TASK","C_AL_HELP","C_AL_DOCUMENTS","C_AL_DOCS","C_AL_SPELLCHECK","C_AL_SPELL","C_AL_KEYBOARD_LAYOUT","C_AL_SCREEN_SAVER","C_AL_FILE_BROWSER","C_AL_FILES","C_AL_IMAGE_BROWSER","C_AL_IMAGES","C_AL_AUDIO_BROWSER","C_AL_AUDIO","C_AL_MUSIC","C_AL_MOVIE_BROWSER","C_AL_MOVIES","C_AL_INSTANT_MESSAGING","C_AL_IM","C_AL_OEM_FEATURES","C_AL_TIPS","C_AL_TUTORIAL","C_AC_NEW","C_AC_OPEN","C_AC_CLOSE","C_AC_EXIT","C_AC_SAVE","C_AC_PRINT","C_AC_PROPERTIES","C_AC_PROPS","C_AC_UNDO","C_AC_COPY","C_AC_CUT","C_AC_PASTE","C_AC_FIND","C_AC_SEARCH","C_AC_GOTO","C_AC_HOME","C_AC_BACK","C_AC_FORWARD","C_AC_STOP","C_AC_REFRESH","C_AC_BOOKMARKS","C_AC_FAVORITES","C_AC_FAVOURITES","C_AC_ZOOM_IN","C_AC_ZOOM_OUT","C_AC_ZOOM","C_AC_VIEW_TOGGLE","C_AC_SCROLL_UP","C_AC_SCROLL_DOWN","C_AC_EDIT","C_AC_CANCEL","C_AC_INSERT","C_AC_INS","C_AC_DEL","C_AC_REDO","C_AC_REPLY","C_AC_FORWARD_MAIL","C_AC_SEND","C_AC_DESKTOP_SHOW_ALL_WINDOWS","C_AC_DESKTOP_SHOW_ALL_APPLICATIONS","C_KEYBOARD_INPUT_ASSIST_PREVIOUS","C_KBIA_PREV","C_KEYBOARD_INPUT_ASSIST_NEXT","C_KBIA_NEXT","C_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","C_KBIA_PREV_GRP","C_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","C_KBIA_NEXT_GRP","C_KEYBOARD_INPUT_ASSIST_ACCEPT","C_KBIA_ACCEPT","C_KEYBOARD_INPUT_ASSIST_CANCEL","C_KBIA_CANCEL","ZMK_MOCK_IS_PRESS","ZMK_MOCK_PRESS","ZMK_MOCK_RELEASE","ZMK_MOCK_ROW","ZMK_MOCK_COL","ZMK_MOCK_MSEC","KT_ROW","KT_COL","RC","MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI","SELECT_MODS","STRIP_MODS","APPLY_MODS","LC","LS","LA","LG","RC","RS","RA","RG","OUT_TOG","OUT_USB","OUT_BLE","RST_WARM","RST_COLD","RST_UF2","RGB_TOG_CMD","RGB_ON_CMD","RGB_OFF_CMD","RGB_HUI_CMD","RGB_HUD_CMD","RGB_SAI_CMD","RGB_SAD_CMD","RGB_BRI_CMD","RGB_BRD_CMD","RGB_SPI_CMD","RGB_SPD_CMD","RGB_EFF_CMD","RGB_EFR_CMD","RGB_EFS_CMD","RGB_COLOR_HSB_CMD","RGB_TOG","RGB_ON","RGB_OFF","RGB_HUI","RGB_HUD","RGB_SAI","RGB_SAD","RGB_BRI","RGB_BRD","RGB_SPI","RGB_SPD","RGB_EFF","RGB_EFR","RGB_COLOR_HSB_VAL","RGB_COLOR_HSB","RGB_COLOR_HSV"]')},30877:function(_){"use strict";_.exports=JSON.parse('[{"match":{"code":"<"},"params":["layer","code"]},{"match":{"code":"&mt"},"params":["code","code"]},{"match":{"code":"&sl"},"params":["layer"]},{"match":{"code":"&sk"},"params":["code"]},{"match":{"code":"&inc_dec_kp"},"params":["code","code"]},{"match":{"compatible":"zmk,behavior-backlight"},"params":[{"name":"backlight action","type":"command","enum":[{"code":"BL_ON","description":"Turn on backlight"},{"code":"BL_OFF","description":"Turn off backlight"},{"code":"BL_TOG","description":"Toggle backlight on and off"},{"code":"BL_INC","description":"Increase brightness"},{"code":"BL_DEC","description":"Decrease brightness"},{"code":"BL_CYCLE","description":"Cycle brightness"},{"code":"BL_SET","description":"Set a specific brightness","additionalParams":[{"name":"brightness","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]}]}]}]},{"match":{"compatible":"zmk,behavior-bluetooth"},"params":[{"name":"bluetooth action","type":"command","enum":[{"code":"BT_CLR","displayName":"Clear profile","description":"Clear bond information between the keyboard and host for the selected profile."},{"code":"BT_NXT","displayName":"Next profile","description":"Switch to the next profile, cycling through to the first one when the end is reached."},{"code":"BT_PRV","displayName":"Previous profile","description":"Switch to the previous profile, cycling through to the last one when the beginning is reached."},{"code":"BT_SEL","displayName":"Select profile","description":"Select the 0-indexed profile by number. Please note: this definition must include a number as an argument in the keymap to work correctly. eg. BT_SEL 0","additionalParams":[{"name":"bluetooth profile","type":"integer","enum":[{"code":0,"displayName":"Bluetooth profile #0"},{"code":1,"displayName":"Bluetooth profile #1"},{"code":2,"displayName":"Bluetooth profile #2"},{"code":3,"displayName":"Bluetooth profile #3"},{"code":4,"displayName":"Bluetooth profile #4"}]}]}]}]},{"match":{"compatible":"zmk,behavior-key-press"},"params":["code"]},{"match":{"compatible":"zmk,behavior-key-toggle"},"params":["code"]},{"match":{"compatible":"zmk,behavior-momentary-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-outputs"},"params":[{"type":"command","name":"keyboard output mode","enum":[{"code":"OUT_BLE","name":"BLE","description":"Prefer sending to the current bluetooth profile"},{"code":"OUT_USB","name":"USB","description":"Prefer sending to USB"},{"code":"OUT_TOG","name":"Toggle","description":"Toggle between USB and BLE"}]}]},{"match":{"compatible":"zmk,behavior-to-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-toggle-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-rgb-underglow"},"params":[{"type":"command","name":"RGB underglow action","enum":[{"code":"RGB_TOG","displayName":"Toggle","description":"Toggles the RGB feature on and off"},{"code":"RGB_HUI","displayName":"Increase hue","description":"Increases the hue of the RGB feature"},{"code":"RGB_HUD","displayName":"Decrease hue","description":"Decreases the hue of the RGB feature"},{"code":"RGB_SAI","displayName":"Increase saturation","description":"Increases the saturation of the RGB feature"},{"code":"RGB_SAD","displayName":"Decrease saturation","description":"Decreases the saturation of the RGB feature"},{"code":"RGB_BRI","displayName":"Increase brightness","description":"Increases the brightness of the RGB feature"},{"code":"RGB_BRD","displayName":"Decrease brightness","description":"Decreases the brightness of the RGB feature"},{"code":"RGB_SPI","displayName":"Increase speed","description":"Increases the speed of the RGB feature effect\'s animation"},{"code":"RGB_SPD","displayName":"Decrease speed","description":"Decreases the speed of the RGB feature effect\'s animation"},{"code":"RGB_EFF","displayName":"Next effect","description":"Cycles the RGB feature\'s effect forwards"},{"code":"RGB_EFR","displayName":"Previous effect","description":"Cycles the RGB feature\'s effect reverse"},{"code":"RGB_COLOR_HSB","displayName":"Set color","description":"Sets a specific HSB (HSV) value for the underglow","symbol":"HSB","helper":"hsb-color-picker","helperPrompt":"Set color","params":[{"name":"hue","type":"integer","enum":[0,30,60,90,120,160,180,210,240,270,300,330,360]},{"name":"saturation","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]},{"name":"value","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]}]}]}]},{"match":{"compatible":"zmk,behavior-ext-power"},"params":[{"type":"command","name":"external power mode","enum":[{"code":"EP_ON","name":"On","description":"Enable the external power"},{"code":"EP_OFF","name":"Off","description":"Disable the external power"},{"code":"EP_TOG","name":"Toggle","description":"Toggle the external power"}]}]},{"match":{"compatible":"zmk,macro-control-tap-time"},"params":[{"type":"number","raw":true}]},{"match":{"compatible":"zmk,macro-control-wait-time"},"params":[{"type":"number","raw":true}]}]')},31742:function(_){"use strict";_.exports=JSON.parse('{"zmk,behavior-sensor-rotate":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate","include":"zero_param.yaml","properties":{"#sensor-binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"tap-ms":{"type":"int","default":5},"label":{"type":"string","required":true}}},"zmk,behavior-sensor-rotate-var":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate-var","include":"two_param.yaml","properties":{"#sensor-binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandles","required":true},"tap-ms":{"type":"int","default":5},"label":{"type":"string","required":true}}}}')},43003:function(_){"use strict";_.exports=JSON.parse('[{"match":{"compatible":"zmk,behavior-caps-word"},"properties":{"continue-list":{"choices":{"$source":"keycodes","$key":"code"}},"mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]}}},{"match":{"compatible":"zmk,behavior-mod-morph"},"properties":{"bindings":{"length":2},"mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]},"keep-mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]}}},{"match":{"compatible":"zmk,behavior-hold-tap"},"properties":{"bindings":{"length":2},"hold-trigger-key-positions":{"helper":"key-position-picker"},"tapping-term-ms":{"required":true},"tapping_term_ms":{"required":true,"deprecatedBy":"tapping-term-ms"},"quick_tap_ms":{"deprecatedBy":"quick-tap-ms"}}},{"match":{"compatible":"zmk,behavior-sticky-key"},"properties":{"bindings":{"length":1}}},{"match":{"compatible":"zmk,behavior-sensor-rotate-var"},"description":"Sensor rotate behavior (with parameters)","properties":{"bindings":{"length":2}}}]')},80012:function(_){"use strict";_.exports=JSON.parse('[{"name":"behavior_reset","description":"Removed in Zephyr 3.2, use &sys_reset","labels":["reset"],"code":"&reset","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"#binding-cells":{"raw":"<0>","parsed":0},"label":{"raw":"\\"RESET\\"","parsed":"RESET"}}}]')},92914:function(_){"use strict";_.exports=JSON.parse('[{"match":{"compatible":"zmk,behavior-backlight"},"includes":["#include <dt-bindings/zmk/backlight.h>"],"displayName":"Backlight"},{"match":{"compatible":"zmk,behavior-bluetooth"},"includes":["#include <dt-bindings/zmk/bt.h>"],"displayName":"Bluetooth"},{"match":{"compatible":"zmk,behavior-key-press"},"displayName":"Key Press","includes":["#include <dt-bindings/zmk/keys.h>"],"docsUrl":"https://zmk.dev/docs/behaviors/key-press#key-press"},{"match":{"compatible":"zmk,behavior-key-toggle"},"displayName":"Key Toggle","includes":["#include <dt-bindings/zmk/keys.h>"]},{"match":{"code":"<"},"displayName":"Layer/Tap","description":"Layer or Tap behavior","docsUrl":"https://zmk.dev/docs/behaviors/layers#layer-tap"},{"match":{"compatible":"zmk,behavior-momentary-layer"},"displayName":"Momentary Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#momentary-layer"},{"match":{"code":"&mt"},"displayName":"Mod/Tap","description":"Mod or Tap behavior"},{"match":{"compatible":"zmk,behavior-outputs"},"includes":["#include <dt-bindings/zmk/outputs.h>"],"displayName":"Output"},{"match":{"code":"&sl"},"displayName":"Sticky Layer","description":"Sticky layer behavior"},{"match":{"code":"&sk"},"displayName":"Sticky Key"},{"match":{"compatible":"zmk,behavior-to-layer"},"displayName":"To Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#to-layer"},{"match":{"compatible":"zmk,behavior-toggle-layer"},"displayName":"Toggle Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#toggle-layer"},{"match":{"compatible":"zmk,behavior-rgb-underglow"},"includes":["#include <dt-bindings/zmk/rgb.h>"],"displayName":"RGB Underglow"},{"match":{"compatible":"zmk,behavior-ext-power"},"includes":["#include <dt-bindings/zmk/ext_power.h>"],"displayName":"External Power"},{"match":{"compatible":"zmk,macro-control-mode-press"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-mode-release"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-mode-tap"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-tap-time"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-wait-time"},"context":"macros"},{"match":{"compatible":"zmk,macro-pause-for-release"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-1to1"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-1to2"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-2to1"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-2to2"},"context":"macros"},{"match":{"code":"&inc_dec_kp"},"displayName":"Increment/Decrement Key Press","context":"encoders"},{"match":{"compatible":"zmk,behavior-sensor-rotate-var"},"displayName":"Sensor Rotate (variable)","context":"encoders"},{"match":{"compatible":"zmk,behavior-sensor-rotate"},"displayName":"Sensor Rotate","context":"encoders"}]')},27112:function(_){"use strict";_.exports=JSON.parse('[{"names":["LEFT_ALT","LALT","LA(code)"],"symbol":"⌥","faIcon":null},{"names":["RIGHT_ALT","RALT","RA(code)"],"symbol":"⌥","faIcon":null},{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"symbol":"⌘","faIcon":null},{"names":["RIGHT_GUI","RGUI","RG(code)","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA"],"symbol":"⌘","faIcon":null}]')},445:function(_){"use strict";_.exports=JSON.parse('[{"names":["RETURN","ENTER","RET"],"symbol":"⮐","faIcon":null},{"names":["SPACE"],"symbol":"␣","faIcon":null},{"names":["LEFT_SHIFT","LSHIFT","LSHFT","LS(code)"],"symbol":"⇧","faIcon":null},{"names":["RIGHT_SHIFT","RSHIFT","RSHFT","RS(code)"],"symbol":"⇧","faIcon":null}]')},27453:function(_){"use strict";_.exports=JSON.parse('[{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"faIcon":"windows fa-brands"}]')},97107:function(_){"use strict";_.exports=JSON.parse('[{"names":["EXCL"],"symbol":"!"},{"names":["AT"],"symbol":"@"},{"names":["HASH"],"symbol":"#"},{"names":["DLLR"],"symbol":"$"},{"names":["PRCNT"],"symbol":"%"},{"names":["CARET"],"symbol":"^"},{"names":["AMPS"],"symbol":"&"},{"names":["STAR"],"symbol":"*"},{"names":["BSPC"],"faIcon":"delete-left"},{"names":["DEL"],"faIcon":"delete-right"},{"names":["MINUS"],"symbol":"-"},{"names":["UNDER"],"symbol":"_"},{"names":["EQUAL"],"symbol":"="},{"names":["PLUS"],"symbol":"+"},{"names":["PIPE"],"symbol":"|"},{"names":["COLON"],"symbol":":"},{"names":["GRAVE"],"symbol":"`"},{"names":["TILDE"],"symbol":"~"},{"names":["LT"],"symbol":"<"},{"names":["GT"],"symbol":">"},{"names":["RIGHT"],"faIcon":"caret-right"},{"names":["LEFT"],"faIcon":"caret-left"},{"names":["DOWN"],"faIcon":"caret-down"},{"names":["UP"],"faIcon":"caret-up"},{"names":["C_PWR"],"faIcon":"power-off"},{"names":["K_PWR"],"faIcon":"power-off"},{"names":["C_AL_LOCK"],"faIcon":"lock"},{"names":["K_LOCK"],"faIcon":"lock"},{"names":["C_SLEEP"],"faIcon":"moon"},{"names":["K_SLEEP"],"faIcon":"moon"},{"names":["C_SLEEP_MODE"],"faIcon":"moon"},{"names":["LEFT_PARENTHESIS","LPAR"],"symbol":"(","faIcon":null},{"names":["RIGHT_PARENTHESIS","RPAR"],"symbol":")","faIcon":null},{"names":["LEFT_BRACKET","LBKT"],"symbol":"[","faIcon":null},{"names":["LEFT_BRACE","LBRC"],"symbol":"{","faIcon":null},{"names":["RIGHT_BRACKET","RBKT"],"symbol":"]","faIcon":null},{"names":["RIGHT_BRACE","RBRC"],"symbol":"}","faIcon":null},{"names":["BACKSLASH","BSLH"],"symbol":"\\\\","faIcon":null},{"names":["SEMICOLON","SEMI"],"symbol":";","faIcon":null},{"names":["SINGLE_QUOTE","SQT","APOSTROPHE","APOS"],"symbol":"\'","faIcon":null},{"names":["DOUBLE_QUOTES","DQT"],"symbol":"\\"","faIcon":null},{"names":["COMMA"],"symbol":",","faIcon":null},{"names":["PERIOD","DOT"],"symbol":".","faIcon":null},{"names":["GREATER_THAN","GT"],"symbol":">","faIcon":null},{"names":["SLASH","FSLH"],"symbol":"/","faIcon":null},{"names":["QUESTION","QMARK"],"symbol":"?","faIcon":null},{"names":["NON_US_BACKSLASH","NON_US_BSLH"],"symbol":"\\\\","faIcon":null},{"names":["K_MUTE"],"symbol":null,"faIcon":"volume-mute"},{"names":["C_VOLUME_UP","C_VOL_UP"],"symbol":null,"faIcon":"volume-up"},{"names":["C_VOLUME_DOWN","C_VOL_DN"],"symbol":null,"faIcon":"volume-down"},{"names":["LCTRL"],"symbol":"^"},{"names":["RCTRL"],"symbol":"^"}]')}}]); +//# sourceMappingURL=shared.092544b1311ee9b4c8ef.js.map
\ No newline at end of file |