diff options
author | Nick Coutsos <[email protected]> | 2023-06-30 17:07:05 -0400 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2023-06-30 17:07:05 -0400 |
commit | 7c39d747aa0133c91daf074f7a31c1e3a3dc3d4f (patch) | |
tree | 3e9cda3753b2b779176fba2a5dc88af85df572e0 | |
parent | 5f7a857bcde96eb3266e204d2e1213cdf2c658ad (diff) | |
download | keymap-editor-7c39d747aa0133c91daf074f7a31c1e3a3dc3d4f.tar.gz keymap-editor-7c39d747aa0133c91daf074f7a31c1e3a3dc3d4f.zip |
Rudimentary GitHub API status check
-rw-r--r-- | 5858.6e8f5975904a2a2282f5.js | 3 | ||||
-rw-r--r-- | 5858.6e8f5975904a2a2282f5.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | 5858.6e8f5975904a2a2282f5.js.map | 1 | ||||
-rw-r--r-- | 9657.aa3c39fe6f827e094083.js | 3 | ||||
-rw-r--r-- | 9657.aa3c39fe6f827e094083.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | 9657.aa3c39fe6f827e094083.js.map | 1 | ||||
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | main.8019d5f4a7d8269a3c78.js | 3 | ||||
-rw-r--r-- | main.8019d5f4a7d8269a3c78.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | main.8019d5f4a7d8269a3c78.js.map | 1 | ||||
-rw-r--r-- | runtime.018f688d4e1244776013.js | 2 | ||||
-rw-r--r-- | runtime.018f688d4e1244776013.js.map | 1 | ||||
-rw-r--r-- | shared.8d18858839cd2d379cfe.js | 2 | ||||
-rw-r--r-- | shared.8d18858839cd2d379cfe.js.map | 1 |
14 files changed, 22 insertions, 1 deletions
diff --git a/5858.6e8f5975904a2a2282f5.js b/5858.6e8f5975904a2a2282f5.js new file mode 100644 index 0000000..349bc08 --- /dev/null +++ b/5858.6e8f5975904a2a2282f5.js @@ -0,0 +1,3 @@ +/*! For license information please see 5858.6e8f5975904a2a2282f5.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5858],{27926:function(t,e,r){"use strict";r.d(e,{Z:function(){return k}});var n=r(93379),o=r.n(n),i=r(7795),a=r.n(i),c=r(90569),u=r.n(c),l=r(3565),s=r.n(l),f=r(19216),h=r.n(f),p=r(44589),y=r.n(p),d=r(56281),v={};v.styleTagTransform=y(),v.setAttributes=s(),v.insert=u().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=h(),o()(d.Z,v);var m=d.Z&&d.Z.locals?d.Z.locals:void 0,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)}var w=["children","secondary","className"];function x(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 j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function O(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 E(t){var e=t.children,r=t.secondary,n=t.className,o=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,w);return(0,g.jsx)("button",j(j({className:[n,m.action,r&&m.secondary].join(" ")},o),{},{children:e}))}E.defaultProps={className:""};var k=E},8101:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return Pt}});var n=r(50361),o=r.n(n),i=r(67294),a=r(69247),c=r(41051);function u(t){return new Promise(((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)}))}let l;function s(){return l||(l=function(t,e){const r=indexedDB.open("keyval-store");r.onupgradeneeded=()=>r.result.createObjectStore(e);const n=u(r);return(t,r)=>n.then((n=>r(n.transaction(e,t).objectStore(e))))}(0,"keyval")),l}function f(t,e=s()){return e("readonly",(e=>u(e.get(t))))}function h(t,e,r=s()){return r("readwrite",(r=>(r.put(e,t),u(r.transaction))))}var p=r(97168),y=r(85893);function d(t){return d="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},d(t)}function v(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 m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==d(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===d(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(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.")}()}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}var x="KEYMAP_EDITOR_IDB_FS_KEYMAP_HANDLES",j="KEYMAP_EDITOR_IDB_FS_KEYMAP_SELECTED_HANDLE_INDEX",O=function(t){return h(x,t)},E=function(t){return h(j,t)},k=function(){return{keymapHandles:[],selectedHandleIndex:null,activeKeymap:{handleIndex:null,keymapRaw:null,keymapParsed:null,metadataParsed:null},importModalOpen:!1,feedbackModalOpen:!1,pendingImports:null}},L=(0,p.oM)({name:"filesystem-picker",initialState:k,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 A=(0,i.createContext)([{},{}]);function S(t){var e=t.children,r=b(function(){var t,e=b((0,i.useReducer)(L.reducer,null,k),2),r=e[0],n=(t=e[1],(0,i.useMemo)((function(){return Object.keys(L.actions).reduce((function(e,r){return e[r]=function(){var e;return t((e=L.actions)[r].apply(e,arguments))},e}),{})}),[t]));return[r,n]}(),2),n=r[0],o=r[1];return(0,y.jsx)(A.Provider,{value:[n,o],children:e})}function _(t){return _="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)}function P(){P=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 k(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(L([])));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"==_(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 O(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 k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(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:A}}function A(){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=L,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(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:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function I(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 C(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){I(i,n,o,a,c,"next",t)}function c(t){I(i,n,o,a,c,"throw",t)}a(void 0)}))}}function F(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 N(){var t,e,r=(t=(0,i.useContext)(A),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 F(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)?F(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)(C(P().mark((function t(){var e;return P().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,y.jsxs)("button",{onClick:a,children:[(0,y.jsx)(c.Z,{name:"file-import"})," Import Keymaps"]})}var T=r(33295),G=r.n(T),M=r(41696);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 Z(){Z=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 k(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(L([])));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"==B(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 O(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 k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(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:A}}function A(){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=L,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(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:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Y(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 H(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,c,"next",t)}function c(t){Y(i,n,o,a,c,"throw",t)}a(void 0)}))}}function D(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 K={mode:"read"};function q(){var t,e,n=(t=(0,i.useContext)(A),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 D(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)?D(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],c=o.keymapHandles,u=o.selectedHandleIndex,l=n[1],s=l.selectHandle,f=l.selectKeymap,h=(0,i.useMemo)((function(){return c.map((function(t,e){return{id:e,name:t.name}}))}),[c]),p=(0,i.useCallback)(function(){var t=H(Z().mark((function t(e){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,E(e.id);case 2:s({index:e.id});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[s]);(0,i.useEffect)((function(){var t=u,e=c[t];e&&H(Z().mark((function n(){var o,i,a,c,u;return Z().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.queryPermission(K);case 2:if(n.t1=n.sent,n.t0="granted"!==n.t1,!n.t0){n.next=9;break}return n.next=7,e.requestPermission(K);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.next=20,G()(a);case 20:return c=n.sent,n.next=23,r(25690)("./".concat(o,".json"));case 23:u=n.sent,(0,M.u)(c),f({handleIndex:t,keymapRaw:a,keymapParsed:c,metadataParsed:u});case 26:case"end":return n.stop()}}),n)})))()}),[c,u,f]);var d=(0,i.useMemo)((function(){return h[u]}),[h,u]);return(0,y.jsx)(a.Ph,{value:d,options:h,onChange:p,getOptionLabel:function(t){return t.name},getOptionValue:function(t){return t.id},children:(0,y.jsx)(N,{})})}var U=r(98553),R=r(27926),z=r(96186),$=r(64261);function J(t){return J="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},J(t)}function W(){W=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 k(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(L([])));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"==J(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 O(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 k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(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:A}}function A(){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=L,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(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:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function X(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 V(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){X(i,n,o,a,c,"next",t)}function c(t){X(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Q(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 tt(){var t,e,r=(t=(0,i.useContext)(A),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 Q(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)?Q(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.")}()),n=r[0].pendingImports,o=r[1],a=o.closeImportModal,c=o.updatedHandles,u=(0,i.useMemo)((function(){return n.filter((function(t){return et(t.name)}))}),[n]),l=(0,i.useMemo)((function(){return n.filter((function(t){return!et(t.name)}))}),[n]),s=(0,i.useCallback)(V(W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O(u);case 2:O(u),c({handles:u}),a();case 5:case"end":return t.stop()}}),t)}))),[u,c,a]),f=(0,i.useCallback)((function(){a()}),[a]);return(0,y.jsx)($.Z,{children:(0,y.jsxs)(z.Z,{dismissText:null,children:[(0,y.jsx)("h2",{children:"Importing Keymaps"}),(0,y.jsx)("h3",{children:"Keymap files ready to be imported"}),(0,y.jsx)("ul",{children:n.map((function(t,e){return(0,y.jsx)("li",{children:(0,y.jsx)(rt,{value:t})},e)}))}),l.length>0&&(0,y.jsx)("p",{children:(0,y.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,y.jsxs)("div",{style:{textAlign:"center"},children:[(0,y.jsx)(R.Z,{onClick:s,children:"Continue"}),(0,y.jsx)(R.Z,{onClick:f,secondary:!0,children:"Cancel"})]})]})})}function et(t){return t.replace(".keymap","")in U}function rt(t){var e=t.value;return(0,y.jsxs)(y.Fragment,{children:[et(e.name)?(0,y.jsx)(c.Z,{name:"check",style:{color:"mediumseagreen"}}):(0,y.jsx)(c.Z,{name:"question",style:{color:"firebrick"}})," ",e.name]})}var nt=r(18446),ot=r.n(nt),it=r(95998),at=r(83858),ct=r.n(at);function ut(t){return ut="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},ut(t)}function lt(){lt=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 k(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(L([])));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"==ut(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 O(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 k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(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:A}}function A(){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=L,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(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:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function st(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){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){st(i,n,o,a,c,"next",t)}function c(t){st(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ht(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 pt=function(t){var e;return null===(e=t.keyboard)||void 0===e?void 0:e.keymap},yt=function(t){return t.experimentalSettings},dt={mode:"readwrite"};function vt(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 mt(){var t,e,r,n,a,u,l,s,f,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 vt(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)?vt(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,it.v9)(pt),e=(0,it.v9)(yt).enableBehaviorEditing,r=void 0!==e&&e,f=(0,i.useContext)(A),h=2,a=(n=function(t){if(Array.isArray(t))return t}(f)||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}}(f,h)||function(t,e){if(t){if("string"==typeof t)return ht(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)?ht(t,e):void 0}}(f,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],u=a.keymapHandles,l=a.activeKeymap,s=n[1].updateActiveKeymap,[(0,i.useMemo)((function(){return t&&(null==l?void 0:l.keymapParsed)&&!ot()(t,l.keymapParsed)}),[t,l]),(0,i.useCallback)(ft(lt().mark((function e(){var n,i,a,c,f,h,p,y,d;return lt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=u[l.handleIndex]){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,n.queryPermission(dt);case 5:if(e.t1=e.sent,e.t0="granted"!==e.t1,!e.t0){e.next=12;break}return e.next=10,n.requestPermission(dt);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=l.metadataParsed.layouts,a=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,c=Object.keys(i)[0],f=i[a]||i[c],h=f.layout,e.next=20,ct()(h,o()(t),l.keymapRaw,{enableBehaviorEditing:r});case 20:return p=e.sent,e.next=23,G()(p);case 23:return y=e.sent,(0,M.u)(y),e.next=27,n.createWritable();case 27:return d=e.sent,e.next=30,d.write(p);case 30:d.close(),s({keymapParsed:y,keymapRaw:p});case 32:case"end":return e.stop()}}),e)}))),[t,u,l,s,r])]),2),d=p[0],v=p[1];return(0,y.jsx)("button",{disabled:!d,title:d?"Save changes":"No changes",onClick:v,children:(0,y.jsx)(c.Z,{name:"file-export"})})}function gt(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(){var t,e,r=(t=(0,i.useContext)(A),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 gt(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)?gt(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,y.jsxs)("button",{onClick:r,children:[(0,y.jsx)(c.Z,{name:"comments"})," Feedback?"]})}var wt=r(2968),xt=r(80031);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}var Ot=(0,y.jsx)(wt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/discussions/106",children:"Feature Discussion"});function Et(){var t,e,r=(t=(0,i.useContext)(A),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].closeFeedbackModal;return(0,y.jsx)($.Z,{onDismiss:r,children:(0,y.jsxs)(z.Z,{dismissText:null,children:[(0,y.jsx)("h2",{children:"Beta Feedback"}),(0,y.jsx)("p",{children:"Hey, feel free to ignore this!"}),(0,y.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,y.jsx)("p",{children:"Good ways to contact me:"}),(0,y.jsxs)("ul",{children:[(0,y.jsxs)("li",{children:["Ping me at ",xt.W8]}),(0,y.jsxs)("li",{children:["File an issue at ",xt.qM]}),(0,y.jsxs)("li",{children:["Join the ",Ot]})]}),(0,y.jsx)("div",{style:{textAlign:"center"},children:(0,y.jsx)(R.Z,{onClick:r,children:"Back to editor"})})]})})}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 Lt(){Lt=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 k(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(L([])));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"==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 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 O(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 k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function L(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:A}}function A(){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=L,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(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:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function At(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 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 _t,Pt=(_t=function(t){var e,r,n=t.onSelect,a=(e=(0,i.useContext)(A),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 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}}(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],u=c.keymapHandles,l=c.activeKeymap,s=c.importModalOpen,h=c.feedbackModalOpen,p=a[1].initHandles;return(0,i.useEffect)((function(){var t;(t=Lt().mark((function t(){var e,r;return Lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f(x);case 2:return e=t.sent,t.next=5,f(j);case 5:r=t.sent,p({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){At(i,n,o,a,c,"next",t)}function c(t){At(i,n,o,a,c,"throw",t)}a(void 0)}))})()}),[p]),(0,i.useEffect)((function(){if(l.keymapParsed){var t=l.keymapParsed,e=l.metadataParsed,r=e.layouts,i=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,a=Object.keys(r)[0],c=r[i]||r[a];n(o()({source:"filesystem",keyboard:e.id,layoutMetadata:c,layout:c.layout,keymap:t,sensors:c.sensors||[]}))}}),[l,n]),(0,y.jsxs)(y.Fragment,{children:[u.length>0?(0,y.jsx)(q,{}):(0,y.jsx)(N,{}),(null==l?void 0:l.keymapParsed)&&(0,y.jsx)(mt,{}),s&&(0,y.jsx)(tt,{}),(0,y.jsx)(bt,{}),h&&(0,y.jsx)(Et,{})]})},function(t){return(0,y.jsx)(S,{children:(0,y.jsx)(_t,m({},t))})})},56281: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,"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},25690:function(t,e,r){var n={"./a_dux.json":[73158,3712],"./bat43.json":[60888,3712],"./bdn9_rev2.json":[94591,3712],"./bfo9000.json":[19684,3712],"./boardsource3x4.json":[88602,3712],"./boardsource5x12.json":[8058,3712],"./bt60_v1.json":[92628,3712],"./bt60_v1_hs.json":[84628,3712],"./bt60_v2.json":[9417,3712],"./bt65_v1.json":[88455,3712],"./bt75_v1.json":[25397,3712],"./chalice.json":[7936,3712],"./clog.json":[31638,3712],"./contra.json":[42718,3712],"./corne.json":[26453,3712],"./corneish_zen.json":[39757,3712],"./cradio.json":[62089,3712],"./crbn.json":[48945,3712],"./eek.json":[63072,3712],"./elephant42.json":[83634,3712],"./ergodash.json":[68972,3712],"./ergodox.json":[75507,3712],"./eternal_keypad.json":[69416,3712],"./eternal_keypad_lefty.json":[56785,3712],"./ferris_rev02.json":[97365,3712],"./fourier.json":[14446,3712],"./helix.json":[73549,3712],"./hummingbird.json":[98321,3712],"./iris.json":[55262,3712],"./jian.json":[46228,3712],"./jiran.json":[14465,3712],"./jorne.json":[19151,3712],"./kbdfans_tofu65_v2.json":[7450,3712],"./knob_goblin.json":[71497,3712],"./kyria.json":[34458,3712],"./kyria_rev2.json":[70165,3712],"./kyria_rev3.json":[33669,3712],"./leeloo.json":[53677,3712],"./lily58.json":[21479,3712],"./lotus58.json":[63918,3712],"./m60.json":[53132,3712],"./microdox.json":[56792,3712],"./murphpad.json":[8662,3712],"./naked60.json":[79707,3712],"./nibble.json":[58244,3712],"./nice60.json":[41501,3712],"./osprette.json":[13467,3712],"./pancake.json":[19011,3712],"./planck_rev6.json":[55991,3712],"./preonic_rev3.json":[47308,3712],"./qaz.json":[46923,3712],"./quefrency.json":[23956,3712],"./redox.json":[17104,3712],"./reviung41.json":[71414,3712],"./reviung5.json":[31009,3712],"./romac.json":[15683,3712],"./romac_plus.json":[55318,3712],"./s40nc.json":[56036,3712],"./snap.json":[24380,3712],"./sofle.json":[45082,3712],"./splitkb_aurora_corne.json":[20216,3712],"./splitkb_aurora_lily58.json":[2674,3712],"./splitkb_aurora_sweep.json":[9738,3712],"./splitreus62.json":[47003,3712],"./tg4x.json":[87454,3712],"./tidbit.json":[60386,3712],"./two_percent_milk.json":[67150,3712],"./waterfowl.json":[14194,3712],"./zmk_uno.json":[71578,3712],"./zodiark.json":[12069,3712]};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},66317:function(){},99918:function(){}}]); +//# sourceMappingURL=5858.6e8f5975904a2a2282f5.js.map
\ No newline at end of file diff --git a/5858.6e8f5975904a2a2282f5.js.LICENSE.txt b/5858.6e8f5975904a2a2282f5.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/5858.6e8f5975904a2a2282f5.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/5858.6e8f5975904a2a2282f5.js.map b/5858.6e8f5975904a2a2282f5.js.map new file mode 100644 index 0000000..f2274a0 --- /dev/null +++ b/5858.6e8f5975904a2a2282f5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"5858.6e8f5975904a2a2282f5.js","mappings":";sQAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAA1B,IAKO,EAAe,KAAW,WAAiB,gBAAiBM,0vCCxBnE,SAASC,EAAY,GAAgD,IAA5CC,EAAQ,EAARA,SAAUC,EAAS,EAATA,UAAWC,EAAS,EAATA,UAAcC,oXAAK,MAC/D,OACE,uBACED,UAAW,CACTA,EACAE,EAAAA,OACAH,GAAaG,EAAAA,WACbC,KAAK,MACHF,GAAK,aAERH,IAGP,CAEAD,EAAa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CACjB,KACA,MAED,cAAe,CACd,MACA,MAED,gBAAiB,CAChB,MACA,MAED,eAAgB,CACf,MACA,MAED,sBAAuB,CACtB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,cAAe,CACd,MACA,MAED,aAAc,CACb,MACA,MAED,oBAAqB,CACpB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,eAAgB,CACf,MACA,MAED,qBAAsB,CACrB,MACA,MAED,cAAe,CACd,MACA,MAED,cAAe,CACd,MACA,MAED,eAAgB,CACf,MACA,MAED,eAAgB,CACf,MACA,MAED,2BAA4B,CAC3B,KACA,MAED,qBAAsB,CACrB,MACA,MAED,eAAgB,CACf,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,aAAc,CACb,MACA,MAED,mBAAoB,CACnB,MACA,MAED,eAAgB,CACf,MACA,MAED,mBAAoB,CACnB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,eAAgB,CACf,MACA,MAED,oBAAqB,CACpB,MACA,MAED,eAAgB,CACf,MACA,MAED,cAAe,CACd,MACA,MAED,eAAgB,CACf,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,+BAAgC,CAC/B,KACA,MAED,8BAA+B,CAC9B,KACA,MAED,qBAAsB,CACrB,MACA,MAED,cAAe,CACd,MACA,MAED,gBAAiB,CAChB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,mBAAoB,CACnB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,OAGF,SAASmF,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEtF,EAAKoF,GAC9B,OAAOrL,QAAQC,UAAUmB,MAAK,WAC7B,IAAIoK,EAAI,IAAIC,MAAM,uBAAyBJ,EAAM,KAEjD,MADAG,EAAEE,KAAO,mBACHF,CACP,IAGD,IAAIG,EAAM1F,EAAIoF,GAAMjF,EAAKuF,EAAI,GAC7B,OAAOL,EAAoBE,EAAEG,EAAI,IAAIvK,MAAK,WACzC,OAAOkK,EAAoBM,EAAExF,EAAI,GAClC,GACD,CACAgF,EAAoBxG,KAAO,WAAa,OAAOD,OAAOC,KAAKqB,EAAM,EACjEmF,EAAoBhF,GAAK,MACzB8E,EAAOW,QAAUT","sources":["webpack:///./src/Common/action-button.module.css?ed83","webpack:///./src/Common/ActionButton.js","webpack:///./node_modules/idb-keyval/dist/index.js","webpack:///./src/Sources/FileSystem/store.js","webpack:///./src/Sources/FileSystem/ImportKeymapsButton.js","webpack:///./src/Sources/FileSystem/FileSystemKeymapPicker.js","webpack:///./src/Sources/FileSystem/ImportKeymapsDialog.js","webpack:///./src/Sources/FileSystem/updater.js","webpack:///./src/Sources/FileSystem/ExportKeymapButton.js","webpack:///./src/Sources/FileSystem/FeedbackModalButton.js","webpack:///./src/Sources/FileSystem/FeedbackDialog.js","webpack:///./src/Sources/FileSystem/FileSystemPicker.js","webpack:///./src/Common/action-button.module.css","webpack:///./node_modules/keymap-editor-contrib/keyboard-data/ lazy ^\\.\\/.*\\.json$ include: \\.json$ chunkName: keyboard-data/[request]-metadata namespace object"],"sourcesContent":["\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import styles from './action-button.module.css'\n\nfunction ActionButton ({ children, secondary, className, ...props }) {\n return (\n <button\n className={[\n className,\n styles.action,\n secondary && styles.secondary\n ].join(' ')}\n {...props}\n >\n {children}\n </button>\n )\n}\n\nActionButton.defaultProps = {\n className: ''\n}\n\nexport default ActionButton\n","function promisifyRequest(request) {\n return new Promise((resolve, reject) => {\n // @ts-ignore - file size hacks\n request.oncomplete = request.onsuccess = () => resolve(request.result);\n // @ts-ignore - file size hacks\n request.onabort = request.onerror = () => reject(request.error);\n });\n}\nfunction createStore(dbName, storeName) {\n const request = indexedDB.open(dbName);\n request.onupgradeneeded = () => request.result.createObjectStore(storeName);\n const dbp = promisifyRequest(request);\n return (txMode, callback) => dbp.then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));\n}\nlet defaultGetStoreFunc;\nfunction defaultGetStore() {\n if (!defaultGetStoreFunc) {\n defaultGetStoreFunc = createStore('keyval-store', 'keyval');\n }\n return defaultGetStoreFunc;\n}\n/**\n * Get a value by its key.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction get(key, customStore = defaultGetStore()) {\n return customStore('readonly', (store) => promisifyRequest(store.get(key)));\n}\n/**\n * Set a value with a key.\n *\n * @param key\n * @param value\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction set(key, value, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.put(value, key);\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Set multiple values at once. This is faster than calling set() multiple times.\n * It's also atomic – if one of the pairs can't be added, none will be added.\n *\n * @param entries Array of entries, where each entry is an array of `[key, value]`.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction setMany(entries, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n entries.forEach((entry) => store.put(entry[1], entry[0]));\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Get multiple values by their keys\n *\n * @param keys\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction getMany(keys, customStore = defaultGetStore()) {\n return customStore('readonly', (store) => Promise.all(keys.map((key) => promisifyRequest(store.get(key)))));\n}\n/**\n * Update a value. This lets you see the old value and update it as an atomic operation.\n *\n * @param key\n * @param updater A callback that takes the old value and returns a new value.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction update(key, updater, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => \n // Need to create the promise manually.\n // If I try to chain promises, the transaction closes in browsers\n // that use a promise polyfill (IE10/11).\n new Promise((resolve, reject) => {\n store.get(key).onsuccess = function () {\n try {\n store.put(updater(this.result), key);\n resolve(promisifyRequest(store.transaction));\n }\n catch (err) {\n reject(err);\n }\n };\n }));\n}\n/**\n * Delete a particular key from the store.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction del(key, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.delete(key);\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Delete multiple keys at once.\n *\n * @param keys List of keys to delete.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction delMany(keys, customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n keys.forEach((key) => store.delete(key));\n return promisifyRequest(store.transaction);\n });\n}\n/**\n * Clear all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction clear(customStore = defaultGetStore()) {\n return customStore('readwrite', (store) => {\n store.clear();\n return promisifyRequest(store.transaction);\n });\n}\nfunction eachCursor(store, callback) {\n store.openCursor().onsuccess = function () {\n if (!this.result)\n return;\n callback(this.result);\n this.result.continue();\n };\n return promisifyRequest(store.transaction);\n}\n/**\n * Get all keys in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction keys(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n if (store.getAllKeys) {\n return promisifyRequest(store.getAllKeys());\n }\n const items = [];\n return eachCursor(store, (cursor) => items.push(cursor.key)).then(() => items);\n });\n}\n/**\n * Get all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction values(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n if (store.getAll) {\n return promisifyRequest(store.getAll());\n }\n const items = [];\n return eachCursor(store, (cursor) => items.push(cursor.value)).then(() => items);\n });\n}\n/**\n * Get all entries in the store. Each entry is an array of `[key, value]`.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\nfunction entries(customStore = defaultGetStore()) {\n return customStore('readonly', (store) => {\n // Fast path for modern browsers\n // (although, hopefully we'll get a simpler path some day)\n if (store.getAll && store.getAllKeys) {\n return Promise.all([\n promisifyRequest(store.getAllKeys()),\n promisifyRequest(store.getAll()),\n ]).then(([keys, values]) => keys.map((key, i) => [key, values[i]]));\n }\n const items = [];\n return customStore('readonly', (store) => eachCursor(store, (cursor) => items.push([cursor.key, cursor.value])).then(() => items));\n });\n}\n\nexport { clear, createStore, del, delMany, entries, get, getMany, keys, promisifyRequest, set, setMany, update, values };\n","import { get as idbGet, set as idbSet } from 'idb-keyval'\nimport { createContext, useMemo, useReducer } from 'react'\nimport { createSlice } from '@reduxjs/toolkit'\n\nconst STORAGE_KEY_HANDLES = 'KEYMAP_EDITOR_IDB_FS_KEYMAP_HANDLES'\nconst STORAGE_KEY_SELECTED_HANDLE_INDEX = 'KEYMAP_EDITOR_IDB_FS_KEYMAP_SELECTED_HANDLE_INDEX'\n\n// Using thunks would be better but because I'm not putting this slice into a\n// proper redux store I don't actually have the thunk middleware loaded\n// TODO: is adding the middleware manually feasible?\n// TODO: is having multiple independent stores possible?\nexport const loadHandles = () => idbGet(STORAGE_KEY_HANDLES)\nexport const saveHandles = handles => idbSet(STORAGE_KEY_HANDLES, handles)\nexport const loadActiveHandle = () => idbGet(STORAGE_KEY_SELECTED_HANDLE_INDEX)\nexport const saveActiveHandle = index => idbSet(STORAGE_KEY_SELECTED_HANDLE_INDEX, index)\n\nconst initialState = () => ({\n keymapHandles: [],\n selectedHandleIndex: null,\n activeKeymap: {\n handleIndex: null,\n keymapRaw: null,\n keymapParsed: null,\n metadataParsed: null\n },\n importModalOpen: false,\n feedbackModalOpen: false,\n pendingImports: null\n})\n\nconst slice = createSlice({\n name: 'filesystem-picker',\n initialState,\n reducers: {\n openImportModal (state) { state.importModalOpen = true },\n closeImportModal (state) { state.importModalOpen = false },\n openFeedbackModal (state) { state.feedbackModalOpen = true },\n closeFeedbackModal (state) { state.feedbackModalOpen = false },\n selectFilesForImport (state, action) {\n const { handles } = action.payload\n state.pendingImports = handles\n },\n updatedHandles (state, action) {\n state.keymapHandles = action.payload.handles\n },\n initHandles (state, action) {\n const { handles = [] } = action.payload\n // No point in trying to initialize the active handle based on a previous\n // session, as this is likely happening during the initial load before any\n // user interaction and therefore we can't request user permissions.\n state.keymapHandles = handles\n },\n selectHandle (state, action) {\n state.selectedHandleIndex = action.payload.index\n },\n selectKeymap (state, action) {\n const { handleIndex, keymapRaw, keymapParsed, metadataParsed } = action.payload\n state.activeKeymap = {\n handleIndex,\n keymapRaw,\n keymapParsed,\n metadataParsed\n }\n },\n updateActiveKeymap (state, action) {\n const { keymapParsed, keymapRaw } = action.payload\n state.activeKeymap.keymapParsed = keymapParsed\n state.activeKeymap.keymapRaw = keymapRaw\n }\n }\n})\n\nfunction useActionDispatchers (dispatch) {\n return useMemo(() => (\n Object.keys(slice.actions).reduce((actions, action) => {\n actions[action] = (...args) => dispatch(slice.actions[action](...args))\n return actions\n }, {})\n ), [dispatch])\n}\n\nexport function useFileSystemStore () {\n const [state, dispatch] = useReducer(slice.reducer, null, initialState)\n const dispatchers = useActionDispatchers(dispatch)\n\n return [state, dispatchers]\n}\n\nexport const FileSystemContext = createContext([{}, {}])\n\nexport function FileSystemStore ({ children }) {\n const [state, dispatchers] = useFileSystemStore()\n\n return (\n <FileSystemContext.Provider value={[state, dispatchers]}>\n {children}\n </FileSystemContext.Provider>\n )\n}\n\nexport function withFileSystemStore (Component) {\n return props => (\n <FileSystemStore>\n <Component {...props} />\n </FileSystemStore>\n )\n}\n","import { useCallback, useContext } from 'react'\n\nimport Icon from '../../Common/Icon'\nimport { FileSystemContext } from './store'\n\nexport default function ImportKeymapsButton () {\n const [, { openImportModal, selectFilesForImport }] = useContext(FileSystemContext)\n const handleClick = useCallback(async () => {\n const handles = await window.showOpenFilePicker({\n mode: 'readwrite',\n multiple: true,\n excludeAcceptAllOption: true,\n types: [{\n accept: {\n 'text/plain': ['.keymap']\n }\n }]\n })\n\n selectFilesForImport({ handles })\n openImportModal()\n }, [openImportModal, selectFilesForImport])\n\n return (\n <button onClick={handleClick}>\n <Icon name=\"file-import\" /> Import Keymaps\n </button>\n )\n}\n","import { useCallback, useContext, useEffect, useMemo } from 'react'\n\nimport { Select } from '../Controls'\nimport ImportKeymapsButton from './ImportKeymapsButton'\nimport { FileSystemContext, saveActiveHandle } from './store'\nimport extractKeymapData from 'keymap-editor-zmk-backend/lib/extract-keymap-data'\nimport { stripLegacyProperties } from '../../keymap'\n\nconst fileOptions = { mode: 'read' }\n\nexport default function FileSystemKeymapPicker () {\n const [{ keymapHandles, selectedHandleIndex }, { selectHandle, selectKeymap }] = useContext(FileSystemContext)\n const choices = useMemo(() => keymapHandles.map((handle, i) => ({\n id: i, name: handle.name\n })), [keymapHandles])\n\n const handleSelect = useCallback(async choice => {\n await saveActiveHandle(choice.id)\n selectHandle({ index: choice.id })\n }, [selectHandle])\n\n useEffect(() => {\n const index = selectedHandleIndex\n const handle = keymapHandles[index]\n\n if (!handle) {\n return\n }\n\n ;(async function () {\n if (\n await handle.queryPermission(fileOptions) !== 'granted' &&\n await handle.requestPermission(fileOptions) !== 'granted'\n ) {\n return\n }\n\n const name = handle.name.replace('.keymap', '')\n const file = await handle.getFile()\n const text = await file.text()\n const parsed = await extractKeymapData(text)\n const metadata = await import(\n /* webpackInclude: /\\.json$/ */\n /* webpackMode: \"lazy\" */\n /* webpackChunkName: \"keyboard-data/[request]-metadata\" */\n `keymap-editor-contrib/keyboard-data/${name}.json`\n )\n\n stripLegacyProperties(parsed)\n selectKeymap({\n handleIndex: index,\n keymapRaw: text,\n keymapParsed: parsed,\n metadataParsed: metadata\n })\n })()\n }, [keymapHandles, selectedHandleIndex, selectKeymap])\n\n const value = useMemo(\n () => choices[selectedHandleIndex],\n [choices, selectedHandleIndex]\n )\n\n return (\n <Select\n value={value}\n options={choices}\n onChange={handleSelect}\n getOptionLabel={option => option.name}\n getOptionValue={option => option.id}\n >\n <ImportKeymapsButton />\n </Select>\n )\n}\n","import { useCallback, useContext, useMemo } from 'react'\n\nimport keyboardCatalog from 'keymap-editor-contrib/keyboard-catalog.json'\n\nimport ActionButton from '../../Common/ActionButton'\nimport DialogBox from '../../Common/DialogBox'\nimport Icon from '../../Common/Icon'\nimport Modal from '../../Common/Modal'\nimport { FileSystemContext, saveHandles } from './store'\n\nexport default function ImportKeymapsDialog () {\n const [{ pendingImports }, { closeImportModal, updatedHandles }] = useContext(FileSystemContext)\n const acceptedImports = useMemo(() => pendingImports.filter(handle => keymapInCatalog(handle.name)), [pendingImports])\n const rejectedImports = useMemo(() => pendingImports.filter(handle => !keymapInCatalog(handle.name)), [pendingImports])\n\n const handleConfirm = useCallback(async () => {\n await saveHandles(acceptedImports)\n saveHandles(acceptedImports)\n updatedHandles({ handles: acceptedImports })\n closeImportModal()\n }, [acceptedImports, updatedHandles, closeImportModal])\n\n const handleCancel = useCallback(() => {\n closeImportModal()\n }, [closeImportModal])\n\n return (\n <Modal>\n <DialogBox dismissText={null}>\n <h2>Importing Keymaps</h2>\n <h3>Keymap files ready to be imported</h3>\n <ul>\n {pendingImports.map((handle, i) => (\n <li key={i}><Handle value={handle} /></li>\n ))}\n </ul>\n {rejectedImports.length > 0 && (\n <p>\n <em>\n Some keymap files could not be matched with known keyboards and\n will not be imported. This is a work in progress and in the future\n you will have the option to import your own metadata file.\n </em>\n </p>\n )}\n <div style={{ textAlign: 'center' }}>\n <ActionButton onClick={handleConfirm}>Continue</ActionButton>\n <ActionButton onClick={handleCancel} secondary>Cancel</ActionButton>\n </div>\n </DialogBox>\n </Modal>\n )\n}\n\nfunction keymapInCatalog (name) {\n return name.replace('.keymap', '') in keyboardCatalog\n}\n\nfunction Handle ({ value }) {\n return (\n <>\n {keymapInCatalog(value.name)\n ? <Icon name=\"check\" style={{ color: 'mediumseagreen' }} />\n : <Icon name=\"question\" style={{ color: 'firebrick' }} />\n } {value.name}\n </>\n )\n}\n","import cloneDeep from 'lodash/cloneDeep'\nimport isEqual from 'lodash/isEqual'\nimport { useCallback, useContext, useMemo } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport { FileSystemContext } from './store'\nimport applyKeymapChanges from 'keymap-editor-zmk-backend/lib/apply-keymap-changes'\nimport extractKeymapData from 'keymap-editor-zmk-backend/lib/extract-keymap-data'\nimport { stripLegacyProperties } from '../../keymap'\n\nconst keymapSelector = state => state.keyboard?.keymap\nconst settingsSelector = state => state.experimentalSettings\n\nconst fileOptions = { mode: 'readwrite' }\n\nexport default function useKeymapUpdater () {\n const appKeymapState = useSelector(keymapSelector)\n const { enableBehaviorEditing = false } = useSelector(settingsSelector)\n const [\n { keymapHandles, activeKeymap },\n { updateActiveKeymap }\n ] = useContext(FileSystemContext)\n\n const updateNeeded = useMemo(() => (\n appKeymapState &&\n activeKeymap?.keymapParsed &&\n !isEqual(appKeymapState, activeKeymap.keymapParsed)\n ), [appKeymapState, activeKeymap])\n\n const update = useCallback(async function () {\n const handle = keymapHandles[activeKeymap.handleIndex]\n\n if (!handle) {\n return\n }\n\n if (\n await handle.queryPermission(fileOptions) !== 'granted' &&\n await handle.requestPermission(fileOptions) !== 'granted'\n ) {\n return\n }\n\n // When opening the clipboard dialog and a previously parsed keymap differs\n // from the app's current keymap state we're probably wanting to update the\n // keymap source\n const { layouts } = activeKeymap.metadataParsed\n const preferredLayout = appKeymapState.chosen['zmk,matrix_transform']\n ? appKeymapState.chosen['zmk,matrix_transform'].replace(/^&/, '')\n : null\n\n const defaultLayout = Object.keys(layouts)[0]\n const { layout } = (\n layouts[preferredLayout] ||\n layouts[defaultLayout]\n )\n\n const raw = await applyKeymapChanges(layout, cloneDeep(appKeymapState), activeKeymap.keymapRaw, { enableBehaviorEditing })\n const parsed = await extractKeymapData(raw)\n stripLegacyProperties(parsed)\n\n const stream = await handle.createWritable()\n await stream.write(raw)\n stream.close()\n\n updateActiveKeymap({ keymapParsed: parsed, keymapRaw: raw })\n }, [appKeymapState, keymapHandles, activeKeymap, updateActiveKeymap, enableBehaviorEditing])\n\n return [updateNeeded, update]\n}\n","import Icon from '../../Common/Icon'\nimport useKeymapUpdater from './updater'\n\nexport default function ExportKeymapButton () {\n const [updateNeeded, update] = useKeymapUpdater()\n return (\n <button\n disabled={!updateNeeded}\n title={updateNeeded ? 'Save changes' : 'No changes'}\n onClick={update}\n >\n <Icon name=\"file-export\" />\n </button>\n )\n}\n","import { useContext } from 'react'\n\nimport Icon from '../../Common/Icon'\nimport { FileSystemContext } from './store'\n\nexport default function FeedbackModalButton () {\n const [, { openFeedbackModal }] = useContext(FileSystemContext)\n\n return (\n <button onClick={openFeedbackModal}>\n <Icon name=\"comments\" /> Feedback?\n </button>\n )\n}\n","import { useContext } from 'react'\n\nimport ActionButton from '../../Common/ActionButton'\nimport DialogBox from '../../Common/DialogBox'\nimport Modal from '../../Common/Modal'\nimport Link from '../../Common/Link'\nimport {\n GitHubIssuesLink,\n DiscordProfileLink\n} from '../../Dialogs/support'\n\nimport { FileSystemContext } from './store'\n\nconst discussionUrl = 'https://github.com/nickcoutsos/keymap-editor/discussions/106'\nconst DiscussionLink = (\n <Link external href={discussionUrl}>\n Feature Discussion\n </Link>\n)\n\nexport default function FeedbackDialog () {\n const [, { closeFeedbackModal }] = useContext(FileSystemContext)\n\n return (\n <Modal onDismiss={closeFeedbackModal}>\n <DialogBox dismissText={null}>\n <h2>Beta Feedback</h2>\n <p>Hey, feel free to ignore this!</p>\n <p>\n I just launched this feature very quickly, I hope it's working well\n for you! Your feedback, if you can spare a moment, would be immensely\n helpful to me. This feature is completely browser-based which means I\n have no server analytics, so even just letting me know that it worked\n would be cool!\n </p>\n <p>Good ways to contact me:</p>\n <ul>\n <li>Ping me at {DiscordProfileLink}</li>\n <li>File an issue at {GitHubIssuesLink}</li>\n <li>Join the {DiscussionLink}</li>\n </ul>\n <div style={{ textAlign: 'center' }}>\n <ActionButton onClick={closeFeedbackModal}>\n Back to editor\n </ActionButton>\n </div>\n </DialogBox>\n </Modal>\n )\n}\n","import cloneDeep from 'lodash/cloneDeep'\nimport { useContext, useEffect } from 'react'\n\nimport FileSystemKeymapPicker from './FileSystemKeymapPicker'\nimport ImportKeymapsButton from './ImportKeymapsButton'\nimport ImportKeymapsDialog from './ImportKeymapsDialog'\nimport ExportKeymapButton from './ExportKeymapButton'\nimport { loadHandles, FileSystemContext, withFileSystemStore, loadActiveHandle } from './store'\nimport FeedbackModalButton from './FeedbackModalButton'\nimport FeedbackDialog from './FeedbackDialog'\n\nfunction FileSystemPicker ({ onSelect }) {\n const [{\n keymapHandles,\n activeKeymap,\n importModalOpen,\n feedbackModalOpen\n }, { initHandles }] = useContext(FileSystemContext)\n\n useEffect(() => {\n ;(async () => {\n const handles = await loadHandles()\n const activeHandle = await loadActiveHandle()\n\n initHandles({ handles, activeHandle })\n })()\n }, [initHandles])\n\n useEffect(() => {\n if (!activeKeymap.keymapParsed) {\n return\n }\n\n const { keymapParsed: keymap, metadataParsed: metadata } = activeKeymap\n const { layouts } = metadata\n const preferredLayout = keymap.chosen['zmk,matrix_transform']\n ? keymap.chosen['zmk,matrix_transform'].replace(/^&/, '')\n : null\n\n const defaultLayout = Object.keys(layouts)[0]\n const layoutMetadata = (\n layouts[preferredLayout] ||\n layouts[defaultLayout]\n )\n\n onSelect(cloneDeep({\n source: 'filesystem',\n keyboard: metadata.id,\n layoutMetadata,\n layout: layoutMetadata.layout,\n keymap,\n sensors: layoutMetadata.sensors || []\n }))\n }, [activeKeymap, onSelect])\n\n return (\n <>\n {keymapHandles.length > 0\n ? <FileSystemKeymapPicker />\n : <ImportKeymapsButton />}\n {activeKeymap?.keymapParsed && <ExportKeymapButton />}\n {importModalOpen && <ImportKeymapsDialog />}\n <FeedbackModalButton />\n {feedbackModalOpen && <FeedbackDialog />}\n </>\n )\n}\n\nexport default withFileSystemStore(FileSystemPicker)\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"action\": \"pi2Ig8c3Fdh4H2Jpxdo7\",\n\t\"secondary\": \"Ctpu4E2dZYJ6g8CUGFOF\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","var map = {\n\t\"./a_dux.json\": [\n\t\t73158,\n\t\t3712\n\t],\n\t\"./bat43.json\": [\n\t\t60888,\n\t\t3712\n\t],\n\t\"./bdn9_rev2.json\": [\n\t\t94591,\n\t\t3712\n\t],\n\t\"./bfo9000.json\": [\n\t\t19684,\n\t\t3712\n\t],\n\t\"./boardsource3x4.json\": [\n\t\t88602,\n\t\t3712\n\t],\n\t\"./boardsource5x12.json\": [\n\t\t8058,\n\t\t3712\n\t],\n\t\"./bt60_v1.json\": [\n\t\t92628,\n\t\t3712\n\t],\n\t\"./bt60_v1_hs.json\": [\n\t\t84628,\n\t\t3712\n\t],\n\t\"./bt60_v2.json\": [\n\t\t9417,\n\t\t3712\n\t],\n\t\"./bt65_v1.json\": [\n\t\t88455,\n\t\t3712\n\t],\n\t\"./bt75_v1.json\": [\n\t\t25397,\n\t\t3712\n\t],\n\t\"./chalice.json\": [\n\t\t7936,\n\t\t3712\n\t],\n\t\"./clog.json\": [\n\t\t31638,\n\t\t3712\n\t],\n\t\"./contra.json\": [\n\t\t42718,\n\t\t3712\n\t],\n\t\"./corne.json\": [\n\t\t26453,\n\t\t3712\n\t],\n\t\"./corneish_zen.json\": [\n\t\t39757,\n\t\t3712\n\t],\n\t\"./cradio.json\": [\n\t\t62089,\n\t\t3712\n\t],\n\t\"./crbn.json\": [\n\t\t48945,\n\t\t3712\n\t],\n\t\"./eek.json\": [\n\t\t63072,\n\t\t3712\n\t],\n\t\"./elephant42.json\": [\n\t\t83634,\n\t\t3712\n\t],\n\t\"./ergodash.json\": [\n\t\t68972,\n\t\t3712\n\t],\n\t\"./ergodox.json\": [\n\t\t75507,\n\t\t3712\n\t],\n\t\"./eternal_keypad.json\": [\n\t\t69416,\n\t\t3712\n\t],\n\t\"./eternal_keypad_lefty.json\": [\n\t\t56785,\n\t\t3712\n\t],\n\t\"./ferris_rev02.json\": [\n\t\t97365,\n\t\t3712\n\t],\n\t\"./fourier.json\": [\n\t\t14446,\n\t\t3712\n\t],\n\t\"./helix.json\": [\n\t\t73549,\n\t\t3712\n\t],\n\t\"./hummingbird.json\": [\n\t\t98321,\n\t\t3712\n\t],\n\t\"./iris.json\": [\n\t\t55262,\n\t\t3712\n\t],\n\t\"./jian.json\": [\n\t\t46228,\n\t\t3712\n\t],\n\t\"./jiran.json\": [\n\t\t14465,\n\t\t3712\n\t],\n\t\"./jorne.json\": [\n\t\t19151,\n\t\t3712\n\t],\n\t\"./kbdfans_tofu65_v2.json\": [\n\t\t7450,\n\t\t3712\n\t],\n\t\"./knob_goblin.json\": [\n\t\t71497,\n\t\t3712\n\t],\n\t\"./kyria.json\": [\n\t\t34458,\n\t\t3712\n\t],\n\t\"./kyria_rev2.json\": [\n\t\t70165,\n\t\t3712\n\t],\n\t\"./kyria_rev3.json\": [\n\t\t33669,\n\t\t3712\n\t],\n\t\"./leeloo.json\": [\n\t\t53677,\n\t\t3712\n\t],\n\t\"./lily58.json\": [\n\t\t21479,\n\t\t3712\n\t],\n\t\"./lotus58.json\": [\n\t\t63918,\n\t\t3712\n\t],\n\t\"./m60.json\": [\n\t\t53132,\n\t\t3712\n\t],\n\t\"./microdox.json\": [\n\t\t56792,\n\t\t3712\n\t],\n\t\"./murphpad.json\": [\n\t\t8662,\n\t\t3712\n\t],\n\t\"./naked60.json\": [\n\t\t79707,\n\t\t3712\n\t],\n\t\"./nibble.json\": [\n\t\t58244,\n\t\t3712\n\t],\n\t\"./nice60.json\": [\n\t\t41501,\n\t\t3712\n\t],\n\t\"./osprette.json\": [\n\t\t13467,\n\t\t3712\n\t],\n\t\"./pancake.json\": [\n\t\t19011,\n\t\t3712\n\t],\n\t\"./planck_rev6.json\": [\n\t\t55991,\n\t\t3712\n\t],\n\t\"./preonic_rev3.json\": [\n\t\t47308,\n\t\t3712\n\t],\n\t\"./qaz.json\": [\n\t\t46923,\n\t\t3712\n\t],\n\t\"./quefrency.json\": [\n\t\t23956,\n\t\t3712\n\t],\n\t\"./redox.json\": [\n\t\t17104,\n\t\t3712\n\t],\n\t\"./reviung41.json\": [\n\t\t71414,\n\t\t3712\n\t],\n\t\"./reviung5.json\": [\n\t\t31009,\n\t\t3712\n\t],\n\t\"./romac.json\": [\n\t\t15683,\n\t\t3712\n\t],\n\t\"./romac_plus.json\": [\n\t\t55318,\n\t\t3712\n\t],\n\t\"./s40nc.json\": [\n\t\t56036,\n\t\t3712\n\t],\n\t\"./snap.json\": [\n\t\t24380,\n\t\t3712\n\t],\n\t\"./sofle.json\": [\n\t\t45082,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_corne.json\": [\n\t\t20216,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_lily58.json\": [\n\t\t2674,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_sweep.json\": [\n\t\t9738,\n\t\t3712\n\t],\n\t\"./splitreus62.json\": [\n\t\t47003,\n\t\t3712\n\t],\n\t\"./tg4x.json\": [\n\t\t87454,\n\t\t3712\n\t],\n\t\"./tidbit.json\": [\n\t\t60386,\n\t\t3712\n\t],\n\t\"./two_percent_milk.json\": [\n\t\t67150,\n\t\t3712\n\t],\n\t\"./waterfowl.json\": [\n\t\t14194,\n\t\t3712\n\t],\n\t\"./zmk_uno.json\": [\n\t\t71578,\n\t\t3712\n\t],\n\t\"./zodiark.json\": [\n\t\t12069,\n\t\t3712\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 25690;\nmodule.exports = webpackAsyncContext;"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","ActionButton","children","secondary","className","props","styles","join","defaultProps","promisifyRequest","request","Promise","resolve","reject","oncomplete","onsuccess","result","onabort","onerror","error","defaultGetStoreFunc","defaultGetStore","dbName","storeName","indexedDB","open","onupgradeneeded","createObjectStore","dbp","txMode","callback","then","db","transaction","objectStore","createStore","get","key","customStore","store","set","value","put","STORAGE_KEY_HANDLES","STORAGE_KEY_SELECTED_HANDLE_INDEX","saveHandles","handles","idbSet","saveActiveHandle","index","initialState","keymapHandles","selectedHandleIndex","activeKeymap","handleIndex","keymapRaw","keymapParsed","metadataParsed","importModalOpen","feedbackModalOpen","pendingImports","slice","createSlice","name","reducers","openImportModal","state","closeImportModal","openFeedbackModal","closeFeedbackModal","selectFilesForImport","action","payload","updatedHandles","initHandles","selectHandle","selectKeymap","updateActiveKeymap","FileSystemContext","createContext","FileSystemStore","dispatch","useReducer","reducer","dispatchers","useMemo","Object","keys","actions","reduce","useFileSystemStore","Provider","ImportKeymapsButton","useContext","handleClick","useCallback","window","showOpenFilePicker","mode","multiple","excludeAcceptAllOption","types","accept","onClick","Icon","fileOptions","FileSystemKeymapPicker","choices","map","handle","i","id","handleSelect","choice","useEffect","queryPermission","requestPermission","replace","getFile","file","text","extractKeymapData","parsed","metadata","stripLegacyProperties","onChange","getOptionLabel","option","getOptionValue","ImportKeymapsDialog","acceptedImports","filter","keymapInCatalog","rejectedImports","handleConfirm","handleCancel","Modal","DialogBox","dismissText","Handle","length","style","textAlign","keyboardCatalog","color","keymapSelector","keyboard","keymap","settingsSelector","experimentalSettings","ExportKeymapButton","appKeymapState","enableBehaviorEditing","useSelector","isEqual","layouts","preferredLayout","chosen","defaultLayout","layout","applyKeymapChanges","cloneDeep","raw","createWritable","stream","write","close","updateNeeded","update","disabled","title","FeedbackModalButton","DiscussionLink","Link","external","href","FeedbackDialog","onDismiss","DiscordProfileLink","GitHubIssuesLink","Component","onSelect","idbGet","activeHandle","layoutMetadata","source","sensors","___CSS_LOADER_EXPORT___","push","module","locals","webpackAsyncContext","req","__webpack_require__","o","e","Error","code","ids","t","exports"],"sourceRoot":""}
\ No newline at end of file diff --git a/9657.aa3c39fe6f827e094083.js b/9657.aa3c39fe6f827e094083.js new file mode 100644 index 0000000..2abc2ce --- /dev/null +++ b/9657.aa3c39fe6f827e094083.js @@ -0,0 +1,3 @@ +/*! For license information please see 9657.aa3c39fe6f827e094083.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9657],{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)}},27926:function(t,e,r){"use strict";r.d(e,{Z:function(){return E}});var n=r(93379),o=r.n(n),i=r(7795),a=r.n(i),c=r(90569),u=r.n(c),l=r(3565),s=r.n(l),f=r(19216),d=r.n(f),p=r(44589),y=r.n(p),h=r(56281),v={};v.styleTagTransform=y(),v.setAttributes=s(),v.insert=u().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=d(),o()(h.Z,v);var m=h.Z&&h.Z.locals?h.Z.locals:void 0,b=r(85893);function g(t){return g="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},g(t)}var w=["children","secondary","className"];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 A(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"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===g(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=t.children,r=t.secondary,n=t.className,o=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,w);return(0,b.jsx)("button",A(A({className:[n,m.action,r&&m.secondary].join(" ")},o),{},{children:e}))}O.defaultProps={className:""};var E=O},62928:function(t,e,r){"use strict";r.r(e),r.d(e,{ClipboardPicker:function(){return ie},default:function(){return ce}});var n=r(50361),o=r.n(n),i=r(67294),a=r(97168),c=r(85893);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(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 s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===u(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(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 p(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)?p(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 p(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 y="keymap_editor_clipboard_slots",h="".concat(y,":"),v="keymap_editor_clipboard_selected_slot",m=JSON.stringify({keyboardId:null,isCustom:!0,keymap:null,keymapRaw:"",metadata:null,metadataRaw:""});function b(){var t,e=JSON.parse(localStorage.getItem(v)||"null"),r=JSON.parse(localStorage.getItem(y)||"[]"),n=e||(null===(t=r[0])||void 0===t?void 0:t.id),o=JSON.parse(localStorage.getItem("".concat(h).concat(n))||"null"),i=(null==o?void 0:o.keyboardId)||"custom",a=(null==o?void 0:o.isCustom)||"custom"===i,c=null==o?void 0:o.keymap,u=null==o?void 0:o.keymapRaw;return{keyboards:r,selectedKeyboard:n,modalOpen:!u,feedbackModalOpen:!1,selection:{keyboardId:i,isCustom:a,keymap:c,keymapRaw:u,metadata:null==o?void 0:o.metadata,metadataRaw:null==o?void 0:o.metadataRaw},pending:{}}}var g=(0,a.oM)({name:"clipboard-picker",initialState:b,reducers:{selectedKeyboard:function(t,e){t.selectedKeyboard=e.payload.keyboard;var r="".concat(h).concat(t.selectedKeyboard);t.selection=JSON.parse(localStorage.getItem(r)||m),localStorage.setItem(v,JSON.stringify(t.selectedKeyboard))},addKeyboard:function(t,e){var r=e.payload,n=r.id,o=r.name,i={id:n,name:void 0===o?null:o};t.keyboards.push(i),localStorage.setItem(y,JSON.stringify(t.keyboards)),localStorage.setItem("".concat(h).concat(n),m)},setKeymap:function(t,e){var r=e.payload,n=r.raw,i=r.parsed,a=r.pending,c=void 0!==a&&a;t.pending||(t.pending=o()(t.selection)),t.pending.keymap=i,t.pending.keymapRaw=n,c||(t.selection.keymap=i,t.selection.keymapRaw=n)},setMetadata:function(t,e){var r=e.payload,n=r.keyboardId,i=r.isCustom,a=void 0!==i&&i,c=r.raw,u=r.parsed,l=r.pending,s=void 0!==l&&l;s&&!t.pending&&(t.pending=o()(t.selection));var f=s?t.pending:t.selection;f.keyboardId=n||f.keyboardId,f.isCustom=a,f.metadata=u,f.metadataRaw=c},confirmPending:function(t){t.selection=t.pending,t.pending=null,t.selectedKeyboard||(t.selectedKeyboard=Date.now());var e="".concat(h).concat(t.selectedKeyboard);localStorage.setItem(e,JSON.stringify(t.selection)),t.keyboards.length||t.keyboards.push({id:t.selectedKeyboard});var r=t.keyboards.find((function(e){return e.id===t.selectedKeyboard}));r.name||(r.name=t.selection.metadata.name,localStorage.setItem(y,JSON.stringify(t.keyboards)))},openModal:function(t){if(t.modalOpen=!0,t.pending=t.selection,t.pending.metadataRaw&&!t.pending.metadata)try{t.pending.metadata=JSON.parse(t.pending.metadataRaw)}catch(t){}},closeModal:function(t){t.modalOpen=!1},openFeedbackModal:function(t){t.feedbackModalOpen=!0},closeFeedbackModal:function(t){t.feedbackModalOpen=!1}}});var w=(0,i.createContext)([{},{}]);function j(t){var e=t.children,r=d(function(){var t,e=d((0,i.useReducer)(g.reducer,null,b),2),r=e[0],n=(t=e[1],(0,i.useMemo)((function(){return Object.keys(g.actions).reduce((function(e,r){return e[r]=function(){var e;return t((e=g.actions)[r].apply(e,arguments))},e}),{})}),[t]));return[r,n]}(),2),n=r[0],o=r[1];return(0,c.jsx)(w.Provider,{value:[n,o],children:e})}var A=r(93379),x=r.n(A),O=r(7795),E=r.n(O),k=r(90569),S=r.n(k),C=r(3565),L=r.n(C),P=r(19216),_=r.n(P),I=r(44589),B=r.n(I),N=r(8153),T={};T.styleTagTransform=B(),T.setAttributes=L(),T.insert=S().bind(null,"head"),T.domAPI=E(),T.insertStyleElement=_(),x()(N.Z,T);var F=N.Z&&N.Z.locals?N.Z.locals:void 0,M=r(41051);function G(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 D(){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 G(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)?G(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.useContext)(w),2)[1].openFeedbackModal;return(0,c.jsxs)("button",{onClick:t,children:[(0,c.jsx)(M.Z,{name:"comments"})," Feedback?"]})}var U=r(69247),Z=r(18446),Y=r.n(Z),K=r(95998),z=r(83858),R=r.n(z),J=r(33295),q=r.n(J),W=r(41696);function $(t){return $="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)}function H(){H=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 d?e:d,a=Object.create(i.prototype),c=new E(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 d(){}function p(){}function y(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=y.prototype=d.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"==$(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=A(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 A(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,A(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 O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(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(b,"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(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=k,E.prototype={constructor:E,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(O),!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),O(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;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Q(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 V(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Q(i,n,o,a,c,"next",t)}function c(t){Q(i,n,o,a,c,"throw",t)}a(void 0)}))}}function X(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=function(t){var e;return null===(e=t.keyboard)||void 0===e?void 0:e.keymap},et=function(t){return t.experimentalSettings};function rt(t){return rt="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},rt(t)}function nt(){nt=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 d?e:d,a=Object.create(i.prototype),c=new E(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 d(){}function p(){}function y(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=y.prototype=d.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"==rt(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=A(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 A(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,A(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 O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(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(b,"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(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=k,E.prototype={constructor:E,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(O),!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),O(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;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ot(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 it(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ot(i,n,o,a,c,"next",t)}function c(t){ot(i,n,o,a,c,"throw",t)}a(void 0)}))}}function at(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 ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?at(Object(r),!0).forEach((function(e){ut(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ut(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==rt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==rt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===rt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lt(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.")}()}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}function ft(){var t,e,r,n,a,u,l=lt((t=(0,K.v9)(tt),e=(0,K.v9)(et).enableBehaviorEditing,r=void 0!==e&&e,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 X(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)?X(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.useContext)(w),2),a=n[0].selection,u=n[1],[(0,i.useMemo)((function(){return t&&a.keymap&&!Y()(t,a.keymap)}),[t,a.keymap]),(0,i.useCallback)(V(H().mark((function e(){var n,i,c,l,s,f,d;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.metadata.layouts,i=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null,c=Object.keys(n)[0],l=n[i]||n[c],s=l.layout,e.prev=4,e.next=7,R()(s,o()(t),a.keymapRaw,{enableBehaviorEditing:r});case 7:return f=e.sent,e.next=10,q()(f);case 10:return d=e.sent,(0,W.u)(d),u.setKeymap({raw:f,parsed:d}),e.abrupt("return",f);case 16:throw e.prev=16,e.t0=e.catch(4),console.error("Failed to update/parse",t),console.error(e.t0),e.t0;case 21:case"end":return e.stop()}}),e,null,[[4,16]])}))),[t,a,u,r])]),2),s={updateNeeded:l[0],update:l[1]};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(dt,ct({},s)),(0,c.jsx)(pt,ct({},s)),(0,c.jsx)(D,{})]})}function dt(t){var e=t.updateNeeded,r=t.update,n=lt((0,i.useContext)(w),2),o=n[0].selectedKeyboard,a=n[1].openModal,u=(0,i.useCallback)(it(nt().mark((function t(){return nt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,r();case 3:a();case 4:case"end":return t.stop()}}),t)}))),[a,r,e]);if(o)return(0,c.jsx)(U.zx,{onClick:u,title:"View/update keymap code",children:"Keymap"})}function pt(t){var e=t.updateNeeded,r=t.update,n=e?"Copy updated keymap":"No changes",o=lt((0,i.useContext)(w),1)[0].selection,a=lt((0,i.useState)(!1),2),u=a[0],l=a[1],s=(0,i.useCallback)(it(nt().mark((function t(){var e;return nt().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:l(!0),setTimeout((function(){return l(!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,c.jsx)(U.zx,{title:n,disabled:!e,className:F.copyButton,onClick:s,"data-show-copied":u,children:(0,c.jsx)(M.Z,{name:e?"clipboard-list":"clipboard-check"})}):null}var yt=r(27926),ht=r(96186),vt=r(64261),mt=r(2968),bt=r(80031);function gt(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 wt=(0,c.jsx)(mt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/discussions/105",children:"Feature Discussion"});function jt(){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 gt(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)?gt(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.useContext)(w),2)[1].closeFeedbackModal;return(0,c.jsx)(vt.Z,{onDismiss:t,children:(0,c.jsxs)(ht.Z,{dismissText:null,children:[(0,c.jsx)("h2",{children:"Beta Feedback"}),(0,c.jsx)("p",{children:"Hey, feel free to ignore this!"}),(0,c.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,c.jsx)("p",{children:"Good ways to contact me:"}),(0,c.jsxs)("ul",{children:[(0,c.jsxs)("li",{children:["Ping me at ",bt.W8]}),(0,c.jsxs)("li",{children:["File an issue at ",bt.qM]}),(0,c.jsxs)("li",{children:["Join the ",wt]})]}),(0,c.jsx)("div",{style:{textAlign:"center"},children:(0,c.jsx)(yt.Z,{onClick:t,children:"Back to editor"})})]})})}function At(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=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 At(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)?At(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.useContext)(w),2)[1],e=t.selectedKeyboard,r=t.addKeyboard,n=t.openModal,o=(0,i.useCallback)((function(){var t=Date.now();r({id:t}),e({keyboard:t}),n()}),[r,e,n]);return(0,c.jsxs)("button",{onClick:o,children:[(0,c.jsx)(M.Z,{name:"gear"})," Add Keyboard"]})}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 Et(){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 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.useContext)(w),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]),u=(0,i.useCallback)((function(t){o({keyboard:t.id})}),[o]);return 0===r.length?(0,c.jsx)(xt,{}):(0,c.jsx)(U.Ph,{value:a,options:r,onChange:u,getOptionLabel:function(t){return t.name||"<unnamed>"},getOptionValue:function(t){return t.id},formatOptionLabel:function(t){return t.name||(0,c.jsx)("em",{children:"[unnamed]"})},children:(0,c.jsx)(xt,{})})}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)}var St=["value","onChange"];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 d?e:d,a=Object.create(i.prototype),c=new E(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 d(){}function p(){}function y(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=y.prototype=d.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=A(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 A(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,A(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 O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(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(b,"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(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=k,E.prototype={constructor:E,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(O),!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),O(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;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Lt(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 Pt(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 _t(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pt(Object(r),!0).forEach((function(e){It(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function It(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==kt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==kt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===kt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Bt(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 Nt(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,St),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 Bt(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)?Bt(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,u=o[1];(0,i.useEffect)((function(){u((function(t){return _t(_t({},t),{},{raw:e})}))}),[e,u]);var l=(0,i.useCallback)((function(t){var e=t.target.value;u((function(t){return _t(_t({},t),{},{raw:e})}))}),[u]);return(0,i.useEffect)((function(){function t(){var e;return e=Ct().mark((function t(){var e;return Ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q()(a);case 2:e=t.sent,(0,W.u)(e),u((function(t){return _t(_t({},t),{},{parsed:e})})),r({raw:a,parsed:e});case 6:case"end":return t.stop()}}),t)})),t=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Lt(i,n,o,a,c,"next",t)}function c(t){Lt(i,n,o,a,c,"throw",t)}a(void 0)}))},t.apply(this,arguments)}a&&function(){t.apply(this,arguments)}()}),[a,u,r]),(0,c.jsx)("textarea",_t({onChange:l,value:a},n))}var Tt=r(98553),Ft=r(91829),Mt=r(62608);function Gt(t){return Gt="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},Gt(t)}var Dt=["value","onChange"];function Ut(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 Zt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ut(Object(r),!0).forEach((function(e){Yt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Yt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Gt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kt(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 zt(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,Dt),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 Kt(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)?Kt(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),u=a[0],l=u.raw,s=u.error,f=a[1],d=(0,i.useCallback)((function(t){var e=t.target.value,n=null,o=null;try{n=JSON.parse(e),(0,Mt.validateInfoJson)(n)}catch(t){o=t,n=null}f({raw:e,parsed:n,error:o}),r({raw:e,parsed:n})}),[f,r]);return(0,i.useEffect)((function(){f((function(t){return Zt(Zt({},t),{},{raw:e})}))}),[e,f]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("textarea",Zt({ref:o,onChange:d,value:l},n)),s&&(0,c.jsx)("p",{className:F.parseError,children:s instanceof Mt.InfoValidationError?s.errors[0]:s.toString()})]})}function Rt(t){return Rt="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},Rt(t)}function Jt(){Jt=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 d?e:d,a=Object.create(i.prototype),c=new E(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 d(){}function p(){}function y(){}var h={};u(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(k([])));m&&m!==e&&r.call(m,i)&&(h=m);var b=y.prototype=d.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"==Rt(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=A(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 A(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,A(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 O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(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(b,"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(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=k,E.prototype={constructor:E,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(O),!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),O(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;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function qt(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 Wt(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)||$t(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 $t(t,e){if(t){if("string"==typeof t)return Ht(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)?Ht(t,e):void 0}}function Ht(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 Qt,Vt=[{id:"custom",name:"Custom..."}].concat(function(t){if(Array.isArray(t))return Ht(t)}(Qt=Object.values(Tt))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(Qt)||$t(Qt)||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 Xt(t){var e=t.value,n=(t.onChange,Wt((0,i.useContext)(w),2)),o=n[0].pending,a=n[1],u=Wt((0,Ft.Z)(!(null!=o&&o.metadataRaw)),3),l=u[0],s=u[1],f=u[2],d=Wt((0,i.useState)(e),2),p=d[0],y=d[1],h=(0,i.useMemo)((function(){return Vt.find((function(t){return t.id===p}))}),[p]),v=(0,i.useCallback)(function(){var t,e=(t=Jt().mark((function t(e){var n;return Jt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(y(e.id),"custom"!==e.id){t.next=6;break}a.setMetadata({pending:!0,keyboardId:"custom",isCustom:!0,raw:"",parsed:null}),f(),t.next=16;break;case 6:return t.prev=6,t.next=9,r(35943)("./".concat(e.id,".json"));case 9:n=t.sent,a.setMetadata({pending:!0,isCustom:!1,keyboardId:e.id,parsed:n,raw:""}),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(6),console.error("Failed to load metadata for ".concat(e.id),t.t0);case 16:case"end":return t.stop()}}),t,null,[[6,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qt(i,n,o,a,c,"next",t)}function c(t){qt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),[a,y,f]),m=(0,i.useCallback)((function(t){var e=t.raw,r=t.parsed,n=t.errors;a.setMetadata({pending:!0,id:h.id,custom:"custom"===h.id,raw:e,parsed:r,errors:n})}),[h,a]);return(0,c.jsxs)("article",{className:F.source,"data-expanded":l,children:[(0,c.jsxs)("h2",{children:[(0,c.jsx)("span",{onClick:s,children:"Keyboard"})," ",(0,c.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal",verticalAlign:"middle"},children:(0,c.jsx)(U.Ph,{value:h,onChange:v,options:Vt,getOptionValue:function(t){return t.id},getOptionLabel:function(t){return t.name}})})]}),"custom"===(null==h?void 0:h.id)&&(0,c.jsxs)("section",{className:F.sourceContent,children:[(0,c.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."}),o.metadata&&(0,c.jsxs)("p",{children:["Parsed metadata for: ",o.metadata.name]}),(0,c.jsx)(zt,{cols:80,rows:o.metadata?22:5,wrap:"off",spellCheck:!1,value:o.metadataRaw,onChange:m}),!o.metadata&&(0,c.jsxs)("div",{className:F.metadataHelp,children:[(0,c.jsx)("h3",{children:"Not sure what to put here?"}),(0,c.jsxs)("p",{children:["The ",(0,c.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 ",bt.Jh,"."]}),(0,c.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,c.jsx)("code",{children:"info.json"})," file here."]})]})]})]})}function te(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(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 te(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)?te(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.useContext)(w),2),o=n[0],a=n[1],u=o.pending,l=(0,i.useCallback)((function(t){var e=t.raw,r=t.parsed;a.setKeymap({pending:!0,raw:e,parsed:r})}),[a]),s=(0,i.useCallback)((function(){a.confirmPending(),e({keymap:u.keymap,metadata:u.metadata})}),[a,u,e]),f=!(null!=u&&u.metadata&&null!=u&&u.keymap);return(0,c.jsx)(vt.Z,{onDismiss:r,children:(0,c.jsxs)(ht.Z,{style:{maxWidth:"640px",maxHeight:"90vh",overflow:"auto"},dismissText:null,children:[(0,c.jsx)(Xt,{value:o.selection.keyboardId}),(0,c.jsx)("h2",{children:"Keymap"}),(0,c.jsxs)("p",{children:["Paste the devicetree source from your ",(0,c.jsx)("code",{children:".keymap"})," file below."]}),(0,c.jsxs)("p",{children:["You can ",(0,c.jsx)("em",{children:"technically"})," make changes directly to the DeviceTree code here, but this isn't intended as an editor."]}),(0,c.jsx)(Nt,{cols:80,rows:22,wrap:"off",spellCheck:!1,value:o.selection.keymapRaw,onChange:l}),(0,c.jsxs)("p",{style:{textAlign:"center"},children:[(0,c.jsx)(yt.Z,{disabled:f,onClick:s,children:"Set Keymap"}),(0,c.jsx)(yt.Z,{onClick:r,secondary:!0,children:"Cancel"})]})]})})}function re(t){return re="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},re(t)}function ne(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 oe(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)?oe(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 oe(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 ie(t){var e,r,n=t.onSelect,a=(t.onError,ne((0,i.useContext)(w),2)),u=a[0],l=a[1].closeModal,s=ne((0,i.useState)(null),2),f=s[0],d=s[1],p=(0,i.useCallback)((function(t,e){var r=e.layouts,i=e.sensors,a=void 0===i?[]:i,c=t.chosen["zmk,matrix_transform"]?t.chosen["zmk,matrix_transform"].replace(/^&/,""):null;if("object"===re(r)){var u=Object.keys(r)[0],l=r[c]||r[u];n(o()({source:"clipboard",keyboard:"",layoutMetadata:l,layout:l.layout,keymap:t,sensors:a}))}else console.error("Invalid metadata loaded",e)}),[n]);(0,i.useEffect)((function(){var t,e,r,n;null!==(t=u.selection)&&void 0!==t&&t.keymap&&null!==(e=u.selection)&&void 0!==e&&e.metadata&&p(null===(r=u.selection)||void 0===r?void 0:r.keymap,null===(n=u.selection)||void 0===n?void 0:n.metadata)}),[p,null===(e=u.selection)||void 0===e?void 0:e.keymap,null===(r=u.selection)||void 0===r?void 0:r.metadata]);var y=(0,i.useCallback)((function(t){var e=t.keymap,r=t.metadata;p(e,r),l()}),[p,l]);return(0,i.useEffect)((function(){var t,e,r,n;f||(d(!0),null!==(t=u.selection)&&void 0!==t&&t.keymap&&null!==(e=u.selection)&&void 0!==e&&e.metadata&&p(null===(r=u.selection)||void 0===r?void 0:r.keymap,null===(n=u.selection)||void 0===n?void 0:n.metadata))}),[f,d,p,u]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Et,{}),(0,c.jsx)(ft,{}),u.modalOpen&&(0,c.jsx)(ee,{onSubmit:y,onCancel:l}),u.feedbackModalOpen&&(0,c.jsx)(jt,{})]})}var ae,ce=(ae=ie,function(t){return(0,c.jsx)(j,{children:(0,c.jsx)(ae,s({},t))})})},56281: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,"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},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 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 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},35943:function(t,e,r){var n={"./a_dux.json":[73158,3712],"./bat43.json":[60888,3712],"./bdn9_rev2.json":[94591,3712],"./bfo9000.json":[19684,3712],"./boardsource3x4.json":[88602,3712],"./boardsource5x12.json":[8058,3712],"./bt60_v1.json":[92628,3712],"./bt60_v1_hs.json":[84628,3712],"./bt60_v2.json":[9417,3712],"./bt65_v1.json":[88455,3712],"./bt75_v1.json":[25397,3712],"./chalice.json":[7936,3712],"./clog.json":[31638,3712],"./contra.json":[42718,3712],"./corne.json":[26453,3712],"./corneish_zen.json":[39757,3712],"./cradio.json":[62089,3712],"./crbn.json":[48945,3712],"./eek.json":[63072,3712],"./elephant42.json":[83634,3712],"./ergodash.json":[68972,3712],"./ergodox.json":[75507,3712],"./eternal_keypad.json":[69416,3712],"./eternal_keypad_lefty.json":[56785,3712],"./ferris_rev02.json":[97365,3712],"./fourier.json":[14446,3712],"./helix.json":[73549,3712],"./hummingbird.json":[98321,3712],"./iris.json":[55262,3712],"./jian.json":[46228,3712],"./jiran.json":[14465,3712],"./jorne.json":[19151,3712],"./kbdfans_tofu65_v2.json":[7450,3712],"./knob_goblin.json":[71497,3712],"./kyria.json":[34458,3712],"./kyria_rev2.json":[70165,3712],"./kyria_rev3.json":[33669,3712],"./leeloo.json":[53677,3712],"./lily58.json":[21479,3712],"./lotus58.json":[63918,3712],"./m60.json":[53132,3712],"./microdox.json":[56792,3712],"./murphpad.json":[8662,3712],"./naked60.json":[79707,3712],"./nibble.json":[58244,3712],"./nice60.json":[41501,3712],"./osprette.json":[13467,3712],"./pancake.json":[19011,3712],"./planck_rev6.json":[55991,3712],"./preonic_rev3.json":[47308,3712],"./qaz.json":[46923,3712],"./quefrency.json":[23956,3712],"./redox.json":[17104,3712],"./reviung41.json":[71414,3712],"./reviung5.json":[31009,3712],"./romac.json":[15683,3712],"./romac_plus.json":[55318,3712],"./s40nc.json":[56036,3712],"./snap.json":[24380,3712],"./sofle.json":[45082,3712],"./splitkb_aurora_corne.json":[20216,3712],"./splitkb_aurora_lily58.json":[2674,3712],"./splitkb_aurora_sweep.json":[9738,3712],"./splitreus62.json":[47003,3712],"./tg4x.json":[87454,3712],"./tidbit.json":[60386,3712],"./two_percent_milk.json":[67150,3712],"./waterfowl.json":[14194,3712],"./zmk_uno.json":[71578,3712],"./zodiark.json":[12069,3712]};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=35943,t.exports=o},66317:function(){},99918:function(){}}]); +//# sourceMappingURL=9657.aa3c39fe6f827e094083.js.map
\ No newline at end of file diff --git a/9657.aa3c39fe6f827e094083.js.LICENSE.txt b/9657.aa3c39fe6f827e094083.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/9657.aa3c39fe6f827e094083.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/9657.aa3c39fe6f827e094083.js.map b/9657.aa3c39fe6f827e094083.js.map new file mode 100644 index 0000000..92c800d --- /dev/null +++ b/9657.aa3c39fe6f827e094083.js.map @@ -0,0 +1 @@ +{"version":3,"file":"9657.aa3c39fe6f827e094083.js","mappings":";oFAAA,IAAIA,EAAa,EAAQ,OACrBC,EAAe,EAAQ,OAoC3BC,EAAOC,QALP,SAAkBC,GAChB,MAAuB,iBAATA,GACXH,EAAaG,IA9BF,mBA8BYJ,EAAWI,EACvC,2MCxBIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAA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iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,iBAAkB,CACjB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,KACA,MAED,cAAe,CACd,MACA,MAED,gBAAiB,CAChB,MACA,MAED,eAAgB,CACf,MACA,MAED,sBAAuB,CACtB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,cAAe,CACd,MACA,MAED,aAAc,CACb,MACA,MAED,oBAAqB,CACpB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,eAAgB,CACf,MACA,MAED,qBAAsB,CACrB,MACA,MAED,cAAe,CACd,MACA,MAED,cAAe,CACd,MACA,MAED,eAAgB,CACf,MACA,MAED,eAAgB,CACf,MACA,MAED,2BAA4B,CAC3B,KACA,MAED,qBAAsB,CACrB,MACA,MAED,eAAgB,CACf,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,aAAc,CACb,MACA,MAED,mBAAoB,CACnB,MACA,MAED,eAAgB,CACf,MACA,MAED,mBAAoB,CACnB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,eAAgB,CACf,MACA,MAED,oBAAqB,CACpB,MACA,MAED,eAAgB,CACf,MACA,MAED,cAAe,CACd,MACA,MAED,eAAgB,CACf,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,+BAAgC,CAC/B,KACA,MAED,8BAA+B,CAC9B,KACA,MAED,qBAAsB,CACrB,MACA,MAED,cAAe,CACd,MACA,MAED,gBAAiB,CAChB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,mBAAoB,CACnB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,OAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CACP,IAGD,IAAIG,EAAMX,EAAIE,GAAMhL,EAAKyL,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,WACzC,OAAOJ,EAAoBS,EAAE1L,EAAI,GAClC,GACD,CACA+K,EAAoB9H,KAAO,WAAa,OAAOD,OAAOC,KAAK6H,EAAM,EACjEC,EAAoB/K,GAAK,MACzBrC,EAAOC,QAAUmN","sources":["webpack:///../api/node_modules/lodash/isNumber.js","webpack:///./src/Common/action-button.module.css?ed83","webpack:///./src/Common/ActionButton.js","webpack:///./src/Sources/Clipboard/store.js","webpack:///./src/Sources/Clipboard/styles.module.css?ff1a","webpack:///./src/Sources/Clipboard/FeedbackModalButton.js","webpack:///./src/Sources/Clipboard/updater.js","webpack:///./src/Sources/Clipboard/ClipboardActions.js","webpack:///./src/Sources/Clipboard/FeedbackDialog.js","webpack:///./src/Sources/Clipboard/KeyboardAddButton.js","webpack:///./src/Sources/Clipboard/KeyboardSelector.js","webpack:///./src/Sources/Clipboard/KeymapRawInput.js","webpack:///./src/Sources/Clipboard/MetadataRawInput.js","webpack:///./src/Sources/Clipboard/MetadataSelector.js","webpack:///./src/Sources/Clipboard/KeymapSourceDialog.js","webpack:///./src/Sources/Clipboard/Picker.js","webpack:///./src/Common/action-button.module.css","webpack:///./src/Sources/Clipboard/styles.module.css","webpack:///./node_modules/keymap-editor-contrib/keyboard-data/ lazy ^\\.\\/.*\\.json$ include: \\.json$ chunkName: keyboard-metadata/[request] namespace object"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import styles from './action-button.module.css'\n\nfunction ActionButton ({ children, secondary, className, ...props }) {\n return (\n <button\n className={[\n className,\n styles.action,\n secondary && styles.secondary\n ].join(' ')}\n {...props}\n >\n {children}\n </button>\n )\n}\n\nActionButton.defaultProps = {\n className: ''\n}\n\nexport default ActionButton\n","import cloneDeep from 'lodash/cloneDeep'\nimport { createContext, useMemo, useReducer } from 'react'\nimport { createSlice } from '@reduxjs/toolkit'\n\nconst STORAGE_KEY_KEYBOARDS = 'keymap_editor_clipboard_slots'\nconst STORAGE_KEY_KEYBOARD = `${STORAGE_KEY_KEYBOARDS}:`\nconst STORAGE_KEY_SELECTED_KEYBOARD = 'keymap_editor_clipboard_selected_slot'\n\nconst BLANK_KEYBOARD_ENTRY = JSON.stringify({\n keyboardId: null,\n isCustom: true,\n keymap: null,\n keymapRaw: '',\n metadata: null,\n metadataRaw: ''\n})\n\nfunction initialState () {\n const storedKeyboardId = JSON.parse(localStorage.getItem(STORAGE_KEY_SELECTED_KEYBOARD) || 'null')\n\n const INITIAL_KEYBOARDS = JSON.parse(localStorage.getItem(STORAGE_KEY_KEYBOARDS) || '[]')\n const INITIAL_KEYBOARD_SLOT_ID = storedKeyboardId || INITIAL_KEYBOARDS[0]?.id\n\n const INITIAL_KEYBOARD_DATA = JSON.parse(\n localStorage.getItem(`${STORAGE_KEY_KEYBOARD}${INITIAL_KEYBOARD_SLOT_ID}`) || 'null'\n )\n\n const INITIAL_KEYBOARD_ID = INITIAL_KEYBOARD_DATA?.keyboardId || 'custom'\n const INITIAL_KEYBOARD_IS_CUSTOM = INITIAL_KEYBOARD_DATA?.isCustom || INITIAL_KEYBOARD_ID === 'custom'\n const INITIAL_KEYMAP_PARSED = INITIAL_KEYBOARD_DATA?.keymap\n const INITIAL_KEYMAP_RAW = INITIAL_KEYBOARD_DATA?.keymapRaw\n const INITIAL_METADATA_PARSED = INITIAL_KEYBOARD_DATA?.metadata\n const INITIAL_METADATA_RAW = INITIAL_KEYBOARD_DATA?.metadataRaw\n\n return {\n keyboards: INITIAL_KEYBOARDS,\n selectedKeyboard: INITIAL_KEYBOARD_SLOT_ID,\n modalOpen: !INITIAL_KEYMAP_RAW,\n feedbackModalOpen: false,\n selection: {\n keyboardId: INITIAL_KEYBOARD_ID,\n isCustom: INITIAL_KEYBOARD_IS_CUSTOM,\n keymap: INITIAL_KEYMAP_PARSED,\n keymapRaw: INITIAL_KEYMAP_RAW,\n metadata: INITIAL_METADATA_PARSED,\n metadataRaw: INITIAL_METADATA_RAW\n },\n pending: {}\n }\n}\n\nexport const pickerSlice = createSlice({\n name: 'clipboard-picker',\n initialState,\n reducers: {\n selectedKeyboard (state, action) {\n state.selectedKeyboard = action.payload.keyboard\n\n const key = `${STORAGE_KEY_KEYBOARD}${state.selectedKeyboard}`\n state.selection = JSON.parse(localStorage.getItem(key) || BLANK_KEYBOARD_ENTRY)\n\n localStorage.setItem(STORAGE_KEY_SELECTED_KEYBOARD, JSON.stringify(state.selectedKeyboard))\n },\n addKeyboard (state, action) {\n const { id, name = null } = action.payload\n const keyboard = { id, name }\n\n state.keyboards.push(keyboard)\n localStorage.setItem(STORAGE_KEY_KEYBOARDS, JSON.stringify(state.keyboards))\n localStorage.setItem(`${STORAGE_KEY_KEYBOARD}${id}`, BLANK_KEYBOARD_ENTRY)\n },\n setKeymap (state, action) {\n const { raw, parsed, pending = false } = action.payload\n if (!state.pending) {\n state.pending = cloneDeep(state.selection)\n }\n state.pending.keymap = parsed\n state.pending.keymapRaw = raw\n if (!pending) {\n state.selection.keymap = parsed\n state.selection.keymapRaw = raw\n }\n },\n setMetadata (state, action) {\n const { keyboardId, isCustom = false, raw, parsed, pending = false } = action.payload\n if (pending && !state.pending) {\n state.pending = cloneDeep(state.selection)\n }\n const target = pending ? state.pending : state.selection\n target.keyboardId = keyboardId || target.keyboardId\n target.isCustom = isCustom\n target.metadata = parsed\n target.metadataRaw = raw\n },\n confirmPending (state) {\n state.selection = state.pending\n state.pending = null\n\n // TODO: should have an action to create and select the initial slot and\n // have Picker automatically dispatch when mounted with 0 keyboards.\n if (!state.selectedKeyboard) {\n state.selectedKeyboard = Date.now()\n }\n\n const key = `${STORAGE_KEY_KEYBOARD}${state.selectedKeyboard}`\n localStorage.setItem(key, JSON.stringify(state.selection))\n\n if (!state.keyboards.length) {\n state.keyboards.push({ id: state.selectedKeyboard })\n }\n\n const keyboard = state.keyboards.find(keyboard => keyboard.id === state.selectedKeyboard)\n if (!keyboard.name) {\n keyboard.name = state.selection.metadata.name\n localStorage.setItem(STORAGE_KEY_KEYBOARDS, JSON.stringify(state.keyboards))\n }\n },\n openModal (state) {\n state.modalOpen = true\n state.pending = state.selection\n if (state.pending.metadataRaw && !state.pending.metadata) {\n try {\n state.pending.metadata = JSON.parse(state.pending.metadataRaw)\n } catch (err) {}\n }\n },\n closeModal (state) {\n state.modalOpen = false\n },\n openFeedbackModal (state) { state.feedbackModalOpen = true },\n closeFeedbackModal (state) { state.feedbackModalOpen = false }\n }\n})\n\nfunction useActionDispatchers (dispatch) {\n return useMemo(() => (\n Object.keys(pickerSlice.actions).reduce((actions, action) => {\n actions[action] = (...args) => dispatch(pickerSlice.actions[action](...args))\n return actions\n }, {})\n ), [dispatch])\n}\n\nexport function usePickerStore () {\n const [state, dispatch] = useReducer(pickerSlice.reducer, null, initialState)\n const dispatchers = useActionDispatchers(dispatch)\n\n return [state, dispatchers]\n}\n\nexport const ClipboardContext = createContext([{}, {}])\n\nexport function PickerStore ({ children }) {\n const [state, dispatchers] = usePickerStore()\n\n return (\n <ClipboardContext.Provider value={[state, dispatchers]}>\n {children}\n </ClipboardContext.Provider>\n )\n}\n\nexport function withPickerStore (Component) {\n return props => (\n <PickerStore>\n <Component {...props} />\n </PickerStore>\n )\n}\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useContext } from 'react'\n\nimport Icon from '../../Common/Icon'\nimport { ClipboardContext } from './store'\n\nexport default function FeedbackModalButton () {\n const [, { openFeedbackModal }] = useContext(ClipboardContext)\n\n return (\n <button onClick={openFeedbackModal}>\n <Icon name=\"comments\" /> Feedback?\n </button>\n )\n}\n","import cloneDeep from 'lodash/cloneDeep'\nimport isEqual from 'lodash/isEqual'\nimport { useCallback, useContext, useMemo } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport applyKeymapChanges from 'keymap-editor-zmk-backend/lib/apply-keymap-changes'\nimport extractKeymapData from 'keymap-editor-zmk-backend/lib/extract-keymap-data'\n\nimport { stripLegacyProperties } from '../../keymap'\nimport { ClipboardContext } from './store'\n\nconst keymapSelector = state => state.keyboard?.keymap\nconst settingsSelector = state => state.experimentalSettings\n\nexport function useKeymapUpdater () {\n const appKeymapState = useSelector(keymapSelector)\n const { enableBehaviorEditing = false } = useSelector(settingsSelector)\n const [{ selection }, actions] = useContext(ClipboardContext)\n\n const updateNeeded = useMemo(() => (\n appKeymapState &&\n selection.keymap &&\n !isEqual(appKeymapState, selection.keymap)\n ), [appKeymapState, selection.keymap])\n\n const update = useCallback(async function () {\n // When opening the clipboard dialog and a previously parsed keymap differs\n // from the app's current keymap state we're probably wanting to update the\n // keymap source\n const { layouts } = selection.metadata\n const preferredLayout = appKeymapState.chosen['zmk,matrix_transform']\n ? appKeymapState.chosen['zmk,matrix_transform'].replace(/^&/, '')\n : null\n\n const defaultLayout = Object.keys(layouts)[0]\n const { layout } = (\n layouts[preferredLayout] ||\n layouts[defaultLayout]\n )\n\n try {\n const raw = await applyKeymapChanges(layout, cloneDeep(appKeymapState), selection.keymapRaw, { enableBehaviorEditing })\n const parsed = await extractKeymapData(raw)\n stripLegacyProperties(parsed)\n\n actions.setKeymap({ raw, parsed })\n return raw\n } catch (err) {\n console.error('Failed to update/parse', appKeymapState)\n console.error(err)\n throw err\n }\n }, [appKeymapState, selection, actions, enableBehaviorEditing])\n\n return [updateNeeded, update]\n}\n","import { useCallback, useContext, useState } from 'react'\nimport { ClipboardContext } from './store'\n\nimport styles from './styles.module.css'\nimport FeedbackModalButton from './FeedbackModalButton'\nimport { Button } from '../Controls'\nimport Icon from '../../Common/Icon'\nimport { useKeymapUpdater } from './updater'\n\nexport default function ClipboardActions () {\n const [updateNeeded, update] = useKeymapUpdater()\n const props = { updateNeeded, update }\n\n return (\n <>\n <ModalButton {...props} />\n <CopyButton {...props} />\n <FeedbackModalButton />\n </>\n )\n}\n\nexport function ModalButton ({ updateNeeded, update }) {\n const [{ selectedKeyboard }, { openModal }] = useContext(ClipboardContext)\n const handleOpenModal = useCallback(async () => {\n if (updateNeeded) {\n await update()\n }\n\n openModal()\n }, [openModal, update, updateNeeded])\n\n if (!selectedKeyboard) {\n return\n }\n\n return (\n <Button onClick={handleOpenModal} title=\"View/update keymap code\">\n Keymap\n </Button>\n )\n}\n\nexport function CopyButton ({ updateNeeded, update }) {\n const title = updateNeeded ? 'Copy updated keymap' : 'No changes'\n const [{ selection }] = useContext(ClipboardContext)\n const [isCopiedVisible, showCopied] = useState(false)\n\n const handleCopy = useCallback(async function () {\n try {\n const raw = await update()\n await navigator.clipboard.writeText(raw)\n showCopied(true)\n setTimeout(() => showCopied(false), 1500)\n } catch (err) {\n console.error('Clipboard write failed')\n console.log(err)\n }\n }, [update])\n\n if (!selection.keymap) {\n return null\n }\n\n return (\n <Button\n title={title}\n disabled={!updateNeeded}\n className={styles.copyButton}\n onClick={handleCopy}\n data-show-copied={isCopiedVisible}\n >\n <Icon name={updateNeeded ? 'clipboard-list' : 'clipboard-check'} />\n </Button>\n )\n}\n","import { useContext } from 'react'\n\nimport ActionButton from '../../Common/ActionButton'\nimport DialogBox from '../../Common/DialogBox'\nimport Modal from '../../Common/Modal'\nimport Link from '../../Common/Link'\nimport {\n GitHubIssuesLink,\n DiscordProfileLink\n} from '../../Dialogs/support'\n\nimport { ClipboardContext } from './store'\n\nconst discussionUrl = 'https://github.com/nickcoutsos/keymap-editor/discussions/105'\nconst DiscussionLink = (\n <Link external href={discussionUrl}>\n Feature Discussion\n </Link>\n)\n\nexport default function FeedbackDialog () {\n const [, { closeFeedbackModal }] = useContext(ClipboardContext)\n\n return (\n <Modal onDismiss={closeFeedbackModal}>\n <DialogBox dismissText={null}>\n <h2>Beta Feedback</h2>\n <p>Hey, feel free to ignore this!</p>\n <p>\n I just launched this feature very quickly, I hope it's working well\n for you! Your feedback, if you can spare a moment, would be immensely\n helpful to me. This feature is completely browser-based which means I\n have no server analytics, so even just letting me know that it worked\n would be cool!\n </p>\n <p>Good ways to contact me:</p>\n <ul>\n <li>Ping me at {DiscordProfileLink}</li>\n <li>File an issue at {GitHubIssuesLink}</li>\n <li>Join the {DiscussionLink}</li>\n </ul>\n <div style={{ textAlign: 'center' }}>\n <ActionButton onClick={closeFeedbackModal}>\n Back to editor\n </ActionButton>\n </div>\n </DialogBox>\n </Modal>\n )\n}\n","import { useCallback, useContext } from 'react'\n\nimport Icon from '../../Common/Icon'\nimport { ClipboardContext } from './store'\n\nexport default function KeyboardAddButton () {\n const [, { selectedKeyboard, addKeyboard, openModal }] = useContext(ClipboardContext)\n\n const handleAddKeyboard = useCallback(() => {\n const id = Date.now()\n addKeyboard({ id })\n selectedKeyboard({ keyboard: id })\n openModal()\n }, [addKeyboard, selectedKeyboard, openModal])\n\n return (\n <button onClick={handleAddKeyboard}>\n <Icon name=\"gear\" /> Add Keyboard\n </button>\n )\n}\n","import { useCallback, useContext, useMemo } from 'react'\n\nimport { Select } from '../Controls'\nimport { ClipboardContext } from './store'\nimport KeyboardAddButton from './KeyboardAddButton'\n\nexport default function KeyboardSelector () {\n const [{ keyboards, selectedKeyboard: selectedKeyboardId }, { selectedKeyboard }] = useContext(ClipboardContext)\n\n const selectedKeyboardChoice = useMemo(() => (\n keyboards.find(keyboard => keyboard.id === selectedKeyboardId)\n ), [keyboards, selectedKeyboardId])\n\n const handleSelectKeyboard = useCallback(choice => {\n selectedKeyboard({ keyboard: choice.id })\n }, [selectedKeyboard])\n\n if (keyboards.length === 0) {\n return <KeyboardAddButton />\n }\n\n return (\n <Select\n value={selectedKeyboardChoice}\n options={keyboards}\n onChange={handleSelectKeyboard}\n getOptionLabel={option => option.name || '<unnamed>'}\n getOptionValue={option => option.id}\n formatOptionLabel={option => option.name || <em>[unnamed]</em>}\n >\n <KeyboardAddButton />\n </Select>\n )\n}\n","import { useCallback, useEffect, useState } from 'react'\n\nimport extractKeymapData from 'keymap-editor-zmk-backend/lib/extract-keymap-data'\nimport { stripLegacyProperties } from '../../keymap'\n\nexport default function KeymapRaw ({ value, onChange, ...props }) {\n const [{ raw }, setState] = useState({ raw: value, parsed: null })\n\n useEffect(() => {\n setState(state => ({ ...state, raw: value }))\n }, [value, setState])\n\n const handleChange = useCallback(event => {\n const raw = event.target.value\n setState(state => ({ ...state, raw }))\n }, [setState])\n\n useEffect(() => {\n async function parse () {\n // debounce? handle errors?\n const parsed = await extractKeymapData(raw)\n stripLegacyProperties(parsed)\n setState(state => ({ ...state, parsed }))\n onChange({ raw, parsed })\n }\n\n if (raw) {\n parse()\n }\n }, [raw, setState, onChange])\n\n return (\n <textarea\n onChange={handleChange}\n value={raw}\n {...props}\n />\n )\n}\n","import { useCallback, useEffect, useRef, useState } from 'react'\n\nimport { validateInfoJson, InfoValidationError } from 'keymap-layout-tools/lib/validate.js'\n\nimport styles from './styles.module.css'\n\nexport default function MetadataRawInput ({ value, onChange, ...props }) {\n const ref = useRef()\n const [{ raw, error }, setState] = useState({ raw: value, parsed: null, error: null })\n\n const handleMetadataChange = useCallback(event => {\n const raw = event.target.value\n let parsed = null\n let error = null\n\n try {\n parsed = JSON.parse(raw)\n validateInfoJson(parsed)\n } catch (err) {\n error = err\n parsed = null\n }\n\n setState({ raw, parsed, error })\n onChange({ raw, parsed })\n }, [setState, onChange])\n\n useEffect(() => {\n setState(state => ({ ...state, raw: value }))\n }, [value, setState])\n\n return (\n <>\n <textarea\n ref={ref}\n onChange={handleMetadataChange}\n value={raw}\n {...props}\n />\n {error && (\n <p className={styles.parseError}>\n {error instanceof InfoValidationError ? error.errors[0] : error.toString()}\n </p>\n )}\n </>\n )\n}\n","import { useCallback, useContext, useMemo, useState } from 'react'\n\nimport keyboardCatalog from 'keymap-editor-contrib/keyboard-catalog.json'\n\nimport useToggle from '../../Common/hooks/use-toggle'\nimport { GitHubWikiLayoutsLink } from '../../Dialogs/support'\nimport { Select } from '../Controls'\nimport MetadataRawInput from './MetadataRawInput'\nimport styles from './styles.module.css'\nimport { ClipboardContext } from './store'\n\nconst choices = [\n { id: 'custom', name: 'Custom...' },\n ...Object.values(keyboardCatalog)\n]\n\nexport default function MetadataSelector ({ value, onChange }) {\n const [{ pending }, actions] = useContext(ClipboardContext)\n\n const [sectionExpanded, toggleSection, expandSection] = useToggle(!pending?.metadataRaw)\n const [selection, setSelection] = useState(value)\n const selectedChoice = useMemo(() => (\n choices.find(choice => choice.id === selection)\n ), [selection])\n\n const handleChange = useCallback(async choice => {\n setSelection(choice.id)\n\n if (choice.id === 'custom') {\n actions.setMetadata({ pending: true, keyboardId: 'custom', isCustom: true, raw: '', parsed: null })\n expandSection()\n } else {\n try {\n const metadata = await import(\n /* webpackInclude: /\\.json$/ */\n /* webpackMode: \"lazy\" */\n /* webpackChunkName: \"keyboard-metadata/[request]\" */\n `keymap-editor-contrib/keyboard-data/${choice.id}.json`\n )\n actions.setMetadata({ pending: true, isCustom: false, keyboardId: choice.id, parsed: metadata, raw: '' })\n } catch (err) {\n console.error(`Failed to load metadata for ${choice.id}`, err)\n }\n }\n }, [actions, setSelection, expandSection])\n\n const handleMetadataChange = useCallback(({ raw, parsed, errors }) => {\n actions.setMetadata({\n pending: true,\n id: selectedChoice.id,\n custom: selectedChoice.id === 'custom',\n raw,\n parsed,\n errors\n })\n }, [selectedChoice, actions])\n\n return (\n <article className={styles.source} data-expanded={sectionExpanded}>\n <h2>\n <span onClick={toggleSection}>Keyboard</span> {(\n <div\n style={{\n display: 'inline-block',\n fontSize: 'initial',\n fontWeight: 'normal',\n verticalAlign: 'middle'\n }}\n >\n <Select\n value={selectedChoice}\n onChange={handleChange}\n options={choices}\n getOptionValue={option => option.id}\n getOptionLabel={option => option.name}\n />\n </div>\n )}\n </h2>\n {selectedChoice?.id === 'custom' && (\n <section className={styles.sourceContent}>\n <p>\n In order to understand what keyboard you're using and now to display\n it visually, please paste the JSON source metadata file below.\n </p>\n {pending.metadata && (\n <p>Parsed metadata for: {pending.metadata.name}</p>\n )}\n <MetadataRawInput\n cols={80}\n rows={pending.metadata ? 22 : 5}\n wrap=\"off\"\n spellCheck={false}\n value={pending.metadataRaw}\n onChange={handleMetadataChange}\n />\n {!pending.metadata && (\n <div className={styles.metadataHelp}>\n <h3>Not sure what to put here?</h3>\n <p>\n The <em>Keymap Editor</em> app depends on a defined keyboard\n layout both to provide a friendly graphical representation to\n edit and a readable textual representation. You can learn more\n about this at {GitHubWikiLayoutsLink}.\n </p>\n <p>\n Note: If your keyboard works with QMK's Configurator you may\n be able to quickly get a visual representation by pasting the\n contents of that keyboard's <code>info.json</code> file here.\n </p>\n </div>\n )}\n </section>\n )}\n </article>\n )\n}\n","import { useCallback, useContext } from 'react'\n\nimport Modal from '../../Common/Modal'\nimport DialogBox from '../../Common/DialogBox'\nimport ActionButton from '../../Common/ActionButton'\n\nimport { ClipboardContext } from './store'\nimport KeymapRaw from './KeymapRawInput'\nimport MetadataSelector from './MetadataSelector'\n\nexport default function KeymapSourceDialog ({ onSubmit, onCancel }) {\n const [state, actions] = useContext(ClipboardContext)\n const { pending } = state\n\n const handleKeymapChange = useCallback(({ raw, parsed }) => {\n actions.setKeymap({ pending: true, raw, parsed })\n }, [actions])\n\n const handleSubmit = useCallback(() => {\n actions.confirmPending()\n onSubmit({\n keymap: pending.keymap,\n metadata: pending.metadata\n })\n }, [actions, pending, onSubmit])\n\n const disabled = (\n !pending?.metadata ||\n !pending?.keymap\n )\n\n return (\n <Modal onDismiss={onCancel}>\n <DialogBox style={{ maxWidth: '640px', maxHeight: '90vh', overflow: 'auto' }} dismissText={null}>\n <MetadataSelector value={state.selection.keyboardId} />\n\n <h2>Keymap</h2>\n <p>Paste the devicetree source from your <code>.keymap</code> file below.</p>\n <p>\n You can <em>technically</em> make changes directly to the DeviceTree\n code here, but this isn't intended as an editor.\n </p>\n <KeymapRaw\n cols={80}\n rows={22}\n wrap=\"off\"\n spellCheck={false}\n value={state.selection.keymapRaw}\n onChange={handleKeymapChange}\n />\n <p style={{ textAlign: 'center' }}>\n <ActionButton disabled={disabled} onClick={handleSubmit}>Set Keymap</ActionButton>\n <ActionButton onClick={onCancel} secondary>Cancel</ActionButton>\n </p>\n </DialogBox>\n </Modal>\n )\n}\n","import cloneDeep from 'lodash/cloneDeep'\nimport { useCallback, useContext, useEffect, useState } from 'react'\n\nimport { ClipboardContext, withPickerStore } from './store'\nimport ClipboardActions from './ClipboardActions'\nimport FeedbackDialog from './FeedbackDialog'\nimport KeyboardSelector from './KeyboardSelector'\nimport KeymapSourceDialog from './KeymapSourceDialog'\n\nexport function ClipboardPicker ({ onSelect, onError }) {\n const [state, { closeModal }] = useContext(ClipboardContext)\n const [initState, setInitState] = useState(null)\n\n const selectKeymap = useCallback((keymap, metadata) => {\n const { layouts, sensors = [] } = metadata\n const preferredLayout = keymap.chosen['zmk,matrix_transform']\n ? keymap.chosen['zmk,matrix_transform'].replace(/^&/, '')\n : null\n\n if (typeof layouts !== 'object') {\n console.error('Invalid metadata loaded', metadata)\n return\n }\n\n const defaultLayout = Object.keys(layouts)[0]\n const layoutMetadata = (\n layouts[preferredLayout] ||\n layouts[defaultLayout]\n )\n\n onSelect(cloneDeep({\n source: 'clipboard',\n keyboard: '',\n layoutMetadata,\n layout: layoutMetadata.layout,\n keymap,\n sensors\n }))\n }, [onSelect])\n\n useEffect(() => {\n if (state.selection?.keymap && state.selection?.metadata) {\n selectKeymap(state.selection?.keymap, state.selection?.metadata)\n }\n }, [selectKeymap, state.selection?.keymap, state.selection?.metadata])\n\n const handleSelectKeymap = useCallback(({ keymap, metadata }) => {\n selectKeymap(keymap, metadata)\n closeModal()\n }, [selectKeymap, closeModal])\n\n useEffect(() => {\n if (initState) {\n return\n }\n\n setInitState(true)\n\n if (state.selection?.keymap && state.selection?.metadata) {\n selectKeymap(state.selection?.keymap, state.selection?.metadata)\n }\n }, [initState, setInitState, selectKeymap, state])\n\n return (\n <>\n <KeyboardSelector />\n <ClipboardActions />\n {state.modalOpen && (\n <KeymapSourceDialog\n onSubmit={handleSelectKeymap}\n onCancel={closeModal}\n />\n )}\n {state.feedbackModalOpen && <FeedbackDialog />}\n </>\n )\n}\n\nexport default withPickerStore(ClipboardPicker)\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"action\": \"pi2Ig8c3Fdh4H2Jpxdo7\",\n\t\"secondary\": \"Ctpu4E2dZYJ6g8CUGFOF\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".fnnwBtqwiwSQgnuN5sqg 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 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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"source\": \"fnnwBtqwiwSQgnuN5sqg\",\n\t\"sourceContent\": \"meN56P3rXkTYWdDY0oZq\",\n\t\"metadataHelp\": \"H4OUxP43w5pZ9RYBB72x\",\n\t\"parseError\": \"lFxBan5aXNzTEl2SGBzU\",\n\t\"copyButton\": \"eVrbmh_w8MbnDUOfUD2N\",\n\t\"popInOut\": \"h0IIQBfKFzrLn6r9v5qG\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","var map = {\n\t\"./a_dux.json\": [\n\t\t73158,\n\t\t3712\n\t],\n\t\"./bat43.json\": [\n\t\t60888,\n\t\t3712\n\t],\n\t\"./bdn9_rev2.json\": [\n\t\t94591,\n\t\t3712\n\t],\n\t\"./bfo9000.json\": [\n\t\t19684,\n\t\t3712\n\t],\n\t\"./boardsource3x4.json\": [\n\t\t88602,\n\t\t3712\n\t],\n\t\"./boardsource5x12.json\": [\n\t\t8058,\n\t\t3712\n\t],\n\t\"./bt60_v1.json\": [\n\t\t92628,\n\t\t3712\n\t],\n\t\"./bt60_v1_hs.json\": [\n\t\t84628,\n\t\t3712\n\t],\n\t\"./bt60_v2.json\": [\n\t\t9417,\n\t\t3712\n\t],\n\t\"./bt65_v1.json\": [\n\t\t88455,\n\t\t3712\n\t],\n\t\"./bt75_v1.json\": [\n\t\t25397,\n\t\t3712\n\t],\n\t\"./chalice.json\": [\n\t\t7936,\n\t\t3712\n\t],\n\t\"./clog.json\": [\n\t\t31638,\n\t\t3712\n\t],\n\t\"./contra.json\": [\n\t\t42718,\n\t\t3712\n\t],\n\t\"./corne.json\": [\n\t\t26453,\n\t\t3712\n\t],\n\t\"./corneish_zen.json\": [\n\t\t39757,\n\t\t3712\n\t],\n\t\"./cradio.json\": [\n\t\t62089,\n\t\t3712\n\t],\n\t\"./crbn.json\": [\n\t\t48945,\n\t\t3712\n\t],\n\t\"./eek.json\": [\n\t\t63072,\n\t\t3712\n\t],\n\t\"./elephant42.json\": [\n\t\t83634,\n\t\t3712\n\t],\n\t\"./ergodash.json\": [\n\t\t68972,\n\t\t3712\n\t],\n\t\"./ergodox.json\": [\n\t\t75507,\n\t\t3712\n\t],\n\t\"./eternal_keypad.json\": [\n\t\t69416,\n\t\t3712\n\t],\n\t\"./eternal_keypad_lefty.json\": [\n\t\t56785,\n\t\t3712\n\t],\n\t\"./ferris_rev02.json\": [\n\t\t97365,\n\t\t3712\n\t],\n\t\"./fourier.json\": [\n\t\t14446,\n\t\t3712\n\t],\n\t\"./helix.json\": [\n\t\t73549,\n\t\t3712\n\t],\n\t\"./hummingbird.json\": [\n\t\t98321,\n\t\t3712\n\t],\n\t\"./iris.json\": [\n\t\t55262,\n\t\t3712\n\t],\n\t\"./jian.json\": [\n\t\t46228,\n\t\t3712\n\t],\n\t\"./jiran.json\": [\n\t\t14465,\n\t\t3712\n\t],\n\t\"./jorne.json\": [\n\t\t19151,\n\t\t3712\n\t],\n\t\"./kbdfans_tofu65_v2.json\": [\n\t\t7450,\n\t\t3712\n\t],\n\t\"./knob_goblin.json\": [\n\t\t71497,\n\t\t3712\n\t],\n\t\"./kyria.json\": [\n\t\t34458,\n\t\t3712\n\t],\n\t\"./kyria_rev2.json\": [\n\t\t70165,\n\t\t3712\n\t],\n\t\"./kyria_rev3.json\": [\n\t\t33669,\n\t\t3712\n\t],\n\t\"./leeloo.json\": [\n\t\t53677,\n\t\t3712\n\t],\n\t\"./lily58.json\": [\n\t\t21479,\n\t\t3712\n\t],\n\t\"./lotus58.json\": [\n\t\t63918,\n\t\t3712\n\t],\n\t\"./m60.json\": [\n\t\t53132,\n\t\t3712\n\t],\n\t\"./microdox.json\": [\n\t\t56792,\n\t\t3712\n\t],\n\t\"./murphpad.json\": [\n\t\t8662,\n\t\t3712\n\t],\n\t\"./naked60.json\": [\n\t\t79707,\n\t\t3712\n\t],\n\t\"./nibble.json\": [\n\t\t58244,\n\t\t3712\n\t],\n\t\"./nice60.json\": [\n\t\t41501,\n\t\t3712\n\t],\n\t\"./osprette.json\": [\n\t\t13467,\n\t\t3712\n\t],\n\t\"./pancake.json\": [\n\t\t19011,\n\t\t3712\n\t],\n\t\"./planck_rev6.json\": [\n\t\t55991,\n\t\t3712\n\t],\n\t\"./preonic_rev3.json\": [\n\t\t47308,\n\t\t3712\n\t],\n\t\"./qaz.json\": [\n\t\t46923,\n\t\t3712\n\t],\n\t\"./quefrency.json\": [\n\t\t23956,\n\t\t3712\n\t],\n\t\"./redox.json\": [\n\t\t17104,\n\t\t3712\n\t],\n\t\"./reviung41.json\": [\n\t\t71414,\n\t\t3712\n\t],\n\t\"./reviung5.json\": [\n\t\t31009,\n\t\t3712\n\t],\n\t\"./romac.json\": [\n\t\t15683,\n\t\t3712\n\t],\n\t\"./romac_plus.json\": [\n\t\t55318,\n\t\t3712\n\t],\n\t\"./s40nc.json\": [\n\t\t56036,\n\t\t3712\n\t],\n\t\"./snap.json\": [\n\t\t24380,\n\t\t3712\n\t],\n\t\"./sofle.json\": [\n\t\t45082,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_corne.json\": [\n\t\t20216,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_lily58.json\": [\n\t\t2674,\n\t\t3712\n\t],\n\t\"./splitkb_aurora_sweep.json\": [\n\t\t9738,\n\t\t3712\n\t],\n\t\"./splitreus62.json\": [\n\t\t47003,\n\t\t3712\n\t],\n\t\"./tg4x.json\": [\n\t\t87454,\n\t\t3712\n\t],\n\t\"./tidbit.json\": [\n\t\t60386,\n\t\t3712\n\t],\n\t\"./two_percent_milk.json\": [\n\t\t67150,\n\t\t3712\n\t],\n\t\"./waterfowl.json\": [\n\t\t14194,\n\t\t3712\n\t],\n\t\"./zmk_uno.json\": [\n\t\t71578,\n\t\t3712\n\t],\n\t\"./zodiark.json\": [\n\t\t12069,\n\t\t3712\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 35943;\nmodule.exports = webpackAsyncContext;"],"names":["baseGetTag","isObjectLike","module","exports","value","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","ActionButton","children","secondary","className","props","styles","join","defaultProps","STORAGE_KEY_KEYBOARDS","STORAGE_KEY_KEYBOARD","STORAGE_KEY_SELECTED_KEYBOARD","BLANK_KEYBOARD_ENTRY","JSON","stringify","keyboardId","isCustom","keymap","keymapRaw","metadata","metadataRaw","initialState","storedKeyboardId","parse","localStorage","getItem","INITIAL_KEYBOARDS","INITIAL_KEYBOARD_SLOT_ID","id","INITIAL_KEYBOARD_DATA","INITIAL_KEYBOARD_ID","INITIAL_KEYBOARD_IS_CUSTOM","INITIAL_KEYMAP_PARSED","INITIAL_KEYMAP_RAW","keyboards","selectedKeyboard","modalOpen","feedbackModalOpen","selection","pending","pickerSlice","createSlice","name","reducers","state","action","payload","keyboard","key","setItem","addKeyboard","push","setKeymap","raw","parsed","cloneDeep","setMetadata","target","confirmPending","Date","now","length","find","openModal","err","closeModal","openFeedbackModal","closeFeedbackModal","ClipboardContext","createContext","PickerStore","dispatch","useReducer","reducer","dispatchers","useMemo","Object","keys","actions","reduce","usePickerStore","Provider","FeedbackModalButton","useContext","onClick","Icon","i","keymapSelector","settingsSelector","experimentalSettings","ClipboardActions","appKeymapState","enableBehaviorEditing","useSelector","isEqual","useCallback","layouts","preferredLayout","chosen","replace","defaultLayout","layout","applyKeymapChanges","extractKeymapData","stripLegacyProperties","console","error","updateNeeded","update","ModalButton","CopyButton","handleOpenModal","title","useState","isCopiedVisible","showCopied","handleCopy","navigator","clipboard","writeText","setTimeout","log","disabled","DiscussionLink","Link","external","href","FeedbackDialog","Modal","onDismiss","DialogBox","dismissText","DiscordProfileLink","GitHubIssuesLink","style","textAlign","KeyboardAddButton","handleAddKeyboard","KeyboardSelector","selectedKeyboardId","selectedKeyboardChoice","handleSelectKeyboard","choice","onChange","getOptionLabel","option","getOptionValue","formatOptionLabel","KeymapRaw","setState","useEffect","handleChange","event","MetadataRawInput","ref","useRef","handleMetadataChange","validateInfoJson","InfoValidationError","errors","toString","choices","values","keyboardCatalog","MetadataSelector","useToggle","sectionExpanded","toggleSection","expandSection","setSelection","selectedChoice","custom","display","fontSize","fontWeight","verticalAlign","cols","rows","wrap","spellCheck","GitHubWikiLayoutsLink","KeymapSourceDialog","onSubmit","onCancel","handleKeymapChange","handleSubmit","maxWidth","maxHeight","overflow","ClipboardPicker","onSelect","onError","initState","setInitState","selectKeymap","sensors","layoutMetadata","source","handleSelectKeymap","Component","___CSS_LOADER_EXPORT___","locals","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","t"],"sourceRoot":""}
\ No newline at end of file @@ -1 +1 @@ -<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><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.b2c935d946f5282163a5.js"></script><script defer="defer" src="shared.5027c0c6e810708650cc.js"></script><script defer="defer" src="vendors.2bf79403c01abf34559d.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.9d4ec94e1f31e002ef55.js"></script></head><body><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"/><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.018f688d4e1244776013.js"></script><script defer="defer" src="shared.8d18858839cd2d379cfe.js"></script><script defer="defer" src="vendors.2bf79403c01abf34559d.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.8019d5f4a7d8269a3c78.js"></script></head><body><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.8019d5f4a7d8269a3c78.js b/main.8019d5f4a7d8269a3c78.js new file mode 100644 index 0000000..26d868e --- /dev/null +++ b/main.8019d5f4a7d8269a3c78.js @@ -0,0 +1,3 @@ +/*! For license information please see main.8019d5f4a7d8269a3c78.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{96186:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});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 b=d.Z&&d.Z.locals?d.Z.locals:void 0,v=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 A(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 j(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 w(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,v.jsxs)("div",A(A({className:[b.dialog].concat((t=i,function(e){if(Array.isArray(e))return j(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 j(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)?j(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,v.jsx)("button",{className:b.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||s]}))}},2968:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});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),b=n.n(m),v=n(87617),g={};g.styleTagTransform=b(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(v.Z,g);var k=v.Z&&v.Z.locals?v.Z.locals:void 0,_=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 x=["href","children","external","showExternal"];function j(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(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}function O(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",w(w({},s),{},{children:[n,r&&o&&(0,_.jsx)(i.Z,{className:k.icon,name:"arrow-up-right-from-square"})]}))}O.propTypes={href:o().string.isRequired,children:o().oneOfType([o().arrayOf(o().node),o().node]).isRequired,external:o().bool.isRequired,showExternal:o().bool},O.defaultProps={external:!1,showExternal:!0};var C=O},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(1px)",zIndex:"50",display:"flex",justifyContent:"center",alignItems:"center"},centerOnly:{background:"transparent",backdropFilter:"none",pointerEvents:"none"},content:{display:"block",pointerEvents:"all"}};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(){var e,t,n=(e=(0,o.useState)(!1),t=2,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 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)||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.")}()),r=n[0],i=n[1];return[r,(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),i(!0)}),[i]),(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),i(!1)}),[i])]}h.propTypes={onDismiss:a().func}},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 O(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 b={};c(b,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&n.call(g,i)&&(b=g);var k=m.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function A(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=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 w(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(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:S}}function S(){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}},_(A.prototype),c(A.prototype,a,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new A(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=C,O.prototype={constructor:O,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(E),!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),E(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;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(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 b(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){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){b(i,r,o,a,s,"next",e)}function s(e){b(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(){v(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([j(),A()]);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 A(){return x.apply(this,arguments)}function x(){return(x=v(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 j(){return w.apply(this,arguments)}function w(){return(w=v(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,{S:function(){return s},V:function(){return a}});var r=n(67294),o=n(4803),i=n(85893),a=(0,r.createContext)({layout:[],bindingCount:0,wrapperDimensions:{},wrapperStyle:{}});function s(e){var t=e.layout,n=e.children,s=(0,r.useMemo)((function(){return t.length}),[t.length]),c=(0,r.useMemo)((function(){return(0,o.mY)(t)}),[t]),u=(0,r.useMemo)((function(){return(0,o.fI)(c)}),[c]),l={layout:t,bindingCount:s,wrapperDimensions:c,wrapperStyle:u};return(0,i.jsx)(a.Provider,{value:l,children:n})}},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,"."]})},28291:function(e,t,n){"use strict";n.d(t,{F6:function(){return u},md:function(){return l},pR:function(){return i},tY:function(){return f}});var r=n(97168),o=n(50868),i=function(e){return e.keyboard.keymap.behaviors},a=function(e,t,n){var r=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,""))}(e),o=n[r];return o?Object.keys(o.properties).reduce((function(t,n){var r=o.properties[n],i=e.properties[n];return"phandle-array"===r.type&&i&&t.push(i.parsed),t}),[]):[]},s=(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)(a))}}),c=s.actions,u=c.addBehavior,l=c.updateBehavior,f=c.deleteBehavior;t.ZP=s.reducer},2732:function(e,t,n){"use strict";n.d(t,{CG:function(){return f},DP:function(){return a},SD:function(){return h},ij:function(){return u},l3:function(){return y},nJ:function(){return l},pd:function(){return p}});var r=n(97168),o=n(50868);function i(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 a=function(e){return e.keyboard.keymap.combos},s=(0,r.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){e.push({name:"new_combo",labels:[],properties:{bindings:{parsed:[{value:"&trans",params:[]}]},"key-positions":{parsed:[]}}})},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,o.Ie)();e.addCase(o.fD,(function(e,n){var r=n.payload.positionMapping;t(e,n);var o,a=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 i(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)?i(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 a,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,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(e);try{for(a.s();!(o=a.n()).done;){var s,c,u=o.value.properties;null!==(s=u.layers)&&void 0!==s&&null!==(c=s.parsed)&&void 0!==c&&c.length&&(u.layers.parsed=u.layers.parsed.reduce((function(e,t){var n=r[t];return null!==n&&e.push(n),e}),[]))}}catch(e){a.e(e)}finally{a.f()}}))}}),c=s.actions,u=c.updateComboBinding,l=c.updateComboKeypositions,f=c.createCombo,y=c.renameCombo,p=c.deleteCombo,h=c.customizeCombo;t.ZP=s.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 O(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 b={};l(b,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&n.call(g,i)&&(b=g);var k=m.prototype=h.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(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=j(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 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")),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 w(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(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:S}}function S(){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}},_(A.prototype),l(A.prototype,a,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new A(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=C,O.prototype={constructor:O,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(E),!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),E(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;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}var u=c().mark(b);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(b(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 b(e,t,n,r,o){var i,a,s,f,y,h,d,m,b,v,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}b=m.value,v=l(p(b,r)),c.prev=16,v.s();case 18:if((g=v.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),v.e(c.t0);case 29:return c.prev=29,v.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,{En:function(){return j},Q:function(){return d},QR:function(){return x},UH:function(){return _},V6:function(){return b},WF:function(){return h},Xv:function(){return p},c7:function(){return g},sT:function(){return k},v1:function(){return A},vc:function(){return m},vl:function(){return l},zi:function(){return v}});var r=n(98913),o=n.n(r),i=n(97168),a=n(50868);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}var u="&trans",l=function(e){return e.keyboard.keymap.layers},f=(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]:u,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=s(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=s(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=s(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=s(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=s(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=s(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;return[e.properties.bindings.parsed,(null===(t=e.properties["sensor-bindings"])||void 0===t?void 0:t.parsed)||[]]})))}}),y=f.actions,p=y.createLayer,h=(y.renameLayer,y.repositionLayer),d=y.deleteLayer,m=y.updateLayerMetadata,b=y.updateKeyBinding,v=y.updateSensorBindings,g=y.rebindTransparentToKeyPress,k=y.rebindTransparentToNone,_=y.rebindNoneToKeypress,A=y.rebindNoneToTransparent,x=y.rebindEmptyKeypressToTransparent,j=y.rebindEmptyKeypressToNone;t.ZP=f.reducer},12736:function(e,t,n){"use strict";n.d(t,{F0:function(){return l},I2:function(){return u},bU:function(){return i},vo:function(){return f},xd:function(){return c}});var r=n(97168),o=n(50868),i=function(e){return e.keyboard.keymap.macros},a=(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)())}}),s=a.actions,c=s.addMacro,u=s.deleteMacro,l=s.updateMacroBindings,f=s.customizeMacroOptions;t.ZP=a.reducer},4803:function(e,t,n){"use strict";n.d(t,{eG:function(){return s},fI:function(){return u},mY:function(){return c}});var r=n(26523);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(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,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}function s(e,t){return t.scale,e.map((function(e){return(0,r.kn)({x:e.x,y:e.y},{u:e.u||e.w||1,h:e.h||1},{x:e.rx,y:e.ry,a:e.r})}))}function c(e){return e.map((function(e){return(0,r.j4)({x:e.x,y:e.y},{u:e.u||e.w||1,h:e.h||1},{x:e.rx,y:e.ry,a:e.r})})).reduce((function(e,t){var n=e.x,r=e.y,o=t.max;return{x:Math.max(n,o.x),y:Math.max(r,o.y)}}),{x:0,y:0})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.scale,r=void 0===n?1:n,o=t.overrides,s=void 0===o?{}:o,u=Array.isArray(e)?c(e):e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:"".concat(u.x*r,"px"),height:"".concat(u.y*r,"px"),margin:"0 auto",padding:"0 40px 40px"},s)}},69247:function(e,t,n){"use strict";n.d(t,{Ph:function(){return g},oT:function(){return d},zx:function(){return m}});var r=n(58119),o=n(19617),i=n(95998),a=n(85893),s=["children","style"],c=["label","children"],u=["children"];function l(e){return l="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},l(e)}function f(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 y(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){var t=e.style,n=void 0===t?{}:t,r=e.children;return(0,a.jsx)("div",{style:p(p({},{height:"38px",lineHeight:"38px"}),n),children:r})}function m(e){var t=e.children,n=e.style,r=void 0===n?{}:n,o=f(e,s);return(0,a.jsx)(d,{style:r,children:(0,a.jsx)("button",p(p({style:{height:"100%"}},o),{},{children:t}))})}var b=window.matchMedia("(prefers-color-scheme: dark)"),v=[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}),{});function g(e){var t=e.label,n=e.children,s=f(e,c),l=(0,i.v9)((function(e){return e})).theme,y="dark"===l||"system"===l&&b.matches;return(0,a.jsxs)("div",{style:{display:"inline-block",width:"auto"},children:[(0,a.jsx)("label",{style:{display:"block",width:"100%",fontSize:"120%",color:"var(--fg)"},children:t}),(0,a.jsx)(o.ZP,p({styles:{container:function(e,t){return p(p({},e),{},{display:"inline-block"})},menu:function(e){return p(p({},e),{},{width:"max-content",zIndex:10})}},components:{MenuList:function(e){var t=e.children,o=f(e,u);return(0,a.jsxs)(r.c.MenuList,p(p({},o),{},{children:[t,n]}))}},theme:function(e){return p(p({},e),{},{colors:p(p({},e.colors),y?v:{})})},isSearchable:!1},s))]})}v.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 O(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 b={};l(b,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&n.call(g,i)&&(b=g);var k=m.prototype=h.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(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=j(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 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")),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 w(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(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:S}}function S(){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}},_(A.prototype),l(A.prototype,a,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new A(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=C,O.prototype={constructor:O,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(E),!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),E(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;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(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,b(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=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(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 v="".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,b,g,k,_,A=(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=A.call.apply(A,[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(v),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:"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:(b=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 b.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,b,v,g,k=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(k.length>2&&void 0!==k[2]?k[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=Object.keys(f.info.layouts)[0],d=p.chosen["zmk,matrix_transform"]?p.chosen["zmk,matrix_transform"].replace(/^&/,""):null,m=y[d]||y[h],b=m.layout,e.abrupt("return",{layoutMetadata:m,layout:b,keymap:p,keyboards:f.keyboards,default:f.defaultKeymap,sensors:f.sensors});case 21:throw e.prev=21,e.t0=e.catch(8),400===(null===(v=e.t0.response)||void 0===v?void 0:v.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===(g=e.t0.response)||void 0===g?void 0:g.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:"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.experimentalSettings,u=void 0===c?{}:c,l=o.keyboard,f=encodeURIComponent(this.repoInstallationMap[e]),y=encodeURIComponent(e),p=new URL("".concat(s.ny,"/github/keyboard-files/").concat(f,"/").concat(y,"/").concat(encodeURIComponent(t))),h=u.enableBehaviorEditing,d=new URLSearchParams({enableBehaviorEditing:void 0!==h&&h});return l&&d.set("keyboard",l),p.search=d.toString(),this._request({url:p.toString(),method:"POST",headers:{"Content-Type":"application/json"},data:{keyboard:l,keymap:r,message:a}})}}],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,{IX:function(){return c},XG:function(){return l},cO:function(){return i},k0:function(){return a},mC:function(){return u},ny:function(){return o},qo:function(){return s}});var o="https://zmk-keymap-editor.fly.dev",i="keymap-editor",a=r("true"),s=r("false"),c=r("true"),u=r("true"),l=r("true")},52235: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),b=n.n(m),v=n(51424),g={};g.styleTagTransform=b(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(v.Z,g),v.Z&&v.Z.locals&&v.Z.locals,n(81802);var k=n(39087),_={};_.styleTagTransform=b(),_.setAttributes=p(),_.insert=f().bind(null,"head"),_.domAPI=u(),_.insertStyleElement=d(),s()(k.Z,_),k.Z&&k.Z.locals&&k.Z.locals;var A=n(81485),x=n(62092),j=n(39693),w=n.n(j),E=n(50361),O=n.n(E),C=n(63105),S=n.n(C),P=n(27361),B=n.n(P),L=n(41609),I=n.n(L),T=n(24350),D=n.n(T),M=n(95130),N=n(51785),R=n(18311),G=n(2596),Z=n(62412),q=n(85893),z=["children"];function F(e){return F="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},F(e)}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 K(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){Y(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 Y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==F(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===F(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(){W=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 w(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,b=m&&m(m(E([])));b&&b!==t&&n.call(b,i)&&(d=b);var v=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"==F(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=A(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 A(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,A(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(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:O}}function O(){return{value:void 0,done:!0}}return p.prototype=h,r(v,"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(v),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(v),c(v,s,"Generator"),c(v,i,(function(){return this})),c(v,"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=E,w.prototype={constructor:w,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(j),!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),j(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;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Q(e){return function(e){if(Array.isArray(e))return X(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 J(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 X(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)?X(e,t):void 0}}function X(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 $(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 N&&e.push(N[t]),e}),[])}),[e.headers]);return(0,r.useEffect)((function(){var e,t;(e=W().mark((function e(){var t,r,o,i,a;return W().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=J(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,Q((0,G.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 ee=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)(R.v),i=o.keycodes,a=o.behaviours,s=o.glyphs,c=(0,r.useContext)(A.J).settings,u=$(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,G.j)(s,{unicode:B()(c,"unicodeGlyphs",!0),platform:"auto"!==B()(c,"platformGlyphs","auto")?c.platformGlyphs:n})}),[s,c]),f=(0,r.useMemo)((function(){var e=n.behaviors.map((function(e){return(e=O()(e)).code="&".concat(e.labels[0]),e.compatible=e.properties.compatible.parsed,e}));(0,M.mergeBehaviorOverlays)(e,M.behaviorOverlays);var t=[].concat(Q(a.map((function(e){var t;return K(K({},e),{},{description:e.description||(null===(t=e.schema)||void 0===t?void 0:t.description)})}))),Q((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}}))),Q(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=D()(t,"code"),t.context={none:t.filter((function(e){return!e.context})),macros:S()(t,{context:"macros"}),encoders:S()(t,{context:"encoders"})},t.byContext={none:D()(t.context.none,"code"),macros:D()(t.context.macros,"code"),encoders:D()(t.context.encoders,"code")},t}),[a,n.behaviors,n.macros]),y=(0,r.useMemo)((function(){return(0,Z.resolveBehaviorParams)([].concat(Q(a),Q(n.behaviors),Q(n.macros)))}),[a,n.behaviors,n.macros]),p=(0,r.useMemo)((function(){return I()(n)?[]:n.layers.map((function(e,t){return{code:t,description:e.name||"Layer ".concat(t)}}))}),[n]),h=(0,r.useMemo)((function(){return[].concat(Q(i.map((function(e){return O()(e)}))),Q(u.map((function(e){return O()(e)}))))}),[i,u]),d=(0,r.useMemo)((function(){var e=D()(h,"code");for(var t in l){var n,r=l[t],o=J(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:D()(p,"code"),defines:n.defines}}),[d,f,p,n.defines]),b=(0,r.useMemo)((function(){return{behaviour:f,code:h}}),[f,h]),v=(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"===F(e)?e:{code:e}})):e.raw?[]:(b[e]||console.error("cannot find target for",e),"behaviour"===e?b.behaviour.context[n]:b[e])}}),[b]),g=(0,r.useMemo)((function(){return[].concat(Q(Object.keys(d)),Q(Object.keys(n.defines||{})))}),[d,n.defines]);return(0,q.jsx)(A.c.Provider,{value:{behaviorParameters:y,getSearchTargets:v,mergedGlyphs:l,sources:m,identifiers:g},children:t})},te=n(45697),ne=n.n(te),re={},oe=ne().string.isRequired,ie=ne().arrayOf(ne().shape(re));re.value=oe,re.params=ie;var ae=ne().shape(re),se=ne().shape({index:ne().number,name:ne().string,properties:ne().shape({bindings:ne().shape({parsed:ne().arrayOf(ae).isRequired}).isRequired,"key-positions":ne().shape({parsed:ne().arrayOf(ne().number).isRequired}).isRequired})}),ce=ne().shape({index:ne().number,name:ne().string,properties:ne().shape({bindings:ne().shape({parsed:ne().arrayOf(ae).isRequired}).isRequired,"sensor-bindings":ne().shape({parsed:ne().arrayOf(ae).isRequired})})}),ue=ne().shape({layers:ne().arrayOf(ce).isRequired,combos:ne().arrayOf(se)}),le=n(95872),fe=n(7739),ye=n.n(fe);function pe(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 he=n(2024);function de(e){return de="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},de(e)}function me(e){return function(e){if(Array.isArray(e))return be(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 be(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)?be(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 be(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 ve(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 ge(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==de(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===de(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=function(e){return e.name},_e=function(e){return e.labels[0]},Ae=function(e){var t;return null===(t=e.properties.label)||void 0===t?void 0:t.parsed};function xe(e,t){var n=ye()(e,t);return Object.values(n).filter((function(e){return e.length>1}))}function je(e){var t=e.layers.map((function(e,t){return{location:"Keymap - Layer #".concat(t," (").concat(e.name,")"),path:"keymap.layers[".concat(t,"]"),name:ke(e)}})),n=e.combos.map((function(e,t){return{location:"Combos - Combo #".concat(t," (").concat(e.name,")"),path:"combos[".concat(t,"].name"),name:e.name}})),r=e.macros.map((function(e,t){return{location:"Macros - Macro #".concat(t," (").concat(ke(e),")"),path:"macros[".concat(t,"].name"),name:ke(e)}})),o=function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(_e(e),") - Name"),path:"behaviors[".concat(t,"].name"),name:ke(e)}}))}(e.behaviors),i=[].concat(me(xe(t,"name")),me(xe(n,"name")),me(xe(r,"name")),me(xe(o,"name"))),a=[].concat(me(t.filter((function(e){return he.includes(e.name)}))),me(n.filter((function(e){return he.includes(e.name)}))),me(r.filter((function(e){return he.includes(e.name)}))),me(o.filter((function(e){return he.includes(e.name)}))));return{duplicates:i,redefined:a,passwordMacros:me(r.filter((function(e){return t=e.name,[/(^|[\b_])pass(word)?([\b_]|$)/].some((function(e){return t.match(e)}));var t})))}}function we(e){var t=xe([].concat(e.layers.reduce((function(e,t,n){var r=Ae(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(Ae(t),") - Label"),path:"macros[".concat(n,"].label"),label:Ae(t)}),e}),[]),function(e){return e.reduce((function(e,t,n){var r=Ae(t),o=_e(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 Ee(e){var t=ye()([].concat(e.macros.map((function(e,t){return{location:"Macros > Macro #".concat(t," (").concat(_e(e),")"),path:"macros[".concat(t,"].name"),ref:_e(e)}})),function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(_e(e),") - Bind"),path:"behaviors[".concat(t,"].bind"),ref:_e(e)}}))}(e.behaviors)),"ref");return{duplicates:Object.values(t).reduce((function(e,t){return t.length>1&&e.push(t),e}),[])}}function Oe(e){var t=[].concat(me(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}),[])),me(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}),[])),me(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}),[])),me(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}),[])));return{resetBindings:t}}var Ce=n(20817);function Se(e){return function(e){if(Array.isArray(e))return Be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Pe(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 Pe(e,t){if(e){if("string"==typeof e)return Be(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)?Be(e,t):void 0}}function Be(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 Le=(0,r.lazy)((function(){return Promise.all([n.e(1040),n.e(8573),n.e(2912),n.e(8381)]).then(n.bind(n,98381))})),Ie=(0,r.lazy)((function(){return Promise.all([n.e(1040),n.e(8573),n.e(2912),n.e(7198)]).then(n.bind(n,57198))})),Te=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(1040),n.e(8573),n.e(6849)]).then(n.bind(n,86849))})),De=(0,r.lazy)((function(){return Promise.all([n.e(1040),n.e(8573),n.e(5634)]).then(n.bind(n,35634))})),Me=(0,r.lazy)((function(){return n.e(727).then(n.bind(n,727))}));function Ne(e){var t,n,o=e.text,i=e.tabs,a=e.defaultTab,s=e.children,c=(t=(0,r.useState)(a),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)||Pe(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.")}()),u=c[0],l=c[1];return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("h3",{style:{display:"inline"},children:o}),(0,q.jsx)("ul",{className:le.Z.editorModeTabs,children:i.map((function(e,t){var n=e.name,r=e.tabClasses,o=void 0===r?[]:r;return(0,q.jsx)("li",{onClick:function(){return l(t)},className:w()([u===t&&le.Z.activeEditTab].concat(Se(o))).join(" "),children:n},t)}))}),(0,q.jsx)(r.Suspense,{children:s[u]})]})}var Re=function(e){return e.keyboard.keymap};function Ge(e){var t=(0,i.v9)(Re),n=(0,r.useContext)(Ce.V).layout,o=(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?ve(Object(n),!0).forEach((function(t){ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({nodeNames:je(e),nodeLabels:we(e),nodeReferences:Ee(e),deprecations:Oe(e)},function(e){return{layoutMissingPositions:pe(e)}}(t))}(t,n)}),[t,n]),a=(0,r.useMemo)((function(){var e=o.nodeNames,t=o.nodeLabels,n=o.nodeReferences,r=o.deprecations,i=o.layoutMissingPositions;return e.duplicates.length+e.redefined.length+e.passwordMacros.length+t.duplicates.length+n.duplicates.length+r.resetBindings.length+i.length}),[o]),s=w()([{name:"layers",component:(0,q.jsx)(Te,{})},{name:"combos",component:(0,q.jsx)(Ie,{})},{name:"macros",component:(0,q.jsx)(De,{})},{name:(0,q.jsx)("span",{className:le.Z.beta,children:"behaviors"}),component:(0,q.jsx)(Le,{})},a>0&&{name:"warnings (".concat(a,")"),tabClasses:[le.Z.warningTab],component:(0,q.jsx)(Me,{sanityChecks:o})}]);return(0,q.jsx)(ee,{keymap:t,children:(0,q.jsx)(Ne,{text:"Editor mode:",tabs:s,defaultTab:0,children:s.map((function(e,t){return(0,q.jsx)(r.Fragment,{children:e.component},t)}))})})}Ge.propTypes={keymap:ue};var Ze=Ge,qe=n(41051),ze=n(2746),Fe={};Fe.styleTagTransform=b(),Fe.setAttributes=p(),Fe.insert=f().bind(null,"head"),Fe.domAPI=u(),Fe.insertStyleElement=d(),s()(ze.Z,Fe);var Ue=ze.Z&&ze.Z.locals?ze.Z.locals:void 0,Ke="https://github.com/nickcoutsos/keymap-editor";function Ye(){return(0,q.jsxs)("div",{className:Ue.wrapper,children:[(0,q.jsx)("label",{children:"Need help? Open an issue:"}),(0,q.jsxs)("a",{className:Ue.githubLink,target:"_blank",rel:"noreferrer",href:Ke,children:[(0,q.jsx)(qe.Z,{collection:"brands",name:"github"}),"/nickcoutsos/keymap-editor"]})]})}var We=n(96186),Qe=n(64261);function Je(e){return Je="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},Je(e)}function He(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 Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Je(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Je(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Je(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $e={description:{fontStyle:"italic",fontSize:"90%"}};function et(e){var t=e.settings,n=e.onUpdate,r=e.onClose;function o(e,r){n(Ve(Ve({},t),{},Xe({},e,r)))}return(0,q.jsx)(Qe.Z,{onDismiss:r,children:(0,q.jsxs)(We.Z,{onDismiss:r,children:[(0,q.jsx)("h1",{children:"Settings"}),(0,q.jsx)("h2",{children:"Keycode glyphs"}),(0,q.jsx)("h3",{children:(0,q.jsxs)("label",{htmlFor:"enable-unicode-glyphs",children:[(0,q.jsx)("input",{id:"enable-unicode-glyphs",type:"checkbox",checked:t.unicodeGlyphs,onChange:function(e){return o("unicodeGlyphs",e.target.checked)}}),"Use Unicode Glyphs"]})}),(0,q.jsxs)("p",{style:$e.description,children:["Use unicode glyphs for visual representations of keycodes like ",(0,q.jsx)("code",{children:"Enter"})," (⮐), ",(0,q.jsx)("code",{children:"Right Arrow"})," (⏵), etc. You can disable this if the symbols don't render correctly."]}),(0,q.jsx)("h3",{children:(0,q.jsxs)("label",{htmlFor:"platform-specific-glyphs",children:["Platform specific glyphs",(0,q.jsxs)("select",{id:"platform-specific-glyphs",value:t.platformGlyphs||"auto",onChange:function(e){return o("platformGlyphs",e.target.value)},children:[(0,q.jsx)("option",{value:"auto",children:"Automatic"}),(0,q.jsx)("option",{value:"win",children:"Windows"}),(0,q.jsx)("option",{value:"mac",children:"macOS"})]})]})}),(0,q.jsxs)("p",{style:$e.description,children:["Render symbols specific to your platform. E.g., render left/right meta key as ",(0,q.jsx)(qe.Z,{name:"windows fa-brands"})," for Windows, or ⌘ for macOS."]})]})})}et.propTypes={settings:ne().object.isRequired,onUpdate:ne().func.isRequired,onClose:ne().func.isRequired},et.defaultProps={settings:{}};var tt=et,nt=n(94184),rt=n.n(nt),ot=n(13311),it=n.n(ot),at=n(91829),st=n(80031);function ct(e){return ct="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},ct(e)}function ut(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 lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ft(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==ct(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ct(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(e){return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,lt(lt({},e),{},{children:[(0,q.jsx)("h2",{children:"This layout was Auto-Generated"}),(0,q.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,q.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,q.jsx)("code",{children:"info.json"})," file."]}),st.Yo]}))})}yt.propTypes={};var pt=yt,ht=n(69247);function dt(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse keymap"}),(0,q.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,q.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."}),st.t6]})})}dt.propTypes={onDismiss:ne().func.isRequired};var mt=dt,bt=n(2968),vt=(0,q.jsx)(bt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/wiki/Autoshift-using-ZMK-behaviors",children:"Autoshift using ZMK behaviors"});function gt(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse keymap"}),(0,q.jsxs)("p",{children:["It looks like you're using a custom pre-processor macro to implement",(0,q.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,q.jsxs)("p",{children:["Please see ",vt," for a guide."]}),st.t6]})})}gt.propTypes={onDismiss:ne().func.isRequired};var kt=gt;function _t(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse keymap"}),(0,q.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,q.jsx)("p",{children:"A common occurrence here is keymaps using a variety of pre-processor macros to define layers/combos/etc."}),st.t6]})})}_t.propTypes={onDismiss:ne().func.isRequired};var At=_t;function xt(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse Miryoku keymap"}),(0,q.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,q.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."})]})})}xt.propTypes={onDismiss:ne().func.isRequired};var jt=xt;function wt(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse keymap"}),(0,q.jsx)("p",{children:"Missing devicetree root node."}),(0,q.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,q.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 ",st.qM,"."]})]})})}wt.propTypes={onDismiss:ne().func.isRequired};var Et=wt;function Ot(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Could not parse keymap"}),(0,q.jsxs)("p",{children:["Detected use of ",(0,q.jsx)("code",{children:"zmk-nodefree-config"})]}),(0,q.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,q.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."})]})})}Ot.propTypes={onDismiss:ne().func.isRequired};var Ct=Ot,St=n(28962),Pt=w()([St.IX&&{id:"demo",name:"Demo Keyboard",description:"Play around with a sample keymap"},St.qo&&{id:"local",name:"Local",description:"Hello, me",collapsible:!1},St.k0&&{id:"github",name:"GitHub",description:"Integrate with a GitHub repo, leveraging GitHub actions to compile firmware",collapsible:!0},St.mC&&{id:"clipboard",name:"Clipboard",description:"Read and write keymap data directly from your clipboard",isBeta:!0},St.XG&&window.showOpenFilePicker&&{id:"filesystem",name:"File System",description:"Read and write keymap files on your local filesystem",isBeta:!0}]),Bt=localStorage.getItem("selectedSource"),Lt=(1===Pt.length?Pt[0].id:null)||(Pt.find((function(e){return e.id===Bt}))?Bt:Pt[0].id),It=n(58723),Tt={};Tt.styleTagTransform=b(),Tt.setAttributes=p(),Tt.insert=f().bind(null,"head"),Tt.domAPI=u(),Tt.insertStyleElement=d(),s()(It.Z,Tt);var Dt=It.Z&&It.Z.locals?It.Z.locals:void 0;function Mt(e){return Mt="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},Mt(e)}function Nt(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 Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(n),!0).forEach((function(t){Gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Mt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Mt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zt(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 qt(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)?qt(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 qt(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(7553).then(n.bind(n,67553))})),Ft=(0,r.lazy)((function(){return n.e(2946).then(n.bind(n,2946))})),Ut=(0,r.lazy)((function(){return n.e(542).then(n.bind(n,80542))})),Kt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(7406),n.e(9657)]).then(n.bind(n,62928))})),Yt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(7406),n.e(5858)]).then(n.bind(n,8101))})),Wt=function(e){return e.keyboard};function Qt(e){var t=e.onSelect,n=(0,r.useRef)(),o=(0,i.v9)(Wt),a=Zt((0,r.useState)(Lt),2),s=a[0],c=a[1],u=Zt((0,r.useState)({autoGenerated:!1}),2),l=u[0].autoGenerated,f=u[1],y=Zt((0,r.useState)(null),2),p=y[0],h=y[1],d=(0,r.useCallback)((function(){return h(null)}),[h]),m=Zt((0,at.Z)(!0),4),b=m[0],v=m[2],g=m[3],k=(0,r.useCallback)((function(){h({component:pt,onClose:d})}),[h,d]),_=it()(Pt,{id:s});!function(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])}(n,g,!0===(null==_?void 0:_.collapsible)&&o&&b);var A=(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 Ct;case"USING_MIRYOKU_DTSI":return jt;case"USING_NON_ZMK_MACRO":return mt;case"USING_AUTOSHIFT_MACRO":return kt;case"KEYMAP_PARSING_FAILED":return At;case"MISSING_ROOT_NODE":return Et;default:return null}}(r);if(a)return h({component:a,onClose:d}),void t({source:s,keyboard:null});f({autoGenerated:i}),t(Rt({source:s},e))}),[t,s,h,d]),j=(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]),(0,q.jsxs)("div",{ref:n,className:rt()(Dt.wrapper,Gt({},Dt.compact,!b)),children:[b&&(0,q.jsx)(ht.Ph,{label:"Source",value:_,options:Pt,onChange:A,getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.id},formatOptionLabel:function(e,t){return"value"===t.context?e.name:(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)("div",{children:[e.name,e.isBeta&&(0,q.jsx)(Jt,{})]}),(0,q.jsx)("div",{className:Dt.sourceDescription,children:(0,q.jsx)("sub",{children:e.description})})]})}}),(null==p?void 0:p.component)&&(0,q.jsx)(p.component,Rt(Rt({},p.dialogProps||{}),{},{onDismiss:p.onClose})),(0,q.jsxs)(r.Suspense,{children:["local"===s&&(0,q.jsx)(zt,{onError:j,onSelect:x}),"demo"===s&&(0,q.jsx)(Ft,{onSelect:x}),"github"===s&&(0,q.jsx)(Ut,{expanded:b,onSelect:x,onError:j,onExpand:v}),"clipboard"===s&&(0,q.jsx)(Kt,{onSelect:x,onError:j}),"filesystem"===s&&(0,q.jsx)(Yt,{onSelect:x,onError:j})]}),l&&(0,q.jsxs)(ht.zx,{onClick:k,children:[(0,q.jsx)(qe.Z,{name:"warning"})," Layout wrong?"]})]})}function Jt(){return(0,q.jsx)("span",{style:{color:"white",backgroundColor:"var(--error-highlight)",fontSize:"12px",fontWeight:"bold",padding:"1px 3px",margin:"2px",borderRadius:"6px",verticalAlign:"top"},children:"beta"})}Qt.propTypes={onSelect:ne().func.isRequired};var Ht=Qt,Vt=n(93965),Xt=n(14084),$t={};$t.styleTagTransform=b(),$t.setAttributes=p(),$t.insert=f().bind(null,"head"),$t.domAPI=u(),$t.insertStyleElement=d(),s()(Xt.Z,$t);var en=Xt.Z&&Xt.Z.locals?Xt.Z.locals:void 0;function tn(e){return tn="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},tn(e)}function nn(){nn=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 w(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,b=m&&m(m(E([])));b&&b!==t&&n.call(b,i)&&(d=b);var v=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"==tn(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=A(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 A(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,A(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(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:O}}function O(){return{value:void 0,done:!0}}return p.prototype=h,r(v,"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(v),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(v),c(v,s,"Generator"),c(v,i,(function(){return this})),c(v,"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=E,w.prototype={constructor:w,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(j),!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),j(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;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function rn(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 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}}(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 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}function an(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 sn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){an(i,r,o,a,s,"next",e)}function s(e){an(i,r,o,a,s,"throw",e)}a(void 0)}))}}function cn(e){return" ".concat(e.fileName,":").concat(e.lineNumber,":").concat(e.columnNumber)}var un=(0,q.jsx)(bt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/issues/new",children:"new issue"});function ln(e,t){return fn.apply(this,arguments)}function fn(){return fn=sn(nn().mark((function e(t,n){var r,o,i;return nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(St.ny,"/v2/events/client-errors"),o=JSON.stringify({error:t.toString(),stacktrace:n}),e.next=4,fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:o});case 4:(i=e.sent).ok||console.error("Failed to submit error report",i);case 6:case"end":return e.stop()}}),e)}))),fn.apply(this,arguments)}function yn(e){var t=e.error,o=rn((0,r.useState)([]),2),i=o[0],a=o[1],s=rn((0,r.useState)(""),2),c=s[0],u=s[1],l=rn((0,r.useState)(!1),2),f=l[0],y=l[1];return(0,r.useEffect)((function(){function e(){return(e=sn(nn().mark((function e(){var r,o;return nn().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:o=e.sent,a(o),ln(t,o);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[a,t]),(0,r.useEffect)((function(){u(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(cn).join("\n"),"\n").trim()}(t,i))}),[t,i]),(0,r.useEffect)((function(){f&&setTimeout((function(){y(!1)}),3e3)}),[f,y]),(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{dismissText:!1,style:{maxWidth:"700px"},children:[(0,q.jsx)("h2",{children:"Unexpected error"}),(0,q.jsxs)("p",{children:["Something unexpected happened and the keymap editor app cannot recover. Please consider taking a moment to open a ",un,"with the details below to help me investigate and improve the app."]}),(0,q.jsxs)("div",{className:en.stackTrace,children:[(0,q.jsx)("pre",{children:c}),(0,q.jsx)(x.Z,{icon:"copy",title:"Copy error text",className:en.button,onClick:function(){var e="".concat("```","\n").concat(c,"\n").concat("```");navigator.clipboard.writeText(e).then((function(){return y(!0)}))}}),f&&(0,q.jsx)("div",{className:en.copyMessage,children:"Copied!"})]})]})})}yn.propTypes={error:ne().instanceOf(Error).isRequired};var pn=yn;function hn(e){return hn="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},hn(e)}function dn(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"!==hn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==hn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===hn(o)?o:String(o)),r)}var o}function mn(e,t){return mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mn(e,t)}function bn(e){return bn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bn(e)}var vn=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&&mn(e,t)}(s,e);var t,n,r,o,i,a=(o=s,i=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=bn(o);if(i){var n=bn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===hn(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 s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).state={error:null},t}return t=s,r=[{key:"getDerivedStateFromError",value:function(e){return{error:e}}}],(n=[{key:"render",value:function(){var e=this.props.children,t=this.state.error;return t?(0,q.jsx)(pn,{error:t}):e}}])&&dn(t.prototype,n),r&&dn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.Component);function gn(e){var t=e.onDismiss;return(0,q.jsx)(Qe.Z,{children:(0,q.jsxs)(We.Z,{onDismiss:t,children:[(0,q.jsx)("h2",{children:"Failed to save keymap changes"}),(0,q.jsx)("p",{children:"Sorry, an unexpected error occurred while trying to save your keymap."}),(0,q.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,q.jsx)("p",{children:st.qM})]})})}gn.propTypes={onDismiss:ne().func.isRequired};var kn=gn,_n=n(9669),An=n.n(_n);function xn(e){return xn="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},xn(e)}function jn(){jn=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 w(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,b=m&&m(m(E([])));b&&b!==t&&n.call(b,i)&&(d=b);var v=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"==xn(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=A(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 A(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,A(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(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:O}}function O(){return{value:void 0,done:!0}}return p.prototype=h,r(v,"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(v),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(v),c(v,s,"Generator"),c(v,i,(function(){return this})),c(v,"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=E,w.prototype={constructor:w,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(j),!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),j(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;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(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 En(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 Cn="https://www.githubstatus.com/api/v2/components.json",Sn=3e5,Pn=["brv1bkgrwx7q","4230lsnqdsld","br0l2tvcx85d"];function Bn(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)(En(jn().mark((function e(){var t,n,r,o;return jn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,An()({url:Cn});case 3:t=e.sent,n=t.data.components,r=Date.now(),o=n.filter((function(e){return Pn.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,q.jsxs)("div",{style:{position:"absolute",bottom:"10px",left:"50%",transform:"translateX(-50%)"},children:[(0,q.jsx)(qe.Z,{name:"warning",style:{color:"gold",backgroundColor:"#555",padding:"6px",margin:"5px",borderRadius:"100%"}}),(0,q.jsx)(bt.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 Tn(){Tn=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 w(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,b=m&&m(m(E([])));b&&b!==t&&n.call(b,i)&&(d=b);var v=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=A(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 A(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,A(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(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:O}}function O(){return{value:void 0,done:!0}}return p.prototype=h,r(v,"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(v),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(v),c(v,s,"Generator"),c(v,i,(function(){return this})),c(v,"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=E,w.prototype={constructor:w,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(j),!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),j(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;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Dn(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 Mn=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.theme,c=e.settingsVisible,u=e.experimentalSettings;(0,r.useEffect)((function(){var e;if(null!=n&&n.github)return(e=Tn().mark((function e(){var t,o,i;return Tn().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,Vt.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){Dn(i,r,o,a,s,"next",e)}function s(e){Dn(i,r,o,a,s,"throw",e)}a(void 0)}))})(),Vt.Z.on("build-update",r),function(){return Vt.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 l=(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]),f=(0,r.useCallback)((function(e){t({type:"SETTINGS_UPDATE",settings:e})}),[t]),y=(0,r.useCallback)((function(){return t({type:"SETTINGS_OPEN"})}),[t]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(vn,{children:(0,q.jsxs)(A.J.Provider,{value:{settings:u,openSettingsDialog:y},children:[(0,q.jsx)(Ht,{onSelect:l}),(0,q.jsxs)("div",{id:"settings-bar",children:[(0,q.jsx)(x.Z,{id:"light-mode",title:"Toggle theme",icon:{light:"sun",dark:"moon",system:"circle-half-stroke"}[s]||"circle-half-stroke",onClick:function(){return t({type:"CYCLE_THEME"})}}),(0,q.jsx)(x.Z,{id:"settings-button",icon:"cog",onClick:y}),c&&(0,q.jsx)(tt,{settings:u,onUpdate:f,onClose:function(){return t({type:"SETTINGS_CLOSE"})}})]}),(0,q.jsxs)(R.Z,{children:[o&&(0,q.jsx)(Ce.S,{layout:o.layout,children:(0,q.jsx)(Ze,{keymap:o.keymap,sensors:o.sensors})}),a&&(0,q.jsx)(kn,{onDismiss:function(){return t({type:"CLEAR_SAVE_ERROR"})}})]})]})}),(0,q.jsx)(Ye,{}),(0,q.jsx)(Bn,{enabled:!(null==n||!n.github)})]})},Nn=n(78718),Rn=n.n(Nn),Gn=n(41696);function Zn(e){return Zn="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},Zn(e)}function qn(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 zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(n),!0).forEach((function(t){Fn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Zn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Zn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Zn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(){var e=JSON.parse(localStorage.getItem("experimental-settings")||"{}");return{definitions:null,source:null,sourceOther:null,keyboard:null,_unmodifiedKeymap:null,saving:null,saveError:null,settingsVisible:null,commitDialogOpen:!1,theme:JSON.parse(localStorage.getItem("theme")),experimentalSettings:{unicodeGlyphs:B()(e,"unicodeGlyphs",!0),platformGlyphs:B()(e,"platformGlyphs","auto"),enableBehaviorEditing:B()(e,"enableBehaviorEditing",!1)},latestBuild:null}}var Kn=Un();var Yn=n(14890),Wn=n(97168),Qn=n(80736),Jn=n(2732),Hn=n(12736),Vn=n(28291);function Xn(e){return Xn="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},Xn(e)}function $n(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 er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Xn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Xn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Xn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nr=(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:Vn.ZP,layers:Qn.ZP,combos:Jn.ZP,macros:Hn.ZP})}),rr=(0,Wn.xC)({reducer:function(e,t){var n=function(e,t){switch(t.type){case"INITIALIZE":return Un();case"DEFINITIONS_SET":return zn(zn({},e),{},{definitions:t.definitions});case"CLEAR_KEYBOARD_SELECTION":return zn(zn({},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),zn(zn({},e),{},{source:t.source,sourceOther:t.sourceOther,keyboard:zn(zn({},n),r),_unmodifiedKeymap:O()(r.keymap)})}(e,t);case"COMMIT_DIALOG_OPEN":return zn(zn({},e),{},{commitDialogOpen:!0});case"COMMIT_DIALOG_CLOSE":return zn(zn({},e),{},{commitDialogOpen:!1});case"GITHUB_BUILD_UPDATE":return zn(zn({},e),{},{latestBuild:t.build});case"KEYMAP_SAVE_START":return zn(zn({},e),{},{saving:!0,saveError:!1});case"KEYMAP_SAVE_SUCCESS":return function(e,t){var n=zn({},t.keymap);return(0,Gn.u)(n),zn(zn({},e),{},{saving:!1,unsaved:!1,keyboard:zn(zn({},e.keyboard),{},{keymap:n}),_unmodifiedKeymap:n})}(e,t);case"KEYMAP_SAVE_FAILURE":return zn(zn({},e),{},{saving:!1,saveError:!0});case"CLEAR_SAVE_ERROR":return zn(zn({},e),{},{saveError:null});case"SETTINGS_OPEN":return zn(zn({},e),{},{settingsVisible:!0});case"SETTINGS_CLOSE":return zn(zn({},e),{},{settingsVisible:!1});case"SETTINGS_UPDATE":return localStorage.setItem("experimental-settings",JSON.stringify(t.settings)),zn(zn({},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,zn(zn({},e),{},{theme:o})}(e);default:return e}}(e,t);return er(er({},n),{},{keyboard:n.keyboard&&er(er({},n.keyboard),nr(n.keyboard,t))})},preloadedState:Kn});document.body.dataset.theme=Kn.theme,o.createRoot(document.getElementById("app-root")).render((0,q.jsx)(r.StrictMode,{children:(0,q.jsx)(i.zt,{store:rr,children:(0,q.jsx)(Mn,{})})}))},26523:function(e,t,n){"use strict";n.d(t,{Pi:function(){return l},j4:function(){return y},kn:function(){return f}});var r=n(35161),o=n.n(r);function i(e){return function(e){if(Array.isArray(e))return a(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 a(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)?a(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 a(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 s=65,c=5;function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{x:e.x*(s+c),y:e.y*(s+c),u:t.u*s+c*(t.u-1),h:t.h*s+c*(t.h-1),rx:(e.x-(n.x||e.x))*-(s+c),ry:(e.y-(n.y||e.y))*-(s+c),a:n.a||0}}function l(e,t,n){var r=u(e,t,n),o=r.x,i=r.y,a=r.u,s=r.h,c=r.a,l=r.rx,f=r.ry;return{top:"".concat(i,"px"),left:"".concat(o,"px"),width:"".concat(a,"px"),height:"".concat(s,"px"),transformOrigin:"".concat(l,"px ").concat(f,"px"),transform:"rotate(".concat(c||0,"deg)")}}function f(e,t,n){var r=u(e,t,n),o=r.x,i=r.y,a=r.u,s=r.h,c=r.a,l=r.rx,f=r.ry;return[{x:0,y:0},{x:a,y:0},{x:a,y:s},{x:0,y:s}].map((function(e){var t=e.x-l,n=e.y-f,r=Math.PI*c/180;return{x:l+t*Math.cos(r)-n*Math.sin(r),y:f+n*Math.cos(r)+t*Math.sin(r)}})).map((function(e){return{x:e.x+o,y:e.y+i}}))}function y(e,t,n){var r=f(e,t,n),a=o()(r,"x"),s=o()(r,"y");return{min:{x:Math.min.apply(Math,i(a)),y:Math.min.apply(Math,i(s))},max:{x:Math.max.apply(Math,i(a)),y:Math.max.apply(Math,i(s))}}}},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 b=n.value;e.push(Object.assign({},d,{code:b,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})},39087: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,':root {\n --bg: white;\n --bg-rgb: 255,255,255;\n --fg: black;\n\t--dark-red: #910e0e;\n\t--dark-blue: #6d99c6;\n --error-highlight: rgb(179, 60, 60);\n --selection: rgb(60, 179, 113);\n --hover-selection: rgba(60, 179, 113, 0.85);\n --delete: rgb(179, 60, 72);\n --delete-faint: rgba(179, 60, 72, 0.6);\n --link: royalblue;\n --link-hover: #6d99c6;\n --key-bg-base: #f2f2f2;\n --key-bg-hover: white;\n --key-bg-highlight: sandybrown;\n --key-color-base: hsl(0, 0%, 30%);\n --key-color-extreme: #313131;\n --key-color-hover: white;\n --code-bg: rgba(0, 0, 0, 0.15);\n}\nhtml {\n font-family: sans-serif;\n}\nhtml, body {\n\twidth: 100vw;\n\theight: 100vh;\n\toverflow: auto;\n\tpadding: 0;\n\tmargin: 0;\n background-color: var(--bg);\n color: var(--fg);\n\n transition: 300ms ease-in-out;\n transition-property: color, background-color, border-color;\n}\n\nh1, h2, h3, h4, h5, h6 {\n font-family: Quicksand, avenir, sans-serif;\n}\n\nbody[data-theme="dark"] {\n color-scheme: dark;\n --fg: white;\n --bg: hsl(211, 31.9%, 13%);\n --bg-rgb: 17,34,51;\n --dialog-bg: hsl(210, 30%, 17%);\n --key-bg-base: hsl(208.2, 23%, 25%);\n --key-color-base: hsl(0, 0%, 90%);\n --key-color-extreme: #e7e7e7;\n}\n@media (prefers-color-scheme: dark) {\n body[data-theme="system"] {\n color-scheme: dark;\n --fg: white;\n --bg: hsl(211, 31.9%, 13%);\n --bg-rgb: 17,34,51;\n --dialog-bg: hsl(210, 30%, 17%);\n --key-bg-base: hsl(208.2, 23%, 25%);\n --key-color-base: hsl(0, 0%, 90%);\n --key-color-extreme: #e7e7e7;\n }\n}\n\nh3 {\n margin-bottom: 10px;\n}\n\na { color: var(--link) }\na:hover { color: var(--link-hover) }\n\ncode {\n background-color: var(--code-bg);\n border-radius: 2px;\n padding: .15em .3em .05em;\n}\n\np {\n line-height: 1.3rem;\n}\n\n#actions {\n\tposition: absolute;\n display: flex;\n\tbottom: 5px;\n\tright: 5px;\n gap: 4px;\n}\n\n#actions button {\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\n#actions button[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n\n#settings-bar {\n position: absolute;\n z-index: 5;\n top: 10px;\n right: 10px;\n}\n\n#settings-bar button {\n background: none;\n color: var(--fg);\n border: none;\n}\n#settings-bar button:hover {\n cursor: pointer;\n color: royalblue;\n}\n\n.fa-delete-right::before {\n content: \'\\f55a\';\n transform-origin: center;\n transform: rotateZ(180deg);\n display: inline-block;\n}\n',"",{version:3,sources:["webpack://./src/App.css"],names:[],mappings:"AAAA;EACE,WAAW;EACX,qBAAqB;EACrB,WAAW;CACZ,mBAAmB;CACnB,oBAAoB;EACnB,mCAAmC;EACnC,8BAA8B;EAC9B,2CAA2C;EAC3C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B;EAC1B,qBAAqB;AACvB",sourcesContent:[':root {\n --bg: white;\n --bg-rgb: 255,255,255;\n --fg: black;\n\t--dark-red: #910e0e;\n\t--dark-blue: #6d99c6;\n --error-highlight: rgb(179, 60, 60);\n --selection: rgb(60, 179, 113);\n --hover-selection: rgba(60, 179, 113, 0.85);\n --delete: rgb(179, 60, 72);\n --delete-faint: rgba(179, 60, 72, 0.6);\n --link: royalblue;\n --link-hover: #6d99c6;\n --key-bg-base: #f2f2f2;\n --key-bg-hover: white;\n --key-bg-highlight: sandybrown;\n --key-color-base: hsl(0, 0%, 30%);\n --key-color-extreme: #313131;\n --key-color-hover: white;\n --code-bg: rgba(0, 0, 0, 0.15);\n}\nhtml {\n font-family: sans-serif;\n}\nhtml, body {\n\twidth: 100vw;\n\theight: 100vh;\n\toverflow: auto;\n\tpadding: 0;\n\tmargin: 0;\n background-color: var(--bg);\n color: var(--fg);\n\n transition: 300ms ease-in-out;\n transition-property: color, background-color, border-color;\n}\n\nh1, h2, h3, h4, h5, h6 {\n font-family: Quicksand, avenir, sans-serif;\n}\n\nbody[data-theme="dark"] {\n color-scheme: dark;\n --fg: white;\n --bg: hsl(211, 31.9%, 13%);\n --bg-rgb: 17,34,51;\n --dialog-bg: hsl(210, 30%, 17%);\n --key-bg-base: hsl(208.2, 23%, 25%);\n --key-color-base: hsl(0, 0%, 90%);\n --key-color-extreme: #e7e7e7;\n}\n@media (prefers-color-scheme: dark) {\n body[data-theme="system"] {\n color-scheme: dark;\n --fg: white;\n --bg: hsl(211, 31.9%, 13%);\n --bg-rgb: 17,34,51;\n --dialog-bg: hsl(210, 30%, 17%);\n --key-bg-base: hsl(208.2, 23%, 25%);\n --key-color-base: hsl(0, 0%, 90%);\n --key-color-extreme: #e7e7e7;\n }\n}\n\nh3 {\n margin-bottom: 10px;\n}\n\na { color: var(--link) }\na:hover { color: var(--link-hover) }\n\ncode {\n background-color: var(--code-bg);\n border-radius: 2px;\n padding: .15em .3em .05em;\n}\n\np {\n line-height: 1.3rem;\n}\n\n#actions {\n\tposition: absolute;\n display: flex;\n\tbottom: 5px;\n\tright: 5px;\n gap: 4px;\n}\n\n#actions button {\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\n#actions button[disabled] {\n filter: saturate(20%);\n opacity: .5;\n cursor: not-allowed;\n}\n\n#settings-bar {\n position: absolute;\n z-index: 5;\n top: 10px;\n right: 10px;\n}\n\n#settings-bar button {\n background: none;\n color: var(--fg);\n border: none;\n}\n#settings-bar button:hover {\n cursor: pointer;\n color: royalblue;\n}\n\n.fa-delete-right::before {\n content: \'\\f55a\';\n transform-origin: center;\n transform: rotateZ(180deg);\n display: inline-block;\n}\n'],sourceRoot:""}]),t.Z=a},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 display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\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}","",{version:3,sources:["webpack://./src/Sources/styles.module.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,QAAQ;EACR,WAAW;EACX,YAAY;AACd;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,YAAY;AACd",sourcesContent:[".wrapper {\n display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\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}"],sourceRoot:""}]),a.locals={wrapper:"hY07j_e1kQx0WX5BwG6I",compact:"_0h266lacmB1N_qDdQcy",sourceDescription:"xwu_0RR7bcAhL2xRBstH"},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,4156],"./keys_hu.json":[4526,4156],"./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,9707],"./keys_si.json":[39915,9707],"./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 52235,e(e.s=52235)})),e.O()}]); +//# sourceMappingURL=main.8019d5f4a7d8269a3c78.js.map
\ No newline at end of file diff --git a/main.8019d5f4a7d8269a3c78.js.LICENSE.txt b/main.8019d5f4a7d8269a3c78.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/main.8019d5f4a7d8269a3c78.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/main.8019d5f4a7d8269a3c78.js.map b/main.8019d5f4a7d8269a3c78.js.map new file mode 100644 index 0000000..f809b6b --- /dev/null +++ b/main.8019d5f4a7d8269a3c78.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.8019d5f4a7d8269a3c78.js","mappings":";qQAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAA1B,IAKO,EAAe,KAAW,WAAiB,gBAAiBM,g3CCxBpD,SAASC,EAAWC,GACjC,QAA2EA,EAAnEC,YAAAA,OAAW,IAAG,OAAI,IAAiDD,EAA/CE,QAAAA,OAAO,IAAG,KAAE,EAAEC,EAAiCH,EAAjCG,UAAWC,EAAsBJ,EAAtBI,SAAaC,oXAAI,CAAKL,EAAK,GAEhF,OACE,qBAAKM,UAAW,CAACC,EAAAA,QAAa,UAAKL,qnBAASM,KAAK,MAAUH,GAAI,cAC5DD,EACAH,IACC,mBAAQK,UAAWC,EAAAA,OAAeE,QAASN,EAAU,SAClDF,OAKX,k9BCbA,IAAMS,EAAgB,CACpBC,OAAQ,MACRC,QAAS,KACTC,QAAS,aACTC,MAAO,WACPC,MAAO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B,CACjB,OAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,0BAA2B,CAC1B,KACA,MAED,qBAAsB,CACrB,KACA,MAED,0BAA2B,CAC1B,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,KAED,iBAAkB,CACjB,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,kBAAmB,CAClB,MACA,KAED,uBAAwB,CACvB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,aAAc,CACb,KACA,MAED,kBAAmB,CAClB,KACA,MAED,sBAAuB,CACtB,KACA,MAED,2BAA4B,CAC3B,KACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,wBAAyB,CACxB,KACA,MAED,6BAA8B,CAC7B,KACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,0BAA2B,CAC1B,KACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,aAAc,CACb,MACA,KAED,kBAAmB,CAClB,MACA,KAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,eAAgB,CACf,MACA,MAED,oBAAqB,CACpB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,6BAA8B,CAC7B,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,YAAa,CACZ,MACA,KAED,iBAAkB,CACjB,MACA,KAED,2BAA4B,CAC3B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,0BAA2B,CAC1B,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,yBAA0B,CACzB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,iCAAkC,CACjC,MACA,MAED,8BAA+B,CAC9B,MACA,MAED,mCAAoC,CACnC,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,6BAA8B,CAC7B,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,gBAAiB,CAChB,KACA,MAED,qBAAsB,CACrB,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,oBAAqB,CACpB,MACA,KAED,yBAA0B,CACzB,MACA,KAED,YAAa,CACZ,MACA,KAED,iBAAkB,CACjB,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,4BAA6B,CAC5B,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,YAAa,CACZ,MACA,KAED,iBAAkB,CACjB,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,gBAAiB,CAChB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,KAED,iBAAkB,CACjB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,wBAAyB,CACxB,KACA,MAED,6BAA8B,CAC7B,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,gBAAiB,CAChB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,wBAAyB,CACxB,IACA,KAED,6BAA8B,CAC7B,IACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,uBAAwB,CACvB,MACA,MAED,YAAa,CACZ,MACA,IAED,iBAAkB,CACjB,MACA,IAED,wBAAyB,CACxB,MACA,MAED,6BAA8B,CAC7B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,aAAc,CACb,IACA,MAED,kBAAmB,CAClB,IACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,gCAAiC,CAChC,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,mBAAoB,CACnB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,kBAAmB,CAClB,MACA,KAED,uBAAwB,CACvB,MACA,KAED,aAAc,CACb,IACA,MAED,kBAAmB,CAClB,IACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,uBAAwB,CACvB,MACA,KAED,4BAA6B,CAC5B,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,MAED,kBAAmB,CAClB,MACA,MAED,sBAAuB,CACtB,MACA,MAED,2BAA4B,CAC3B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,cAAe,CACd,MACA,MAED,mBAAoB,CACnB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,aAAc,CACb,MACA,KAED,kBAAmB,CAClB,MACA,KAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,0BAA2B,CAC1B,MACA,MAED,+BAAgC,CAC/B,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,MACA,MAED,iBAAkB,CACjB,MACA,MAED,YAAa,CACZ,KACA,MAED,iBAAkB,CACjB,KACA,OAGF,SAAS4gB,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAE/gB,EAAK6gB,GAC9B,OAAOtnB,QAAQynB,UAAU/G,MAAK,WAC7B,IAAI5iB,EAAI,IAAI6iB,MAAM,uBAAyB2G,EAAM,KAEjD,MADAxpB,EAAE2W,KAAO,mBACH3W,CACP,IAGD,IAAI4pB,EAAMjhB,EAAI6gB,GAAM/W,EAAKmX,EAAI,GAC7B,OAAO1nB,QAAQC,IAAIynB,EAAIC,MAAM,GAAGlhB,IAAI8gB,EAAoBzpB,IAAI4iB,MAAK,WAChE,OAAO6G,EAAoBK,EAAErX,EAAI,GAClC,GACD,CACA8W,EAAoBpkB,KAAO,WAAa,OAAO5G,OAAO4G,KAAKwD,EAAM,EACjE4gB,EAAoB9W,GAAK,MACzB4W,EAAOU,QAAUR","sources":["webpack:///./src/Common/dialog-box.module.css?bee6","webpack:///./src/Common/DialogBox.js","webpack:///./src/Common/Icon.js","webpack:///./src/Common/IconButton.js","webpack:///./src/Common/link.module.css?df4e","webpack:///./src/Common/Link.js","webpack:///./src/Common/Modal.js","webpack:///./src/Common/hooks/use-toggle.js","webpack:///./src/Contexts/Definitions.js","webpack:///./src/Contexts/Layout.js","webpack:///./src/Dialogs/support.js","webpack:///./src/Keyboard/Behaviors/behaviorsSlice.js","webpack:///./src/Keyboard/Combos/combosSlice.js","webpack:///./src/Keyboard/Layers/layer-index-change-action.js","webpack:///./src/Keyboard/Layers/layersSlice.js","webpack:///./src/Keyboard/Macros/macrosSlice.js","webpack:///./src/Keyboard/util.js","webpack:///./src/Sources/Controls.js","webpack:///./src/Sources/Github/api.js","webpack:///./src/config.js","webpack:///./src/index.css?cfe4","webpack:///./src/App.css?d9cd","webpack:///./src/Keyboard/Context.js","webpack:///./src/Keyboard/Binding/bindingPropTypes.js","webpack:///./src/Keyboard/Combos/comboPropTypes.js","webpack:///./src/Keyboard/keymapPropTypes.js","webpack:///./src/Keyboard/Warnings/sanity-checks-layout.js","webpack:///./src/Keyboard/Warnings/sanity-checks.js","webpack:///./src/Keyboard/Keyboard.js","webpack:///./src/styles.module.css?f79c","webpack:///./src/GitHubLink.js","webpack:///./src/Dialogs/Settings.js","webpack:///./src/Dialogs/SuggestAutoLayoutTweak.js","webpack:///./src/Dialogs/KeymapBindingsUsePreprocessorMacros.js","webpack:///./src/Dialogs/KeymapBindingsUseAutoshiftMacro.js","webpack:///./src/Dialogs/KeymapParsingFailed.js","webpack:///./src/Dialogs/KeymapUsingMiryoku.js","webpack:///./src/Dialogs/MissingRootNode.js","webpack:///./src/Dialogs/ZmkNodefreeConfig.js","webpack:///./src/Sources/sources.js","webpack:///./src/Sources/styles.module.css?2b76","webpack:///./src/Sources/SourcePicker.js","webpack:///./src/Common/hooks/use-click-outside-handler.js","webpack:///./src/Sources/errors.js","webpack:///./src/Dialogs/unexpected-error.module.css?94c7","webpack:///./src/Dialogs/UnexpectedError.js","webpack:///./src/ErrorBoundary.js","webpack:///./src/Dialogs/KeymapSaveFailed.js","webpack:///./src/Sources/Github/api-status.js","webpack:///./src/Sources/Github/GitHubApiStatus.js","webpack:///./src/App.js","webpack:///./src/appReducer.js","webpack:///./src/store.js","webpack:///./src/index.js","webpack:///./src/key-units.js","webpack:///./src/keycodes.js","webpack:///./src/keymap.js","webpack:///./src/providers.js","webpack:///./src/App.css","webpack:///./src/index.css","webpack:///./src/Common/dialog-box.module.css","webpack:///./src/Common/link.module.css","webpack:///./src/Dialogs/unexpected-error.module.css","webpack:///./src/Keyboard/styles.module.css","webpack:///./src/Sources/styles.module.css","webpack:///./src/styles.module.css","webpack:///./src/Keyboard/styles.module.css?75da","webpack:///./node_modules/zmk-data/data/locales/ lazy ^\\.\\/.*$ include: \\.json$ chunkName: locales/[request]-keycodes namespace object"],"sourcesContent":["\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./dialog-box.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./dialog-box.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import styles from './dialog-box.module.css'\n\nexport default function DialogBox (props) {\n const { dismissText = 'Ok', classes = [], onDismiss, children, ...rest } = props\n\n return (\n <div className={[styles.dialog, ...classes].join(' ')} {...rest}>\n {children}\n {dismissText && (\n <button className={styles.button} onClick={onDismiss}>\n {dismissText}\n </button>\n )}\n </div>\n )\n}\n","import PropTypes from 'prop-types'\n\nconst faCollections = {\n brands: 'fab',\n default: 'fa',\n regular: 'fa-regular',\n light: 'fa-light',\n solid: 'fas',\n round: 'far'\n}\n\nfunction Icon (props) {\n const { name, className, collection, ...iconProps } = props\n const groupClass = faCollections[collection]\n const iconClass = `fa-${name}`\n\n return (\n <span\n className={[className, groupClass, iconClass].join(' ')}\n {...iconProps}\n />\n )\n}\n\nIcon.propTypes = {\n name: PropTypes.string.isRequired,\n className: PropTypes.string,\n collection: PropTypes.string\n}\n\nIcon.defaultProps = {\n collection: 'default',\n className: ''\n}\n\nexport default Icon\n","import Icon from './Icon'\n\nexport default function IconButton ({ collection, icon, text, children, onClick, ...rest }) {\n return (\n <button onClick={onClick} {...rest}>\n <Icon collection={collection} name={icon} /> {text || children}\n </button>\n )\n}\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./link.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./link.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import PropTypes from 'prop-types'\n\nimport Icon from './Icon'\nimport styles from './link.module.css'\n\nfunction Link (props) {\n const { href, children, external, showExternal, ...rest } = props\n const properties = Object.assign({ href }, rest, external && {\n rel: 'noreferrer',\n target: '_blank'\n })\n\n return (\n <a {...properties}>\n {children}\n {external && showExternal && (\n <Icon\n className={styles.icon}\n name=\"arrow-up-right-from-square\"\n />\n )}\n </a>\n )\n}\n\nLink.propTypes = {\n href: PropTypes.string.isRequired,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]).isRequired,\n external: PropTypes.bool.isRequired,\n showExternal: PropTypes.bool\n}\n\nLink.defaultProps = {\n external: false,\n showExternal: true\n}\n\nexport default Link\n","import ReactDOM from 'react-dom'\nimport { useCallback, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\n\nconst styles = {\n wrapper: {\n position: 'absolute',\n top: '0',\n left: '0',\n width: '100vw',\n height: '100vh',\n backgroundColor: 'rgba(104, 123, 162, 0.39)',\n backdropFilter: 'blur(1px)',\n zIndex: '50',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n centerOnly: {\n background: 'transparent',\n backdropFilter: 'none',\n pointerEvents: 'none'\n },\n content: {\n display: 'block',\n pointerEvents: 'all'\n }\n}\n\nexport default function Modal ({ onDismiss, centerOnly = false, children }) {\n const content = useRef()\n const handleClick = useCallback(function (e) {\n if (onDismiss && content.current && e.target.contains(content.current)) {\n e.stopPropagation()\n onDismiss()\n }\n }, [content, onDismiss])\n\n const style = centerOnly\n ? { ...styles.wrapper, ...styles.centerOnly }\n : styles.wrapper\n\n return ReactDOM.createPortal(\n <div onClick={handleClick} style={style}>\n <div ref={content} style={styles.content}>\n {children}\n </div>\n </div>,\n document.getElementById('modal-root')\n )\n}\n\nModal.propTypes = {\n onDismiss: PropTypes.func\n}\n\nexport function useModalState () {\n const [isOpen, setIsOpen] = useState(false)\n\n const open = useCallback(event => {\n event?.stopPropagation && event.stopPropagation()\n setIsOpen(true)\n }, [setIsOpen])\n\n const close = useCallback(event => {\n event?.stopPropagation && event.stopPropagation()\n setIsOpen(false)\n }, [setIsOpen])\n\n return [isOpen, open, close]\n}\n","import { useCallback, useState } from 'react'\n\nexport default function useToggle (initialState) {\n const [toggleState, setToggleState] = useState(initialState)\n const toggle = useCallback(() => setToggleState(state => !state), [setToggleState])\n const forceOn = useCallback(() => setToggleState(true), [setToggleState])\n const forceOff = useCallback(() => setToggleState(false), [setToggleState])\n return [toggleState, toggle, forceOn, forceOff]\n}\n","import cloneDeep from 'lodash/cloneDeep'\nimport filter from 'lodash/filter'\nimport keyBy from 'lodash/keyBy'\nimport { createContext, useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\n\nimport { normalizeZmkKeycodes } from '../keycodes'\n\nexport const DefinitionsContext = createContext({\n keycodes: [],\n behaviours: [],\n behaviors: {},\n behaviorBinds: [],\n glyphs: []\n})\n\n// TODO: I bet this doesn't need to be in the app state at all\nconst selectDefinitions = state => state.definitions\n\nexport function DefinitionsContextProvider ({ children }) {\n const definitions = useSelector(selectDefinitions)\n const dispatch = useDispatch()\n\n useEffect(() => {\n (async function () {\n if (definitions !== null) {\n return\n }\n\n const [[keycodes, glyphs], behaviors] = await Promise.all([\n loadKeycodes(),\n loadBehaviourBindings()\n ])\n\n // TODO: update references to better understand the difference between\n // \"behaviors\" (e.g. hold tap) and the \"behavior bindings\" that implement\n // them (e.g. < and &mt)\n const schemas = cloneDeep(behaviors.behaviors)\n const behaviours = cloneDeep(behaviors.bindings)\n\n keycodes.indexed = keyBy(keycodes, 'code')\n behaviours.indexed = keyBy(behaviours, 'code')\n behaviours.context = {\n none: behaviours.filter(({ context }) => !context),\n macros: filter(behaviours, { context: 'macros' }),\n encoders: filter(behaviours, { context: 'encoders' })\n }\n behaviours.byContext = {\n none: keyBy(behaviours.context.none, 'code'),\n macros: keyBy(behaviours.context.macros, 'code'),\n encoders: keyBy(behaviours.context.encoders, 'code')\n }\n\n dispatch({\n type: 'DEFINITIONS_SET',\n definitions: {\n keycodes,\n behaviours,\n behaviors: schemas,\n behaviorBinds: behaviours,\n glyphs\n }\n })\n })()\n }, [definitions, dispatch])\n\n // TODO: show a spinner MAYBE\n if (!definitions) {\n return\n }\n\n return (\n <DefinitionsContext.Provider value={definitions}>\n {children}\n </DefinitionsContext.Provider>\n )\n}\n\nasync function loadBehaviourBindings () {\n const { behaviorSchemas, behaviorBindings } = await import('zmk-data/behaviors')\n return {\n behaviors: behaviorSchemas,\n bindings: behaviorBindings\n }\n}\n\nasync function loadKeycodes () {\n const { keycodes, keycodeGlyphs } = await import('zmk-data/keycodes')\n return [\n normalizeZmkKeycodes(keycodes),\n keycodeGlyphs\n ]\n}\n","import { createContext, useMemo } from 'react'\nimport { getWrapperDimensions, getWrapperStyle } from '../Keyboard/util'\n\nexport const LayoutContext = createContext({\n layout: [],\n bindingCount: 0,\n wrapperDimensions: {},\n wrapperStyle: {}\n})\n\nexport function LayoutContextProvider ({ layout, children }) {\n const bindingCount = useMemo(() => layout.length, [layout.length])\n const wrapperDimensions = useMemo(() => getWrapperDimensions(layout), [layout])\n const wrapperStyle = useMemo(() => getWrapperStyle(wrapperDimensions), [wrapperDimensions])\n\n const context = {\n layout,\n bindingCount,\n wrapperDimensions,\n wrapperStyle\n }\n\n return (\n <LayoutContext.Provider value={context}>\n {children}\n </LayoutContext.Provider>\n )\n}\n","import Link from '../Common/Link'\n\nexport const githubIssuesUrl = 'https://github.com/nickcoutsos/keymap-editor/issues'\nexport const githubWikiLayoutsUrl = 'https://github.com/nickcoutsos/keymap-editor/wiki/Defining-keyboard-layouts'\nexport const keymapLayoutToolsUrl = 'https://nickcoutsos.github.io/keymap-layout-tools/'\nexport const discordProfileUrl = 'https://discord.com/users/115507966555193345'\n\nexport const GitHubIssuesLink = (\n <Link external href={githubIssuesUrl}>\n Keymap Editor Issues\n </Link>\n)\n\nexport const GitHubWikiLayoutsLink = (\n <Link external href={githubWikiLayoutsUrl}>\n Keymap Editor Wiki: Defining keyboard layouts\n </Link>\n)\n\nexport const layoutToolsLink = (\n <Link external href={keymapLayoutToolsUrl}>\n Keymap Layout Tools - Helper\n </Link>\n)\n\nexport const DiscordProfileLink = (\n <Link external href={discordProfileUrl}>\n Discord - nickcoutsos#4351\n </Link>\n)\n\nexport const GeneralHelpOfferCopy = (\n <>\n <p>\n If you are looking for help in getting up and running or want a better\n understanding of the issue, please feel free to reach out to me:\n </p>\n <ul>\n <li>{GitHubIssuesLink}</li>\n <li>{DiscordProfileLink}</li>\n </ul>\n </>\n)\n\nexport const KeymapLayoutResources = (\n <p>\n For more information about how Keymap Editor layouts are defined, you can\n read {GitHubWikiLayoutsLink}, and if you need an environment to quickly test\n changes to a layout try {layoutToolsLink}.\n </p>\n)\n","import { createSlice } from '@reduxjs/toolkit'\nimport { layerIndexChanged, makeLayerIndexChangeReducer } from '../Layers/layer-index-change-action'\n\nexport const selectBehaviors = state => state.keyboard.keymap.behaviors\n\nconst selectNodeCompatible = node => (\n node.properties.compatible?.parsed ||\n node.properties.compatible?.raw?.replace(/\"/g, '')\n)\n\nconst selectNodePhandleArrays = (node, behaviors, schemas) => {\n const compatible = selectNodeCompatible(node)\n const schema = schemas[compatible]\n\n if (!schema) {\n return []\n }\n\n return Object.keys(schema.properties).reduce((phandleArrays, prop) => {\n const propSchema = schema.properties[prop]\n const propValues = node.properties[prop]\n if (propSchema.type === 'phandle-array' && propValues) {\n phandleArrays.push(propValues.parsed)\n }\n\n return phandleArrays\n }, [])\n}\n\nconst behaviorsSlice = createSlice({\n name: 'behaviors',\n initialState: [],\n reducers: {\n addBehavior (state, action) {\n state.push(action.payload.behavior)\n },\n updateBehavior (state, action) {\n state[action.payload.behaviorIndex] = action.payload.behavior\n },\n deleteBehavior (state, action) {\n state.splice(action.payload.behaviorIndex, 1)\n }\n },\n extraReducers: builder => {\n builder.addCase(\n layerIndexChanged,\n makeLayerIndexChangeReducer(\n selectNodePhandleArrays\n )\n )\n }\n})\n\nexport const {\n addBehavior,\n updateBehavior,\n deleteBehavior\n} = behaviorsSlice.actions\n\nexport default behaviorsSlice.reducer\n","import { createSlice } from '@reduxjs/toolkit'\nimport { layerIndexChanged, makeLayerIndexChangeReducer } from '../Layers/layer-index-change-action'\n\nexport const selectCombos = state => state.keyboard.keymap.combos\n\nconst combosSlice = createSlice({\n name: 'combos',\n initialState: [],\n reducers: {\n updateComboBinding (state, action) {\n state[action.payload.comboIndex].properties.bindings = { parsed: action.payload.bindings }\n },\n updateComboKeypositions (state, action) {\n state[action.payload.comboIndex].properties['key-positions'] = {\n parsed: action.payload.keyPositions\n }\n },\n createCombo (state) {\n state.push({\n name: 'new_combo',\n labels: [],\n properties: {\n bindings: {\n parsed: [{ value: '&trans', params: [] }]\n },\n 'key-positions': {\n parsed: []\n }\n }\n })\n },\n renameCombo (state, action) {\n state[action.payload.index].name = action.payload.name\n },\n deleteCombo (state, action) {\n state.splice(action.payload.index, 1)\n },\n customizeCombo (state, action) {\n const { index, combo } = action.payload\n state[index] = combo\n }\n },\n extraReducers: builder => {\n const comboBindingsReducer = makeLayerIndexChangeReducer()\n\n builder.addCase(\n layerIndexChanged,\n function reducer (state, action) {\n const { positionMapping } = action.payload\n comboBindingsReducer(state, action)\n for (const { properties } of state) {\n if (!properties.layers?.parsed?.length) {\n continue\n }\n\n properties.layers.parsed = properties.layers.parsed.reduce((layers, index) => {\n const newIndex = positionMapping[index]\n if (newIndex !== null) {\n layers.push(newIndex)\n }\n\n return layers\n }, [])\n }\n }\n )\n }\n})\n\nexport const {\n updateComboBinding,\n updateComboKeypositions,\n createCombo,\n renameCombo,\n deleteCombo,\n customizeCombo\n} = combosSlice.actions\n\nexport default combosSlice.reducer\n","import get from 'lodash/get'\nimport { createAction } from '@reduxjs/toolkit'\n\nimport { getBindingSlots } from '../../keymap'\n\nexport function selectLayerParamsFromBinding (binding, behaviorParameters) {\n const behaviorParams = getBindingSlots(binding, behaviorParameters)\n\n return behaviorParams.reduce((layerParams, param, i) => {\n if (param === 'layer') {\n layerParams.push(binding.params[i])\n }\n\n return layerParams\n }, [])\n}\n\nexport const layerIndexChanged = createAction(\n 'layers/indexChanged',\n function prepare (currentIndex, targetIndex, layers, searchContext, definitionsContext) {\n const positionMapping = createLayerIndexMapping(currentIndex, targetIndex, layers)\n const { sources, behaviorParameters } = searchContext\n const { behaviors: behaviorSchemas } = definitionsContext\n\n return {\n payload: {\n currentIndex,\n targetIndex,\n sources,\n behaviorSchemas,\n behaviorParameters,\n positionMapping\n }\n }\n }\n)\n\nconst defaultSelectPhandleArrays = node => [node.properties.bindings.parsed]\n\n/**\n * Create a reducer to update layer index binding cells after a layer shift.\n * @param {Function} selectPhandleArrays - callback to return parsed phandle-array values from any relevant property in a node\n * @returns {Function} reducer\n */\nexport function makeLayerIndexChangeReducer (selectPhandleArrays = defaultSelectPhandleArrays) {\n return function reducer (state, action) {\n const { sources, behaviorSchemas, behaviorParameters, positionMapping } = action.payload\n const { behaviours: behaviors, defines } = sources\n const layerParamsIterator = makeLayerParamsIterator(\n state, behaviors, behaviorSchemas, behaviorParameters, selectPhandleArrays\n )\n\n for (const param of layerParamsIterator) {\n let selectedIndex = get(defines, param.value, param.value)\n if (!Number.isNaN(Number(selectedIndex))) {\n selectedIndex = Number(selectedIndex)\n }\n\n param.value = positionMapping[selectedIndex]?.toString()\n if (param.value === undefined) {\n param.value = '0'\n param._isPlaceholder = true\n }\n }\n }\n}\n\nfunction createLayerIndexMapping (currentIndex, targetIndex, layers) {\n const layerIndices = [...layers.keys()]\n\n // Deleted layer means references to currentIndex are nulled,\n // and referencs > currentIndex are decremented\n if (targetIndex === null) {\n return layerIndices.map(i => {\n if (i === currentIndex) {\n return null\n }\n\n return i > currentIndex ? i - 1 : i\n })\n }\n\n return layerIndices.map(i => {\n const sameIndex = i === currentIndex\n const bothBefore = i > currentIndex && i > targetIndex\n const bothAfter = i < currentIndex && i < targetIndex\n const betweenOldAndNew = currentIndex < i && i < targetIndex\n\n if (sameIndex) {\n // Normally the \"target\" is another layer whose position is being taken,\n // but in the case of targetting the end of the list this isn't a valid\n // array index.\n if (targetIndex === layers.length) {\n return targetIndex - 1\n }\n\n return targetIndex\n } else if (bothBefore || bothAfter) {\n return i\n } else if (betweenOldAndNew) {\n return i - 1\n }\n\n return i + 1\n })\n}\n\n/**\n * Create iterator for all layer-related binding cells in a state slice.\n * This reducer is used with state slices that represent a collection of nodes\n * each of which have one or more properties representing phandle arrays which\n * may have parameters binding to layer indices. This iterator abstracts that\n * so we can just loop through layer parameters.\n * @param {Array<Object>} state\n * @param {*} behaviors\n * @param {*} behaviorSchemas\n * @param {Function} selectPhandleArrays\n */\nfunction * makeLayerParamsIterator (state, behaviors, behaviorSchemas, behaviorParameters, selectPhandleArrays) {\n for (const node of state) {\n for (const bindings of selectPhandleArrays(node, behaviors, behaviorSchemas)) {\n for (const binding of bindings) {\n for (const param of selectLayerParamsFromBinding(binding, behaviorParameters)) {\n yield param\n }\n }\n }\n }\n}\n","import times from 'lodash/times'\nimport { createSlice } from '@reduxjs/toolkit'\nimport { layerIndexChanged, makeLayerIndexChangeReducer } from './layer-index-change-action'\n\nconst DEFAULT_BIND_BEHAVIOUR = '&trans'\nconst createEmptyBinding = (value = DEFAULT_BIND_BEHAVIOUR) => ({\n value, params: []\n})\n\nexport const selectLayers = state => state.keyboard.keymap.layers\n\nconst layersSlice = createSlice({\n name: 'layers',\n initialState: [],\n reducers: {\n createLayer (state, action) {\n state.push({\n name: `layer_${state.length}`,\n labels: [],\n properties: {\n bindings: {\n parsed: times(action.payload.bindingCount, () => createEmptyBinding())\n }\n }\n })\n },\n updateLayerMetadata (state, action) {\n const { layerIndex, name, label } = action.payload\n if (name) {\n state[layerIndex].name = name\n }\n if (label !== undefined) {\n state[layerIndex].properties.label = {\n parsed: label\n }\n }\n },\n renameLayer (state, action) {\n state[action.payload.index].name = action.payload.name\n },\n repositionLayer (state, action) {\n const { currentIndex, targetIndex } = action.payload\n if (currentIndex === targetIndex) {\n return\n }\n\n const layer = state[currentIndex]\n\n // moving a layer up means shifting other layers down\n const replacementIndex = targetIndex > currentIndex\n ? targetIndex - 1\n : targetIndex\n\n state.splice(currentIndex, 1)\n state.splice(replacementIndex, 0, layer)\n },\n deleteLayer (state, action) {\n state.splice(action.payload.index, 1)\n },\n updateKeyBinding (state, action) {\n state[action.payload.layerIndex].properties.bindings.parsed[action.payload.bindIndex] = action.payload.binding\n },\n updateSensorBindings (state, action) {\n const { layerIndex, sensorIndex, bindings: binding } = action.payload\n const { properties } = state[layerIndex]\n properties['sensor-bindings'] = properties['sensor-bindings'] || { parsed: [] }\n const bindings = properties['sensor-bindings'].parsed\n\n bindings[sensorIndex] = binding\n\n // Ensure that every sensor binding up to this one has SOME value defined\n // so that we don't barf when attempting to serialize these bindings.\n // TODO: default to `&trans` once ZMK allows it in sensor bindings.\n for (let i = 0; i < sensorIndex; i++) {\n bindings[i] = (\n bindings[i] || {\n value: '&inc_dec_kp',\n params: [\n { value: 0, _isPlaceholder: true, params: [] },\n { value: 0, _isPlaceholder: true, params: [] }\n ]\n }\n )\n }\n\n const undefinedStart = bindings.indexOf(undefined)\n if (undefinedStart !== -1) {\n bindings.splice(undefinedStart, bindings.length - undefinedStart)\n }\n },\n rebindTransparentToKeyPress (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&trans') {\n binding.value = '&kp'\n binding.params = []\n }\n }\n },\n rebindTransparentToNone (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&trans') {\n binding.value = '&none'\n binding.params = []\n }\n }\n },\n rebindNoneToKeypress (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&none') {\n binding.value = '&kp'\n binding.params = []\n }\n }\n },\n rebindNoneToTransparent (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&none') {\n binding.value = '&trans'\n binding.params = []\n }\n }\n },\n rebindEmptyKeypressToTransparent (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&kp' && !binding.params[0]?.value) {\n binding.value = '&trans'\n binding.params = []\n }\n }\n },\n rebindEmptyKeypressToNone (state, action) {\n for (const binding of state[action.payload.layerIndex].properties.bindings.parsed) {\n if (binding.value === '&kp' && !binding.params[0]?.value) {\n binding.value = '&none'\n binding.params = []\n }\n }\n }\n },\n extraReducers: builder => {\n builder.addCase(\n layerIndexChanged,\n makeLayerIndexChangeReducer(node => [\n node.properties.bindings.parsed,\n node.properties['sensor-bindings']?.parsed || []\n ])\n )\n }\n})\n\nexport const {\n createLayer,\n renameLayer,\n repositionLayer,\n deleteLayer,\n updateLayerMetadata,\n updateKeyBinding,\n updateSensorBindings,\n rebindTransparentToKeyPress,\n rebindTransparentToNone,\n rebindNoneToKeypress,\n rebindNoneToTransparent,\n rebindEmptyKeypressToTransparent,\n rebindEmptyKeypressToNone\n} = layersSlice.actions\n\nexport default layersSlice.reducer\n","import { createSlice } from '@reduxjs/toolkit'\nimport { layerIndexChanged, makeLayerIndexChangeReducer } from '../Layers/layer-index-change-action'\n\nexport const selectMacros = state => state.keyboard.keymap.macros\n\nconst macrosSlice = createSlice({\n name: 'macros',\n initialState: [],\n reducers: {\n addMacro (state, action) {\n state.push(action.payload)\n },\n deleteMacro (state, action) {\n state.splice(action.payload.index, 1)\n },\n updateMacroBindings (state, action) {\n const { index, bindings } = action.payload\n state[index].properties.bindings.parsed = bindings\n },\n customizeMacroOptions (state, action) {\n Object.assign(state[action.payload.macroIndex], action.payload.options)\n }\n },\n extraReducers: builder => {\n builder.addCase(\n layerIndexChanged,\n makeLayerIndexChangeReducer()\n )\n }\n})\n\nexport const {\n addMacro,\n deleteMacro,\n updateMacroBindings,\n customizeMacroOptions\n} = macrosSlice.actions\n\nexport default macrosSlice.reducer\n","import { transformKeyPolygon, getKeyBoundingBox } from '../key-units'\n\nexport function getLayoutPolygons (layout, { scale = 1 }) {\n return layout.map(key => transformKeyPolygon(\n { x: key.x, y: key.y },\n { u: key.u || key.w || 1, h: key.h || 1 },\n { x: key.rx, y: key.ry, a: key.r }\n ))\n}\n\nexport function getWrapperDimensions (layout) {\n return layout.map(key => getKeyBoundingBox(\n { x: key.x, y: key.y },\n { u: key.u || key.w || 1, h: key.h || 1 },\n { x: key.rx, y: key.ry, a: key.r }\n )).reduce(({ x, y }, { max }) => ({\n x: Math.max(x, max.x),\n y: Math.max(y, max.y)\n }), { x: 0, y: 0 })\n}\n\nexport function getWrapperStyle (layoutOrBBox, { scale = 1, overrides = {} } = {}) {\n const bbox = Array.isArray(layoutOrBBox)\n ? getWrapperDimensions(layoutOrBBox)\n : layoutOrBBox\n\n return {\n width: `${bbox.x * scale}px`,\n height: `${bbox.y * scale}px`,\n margin: '0 auto',\n padding: '0 40px 40px',\n ...overrides\n }\n}\n","import ReactSelect, { components } from 'react-select'\nimport { useSelector } from 'react-redux'\n\nexport function Control ({ style = {}, children }) {\n // based on react-select's control height, which should come from a theme instead\n const baseStyle = {\n height: '38px',\n lineHeight: '38px'\n }\n\n return (\n <div style={{ ...baseStyle, ...style }}>\n {children}\n </div>\n )\n}\n\nexport function Button ({ children, style = {}, ...rest }) {\n return (\n <Control style={style}>\n <button style={{ height: '100%' }} {...rest}>\n {children}\n </button>\n </Control>\n )\n}\n\nconst darkModePreference = window.matchMedia('(prefers-color-scheme: dark)')\nconst invertedThemeColors = [0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90].reduce((colors, i) => {\n colors[`neutral${i}`] = `hsl(210, 33%, ${i + 15}%)`\n return colors\n}, {})\n\ninvertedThemeColors.primary25 = 'hsl(214, 100%, 40%)'\n\nexport function Select ({ label, children: extraChildren, ...rest }) {\n const { theme } = useSelector(state => state)\n const isDark = theme === 'dark' || (theme === 'system' && darkModePreference.matches)\n\n const MenuList = ({ children, ...props }) => (\n <components.MenuList {...props}>\n {children}\n {extraChildren}\n </components.MenuList>\n )\n\n return (\n <div style={{\n display: 'inline-block',\n width: 'auto'\n }}>\n <label style={{\n display: 'block',\n width: '100%',\n fontSize: '120%',\n color: 'var(--fg)'\n }}>\n {label}\n </label>\n <ReactSelect\n styles={{\n container: (baseStyles, state) => ({\n ...baseStyles,\n display: 'inline-block'\n }),\n menu: (baseStyles) => ({\n ...baseStyles,\n width: 'max-content',\n zIndex: 10\n })\n }}\n components={{ MenuList }}\n theme={theme => ({\n ...theme,\n colors: {\n ...theme.colors,\n ...(isDark ? invertedThemeColors : {})\n }\n })}\n isSearchable={false}\n {...rest}\n />\n </div>\n )\n}\n","import axios from 'axios'\nimport EventEmitter from 'eventemitter3'\n\nimport * as config from '../../config'\n\nconst websocketUrl = `${config.apiBaseUrl.replace('http', 'ws')}/github/events`\n\nexport class API extends EventEmitter {\n token = null\n initializing = false\n installations = null\n repositories = null\n repoInstallationMap = null\n features = null\n socket = null\n\n async _request (options) {\n if (typeof options === 'string') {\n options = {\n url: options\n }\n }\n\n if (options.url.startsWith('/')) {\n options.url = `${config.apiBaseUrl}${options.url}`\n }\n\n options.headers = Object.assign({}, options.headers)\n if (this.token && !options.headers.Authorization) {\n options.headers.Authorization = `Bearer ${this.token}`\n }\n\n try {\n return await axios(options)\n } catch (err) {\n if (err.response?.status === 401) {\n console.error('Authentication failed.')\n this.emit('authentication-failed', err.response)\n }\n\n throw err\n }\n }\n\n init () {\n if (this.initializing) {\n return this.initializing\n }\n\n this.initializing = (async () => {\n this.initEvents()\n\n const installationUrl = `${config.apiBaseUrl}/github/installation`\n const params = new URLSearchParams(window.location.search)\n\n // I don't really understand the callback parameters but as long as\n // *something* installation related has changed then its worth refreshing\n // the authentication.\n if (params.get('setup_action') && params.get('installation_id')) {\n this.beginLoginFlow()\n }\n\n if (params.get('blocked')) {\n setTimeout(() => this.emit('blocked'))\n return\n }\n\n const param = params.get('token')\n if (!window.localStorage.auth_token && param) {\n window.history.replaceState({}, null, window.location.pathname)\n window.localStorage.auth_token = param\n }\n\n if (window.localStorage.auth_token) {\n this.token = window.localStorage.auth_token\n const { data } = await this._request(installationUrl)\n const suspended = data.installations.filter(installation => installation.suspended_at)\n\n if (data.installations.length === suspended.length) {\n console.warn('No GitHub app installation found for authenticated user.')\n this.emit('app-not-installed')\n }\n\n this.username = data.username\n this.installations = data.installations\n this.repositories = data.repositories\n this.repoInstallationMap = data.repoInstallationMap\n this.emit('authenticated')\n }\n })()\n\n return this.initializing\n }\n\n initEvents () {\n const bufferedMessages = []\n const isOpen = () => {\n return this.socket.readyState === window.WebSocket.OPEN\n }\n\n const send = (message) => {\n if (isOpen()) {\n this.socket.send(message)\n return\n }\n\n bufferedMessages.push(message)\n console.log(\n 'buffering websocket message',\n { readyState: this.socket.readyState },\n message\n )\n }\n\n const flush = () => {\n let message\n while ((message = bufferedMessages.shift())) {\n console.log('sending buffered websocket message', message)\n this.socket.send(message)\n }\n }\n\n this.socket = new window.WebSocket(websocketUrl)\n this.socket.onopen = () => {\n console.log(new Date(), 'connected to console')\n flush()\n setInterval(() => {\n send(JSON.stringify({ message: 'ping' }))\n }, 20000)\n }\n\n this.socket.onclose = () => console.log(new Date(), 'disconnected from server')\n this.socket.onerror = err => console.error(new Date(), err)\n this.socket.onmessage = event => {\n const message = JSON.parse(event.data)\n if (message.event === 'workflow_run') {\n this.emit('build-update', message.workflow_run)\n }\n }\n\n this.on('authenticated', () => {\n if (!this.installations?.length) {\n return\n }\n\n this.fetchAvailableFeatures()\n\n send(JSON.stringify({\n message: 'authorize',\n data: this.token\n }))\n })\n }\n\n beginLoginFlow () {\n window.localStorage.removeItem('auth_token')\n window.location.href = `${config.apiBaseUrl}/github/authorize`\n }\n\n beginInstallAppFlow () {\n window.location.href = `https://github.com/apps/${config.githubAppName}/installations/new`\n }\n\n manageInstallationRepos (installationId) {\n const installation = this.installations.find(installation => installation.id === installationId)\n window.location.href = installation.html_url\n }\n\n isGitHubAuthorized () {\n return !!this.token\n }\n\n isAppSuspendedForRepoSelection () {\n return (\n this.installations?.length > 0 &&\n this.installations?.every(installation => installation.suspended_at) &&\n this.installations?.some(installation => installation.repository_selection === 'all')\n )\n }\n\n isAppInstalled () {\n return this.installations?.length && this.repositories?.length\n }\n\n async fetchRepoBranches (repo) {\n const installation = encodeURIComponent(this.repoInstallationMap[repo.full_name])\n const repository = encodeURIComponent(repo.full_name)\n const { data } = await this._request(\n `/github/installation/${installation}/${repository}/branches`\n )\n\n return data\n }\n\n async fetchBranchKeyboards (repo, branch) {\n const installation = encodeURIComponent(this.repoInstallationMap[repo.full_name])\n const repository = encodeURIComponent(repo.full_name)\n const { data } = await this._request(\n `/github/installation/${installation}/${repository}/keyboards/${branch}`\n )\n\n return data\n }\n\n async fetchLayoutAndKeymap (repo, branch, { keyboard } = {}) {\n const installation = encodeURIComponent(this.repoInstallationMap[repo])\n const repository = encodeURIComponent(repo)\n const url = new URL(`${config.apiBaseUrl}/github/keyboard-files/${installation}/${repository}`)\n const query = new URLSearchParams()\n\n if (branch) {\n query.set('branch', branch)\n }\n if (keyboard) {\n query.set('keyboard', keyboard)\n }\n\n url.search = query.toString()\n\n try {\n const { data } = await this._request(url.toString())\n const { info: { layouts }, keymap } = data\n const defaultLayout = Object.keys(data.info.layouts)[0]\n const preferredLayout = keymap.chosen['zmk,matrix_transform']\n ? keymap.chosen['zmk,matrix_transform'].replace(/^&/, '')\n : null\n\n const layoutMetadata = (\n layouts[preferredLayout] ||\n layouts[defaultLayout]\n )\n const layout = layoutMetadata.layout\n\n return {\n layoutMetadata,\n layout,\n keymap,\n keyboards: data.keyboards,\n default: data.defaultKeymap,\n sensors: data.sensors\n }\n } catch (err) {\n if (err.response?.status === 400) {\n console.error('Failed to load keymap and layout from github', err.response.data)\n this.emit('repo-validation-error', err.response.data)\n } else if (err.response?.status === 500 && err.response.data.name === 'LayoutGenerationError') {\n this.emit('layout-generation-failed', err.response.data)\n }\n\n throw err\n }\n }\n\n async fetchAvailableFeatures () {\n if (!this.isGitHubAuthorized()) {\n return { betaFeatures: [] }\n }\n\n if (!this.features) {\n this.features = this._request(`${config.apiBaseUrl}/github/features`)\n }\n\n const { data } = await this.features\n return data\n }\n\n async fetchBuildStatus (repo, branch) {\n const installation = encodeURIComponent(this.repoInstallationMap[repo])\n const repository = encodeURIComponent(repo)\n const url = new URL(`${config.apiBaseUrl}/github/latest-run/${installation}/${repository}/${encodeURIComponent(branch)}`)\n\n const { data } = await this._request(url.toString())\n return data\n }\n\n commitChanges (repo, branch, layout, keymap, options = {}) {\n const {\n message = null,\n experimentalSettings = {},\n keyboard\n } = options\n const installation = encodeURIComponent(this.repoInstallationMap[repo])\n const repository = encodeURIComponent(repo)\n const url = new URL(`${config.apiBaseUrl}/github/keyboard-files/${installation}/${repository}/${encodeURIComponent(branch)}`)\n const { enableBehaviorEditing = false } = experimentalSettings\n const query = new URLSearchParams({\n enableBehaviorEditing\n })\n\n if (keyboard) {\n query.set('keyboard', keyboard)\n }\n\n url.search = query.toString()\n\n return this._request({\n url: url.toString(),\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n data: { keyboard, keymap, message }\n })\n }\n}\n\nconst api = new API()\nexport default api\n","function parseBoolean (val) {\n return val && ['1', 'on', 'yes', 'true'].includes(val.toString().toLowerCase())\n}\n\nexport const apiBaseUrl = process.env.API_BASE_URL\nexport const appBaseUrl = process.env.APP_BASE_URL\nexport const githubAppName = process.env.GITHUB_APP_NAME\nexport const enableGitHub = parseBoolean(process.env.ENABLE_GITHUB)\nexport const enableLocal = parseBoolean(process.env.ENABLE_LOCAL)\nexport const enableDemo = parseBoolean(process.env.ENABLE_DEMO)\nexport const enableClipboard = parseBoolean(process.env.ENABLE_CLIPBOARD)\nexport const enableFileSystem = parseBoolean(process.env.ENABLE_FILESYSTEM)\n","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./index.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./index.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./App.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./App.css\";\n export default content && content.locals ? content.locals : undefined;\n","import cloneDeep from 'lodash/cloneDeep'\nimport filter from 'lodash/filter'\nimport get from 'lodash/get'\nimport isEmpty from 'lodash/isEmpty'\nimport keyBy from 'lodash/keyBy'\nimport { useContext, useEffect, useMemo, useState } from 'react'\n\nimport {\n behaviorOverlays,\n mergeBehaviorOverlays\n} from 'zmk-data/behaviors'\nimport localeCatalog from 'zmk-data/data/locales/catalog.json'\n\nimport { DefinitionsContext } from '../Contexts/Definitions'\nimport { SearchContext, SettingsContext } from '../providers'\nimport { getMergedGlyphs, normalizeZmkKeycodes } from '../keycodes'\nimport { resolveBehaviorParams } from 'zmk-data/parameters'\n\nfunction useLocaleDefinitions (keymap) {\n const [loadedLocales, setLoadedLocales] = useState([])\n const locales = useMemo(() => {\n return keymap.headers.reduce((acc, header) => {\n if (header in localeCatalog) {\n acc.push(localeCatalog[header])\n }\n return acc\n }, [])\n }, [keymap.headers])\n\n useEffect(() => {\n (async function loadLocales () {\n const loaded = []\n for (const locale of locales) {\n // https://stackoverflow.com/a/62012224\n const data = await import(\n /* webpackInclude: /\\.json$/ */\n /* webpackMode: \"lazy\" */\n /* webpackChunkName: \"locales/[request]-keycodes\" */\n `zmk-data/data/locales/${locale.filename}`\n )\n loaded.push(...normalizeZmkKeycodes(data.keys))\n }\n\n setLoadedLocales(loaded)\n })()\n }, [locales])\n\n return loadedLocales\n}\n\nfunction Context ({ children, ...props }) {\n const { keymap } = props\n const { keycodes, behaviours, glyphs } = useContext(DefinitionsContext)\n const { settings } = useContext(SettingsContext)\n const localeKeycodes = useLocaleDefinitions(keymap)\n\n const mergedGlyphs = useMemo(() => {\n const isMac = window.navigator.platform.startsWith('Mac')\n const isWin = window.navigator.platform.startsWith('Win')\n const platform = (isMac && 'mac') || (isWin && 'win')\n\n return getMergedGlyphs(glyphs, {\n unicode: get(settings, 'unicodeGlyphs', true),\n platform: get(settings, 'platformGlyphs', 'auto') !== 'auto'\n ? settings.platformGlyphs\n : platform\n })\n }, [glyphs, settings])\n\n const extendedBehaviours = useMemo(() => {\n const customBehaviors = keymap.behaviors.map(behavior => {\n behavior = cloneDeep(behavior)\n behavior.code = `&${behavior.labels[0]}`\n behavior.compatible = behavior.properties.compatible.parsed\n return behavior\n })\n mergeBehaviorOverlays(customBehaviors, behaviorOverlays)\n const fullList = [\n ...behaviours.map(behavior => ({\n ...behavior,\n description: behavior.description || behavior.schema?.description\n })),\n ...(customBehaviors || []).map(behavior => ({\n code: `&${behavior.labels[0]}`,\n bind: `&${behavior.labels[0]}`,\n name: behavior.name,\n displayName: behavior.properties.label?.raw || behavior.name,\n description: `Custom behavior: ${behavior.properties.label?.raw || behavior.name}`,\n context: behavior.context\n })),\n ...keymap.macros.map(macro => ({\n code: `&${macro.labels[0]}`,\n name: macro.name,\n description: `Custom macro ${macro.properties.label?.raw || macro.name}`\n }))\n ]\n\n // TODO: at this point we're just duplicating work that was done at a higher\n // level. It still needs to happen here because of the extended list of\n // keyboard-specific behaviours, so the App can just pass the list without\n // doing its own indexing.\n fullList.indexed = keyBy(fullList, 'code')\n fullList.context = {\n none: fullList.filter(({ context }) => !context),\n macros: filter(fullList, { context: 'macros' }),\n encoders: filter(fullList, { context: 'encoders' })\n }\n fullList.byContext = {\n none: keyBy(fullList.context.none, 'code'),\n macros: keyBy(fullList.context.macros, 'code'),\n encoders: keyBy(fullList.context.encoders, 'code')\n }\n\n return fullList\n }, [behaviours, keymap.behaviors, keymap.macros])\n\n const behaviorParameters = useMemo(() => {\n return resolveBehaviorParams([\n ...behaviours,\n ...keymap.behaviors,\n ...keymap.macros\n ])\n }, [behaviours, keymap.behaviors, keymap.macros])\n\n const availableLayers = useMemo(() => isEmpty(keymap)\n ? []\n : (\n keymap.layers.map((layer, i) => ({\n code: i,\n description: layer.name || `Layer ${i}`\n }))\n ), [keymap])\n\n const keycodesList = useMemo(() => {\n return [\n ...keycodes.map(keycode => cloneDeep(keycode)),\n ...localeKeycodes.map(keycode => cloneDeep(keycode))\n ]\n }, [keycodes, localeKeycodes])\n\n const keycodesIndexed = useMemo(() => {\n const indexed = keyBy(keycodesList, 'code')\n for (const name in mergedGlyphs) {\n const glyph = mergedGlyphs[name]\n const keycode = indexed[name]\n for (const alias of keycode.aliases) {\n indexed[alias].symbol = glyph.symbol || indexed[alias].symbol\n indexed[alias].faIcon = glyph.faIcon || indexed[alias].faIcon\n }\n }\n\n // last minute transform, the following keys are all implicitly shifted\n // TODO: don't do this here\n const shiftedKeys = [\n 'EXCL',\n 'AT',\n 'HASH',\n 'DLLR',\n 'PRCNT',\n 'CARET',\n 'AMPS',\n 'STAR',\n 'UNDER',\n 'PLUS',\n 'PIPE',\n 'TILDE2',\n 'COLON',\n 'TILDE',\n 'LT',\n 'QMARK',\n 'CLEAR2',\n 'PIPE2',\n 'LPAR',\n 'RPAR',\n 'LBRC',\n 'RBRC',\n 'DQT',\n 'GT'\n ]\n\n for (const key of shiftedKeys) {\n indexed[key].modifiers = ['LS']\n }\n\n return indexed\n }, [keycodesList, mergedGlyphs])\n\n // Extend ZMK definitions (keycodes and behaviours) with additional\n // definitions specific to this keyboard. This includes a list of layers for\n // layer-related behaviours and in the future can include custom behaviours\n // defined in the keymap and potentially preprocessor definitions for psuedo\n // layer names or aliased key codes.\n const sources = useMemo(() => ({\n code: keycodesIndexed,\n behaviours: extendedBehaviours.indexed,\n behavioursByContext: extendedBehaviours.byContext,\n layer: keyBy(availableLayers, 'code'),\n defines: keymap.defines\n }), [keycodesIndexed, extendedBehaviours, availableLayers, keymap.defines])\n\n const searchTargets = useMemo(() => {\n return {\n behaviour: extendedBehaviours,\n code: keycodesList\n }\n }, [extendedBehaviours, keycodesList])\n\n const getSearchTargets = useMemo(() => function (param, behaviour, context = 'none') {\n // Special case for behaviour commands which can dynamically add another\n // parameter that isn't defined at the root level of the behaviour.\n // Currently this is just `&bt BT_SEL` and is only represented as an enum.\n if (param.enum) {\n return param.enum.map(option => (\n typeof option === 'object'\n ? option\n : { code: option }\n ))\n }\n\n if (param.raw) {\n return []\n }\n\n if (!searchTargets[param]) {\n console.error('cannot find target for', param)\n }\n\n if (param === 'behaviour') {\n return searchTargets.behaviour.context[context]\n }\n\n return searchTargets[param]\n }, [searchTargets])\n\n const identifiers = useMemo(() => {\n return [\n ...Object.keys(keycodesIndexed),\n ...Object.keys(keymap.defines || {})\n ]\n }, [keycodesIndexed, keymap.defines])\n\n return (\n <SearchContext.Provider value={{ behaviorParameters, getSearchTargets, mergedGlyphs, sources, identifiers }}>\n {children}\n </SearchContext.Provider>\n )\n}\n\nexport default Context\n","import PropTypes from 'prop-types'\n\nconst bindShape = {}\n\nexport const value = PropTypes.string.isRequired\nexport const params = PropTypes.arrayOf(PropTypes.shape(bindShape))\n\nbindShape.value = value\nbindShape.params = params\n\nexport const binding = PropTypes.shape(bindShape)\n","import PropTypes from 'prop-types'\nimport { binding } from '../Binding/bindingPropTypes'\n\nexport const combo = PropTypes.shape({\n index: PropTypes.number,\n name: PropTypes.string,\n properties: PropTypes.shape({\n bindings: PropTypes.shape({\n parsed: PropTypes.arrayOf(binding).isRequired\n }).isRequired,\n 'key-positions': PropTypes.shape({\n parsed: PropTypes.arrayOf(PropTypes.number).isRequired\n }).isRequired\n })\n})\n","import PropTypes from 'prop-types'\nimport { binding } from './Binding/bindingPropTypes'\nimport { combo } from './Combos/comboPropTypes'\n\nexport const layer = PropTypes.shape({\n index: PropTypes.number,\n name: PropTypes.string,\n properties: PropTypes.shape({\n bindings: PropTypes.shape({\n parsed: PropTypes.arrayOf(binding).isRequired\n }).isRequired,\n 'sensor-bindings': PropTypes.shape({\n parsed: PropTypes.arrayOf(binding).isRequired\n })\n })\n})\n\nexport const keymap = PropTypes.shape({\n layers: PropTypes.arrayOf(layer).isRequired,\n combos: PropTypes.arrayOf(combo)\n})\n","\nexport function sanityCheckLayout (layout) {\n return {\n layoutMissingPositions: sanityCheckPosiitions(layout)\n // overlappedPositions: sanityCheckOverlappingPositions(layout),\n // unorderedRows: sanityCheckRowOrdering(layout),\n // undereredColumns: sanityCheckColumnOrdering(layout)\n }\n}\n\nfunction sanityCheckPosiitions (layout) {\n const noKeyHasPosition = layout.every(key => (\n key.row === undefined &&\n key.col === undefined\n ))\n\n return noKeyHasPosition\n ? ['Layout in info.json has no row/col definitions. Generated keymap files will not be nicely formatted.']\n : []\n}\n\nfunction sanityCheckOverlappingPositions (layout) {\n const errors = []\n const keysByPosition = layout.reduce((acc, key, i) => {\n const { row, col } = key\n const position = `(${row},${col})`\n\n if (row !== undefined && col !== undefined) {\n acc[position] = [...(acc[position] || []), i]\n }\n\n return acc\n }, {})\n\n for (const group of Object.values(keysByPosition)) {\n if (group.length <= 1) {\n continue\n }\n\n const { row, col } = layout[group[0]]\n for (const index of group) {\n errors.push({\n location: `Layout JSON [${index}]`,\n position: { row, col }\n })\n }\n }\n\n return errors\n}\n\nfunction sanityCheckRowOrdering (layout) {\n let currentRow = -Infinity\n const errors = []\n\n for (const index of layout.keys()) {\n const { row } = layout[index]\n if (row === undefined) {\n continue\n }\n\n if (row < currentRow) {\n errors.push({ location: `Layout JSON [${index}]` })\n } else {\n currentRow = row\n }\n }\n\n return errors\n}\n\nfunction sanityCheckColumnOrdering (layout) {\n let currentRow = 0\n let currentCol = -Infinity\n const errors = []\n\n for (const index of layout.keys()) {\n const { row, col } = layout[index]\n if (row === undefined || col === undefined) {\n continue\n }\n\n if (currentRow !== row) {\n currentRow = row\n currentCol = -Infinity\n }\n\n if (col < currentCol) {\n errors.push({ location: `Layout JSON [${index}]` })\n } else {\n currentCol = col\n }\n }\n\n return errors\n}\n","import groupBy from 'lodash/groupBy'\n\nimport { sanityCheckLayout } from './sanity-checks-layout'\nimport reservedIdentifiers from 'zmk-data/data/extracted-data/zmk-reserved-identifiers.json'\n\nconst selectName = item => item.name\nconst selectBind = item => item.labels[0]\nconst selectLabel = item => item.properties.label?.parsed\n\nexport function sanityCheck (keymap, layout) {\n return {\n nodeNames: sanityCheckNodeNames(keymap),\n nodeLabels: sanityCheckNodeLabels(keymap),\n nodeReferences: sanityCheckNodeReferences(keymap),\n deprecations: sanityCheckDeprecations(keymap),\n ...sanityCheckLayout(layout)\n }\n}\n\nfunction getDuplicatesBy (collection, key) {\n const itemsByKey = groupBy(collection, key)\n return Object.values(itemsByKey)\n .filter(group => group.length > 1)\n}\n\nfunction doesNameSuggestPassword (name) {\n const patterns = [\n /(^|[\\b_])pass(word)?([\\b_]|$)/\n ]\n return patterns.some(pattern => name.match(pattern))\n}\n\nfunction sanityCheckNodeNames (keymap) {\n const layerNames = getLayerNodeNames(keymap.layers)\n const comboNames = getComboNodeNames(keymap.combos)\n const macroNames = getMacroNodeNames(keymap.macros)\n const behaviorNames = getBehaviorNodeNames(keymap.behaviors)\n\n const duplicates = [\n ...getDuplicatesBy(layerNames, 'name'),\n ...getDuplicatesBy(comboNames, 'name'),\n ...getDuplicatesBy(macroNames, 'name'),\n ...getDuplicatesBy(behaviorNames, 'name')\n ]\n\n const redefined = [\n ...layerNames.filter(layer => reservedIdentifiers.includes(layer.name)),\n ...comboNames.filter(combo => reservedIdentifiers.includes(combo.name)),\n ...macroNames.filter(macro => reservedIdentifiers.includes(macro.name)),\n ...behaviorNames.filter(behavior => reservedIdentifiers.includes(behavior.name))\n ]\n\n const passwordMacros = [\n ...macroNames.filter(macro => doesNameSuggestPassword(macro.name))\n ]\n\n return { duplicates, redefined, passwordMacros }\n}\n\nfunction sanityCheckNodeLabels (keymap) {\n const duplicates = getDuplicatesBy([].concat(\n getLayerLabels(keymap.layers),\n getMacroLabels(keymap.macros),\n getBehaviorLabels(keymap.behaviors)\n ), 'label')\n\n return { duplicates }\n}\n\nfunction sanityCheckNodeReferences (keymap) {\n const nodesByRef = groupBy([].concat(\n getMacroReferences(keymap.macros),\n getBehaviorReferences(keymap.behaviors)\n ), 'ref')\n\n const duplicates = Object.values(nodesByRef).reduce((duplicates, nodes) => {\n if (nodes.length > 1) {\n duplicates.push(nodes)\n }\n\n return duplicates\n }, [])\n\n return { duplicates }\n}\n\nfunction sanityCheckDeprecations (keymap) {\n const resetBindings = [\n ...keymap.layers.reduce((deprecations, layer, i) => {\n layer.properties.bindings?.parsed?.forEach((binding, j) => {\n if (binding.value === '&reset') {\n deprecations.push({\n location: `Keymap - Layer #${i} (${layer.name}) - Key position ${j}`,\n path: `keymap.layers[${i}].bindings[${j}]`,\n name: '&reset'\n })\n }\n })\n\n return deprecations\n }, []),\n ...keymap.macros.reduce((deprecations, macro, i) => {\n macro.properties.bindings.parsed.forEach((binding, j) => {\n if (binding.value === '&reset') {\n deprecations.push({\n location: `Macros - Macro #${i} (${macro.name}) - Binding position ${j}`,\n path: `keymap.macros[${i}].properties.bindings[${j}].parsed`,\n name: '&reset'\n })\n }\n })\n\n return deprecations\n }, []),\n ...keymap.combos.reduce((deprecations, combos, i) => {\n combos.properties.bindings.parsed.forEach((binding, j) => {\n if (binding.value === '&reset') {\n deprecations.push({\n location: `Combos - Combo #${i} (${combos.name})`,\n path: `keymap.combos[${i}].bindings[${j}]`,\n name: '&reset'\n })\n }\n })\n\n return deprecations\n }, []),\n ...keymap.behaviors.reduce((deprecations, behavior, i) => {\n // TODO: should I try to handle this more generically?\n // Not all behaviors will have bindings, not all behaviors will be actual\n // ZMK behaviors that the editor can recognize, which means there may not\n // be a parsed `bindings` property to inspect.\n // Additionally, by only looking for `bindings` we're ignoring the layer\n // node's `sensor-bindings` property.\n behavior.properties.bindings?.parsed?.forEach((binding, j) => {\n if (binding.value === '&reset' || binding === '&reset') {\n deprecations.push({\n location: `Behaviors - Behavior #${i} (${behavior.name}) - Bind position ${j}`,\n path: `keymap.behaviors[${i}].parsed.bindings[${j}].parsed`,\n name: '&reset'\n })\n }\n })\n\n return deprecations\n }, [])\n ]\n\n return { resetBindings }\n}\n\nfunction getLayerNodeNames (layers) {\n return layers.map((layer, i) => ({\n location: `Keymap - Layer #${i} (${layer.name})`,\n path: `keymap.layers[${i}]`,\n name: selectName(layer)\n }))\n}\n\nfunction getLayerLabels (layers) {\n return layers.reduce((labels, layer, i) => {\n const label = selectLabel(layer)\n if (label) {\n labels.push({\n location: `Keymap - Layer #${i} (${layer.name})`,\n path: `keymap.layers[${i}].label`,\n label\n })\n }\n\n return labels\n }, [])\n}\n\nfunction getComboNodeNames (combos) {\n return combos.map((combo, i) => ({\n location: `Combos - Combo #${i} (${combo.name})`,\n path: `combos[${i}].name`,\n name: combo.name\n }))\n}\n\nfunction getMacroNodeNames (macros) {\n return macros.map((macro, i) => ({\n location: `Macros - Macro #${i} (${selectName(macro)})`,\n path: `macros[${i}].name`,\n name: selectName(macro)\n }))\n}\n\nfunction getMacroLabels (macros) {\n return macros.reduce((labels, macro, i) => {\n if (macro.label) {\n labels.push({\n location: `Macros - Macro #${i} (${selectLabel(macro)}) - Label`,\n path: `macros[${i}].label`,\n label: selectLabel(macro)\n })\n }\n\n return labels\n }, [])\n}\n\nfunction getMacroReferences (macros) {\n return macros.map((macro, i) => ({\n location: `Macros > Macro #${i} (${selectBind(macro)})`,\n path: `macros[${i}].name`,\n ref: selectBind(macro)\n }))\n}\n\nfunction getBehaviorNodeNames (behaviors) {\n return behaviors.map((behavior, i) => ({\n location: `Behaviors - Behavior #${i} (${selectBind(behavior)}) - Name`,\n path: `behaviors[${i}].name`,\n name: selectName(behavior)\n }))\n}\n\nfunction getBehaviorLabels (behaviors) {\n return behaviors.reduce((labels, behavior, i) => {\n const label = selectLabel(behavior)\n const ref = selectBind(behavior)\n if (label) {\n labels.push({\n location: `Behaviors - Behavior #${i} (${ref}) - Label`,\n path: `behaviors[${i}].label`,\n label\n })\n }\n\n return labels\n }, [])\n}\n\nfunction getBehaviorReferences (behaviors) {\n return behaviors.map((behavior, i) => ({\n location: `Behaviors - Behavior #${i} (${selectBind(behavior)}) - Bind`,\n path: `behaviors[${i}].bind`,\n ref: selectBind(behavior)\n }))\n}\n","import compact from 'lodash/compact'\nimport { Fragment, lazy, Suspense, useContext, useMemo, useState } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport Context from './Context'\nimport * as keymapProptypes from './keymapPropTypes'\nimport styles from './styles.module.css'\nimport { sanityCheck } from './Warnings/sanity-checks'\nimport { LayoutContext } from '../Contexts/Layout'\n\nconst Behaviors = lazy(() => import('./Behaviors/Behaviors'))\nconst ComboEditor = lazy(() => import('./Combos/ComboEditor'))\nconst LayerEditor = lazy(() => import('./Layers/LayerEditor'))\nconst MacroEditor = lazy(() => import('./Macros/MacroEditor'))\nconst Warnings = lazy(() => import('./Warnings/Warnings'))\n\n// import github from '../Sources/Github/api'\n\n// function useFeatures () {\n// const [features, setFeatures] = useState({ betaFeatures: [] })\n// useEffect(() => {\n// (async function () {\n// setFeatures(await github.fetchAvailableFeatures())\n// })()\n// }, [setFeatures])\n\n// return features\n// }\n\n// import LayoutEditor from './Layout/LayoutEditor'\n\nfunction Tabs ({ text, tabs, defaultTab, children }) {\n const [activeTab, setActiveTab] = useState(defaultTab)\n\n return (\n <>\n <h3 style={{ display: 'inline' }}>{text}</h3>\n <ul className={styles.editorModeTabs}>\n {tabs.map(({ name: tab, tabClasses = [] }, i) => (\n <li\n key={i}\n onClick={() => setActiveTab(i)}\n className={compact([\n activeTab === i && styles.activeEditTab,\n ...tabClasses\n ]).join(' ')}\n >\n {tab}\n </li>\n ))}\n </ul>\n <Suspense>\n {children[activeTab]}\n </Suspense>\n </>\n )\n}\n\nconst selectKeymap = state => state.keyboard.keymap\n\nfunction Keyboard (props) {\n const keymap = useSelector(selectKeymap)\n const { layout } = useContext(LayoutContext)\n const sanityChecks = useMemo(() => sanityCheck(keymap, layout), [keymap, layout])\n const warningCount = useMemo(() => {\n const { nodeNames, nodeLabels, nodeReferences, deprecations, layoutMissingPositions } = sanityChecks\n return (\n nodeNames.duplicates.length +\n nodeNames.redefined.length +\n nodeNames.passwordMacros.length +\n nodeLabels.duplicates.length +\n nodeReferences.duplicates.length +\n deprecations.resetBindings.length +\n layoutMissingPositions.length\n )\n }, [sanityChecks])\n\n const tabs = compact([\n { name: 'layers', component: <LayerEditor /> },\n { name: 'combos', component: <ComboEditor /> },\n { name: 'macros', component: <MacroEditor /> },\n { name: <span className={styles.beta}>behaviors</span>, component: <Behaviors /> },\n warningCount > 0 && ({\n name: `warnings (${warningCount})`,\n tabClasses: [styles.warningTab],\n component: <Warnings sanityChecks={sanityChecks} />\n })\n ])\n\n const defaultTab = 0\n\n return (\n <Context keymap={keymap}>\n <Tabs text=\"Editor mode:\" tabs={tabs} defaultTab={defaultTab}>\n {tabs.map((tab, i) => (\n <Fragment key={i}>\n {tab.component}\n </Fragment>\n ))}\n </Tabs>\n </Context>\n )\n}\n\nKeyboard.propTypes = {\n keymap: keymapProptypes.keymap\n}\n\nexport default Keyboard\n","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import Icon from './Common/Icon'\n\nimport style from './styles.module.css'\n\nconst repositoryUrl = 'https://github.com/nickcoutsos/keymap-editor'\n\nexport default function GitHubLink () {\n return (\n <div className={style.wrapper}>\n <label>Need help? Open an issue:</label>\n <a className={style.githubLink} target=\"_blank\" rel=\"noreferrer\" href={repositoryUrl}>\n <Icon collection=\"brands\" name=\"github\" />/nickcoutsos/keymap-editor\n </a>\n </div>\n )\n}\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Icon from '../Common/Icon'\nimport Modal from '../Common/Modal'\n\nconst styles = {\n description: {\n fontStyle: 'italic',\n fontSize: '90%'\n }\n}\n\nfunction Settings (props) {\n const { settings, onUpdate, onClose } = props\n\n function handleUpdateSetting (key, value) {\n onUpdate({ ...settings, [key]: value })\n }\n\n return (\n <Modal onDismiss={onClose}>\n <DialogBox onDismiss={onClose}>\n <h1>Settings</h1>\n\n <h2>Keycode glyphs</h2>\n\n <h3>\n <label htmlFor=\"enable-unicode-glyphs\">\n <input\n id=\"enable-unicode-glyphs\"\n type=\"checkbox\"\n checked={settings.unicodeGlyphs}\n onChange={e => (\n handleUpdateSetting('unicodeGlyphs', e.target.checked)\n )}\n />\n Use Unicode Glyphs\n </label>\n </h3>\n <p style={styles.description}>\n Use unicode glyphs for visual representations of keycodes\n like <code>Enter</code> (⮐), <code>Right Arrow</code> (⏵), etc. You\n can disable this if the symbols don't render correctly.\n </p>\n\n <h3>\n <label htmlFor=\"platform-specific-glyphs\">\n Platform specific glyphs\n <select\n id=\"platform-specific-glyphs\"\n value={settings.platformGlyphs || 'auto'}\n onChange={e => (\n handleUpdateSetting('platformGlyphs', e.target.value)\n )}\n >\n <option value=\"auto\">Automatic</option>\n <option value=\"win\">Windows</option>\n <option value=\"mac\">macOS</option>\n </select>\n </label>\n </h3>\n <p style={styles.description}>\n Render symbols specific to your platform. E.g., render left/right meta\n key as <Icon name=\"windows fa-brands\" /> for Windows, or\n ⌘ for macOS.\n </p>\n </DialogBox>\n </Modal>\n )\n}\n\nSettings.propTypes = {\n settings: PropTypes.object.isRequired,\n onUpdate: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired\n}\n\nSettings.defaultProps = {\n settings: {}\n}\n\nexport default Settings\n","import DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { KeymapLayoutResources } from './support'\n\nfunction SuggestAutoLayoutTweak (props) {\n return (\n <Modal>\n <DialogBox {...props}>\n <h2>This layout was Auto-Generated</h2>\n <p>\n Hi there! There wasn't a layout definition to accompany your keymap\n file, so the keymap editor tried to generate one automatically in a\n last-ditch effort to help you get into the app.\n </p>\n <p>\n This layout definition was (or will be) saved when you first save\n keymap changes with the keymap editor, so remember that if there are\n any tweaks you'd like to make to improve it you can do so by editing\n the <code>info.json</code> file.\n </p>\n {KeymapLayoutResources}\n </DialogBox>\n </Modal>\n )\n}\n\nSuggestAutoLayoutTweak.propTypes = {}\n\nexport default SuggestAutoLayoutTweak\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { GeneralHelpOfferCopy } from './support'\n\nfunction KeymapBindingsUsePreprocessorMacros (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse keymap</h2>\n <p>\n It looks like some bindings in your keymap are using custom pre-processor\n macros which isn't supported by the Keymap Editor. These macros make\n it difficult both to resolve bindings to behaviors and parameters, as\n well as to generate modified keymap code that is consistent with your\n original intentions.\n </p>\n <p>\n Please either continue editing your keymap by hand with these helpers\n or if you would like to use this editor, rewrite the keymap to use\n ZMK's syntax directly.\n </p>\n {GeneralHelpOfferCopy}\n </DialogBox>\n </Modal>\n )\n}\n\nKeymapBindingsUsePreprocessorMacros.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default KeymapBindingsUsePreprocessorMacros\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { GeneralHelpOfferCopy } from './support'\nimport Link from '../Common/Link'\n\nconst autoshiftWikiUrl = 'https://github.com/nickcoutsos/keymap-editor/wiki/Autoshift-using-ZMK-behaviors'\nconst link = (\n <Link external href={autoshiftWikiUrl}>\n Autoshift using ZMK behaviors\n </Link>\n)\n\nfunction KeymapBindingsUseAutoshiftMacro (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse keymap</h2>\n <p>\n It looks like you're using a custom pre-processor macro to implement\n <em>autoshift</em> in your keymap. Parsing these functions is not\n supported by the Keymap Editor, but if you're interested you can\n re-implement it using standard ZMK functionality.\n </p>\n <p>\n Please see {link} for a guide.\n </p>\n {GeneralHelpOfferCopy}\n </DialogBox>\n </Modal>\n )\n}\n\nKeymapBindingsUseAutoshiftMacro.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default KeymapBindingsUseAutoshiftMacro\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { GeneralHelpOfferCopy } from './support'\n\nfunction KeymapParsingFailed (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse keymap</h2>\n <p>\n Something went wrong while trying to parse your keymap. It's hard to\n say what exactly, because I wasn't expecting this.\n </p>\n <p>\n A common occurrence here is keymaps using a variety of pre-processor\n macros to define layers/combos/etc.\n </p>\n {GeneralHelpOfferCopy}\n </DialogBox>\n </Modal>\n )\n}\n\nKeymapParsingFailed.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default KeymapParsingFailed\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\n\nfunction KeymapUsingMiryoku (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse Miryoku keymap</h2>\n <p>\n It looks like your keyboard is built using Miryoku to manage the\n configuration and keymap. Parsing and editing keymaps that use this\n syntax is unsupported by the Keymap Editor.\n </p>\n <p>\n Please either continue editing your keymap by hand with these helpers\n or if you would like to use this editor, rewrite the keymap to use\n ZMK's syntax directly.\n </p>\n </DialogBox>\n </Modal>\n )\n}\n\nKeymapUsingMiryoku.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default KeymapUsingMiryoku\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { GitHubIssuesLink } from './support'\n\nfunction MissingRootNode (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse keymap</h2>\n <p>\n Missing devicetree root node.\n </p>\n <p>\n The keymap editor was unable to find a devicetree root node in your\n keymap. This means that either something is wrong with the parser or\n something is wrong with your keymap's syntax.\n </p>\n <p>\n If you've been using the keymap editor succesfully up to now it's\n possible that it has introduced an error in the keymap file. Please\n reach out for support at {GitHubIssuesLink}.\n </p>\n </DialogBox>\n </Modal>\n )\n}\n\nMissingRootNode.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default MissingRootNode\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\n\nfunction ZmkNodefreeConfig (props) {\n const { onDismiss } = props\n\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Could not parse keymap</h2>\n <p>\n Detected use of <code>zmk-nodefree-config</code>\n </p>\n <p>\n It looks like your keymap is built using helper functions from the\n zmk-nodefree-config library to replace devicetree syntax. Parsing and\n editing keymaps that use this syntax is unsupported by the Keymap\n Editor.\n </p>\n <p>\n Please either continue editing your keymap by hand with these helpers\n or if you would like to use this editor, rewrite the keymap to use\n ZMK's syntax directly.\n </p>\n </DialogBox>\n </Modal>\n )\n}\n\nZmkNodefreeConfig.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default ZmkNodefreeConfig\n","import compact from 'lodash/compact'\nimport * as config from '../config'\n\nexport const sourceChoices = compact([\n config.enableDemo && {\n id: 'demo',\n name: 'Demo Keyboard',\n description: 'Play around with a sample keymap'\n },\n config.enableLocal && {\n id: 'local',\n name: 'Local',\n description: 'Hello, me',\n collapsible: false\n },\n config.enableGitHub && {\n id: 'github',\n name: 'GitHub',\n description: 'Integrate with a GitHub repo, leveraging GitHub actions to compile firmware',\n collapsible: true\n },\n config.enableClipboard && {\n id: 'clipboard',\n name: 'Clipboard',\n description: 'Read and write keymap data directly from your clipboard',\n isBeta: true\n },\n config.enableFileSystem && window.showOpenFilePicker && {\n id: 'filesystem',\n name: 'File System',\n description: 'Read and write keymap files on your local filesystem',\n isBeta: true\n }\n])\n\nconst selectedSource = localStorage.getItem('selectedSource')\nconst onlySource = sourceChoices.length === 1 ? sourceChoices[0].id : null\n\nexport const defaultSource = onlySource || (\n sourceChoices.find(source => source.id === selectedSource)\n ? selectedSource\n : sourceChoices[0].id\n)\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import classNames from 'classnames'\nimport find from 'lodash/find'\nimport PropTypes from 'prop-types'\nimport { lazy, Suspense, useCallback, useEffect, useRef, useState } from 'react'\n\nimport Icon from '../Common/Icon'\nimport useClickOutsideHandler from '../Common/hooks/use-click-outside-handler'\nimport useToggle from '../Common/hooks/use-toggle'\nimport SuggestAutoLayoutTweak from '../Dialogs/SuggestAutoLayoutTweak'\nimport { Button, Select } from './Controls'\nimport { getErrorDialog } from './errors'\nimport { sourceChoices, defaultSource } from './sources'\nimport styles from './styles.module.css'\nimport { useSelector } from 'react-redux'\n\nconst LocalPicker = lazy(() => import('./Local/Picker'))\nconst DemoPicker = lazy(() => import('./Demo/Picker'))\nconst GithubPicker = lazy(() => import('./Github/Picker'))\nconst ClipboardPicker = lazy(() => import('./Clipboard/Picker'))\nconst FileSystemPicker = lazy(() => import('./FileSystem/FileSystemPicker'))\n\nconst keyboardSelector = state => state.keyboard\n\nfunction KeyboardPicker (props) {\n const { onSelect } = props\n const wrapperRef = useRef()\n const keyboard = useSelector(keyboardSelector)\n const [source, setSource] = useState(defaultSource)\n const [{ autoGenerated }, setLayoutInfo] = useState({ autoGenerated: false })\n const [showDialog, setShowDialog] = useState(null)\n const closeDialog = useCallback(() => setShowDialog(null), [setShowDialog])\n const [isExpanded, , setExpanded, setCompact] = useToggle(true)\n const showLayoutHelp = useCallback(() => {\n setShowDialog({\n component: SuggestAutoLayoutTweak,\n onClose: closeDialog\n })\n }, [setShowDialog, closeDialog])\n\n const selectedSource = find(sourceChoices, { id: source })\n\n useClickOutsideHandler(wrapperRef, setCompact, (\n selectedSource?.collapsible === true &&\n keyboard &&\n isExpanded\n ))\n\n const handleSelectSource = useCallback(choice => {\n onSelect({ source: choice.id, keyboard: null })\n setSource(choice.id)\n }, [setSource, onSelect])\n\n const handleKeyboardSelected = useCallback(function (event) {\n const { warningFlags = [] } = event.keymap\n const { autoGenerated = false } = event.layoutMetadata || {}\n const error = getErrorDialog(warningFlags)\n\n if (error) {\n setShowDialog({ component: error, onClose: closeDialog })\n onSelect({ source, keyboard: null })\n return\n }\n\n setLayoutInfo({ autoGenerated })\n onSelect({ source, ...event })\n }, [onSelect, source, setShowDialog, closeDialog])\n\n const handleError = useCallback(function ({ dialog, dialogProps }) {\n setShowDialog({ component: dialog, dialogProps, onClose: closeDialog })\n onSelect({ source, keyboard: null })\n }, [setShowDialog, closeDialog, onSelect, source])\n\n useEffect(() => {\n localStorage.setItem('selectedSource', source)\n }, [source])\n\n return (\n <div\n ref={wrapperRef}\n className={classNames(styles.wrapper, { [styles.compact]: !isExpanded })}\n >\n {isExpanded && (\n <Select\n label=\"Source\"\n value={selectedSource}\n options={sourceChoices}\n onChange={handleSelectSource}\n getOptionLabel={option => option.name}\n getOptionValue={option => option.id}\n formatOptionLabel={(option, { context }) => (\n context === 'value'\n ? option.name\n : (\n <>\n <div>{option.name}{option.isBeta && <Beta />}</div>\n <div className={styles.sourceDescription}><sub>{option.description}</sub></div>\n </>\n )\n )}\n />\n )}\n\n {showDialog?.component && <showDialog.component {...showDialog.dialogProps || {}} onDismiss={showDialog.onClose} />}\n\n <Suspense>\n {source === 'local' && <LocalPicker onError={handleError} onSelect={handleKeyboardSelected} />}\n {source === 'demo' && <DemoPicker onSelect={handleKeyboardSelected} />}\n {source === 'github' && (\n <GithubPicker\n expanded={isExpanded}\n onSelect={handleKeyboardSelected}\n onError={handleError}\n onExpand={setExpanded}\n />\n )}\n {source === 'clipboard' && <ClipboardPicker onSelect={handleKeyboardSelected} onError={handleError} />}\n {source === 'filesystem' && <FileSystemPicker onSelect={handleKeyboardSelected} onError={handleError} />}\n </Suspense>\n\n {autoGenerated && (\n <Button onClick={showLayoutHelp}>\n <Icon name=\"warning\" /> Layout wrong?\n </Button>\n )}\n </div>\n )\n}\n\nfunction Beta () {\n const style = {\n color: 'white',\n backgroundColor: 'var(--error-highlight)',\n fontSize: '12px',\n fontWeight: 'bold',\n padding: '1px 3px',\n margin: '2px',\n borderRadius: '6px',\n verticalAlign: 'top'\n }\n return (\n <span style={style}>beta</span>\n )\n}\n\nKeyboardPicker.propTypes = {\n onSelect: PropTypes.func.isRequired\n}\n\nexport default KeyboardPicker\n","import { useEffect } from 'react'\n\nexport default function useClickOutsideHandler (ref, callback, enabled = true) {\n useEffect(() => {\n if (enabled) {\n const handleClick = event => {\n const isInDocument = document.body.contains(event.target)\n const isInWrapper = ref.current.contains(event.target)\n if (isInDocument && !isInWrapper) {\n callback()\n }\n }\n\n document.body.addEventListener('click', handleClick)\n return () => document.body.removeEventListener('click', handleClick)\n }\n }, [ref, enabled, callback])\n}\n","import KeymapBindingsUsePreprocessorMacros from '../Dialogs/KeymapBindingsUsePreprocessorMacros'\nimport KeymapBindingsUseAutoshiftMacro from '../Dialogs/KeymapBindingsUseAutoshiftMacro'\nimport KeymapParsingFailed from '../Dialogs/KeymapParsingFailed'\nimport KeymapUsingMiryoku from '../Dialogs/KeymapUsingMiryoku'\nimport MissingRootNode from '../Dialogs/MissingRootNode'\nimport ZmkNodefreeConfig from '../Dialogs/ZmkNodefreeConfig'\n\nexport function getErrorDialog (warningFlags) {\n switch (warningFlags[0]) {\n case 'USING_ZMK_NODEFREE_MACROS':\n return ZmkNodefreeConfig\n case 'USING_MIRYOKU_DTSI':\n return KeymapUsingMiryoku\n case 'USING_NON_ZMK_MACRO':\n return KeymapBindingsUsePreprocessorMacros\n case 'USING_AUTOSHIFT_MACRO':\n return KeymapBindingsUseAutoshiftMacro\n case 'KEYMAP_PARSING_FAILED':\n return KeymapParsingFailed\n case 'MISSING_ROOT_NODE':\n return MissingRootNode\n default:\n return null\n }\n}\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./unexpected-error.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./unexpected-error.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import PropTypes from 'prop-types'\n\nimport { apiBaseUrl } from '../config'\nimport Link from '../Common/Link'\nimport Modal from '../Common/Modal'\nimport DialogBox from '../Common/DialogBox'\nimport IconButton from '../Common/IconButton'\n\nimport styles from './unexpected-error.module.css'\nimport { useEffect, useState } from 'react'\n\nfunction formatStackFrame (frame) {\n return ` ${frame.fileName}:${frame.lineNumber}:${frame.columnNumber}`\n}\n\nfunction formatErrorText (error, stack = []) {\n return `\n${error.name}\n\n${error.message}\n\n${stack.map(formatStackFrame).join('\\n')}\n`.trim()\n}\n\nconst newGithubIssue = (\n <Link external href=\"https://github.com/nickcoutsos/keymap-editor/issues/new\">\n new issue\n </Link>\n)\n\nasync function reportError (error, stacktrace) {\n const url = `${apiBaseUrl}/v2/events/client-errors`\n const body = JSON.stringify({\n error: error.toString(),\n stacktrace\n })\n\n const response = await fetch(url, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body\n })\n\n if (!response.ok) {\n console.error('Failed to submit error report', response)\n }\n}\n\nfunction UnexpectedError ({ error }) {\n const [stack, setStack] = useState([])\n const [formattedError, setFormattedError] = useState('')\n const [copied, setCopied] = useState(false)\n\n useEffect(() => {\n async function parseStack () {\n const StackTrace = await import('stacktrace-js')\n const stacktrace = await StackTrace.fromError(error)\n setStack(stacktrace)\n reportError(error, stacktrace)\n }\n\n parseStack()\n }, [setStack, error])\n\n useEffect(() => {\n setFormattedError(formatErrorText(error, stack))\n }, [error, stack])\n\n useEffect(() => {\n if (copied) {\n setTimeout(() => {\n setCopied(false)\n }, 3000)\n }\n }, [copied, setCopied])\n\n function copyErrorText () {\n const backTicks = '```'\n const text = `${backTicks}\\n${formattedError}\\n${backTicks}`\n navigator.clipboard.writeText(text)\n .then(() => setCopied(true))\n }\n\n return (\n <Modal>\n <DialogBox dismissText={false} style={{ maxWidth: '700px' }}>\n <h2>Unexpected error</h2>\n <p>\n Something unexpected happened and the keymap editor app cannot\n recover. Please consider taking a moment to open a {newGithubIssue}\n with the details below to help me investigate and improve the app.\n </p>\n <div className={styles.stackTrace}>\n <pre>{formattedError}</pre>\n <IconButton\n icon=\"copy\"\n title=\"Copy error text\"\n className={styles.button}\n onClick={copyErrorText}\n />\n {copied && (\n <div className={styles.copyMessage}>Copied!</div>\n )}\n </div>\n </DialogBox>\n </Modal>\n )\n}\n\nUnexpectedError.propTypes = {\n error: PropTypes.instanceOf(Error).isRequired\n}\n\nexport default UnexpectedError\n","import React from 'react'\nimport UnexpectedError from './Dialogs/UnexpectedError'\n\nexport default class ErrorBoundary extends React.Component {\n constructor (props) {\n super(props)\n this.state = {\n error: null\n }\n }\n\n static getDerivedStateFromError (error) {\n return { error }\n }\n\n render () {\n const { children } = this.props\n const { error } = this.state\n\n if (error) {\n return <UnexpectedError error={error} />\n }\n\n return children\n }\n}\n","import PropTypes from 'prop-types'\n\nimport DialogBox from '../Common/DialogBox'\nimport Modal from '../Common/Modal'\nimport { GitHubIssuesLink } from './support'\n\nfunction KeymapSaveFailed (props) {\n const { onDismiss } = props\n return (\n <Modal>\n <DialogBox onDismiss={onDismiss}>\n <h2>Failed to save keymap changes</h2>\n <p>\n Sorry, an unexpected error occurred while trying to save your keymap.\n </p>\n <p>\n Please try again or raise an issue if the problem persists and I'll\n try to work it out with you. Seriously I can only get this right if I\n know what's wrong, and in some cases that comes down to people using\n this editor in more advanced ways than I myself have.\n </p>\n <p>\n {GitHubIssuesLink}\n </p>\n </DialogBox>\n </Modal>\n )\n}\n\nKeymapSaveFailed.propTypes = {\n onDismiss: PropTypes.func.isRequired\n}\n\nexport default KeymapSaveFailed\n","import axios from 'axios'\nimport { useCallback, useEffect, useState } from 'react'\n\nconst url = 'https://www.githubstatus.com/api/v2/components.json'\n\nconst updateInterval = 1000 * 60 * 5\n\nconst relevantComponents = [\n 'brv1bkgrwx7q', // API Requests\n '4230lsnqdsld', // Webhooks\n 'br0l2tvcx85d' // Actions\n]\n\nexport function useApiStatusChecker (enabled) {\n const [{ lastFetch, issues }, setState] = useState({\n lastFetch: 0,\n issues: []\n })\n\n const update = useCallback(async () => {\n try {\n const { data: { components } } = await axios({ url })\n const lastFetch = Date.now()\n const issues = components.filter(component => (\n relevantComponents.includes(component.id) &&\n component.status !== 'operational'\n ))\n\n setState({ lastFetch, issues })\n } catch (err) {\n console.error('Could not fetch GitHub API status', err)\n }\n }, [setState])\n\n useEffect(() => {\n if (enabled) {\n if (lastFetch < (Date.now() - updateInterval)) {\n update()\n }\n const timeout = setTimeout(update, updateInterval)\n return () => clearTimeout(timeout)\n }\n }, [update, enabled, lastFetch])\n\n return issues\n}\n","import Icon from '../../Common/Icon'\nimport Link from '../../Common/Link'\nimport { useApiStatusChecker } from './api-status'\n\nexport default function GithubApiStatus ({ enabled }) {\n const githubApiIssues = useApiStatusChecker(enabled)\n\n if (!enabled || githubApiIssues.length === 0) {\n return null\n }\n\n return (\n <div style={{\n position: 'absolute',\n bottom: '10px',\n left: '50%',\n transform: 'translateX(-50%)'\n }}>\n <Icon name=\"warning\" style={{ color: 'gold', backgroundColor: '#555', padding: '6px', margin: '5px', borderRadius: '100%' }} />\n <Link external href=\"https://www.githubstatus.com/\">\n Note: Experiencing GitHub API issues, keymap loading/saving may fail\n </Link>\n </div>\n )\n}\n","import '@fortawesome/fontawesome-free/css/all.min.css'\n\nimport { useCallback, useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\n\nimport './App.css'\nimport { SettingsContext } from './providers'\n\nimport IconButton from './Common/IconButton'\nimport Keyboard from './Keyboard/Keyboard'\nimport GitHubLink from './GitHubLink'\nimport Settings from './Dialogs/Settings'\nimport SourcePicker from './Sources/SourcePicker'\nimport github from './Sources/Github/api'\n\nimport ErrorBoundary from './ErrorBoundary'\nimport KeymapSaveFailed from './Dialogs/KeymapSaveFailed'\nimport { DefinitionsContextProvider } from './Contexts/Definitions'\nimport { LayoutContextProvider } from './Contexts/Layout'\nimport GithubApiStatus from './Sources/Github/GitHubApiStatus'\n\nfunction App () {\n const state = useSelector(state => state)\n const dispatch = useDispatch()\n const {\n sourceOther,\n keyboard,\n saveError,\n theme,\n settingsVisible,\n experimentalSettings\n } = state\n\n useEffect(() => {\n if (!sourceOther?.github) {\n dispatch({ type: 'GITHUB_BUILD_UPDATE', build: null })\n return\n }\n\n function handler (run) {\n if (run.head_branch === sourceOther.github.branch) {\n dispatch({ type: 'GITHUB_BUILD_UPDATE', build: run })\n }\n }\n\n ;(async function () {\n const { repository, branch } = sourceOther.github\n handler(await github.fetchBuildStatus(repository, branch))\n })()\n\n github.on('build-update', handler)\n return () => github.off('build-update', handler)\n }, [sourceOther, dispatch])\n\n const handleKeyboardSelected = useCallback(function (event) {\n const { source, layout, keymap, sensors = [], ...other } = event\n\n if (!keymap) {\n dispatch({ type: 'CLEAR_KEYBOARD_SELECTION' })\n return\n }\n\n dispatch({\n type: 'SELECT_KEYBOARD',\n source,\n sourceOther: other,\n layout,\n keymap,\n sensors\n })\n }, [dispatch])\n\n const handleUpdateSettings = useCallback(function (settings) {\n dispatch({ type: 'SETTINGS_UPDATE', settings })\n }, [dispatch])\n\n const openSettingsDialog = useCallback(\n () => dispatch({ type: 'SETTINGS_OPEN' }),\n [dispatch]\n )\n\n return (\n <>\n <ErrorBoundary>\n <SettingsContext.Provider value={{\n settings: experimentalSettings,\n openSettingsDialog\n }}>\n <SourcePicker onSelect={handleKeyboardSelected} />\n\n <div id=\"settings-bar\">\n <IconButton\n id=\"light-mode\"\n title=\"Toggle theme\"\n icon={{\n light: 'sun',\n dark: 'moon',\n system: 'circle-half-stroke'\n }[theme] || 'circle-half-stroke'}\n onClick={() => dispatch({ type: 'CYCLE_THEME' })}\n />\n\n <IconButton\n id=\"settings-button\"\n icon=\"cog\"\n onClick={openSettingsDialog}\n />\n {settingsVisible && (\n <Settings\n settings={experimentalSettings}\n onUpdate={handleUpdateSettings}\n onClose={() => dispatch({ type: 'SETTINGS_CLOSE' })}\n />\n )}\n </div>\n\n <DefinitionsContextProvider>\n {keyboard && (\n <LayoutContextProvider layout={keyboard.layout}>\n <Keyboard\n keymap={keyboard.keymap}\n sensors={keyboard.sensors}\n />\n </LayoutContextProvider>\n )}\n {saveError && (\n <KeymapSaveFailed onDismiss={() => dispatch({ type: 'CLEAR_SAVE_ERROR' })} />\n )}\n </DefinitionsContextProvider>\n </SettingsContext.Provider>\n </ErrorBoundary>\n <GitHubLink />\n\n <GithubApiStatus enabled={!!sourceOther?.github} />\n </>\n )\n}\n\nexport default App\n","import cloneDeep from 'lodash/cloneDeep'\nimport get from 'lodash/get'\nimport pick from 'lodash/pick'\n\nimport { stripLegacyProperties } from './keymap'\n\nfunction init () {\n const settings = JSON.parse(\n localStorage.getItem('experimental-settings') || '{}'\n )\n\n return {\n definitions: null,\n source: null,\n sourceOther: null,\n keyboard: null,\n _unmodifiedKeymap: null,\n saving: null,\n saveError: null,\n settingsVisible: null,\n commitDialogOpen: false,\n theme: JSON.parse(localStorage.getItem('theme' || '\"system\"')),\n experimentalSettings: {\n unicodeGlyphs: get(settings, 'unicodeGlyphs', true),\n platformGlyphs: get(settings, 'platformGlyphs', 'auto'),\n enableBehaviorEditing: get(settings, 'enableBehaviorEditing', false)\n },\n latestBuild: null\n }\n}\n\nexport const INITIAL_STATE = init()\n\nexport default function reducer (state, action) {\n const { type } = action\n\n switch (type) {\n case 'INITIALIZE':\n return init()\n\n case 'DEFINITIONS_SET':\n return { ...state, definitions: action.definitions }\n\n case 'CLEAR_KEYBOARD_SELECTION':\n return { ...state, keyboard: null }\n\n case 'SELECT_KEYBOARD':\n return selectKeyboard(state, action)\n\n case 'COMMIT_DIALOG_OPEN':\n return { ...state, commitDialogOpen: true }\n\n case 'COMMIT_DIALOG_CLOSE':\n return { ...state, commitDialogOpen: false }\n\n case 'GITHUB_BUILD_UPDATE':\n return { ...state, latestBuild: action.build }\n\n case 'KEYMAP_SAVE_START':\n return { ...state, saving: true, saveError: false }\n\n case 'KEYMAP_SAVE_SUCCESS':\n return keymapSaveSuccess(state, action)\n\n case 'KEYMAP_SAVE_FAILURE':\n return {\n ...state,\n saving: false,\n saveError: true\n }\n\n case 'CLEAR_SAVE_ERROR':\n return { ...state, saveError: null }\n\n case 'SETTINGS_OPEN':\n return { ...state, settingsVisible: true }\n\n case 'SETTINGS_CLOSE':\n return { ...state, settingsVisible: false }\n\n case 'SETTINGS_UPDATE':\n localStorage.setItem('experimental-settings', JSON.stringify(action.settings))\n return { ...state, experimentalSettings: action.settings }\n\n case 'CYCLE_THEME':\n return cycleTheme(state, action)\n\n default:\n return state\n }\n}\n\n// Here we can adapt the payload to account for API changes\nfunction selectKeyboard (state, action) {\n const { keyboard } = state\n const newKeyboardState = pick(action, ['layout', 'keymap', 'sensors'])\n\n stripLegacyProperties(newKeyboardState.keymap)\n\n return {\n ...state,\n source: action.source,\n sourceOther: action.sourceOther,\n keyboard: { ...keyboard, ...newKeyboardState },\n _unmodifiedKeymap: cloneDeep(newKeyboardState.keymap)\n }\n}\n\nfunction keymapSaveSuccess (state, action) {\n const newKeymapState = { ...action.keymap }\n\n stripLegacyProperties(newKeymapState)\n\n return {\n ...state,\n saving: false,\n unsaved: false,\n keyboard: {\n ...state.keyboard,\n keymap: newKeymapState\n },\n _unmodifiedKeymap: newKeymapState\n }\n}\n\nfunction cycleTheme (state, action) {\n const themes = ['light', 'dark', 'system']\n const index = themes.indexOf(state.theme)\n const theme = themes.at((index + 1) % themes.length)\n localStorage.setItem('theme', `\"${theme}\"`)\n document.body.dataset.theme = theme\n return { ...state, theme }\n}\n","import { combineReducers, configureStore } from '@reduxjs/toolkit'\n\nimport appReducer, { INITIAL_STATE } from './appReducer'\nimport layersReducer from './Keyboard/Layers/layersSlice'\nimport combosReducer from './Keyboard/Combos/combosSlice'\nimport macrosReducer from './Keyboard/Macros/macrosSlice'\nimport behaviorsReducer from './Keyboard/Behaviors/behaviorsSlice'\n\nconst keyboardReducer = combineReducers({\n layout: (state = []) => state,\n sensors: (state = []) => state,\n keymap: combineReducers({\n warningFlags: (state = []) => state,\n defines: (state = []) => state,\n headers: (state = []) => state,\n chosen: (state = {}) => state,\n behaviors: behaviorsReducer,\n layers: layersReducer,\n combos: combosReducer,\n macros: macrosReducer\n })\n})\n\nfunction rootReducer (state, action) {\n const newState = appReducer(state, action)\n return {\n ...newState,\n keyboard: newState.keyboard && {\n ...newState.keyboard,\n ...keyboardReducer(newState.keyboard, action)\n }\n }\n}\n\nconst store = configureStore({\n reducer: rootReducer,\n preloadedState: INITIAL_STATE\n})\n\nexport default store\n","import React from 'react'\nimport ReactDOM from 'react-dom/client'\nimport { Provider } from 'react-redux'\n\nimport './index.css'\nimport App from './App'\n\nimport { INITIAL_STATE } from './appReducer'\nimport store from './store'\n\ndocument.body.dataset.theme = INITIAL_STATE.theme\n\nconst root = ReactDOM.createRoot(document.getElementById('app-root'))\n\nroot.render(\n <React.StrictMode>\n <Provider store={store}>\n <App />\n </Provider>\n </React.StrictMode>\n)\n","import map from 'lodash/map'\n\nconst DEFAULT_SIZE = 65\nconst DEFAULT_PADDING = 5\n\nexport function getComputedParams (position, size, rotation = {}) {\n return {\n x: position.x * (DEFAULT_SIZE + DEFAULT_PADDING),\n y: position.y * (DEFAULT_SIZE + DEFAULT_PADDING),\n u: size.u * DEFAULT_SIZE + DEFAULT_PADDING * (size.u - 1),\n h: size.h * DEFAULT_SIZE + DEFAULT_PADDING * (size.h - 1),\n rx: (position.x - (rotation.x || position.x)) * -(DEFAULT_SIZE + DEFAULT_PADDING),\n ry: (position.y - (rotation.y || position.y)) * -(DEFAULT_SIZE + DEFAULT_PADDING),\n a: rotation.a || 0\n }\n}\n\nexport function getKeyStyles (position, size, rotation) {\n const { x, y, u, h, a, rx, ry } = getComputedParams(position, size, rotation)\n\n return {\n top: `${y}px`,\n left: `${x}px`,\n width: `${u}px`,\n height: `${h}px`,\n transformOrigin: `${rx}px ${ry}px`,\n transform: `rotate(${a || 0}deg)`\n }\n}\n\nexport function transformKeyPolygon (position, size, rotation) {\n const { x, y, u, h, a, rx, ry } = getComputedParams(position, size, rotation)\n\n const points = [\n { x: 0, y: 0 },\n { x: u, y: 0 },\n { x: u, y: h },\n { x: 0, y: h }\n ]\n\n function translate (point) {\n return {\n x: point.x + x,\n y: point.y + y\n }\n }\n\n function rotate (point) {\n const x = point.x - rx\n const y = point.y - ry\n const angle = Math.PI * a / 180\n\n return {\n x: rx + x * Math.cos(angle) - y * Math.sin(angle),\n y: ry + y * Math.cos(angle) + x * Math.sin(angle)\n }\n }\n\n return points.map(rotate).map(translate)\n}\n\nexport function getKeyBoundingBox (position, size, rotation) {\n const transformed = transformKeyPolygon(position, size, rotation)\n const xValues = map(transformed, 'x')\n const yValues = map(transformed, 'y')\n const min = {\n x: Math.min(...xValues),\n y: Math.min(...yValues)\n }\n const max = {\n x: Math.max(...xValues),\n y: Math.max(...yValues)\n }\n\n return { min, max }\n}\n","import compact from 'lodash/compact'\n\nfunction shortestAlias (aliases) {\n return [...aliases]\n .sort((a, b) => a.length - b.length)[0]\n}\n\nconst fnPattern = /^(.+?)\\((code)\\)$/\n\nexport function normalizeZmkKeycodes (keycodes) {\n return keycodes.reduce((keycodes, keycode) => {\n const { description, context, symbol, faIcon, modifiers = [] } = keycode\n const aliases = keycode.names.filter(name => !name.match(fnPattern))\n const name = shortestAlias(aliases)\n const fnCode = keycode.names.map(name => name.match(fnPattern)).filter(v => !!v)[0]\n const base = {\n name,\n aliases,\n description,\n context,\n faIcon,\n symbol: symbol || name,\n modifiers,\n params: []\n }\n\n for (const code of aliases) {\n keycodes.push(Object.assign({}, base, {\n code,\n isModifier: !!fnCode\n }))\n }\n\n if (fnCode) {\n keycodes.push(Object.assign({}, base, {\n code: fnCode[1],\n params: fnCode[2].split(',')\n }))\n }\n\n return keycodes\n }, [])\n}\n\nexport function getMergedGlyphs (glyphs, options) {\n return compact([\n glyphs.basic,\n options.unicode && glyphs.unicode,\n options.platform === 'mac' && glyphs.platforms.mac,\n options.platform === 'win' && glyphs.platforms.win\n ]).reduce((glyphs, collection) => {\n for (const overlay of collection) {\n const aliases = overlay.names.filter(name => !name.match(fnPattern))\n const name = shortestAlias(aliases)\n\n if (!glyphs[name]) {\n glyphs[name] = {}\n }\n\n glyphs[name].symbol = glyphs[name].symbol || overlay.symbol\n glyphs[name].faIcon = glyphs[name].faIcon || overlay.faIcon\n }\n return glyphs\n }, {})\n}\n","import find from 'lodash/find'\nimport get from 'lodash/get'\nimport pick from 'lodash/pick'\n\nexport function stripLegacyProperties (keymap) {\n keymap.layers = keymap.layers.map(layer => (\n pick(layer, ['index', 'name', 'labels', 'properties'])\n ))\n\n keymap.combos = keymap.combos.map(combo => (\n pick(combo, ['index', 'name', 'labels', 'properties'])\n ))\n\n keymap.behaviors = keymap.behaviors.map(behavior => (\n pick(behavior, ['index', 'name', 'labels', 'properties', 'params'])\n ))\n\n keymap.macros = keymap.macros.map(macro => (\n pick(macro, ['index', 'name', 'labels', 'properties'])\n ))\n}\n\nexport function getBindingSlots (binding, behaviorParameters) {\n const { value, params } = binding\n const base = behaviorParameters[value] || []\n const additional = getAdditionalParams(params, base)\n return [...base, ...additional]\n}\n\nfunction getAdditionalParams (parsedParams, slots) {\n const firstParsedParam = get(parsedParams, '[0]', {})\n const firstSlot = get(slots, '[0]')\n\n if (firstSlot?.enum) {\n const match = { code: firstParsedParam.value }\n const source = find(firstSlot.enum, match)\n if (source?.additionalParams) {\n return source.additionalParams\n }\n }\n\n return []\n}\n","import { createContext } from 'react'\n\nexport const SearchContext = createContext({\n getSearchTargets: null\n})\n\nexport const SettingsContext = createContext({\n settings: null,\n openSettingsDialog: null\n})\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":root {\\n --bg: white;\\n --bg-rgb: 255,255,255;\\n --fg: black;\\n\\t--dark-red: #910e0e;\\n\\t--dark-blue: #6d99c6;\\n --error-highlight: rgb(179, 60, 60);\\n --selection: rgb(60, 179, 113);\\n --hover-selection: rgba(60, 179, 113, 0.85);\\n --delete: rgb(179, 60, 72);\\n --delete-faint: rgba(179, 60, 72, 0.6);\\n --link: royalblue;\\n --link-hover: #6d99c6;\\n --key-bg-base: #f2f2f2;\\n --key-bg-hover: white;\\n --key-bg-highlight: sandybrown;\\n --key-color-base: hsl(0, 0%, 30%);\\n --key-color-extreme: #313131;\\n --key-color-hover: white;\\n --code-bg: rgba(0, 0, 0, 0.15);\\n}\\nhtml {\\n font-family: sans-serif;\\n}\\nhtml, body {\\n\\twidth: 100vw;\\n\\theight: 100vh;\\n\\toverflow: auto;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n background-color: var(--bg);\\n color: var(--fg);\\n\\n transition: 300ms ease-in-out;\\n transition-property: color, background-color, border-color;\\n}\\n\\nh1, h2, h3, h4, h5, h6 {\\n font-family: Quicksand, avenir, sans-serif;\\n}\\n\\nbody[data-theme=\\\"dark\\\"] {\\n color-scheme: dark;\\n --fg: white;\\n --bg: hsl(211, 31.9%, 13%);\\n --bg-rgb: 17,34,51;\\n --dialog-bg: hsl(210, 30%, 17%);\\n --key-bg-base: hsl(208.2, 23%, 25%);\\n --key-color-base: hsl(0, 0%, 90%);\\n --key-color-extreme: #e7e7e7;\\n}\\n@media (prefers-color-scheme: dark) {\\n body[data-theme=\\\"system\\\"] {\\n color-scheme: dark;\\n --fg: white;\\n --bg: hsl(211, 31.9%, 13%);\\n --bg-rgb: 17,34,51;\\n --dialog-bg: hsl(210, 30%, 17%);\\n --key-bg-base: hsl(208.2, 23%, 25%);\\n --key-color-base: hsl(0, 0%, 90%);\\n --key-color-extreme: #e7e7e7;\\n }\\n}\\n\\nh3 {\\n margin-bottom: 10px;\\n}\\n\\na { color: var(--link) }\\na:hover { color: var(--link-hover) }\\n\\ncode {\\n background-color: var(--code-bg);\\n border-radius: 2px;\\n padding: .15em .3em .05em;\\n}\\n\\np {\\n line-height: 1.3rem;\\n}\\n\\n#actions {\\n\\tposition: absolute;\\n display: flex;\\n\\tbottom: 5px;\\n\\tright: 5px;\\n gap: 4px;\\n}\\n\\n#actions button {\\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\\n#actions button[disabled] {\\n filter: saturate(20%);\\n opacity: .5;\\n cursor: not-allowed;\\n}\\n\\n#settings-bar {\\n position: absolute;\\n z-index: 5;\\n top: 10px;\\n right: 10px;\\n}\\n\\n#settings-bar button {\\n background: none;\\n color: var(--fg);\\n border: none;\\n}\\n#settings-bar button:hover {\\n cursor: pointer;\\n color: royalblue;\\n}\\n\\n.fa-delete-right::before {\\n content: '\\\\f55a';\\n transform-origin: center;\\n transform: rotateZ(180deg);\\n display: inline-block;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/App.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,WAAW;EACX,qBAAqB;EACrB,WAAW;CACZ,mBAAmB;CACnB,oBAAoB;EACnB,mCAAmC;EACnC,8BAA8B;EAC9B,2CAA2C;EAC3C,0BAA0B;EAC1B,sCAAsC;EACtC,iBAAiB;EACjB,qBAAqB;EACrB,sBAAsB;EACtB,qBAA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--fg: black;\\n\\t--dark-red: #910e0e;\\n\\t--dark-blue: #6d99c6;\\n --error-highlight: rgb(179, 60, 60);\\n --selection: rgb(60, 179, 113);\\n --hover-selection: rgba(60, 179, 113, 0.85);\\n --delete: rgb(179, 60, 72);\\n --delete-faint: rgba(179, 60, 72, 0.6);\\n --link: royalblue;\\n --link-hover: #6d99c6;\\n --key-bg-base: #f2f2f2;\\n --key-bg-hover: white;\\n --key-bg-highlight: sandybrown;\\n --key-color-base: hsl(0, 0%, 30%);\\n --key-color-extreme: #313131;\\n --key-color-hover: white;\\n --code-bg: rgba(0, 0, 0, 0.15);\\n}\\nhtml {\\n font-family: sans-serif;\\n}\\nhtml, body {\\n\\twidth: 100vw;\\n\\theight: 100vh;\\n\\toverflow: auto;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n background-color: var(--bg);\\n color: var(--fg);\\n\\n transition: 300ms ease-in-out;\\n transition-property: color, background-color, border-color;\\n}\\n\\nh1, h2, h3, h4, h5, h6 {\\n font-family: Quicksand, avenir, sans-serif;\\n}\\n\\nbody[data-theme=\\\"dark\\\"] {\\n color-scheme: dark;\\n --fg: white;\\n --bg: hsl(211, 31.9%, 13%);\\n --bg-rgb: 17,34,51;\\n --dialog-bg: hsl(210, 30%, 17%);\\n --key-bg-base: hsl(208.2, 23%, 25%);\\n --key-color-base: hsl(0, 0%, 90%);\\n --key-color-extreme: #e7e7e7;\\n}\\n@media (prefers-color-scheme: dark) {\\n body[data-theme=\\\"system\\\"] {\\n color-scheme: dark;\\n --fg: white;\\n --bg: hsl(211, 31.9%, 13%);\\n --bg-rgb: 17,34,51;\\n --dialog-bg: hsl(210, 30%, 17%);\\n --key-bg-base: hsl(208.2, 23%, 25%);\\n --key-color-base: hsl(0, 0%, 90%);\\n --key-color-extreme: #e7e7e7;\\n }\\n}\\n\\nh3 {\\n margin-bottom: 10px;\\n}\\n\\na { color: var(--link) }\\na:hover { color: var(--link-hover) }\\n\\ncode {\\n background-color: var(--code-bg);\\n border-radius: 2px;\\n padding: .15em .3em .05em;\\n}\\n\\np {\\n line-height: 1.3rem;\\n}\\n\\n#actions {\\n\\tposition: absolute;\\n display: flex;\\n\\tbottom: 5px;\\n\\tright: 5px;\\n gap: 4px;\\n}\\n\\n#actions button {\\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\\n#actions button[disabled] {\\n filter: saturate(20%);\\n opacity: .5;\\n cursor: not-allowed;\\n}\\n\\n#settings-bar {\\n position: absolute;\\n z-index: 5;\\n top: 10px;\\n right: 10px;\\n}\\n\\n#settings-bar button {\\n background: none;\\n color: var(--fg);\\n border: none;\\n}\\n#settings-bar button:hover {\\n cursor: pointer;\\n color: royalblue;\\n}\\n\\n.fa-delete-right::before {\\n content: '\\\\f55a';\\n transform-origin: center;\\n transform: rotateZ(180deg);\\n display: inline-block;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"dialog\": \"ZpdcqlK42OntJos3eGw0\",\n\t\"button\": \"Mywg1Gw3bKMc9Kd9qcEO\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"icon\": \"J2R67AQeCK_aC1DKFCMJ\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"stackTrace\": \"Q5veln3l3laVkuNPs5dQ\",\n\t\"button\": \"dqzgBwJ1Rq0XgMqeAKe7\",\n\t\"copyMessage\": \"YV2lKA9hbJpP4Vs4udw8\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"editorModeTabs\": \"D0BH39_6wwiclW8aKuoi\",\n\t\"activeEditTab\": \"xwo6V7AWCmy8CDvuTwRg\",\n\t\"placer\": \"nVbskEoaGxWf96qEgtxz\",\n\t\"beta\": \"Ae2s0eqIVhebTEcJGc3F\",\n\t\"warningTab\": \"sQQ0qFjHptJbQ8qvuXGa\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".hY07j_e1kQx0WX5BwG6I {\\n display: flex;\\n flex-direction: row;\\n align-items: end;\\n gap: 5px;\\n margin: 5px;\\n height: 58px;\\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}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/Sources/styles.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,QAAQ;EACR,WAAW;EACX,YAAY;AACd;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,YAAY;AACd\",\"sourcesContent\":[\".wrapper {\\n display: flex;\\n flex-direction: row;\\n align-items: end;\\n gap: 5px;\\n margin: 5px;\\n height: 58px;\\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}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"hY07j_e1kQx0WX5BwG6I\",\n\t\"compact\": \"_0h266lacmB1N_qDdQcy\",\n\t\"sourceDescription\": \"xwu_0RR7bcAhL2xRBstH\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.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\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"wrapper\": \"_vWNIXMkemQax9rkCJQh\",\n\t\"githubLink\": \"qiC2NrujE4ebqmHjzq0_\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","var map = {\n\t\"./catalog\": [\n\t\t51785\n\t],\n\t\"./catalog.json\": [\n\t\t51785\n\t],\n\t\"./keys_ar\": [\n\t\t73810,\n\t\t6392\n\t],\n\t\"./keys_ar.json\": [\n\t\t73810,\n\t\t6392\n\t],\n\t\"./keys_ar_102\": [\n\t\t78381,\n\t\t8017\n\t],\n\t\"./keys_ar_102.json\": [\n\t\t78381,\n\t\t8017\n\t],\n\t\"./keys_ar_azerty\": [\n\t\t56724,\n\t\t2650\n\t],\n\t\"./keys_ar_azerty.json\": [\n\t\t56724,\n\t\t2650\n\t],\n\t\"./keys_as\": [\n\t\t68045,\n\t\t9082\n\t],\n\t\"./keys_as.json\": [\n\t\t68045,\n\t\t9082\n\t],\n\t\"./keys_az\": [\n\t\t21708,\n\t\t8070\n\t],\n\t\"./keys_az.json\": [\n\t\t21708,\n\t\t8070\n\t],\n\t\"./keys_az_cyrillic\": [\n\t\t7200,\n\t\t8242\n\t],\n\t\"./keys_az_cyrillic.json\": [\n\t\t7200,\n\t\t8242\n\t],\n\t\"./keys_az_standard\": [\n\t\t2498,\n\t\t3647\n\t],\n\t\"./keys_az_standard.json\": [\n\t\t2498,\n\t\t3647\n\t],\n\t\"./keys_ba\": [\n\t\t24745,\n\t\t5332\n\t],\n\t\"./keys_ba.json\": [\n\t\t24745,\n\t\t5332\n\t],\n\t\"./keys_be\": [\n\t\t80468,\n\t\t308\n\t],\n\t\"./keys_be.json\": [\n\t\t80468,\n\t\t308\n\t],\n\t\"./keys_bg\": [\n\t\t87317,\n\t\t2408\n\t],\n\t\"./keys_bg.json\": [\n\t\t87317,\n\t\t2408\n\t],\n\t\"./keys_bg_latin\": [\n\t\t80885,\n\t\t421\n\t],\n\t\"./keys_bg_latin.json\": [\n\t\t80885,\n\t\t421\n\t],\n\t\"./keys_bg_phonetic\": [\n\t\t10220,\n\t\t4595\n\t],\n\t\"./keys_bg_phonetic.json\": [\n\t\t10220,\n\t\t4595\n\t],\n\t\"./keys_bm\": [\n\t\t71350,\n\t\t8956\n\t],\n\t\"./keys_bm.json\": [\n\t\t71350,\n\t\t8956\n\t],\n\t\"./keys_bn\": [\n\t\t99691,\n\t\t1480\n\t],\n\t\"./keys_bn.json\": [\n\t\t99691,\n\t\t1480\n\t],\n\t\"./keys_bn_inscript\": [\n\t\t31658,\n\t\t9142\n\t],\n\t\"./keys_bn_inscript.json\": [\n\t\t31658,\n\t\t9142\n\t],\n\t\"./keys_bo\": [\n\t\t29692,\n\t\t3282\n\t],\n\t\"./keys_bo.json\": [\n\t\t29692,\n\t\t3282\n\t],\n\t\"./keys_bs\": [\n\t\t5396,\n\t\t1315\n\t],\n\t\"./keys_bs.json\": [\n\t\t5396,\n\t\t1315\n\t],\n\t\"./keys_bug\": [\n\t\t15317,\n\t\t4443\n\t],\n\t\"./keys_bug.json\": [\n\t\t15317,\n\t\t4443\n\t],\n\t\"./keys_chr\": [\n\t\t8250,\n\t\t6943\n\t],\n\t\"./keys_chr.json\": [\n\t\t8250,\n\t\t6943\n\t],\n\t\"./keys_chr_phonetic\": [\n\t\t6221,\n\t\t4688\n\t],\n\t\"./keys_chr_phonetic.json\": [\n\t\t6221,\n\t\t4688\n\t],\n\t\"./keys_ckb\": [\n\t\t29448,\n\t\t1936\n\t],\n\t\"./keys_ckb.json\": [\n\t\t29448,\n\t\t1936\n\t],\n\t\"./keys_cs\": [\n\t\t98019,\n\t\t8207\n\t],\n\t\"./keys_cs.json\": [\n\t\t98019,\n\t\t8207\n\t],\n\t\"./keys_cs_programmers\": [\n\t\t7578,\n\t\t3735\n\t],\n\t\"./keys_cs_programmers.json\": [\n\t\t7578,\n\t\t3735\n\t],\n\t\"./keys_cs_qwerty\": [\n\t\t58733,\n\t\t2659\n\t],\n\t\"./keys_cs_qwerty.json\": [\n\t\t58733,\n\t\t2659\n\t],\n\t\"./keys_da\": [\n\t\t81460,\n\t\t6691\n\t],\n\t\"./keys_da.json\": [\n\t\t81460,\n\t\t6691\n\t],\n\t\"./keys_de\": [\n\t\t68013,\n\t\t3359\n\t],\n\t\"./keys_de.json\": [\n\t\t68013,\n\t\t3359\n\t],\n\t\"./keys_de_belgian\": [\n\t\t69798,\n\t\t9619\n\t],\n\t\"./keys_de_belgian.json\": [\n\t\t69798,\n\t\t9619\n\t],\n\t\"./keys_de_belgian_period\": [\n\t\t12991,\n\t\t1808\n\t],\n\t\"./keys_de_belgian_period.json\": [\n\t\t12991,\n\t\t1808\n\t],\n\t\"./keys_de_ibm\": [\n\t\t85155,\n\t\t1507\n\t],\n\t\"./keys_de_ibm.json\": [\n\t\t85155,\n\t\t1507\n\t],\n\t\"./keys_de_swiss\": [\n\t\t57153,\n\t\t6184\n\t],\n\t\"./keys_de_swiss.json\": [\n\t\t57153,\n\t\t6184\n\t],\n\t\"./keys_dsb\": [\n\t\t93859,\n\t\t9616\n\t],\n\t\"./keys_dsb.json\": [\n\t\t93859,\n\t\t9616\n\t],\n\t\"./keys_dsb_extended\": [\n\t\t45816,\n\t\t7686\n\t],\n\t\"./keys_dsb_extended.json\": [\n\t\t45816,\n\t\t7686\n\t],\n\t\"./keys_dv\": [\n\t\t60573,\n\t\t5485\n\t],\n\t\"./keys_dv.json\": [\n\t\t60573,\n\t\t5485\n\t],\n\t\"./keys_dvorak\": [\n\t\t17499,\n\t\t6157\n\t],\n\t\"./keys_dvorak.json\": [\n\t\t17499,\n\t\t6157\n\t],\n\t\"./keys_dvorak_left\": [\n\t\t5085,\n\t\t8793\n\t],\n\t\"./keys_dvorak_left.json\": [\n\t\t5085,\n\t\t8793\n\t],\n\t\"./keys_dvorak_right\": [\n\t\t43474,\n\t\t3362\n\t],\n\t\"./keys_dvorak_right.json\": [\n\t\t43474,\n\t\t3362\n\t],\n\t\"./keys_dyu\": [\n\t\t56817,\n\t\t749\n\t],\n\t\"./keys_dyu.json\": [\n\t\t56817,\n\t\t749\n\t],\n\t\"./keys_dz\": [\n\t\t3461,\n\t\t3893\n\t],\n\t\"./keys_dz.json\": [\n\t\t3461,\n\t\t3893\n\t],\n\t\"./keys_el\": [\n\t\t82182,\n\t\t1545\n\t],\n\t\"./keys_el.json\": [\n\t\t82182,\n\t\t1545\n\t],\n\t\"./keys_el_220\": [\n\t\t74695,\n\t\t3743\n\t],\n\t\"./keys_el_220.json\": [\n\t\t74695,\n\t\t3743\n\t],\n\t\"./keys_el_319\": [\n\t\t43615,\n\t\t4263\n\t],\n\t\"./keys_el_319.json\": [\n\t\t43615,\n\t\t4263\n\t],\n\t\"./keys_el_latin\": [\n\t\t61897,\n\t\t8971\n\t],\n\t\"./keys_el_latin.json\": [\n\t\t61897,\n\t\t8971\n\t],\n\t\"./keys_el_latin_220\": [\n\t\t52401,\n\t\t7603\n\t],\n\t\"./keys_el_latin_220.json\": [\n\t\t52401,\n\t\t7603\n\t],\n\t\"./keys_el_latin_319\": [\n\t\t70286,\n\t\t5821\n\t],\n\t\"./keys_el_latin_319.json\": [\n\t\t70286,\n\t\t5821\n\t],\n\t\"./keys_el_polytonic\": [\n\t\t19430,\n\t\t4296\n\t],\n\t\"./keys_el_polytonic.json\": [\n\t\t19430,\n\t\t4296\n\t],\n\t\"./keys_en_gb\": [\n\t\t85702,\n\t\t7495\n\t],\n\t\"./keys_en_gb.json\": [\n\t\t85702,\n\t\t7495\n\t],\n\t\"./keys_en_gb_extended\": [\n\t\t30206,\n\t\t1343\n\t],\n\t\"./keys_en_gb_extended.json\": [\n\t\t30206,\n\t\t1343\n\t],\n\t\"./keys_en_india\": [\n\t\t28440,\n\t\t8302\n\t],\n\t\"./keys_en_india.json\": [\n\t\t28440,\n\t\t8302\n\t],\n\t\"./keys_es\": [\n\t\t68633,\n\t\t771\n\t],\n\t\"./keys_es.json\": [\n\t\t68633,\n\t\t771\n\t],\n\t\"./keys_es_latin_american\": [\n\t\t67356,\n\t\t6429\n\t],\n\t\"./keys_es_latin_american.json\": [\n\t\t67356,\n\t\t6429\n\t],\n\t\"./keys_es_variation\": [\n\t\t73173,\n\t\t3033\n\t],\n\t\"./keys_es_variation.json\": [\n\t\t73173,\n\t\t3033\n\t],\n\t\"./keys_et\": [\n\t\t76498,\n\t\t7022\n\t],\n\t\"./keys_et.json\": [\n\t\t76498,\n\t\t7022\n\t],\n\t\"./keys_fa\": [\n\t\t76451,\n\t\t8599\n\t],\n\t\"./keys_fa.json\": [\n\t\t76451,\n\t\t8599\n\t],\n\t\"./keys_fa_standard\": [\n\t\t79355,\n\t\t819\n\t],\n\t\"./keys_fa_standard.json\": [\n\t\t79355,\n\t\t819\n\t],\n\t\"./keys_fi\": [\n\t\t36863,\n\t\t8706\n\t],\n\t\"./keys_fi.json\": [\n\t\t36863,\n\t\t8706\n\t],\n\t\"./keys_fi_sami\": [\n\t\t58592,\n\t\t9866\n\t],\n\t\"./keys_fi_sami.json\": [\n\t\t58592,\n\t\t9866\n\t],\n\t\"./keys_fo\": [\n\t\t48622,\n\t\t9586\n\t],\n\t\"./keys_fo.json\": [\n\t\t48622,\n\t\t9586\n\t],\n\t\"./keys_fr\": [\n\t\t50955,\n\t\t7554\n\t],\n\t\"./keys_fr.json\": [\n\t\t50955,\n\t\t7554\n\t],\n\t\"./keys_fr_belgian\": [\n\t\t39330,\n\t\t8855\n\t],\n\t\"./keys_fr_belgian.json\": [\n\t\t39330,\n\t\t8855\n\t],\n\t\"./keys_fr_belgian_period\": [\n\t\t17494,\n\t\t7950\n\t],\n\t\"./keys_fr_belgian_period.json\": [\n\t\t17494,\n\t\t7950\n\t],\n\t\"./keys_fr_canadian_french\": [\n\t\t74301,\n\t\t4491\n\t],\n\t\"./keys_fr_canadian_french.json\": [\n\t\t74301,\n\t\t4491\n\t],\n\t\"./keys_fr_canadian_standard\": [\n\t\t76297,\n\t\t8251\n\t],\n\t\"./keys_fr_canadian_standard.json\": [\n\t\t76297,\n\t\t8251\n\t],\n\t\"./keys_fr_swiss\": [\n\t\t41417,\n\t\t1514\n\t],\n\t\"./keys_fr_swiss.json\": [\n\t\t41417,\n\t\t1514\n\t],\n\t\"./keys_ga\": [\n\t\t47467,\n\t\t8185\n\t],\n\t\"./keys_ga.json\": [\n\t\t47467,\n\t\t8185\n\t],\n\t\"./keys_gd\": [\n\t\t50596,\n\t\t6457\n\t],\n\t\"./keys_gd.json\": [\n\t\t50596,\n\t\t6457\n\t],\n\t\"./keys_gn\": [\n\t\t78996,\n\t\t4289\n\t],\n\t\"./keys_gn.json\": [\n\t\t78996,\n\t\t4289\n\t],\n\t\"./keys_got\": [\n\t\t45327,\n\t\t9893\n\t],\n\t\"./keys_got.json\": [\n\t\t45327,\n\t\t9893\n\t],\n\t\"./keys_gu\": [\n\t\t21372,\n\t\t2787\n\t],\n\t\"./keys_gu.json\": [\n\t\t21372,\n\t\t2787\n\t],\n\t\"./keys_ha\": [\n\t\t28061,\n\t\t2982\n\t],\n\t\"./keys_ha.json\": [\n\t\t28061,\n\t\t2982\n\t],\n\t\"./keys_haw\": [\n\t\t63525,\n\t\t3618\n\t],\n\t\"./keys_haw.json\": [\n\t\t63525,\n\t\t3618\n\t],\n\t\"./keys_he\": [\n\t\t2357,\n\t\t7446\n\t],\n\t\"./keys_he.json\": [\n\t\t2357,\n\t\t7446\n\t],\n\t\"./keys_he_standard\": [\n\t\t58311,\n\t\t7108\n\t],\n\t\"./keys_he_standard.json\": [\n\t\t58311,\n\t\t7108\n\t],\n\t\"./keys_hi\": [\n\t\t55225,\n\t\t6688\n\t],\n\t\"./keys_hi.json\": [\n\t\t55225,\n\t\t6688\n\t],\n\t\"./keys_hi_traditional\": [\n\t\t48923,\n\t\t8119\n\t],\n\t\"./keys_hi_traditional.json\": [\n\t\t48923,\n\t\t8119\n\t],\n\t\"./keys_hu\": [\n\t\t4526,\n\t\t4156\n\t],\n\t\"./keys_hu.json\": [\n\t\t4526,\n\t\t4156\n\t],\n\t\"./keys_hu_101\": [\n\t\t3013,\n\t\t3322\n\t],\n\t\"./keys_hu_101.json\": [\n\t\t3013,\n\t\t3322\n\t],\n\t\"./keys_hy\": [\n\t\t15584,\n\t\t2015\n\t],\n\t\"./keys_hy.json\": [\n\t\t15584,\n\t\t2015\n\t],\n\t\"./keys_hy_phonetic\": [\n\t\t28860,\n\t\t9136\n\t],\n\t\"./keys_hy_phonetic.json\": [\n\t\t28860,\n\t\t9136\n\t],\n\t\"./keys_ig\": [\n\t\t4055,\n\t\t7892\n\t],\n\t\"./keys_ig.json\": [\n\t\t4055,\n\t\t7892\n\t],\n\t\"./keys_is\": [\n\t\t87591,\n\t\t5604\n\t],\n\t\"./keys_is.json\": [\n\t\t87591,\n\t\t5604\n\t],\n\t\"./keys_it\": [\n\t\t24277,\n\t\t4465\n\t],\n\t\"./keys_it.json\": [\n\t\t24277,\n\t\t4465\n\t],\n\t\"./keys_it_142\": [\n\t\t83333,\n\t\t833\n\t],\n\t\"./keys_it_142.json\": [\n\t\t83333,\n\t\t833\n\t],\n\t\"./keys_iu\": [\n\t\t79407,\n\t\t5840\n\t],\n\t\"./keys_iu.json\": [\n\t\t79407,\n\t\t5840\n\t],\n\t\"./keys_iu_latin\": [\n\t\t90290,\n\t\t9176\n\t],\n\t\"./keys_iu_latin.json\": [\n\t\t90290,\n\t\t9176\n\t],\n\t\"./keys_jv\": [\n\t\t83271,\n\t\t6710\n\t],\n\t\"./keys_jv.json\": [\n\t\t83271,\n\t\t6710\n\t],\n\t\"./keys_ka\": [\n\t\t36196,\n\t\t3687\n\t],\n\t\"./keys_ka.json\": [\n\t\t36196,\n\t\t3687\n\t],\n\t\"./keys_ka_ergonomic\": [\n\t\t76892,\n\t\t9698\n\t],\n\t\"./keys_ka_ergonomic.json\": [\n\t\t76892,\n\t\t9698\n\t],\n\t\"./keys_ka_qwerty\": [\n\t\t84211,\n\t\t2621\n\t],\n\t\"./keys_ka_qwerty.json\": [\n\t\t84211,\n\t\t2621\n\t],\n\t\"./keys_khb\": [\n\t\t93128,\n\t\t5842\n\t],\n\t\"./keys_khb.json\": [\n\t\t93128,\n\t\t5842\n\t],\n\t\"./keys_khb_tai_le\": [\n\t\t16011,\n\t\t539\n\t],\n\t\"./keys_khb_tai_le.json\": [\n\t\t16011,\n\t\t539\n\t],\n\t\"./keys_kk\": [\n\t\t81713,\n\t\t951\n\t],\n\t\"./keys_kk.json\": [\n\t\t81713,\n\t\t951\n\t],\n\t\"./keys_kl\": [\n\t\t87006,\n\t\t7303\n\t],\n\t\"./keys_kl.json\": [\n\t\t87006,\n\t\t7303\n\t],\n\t\"./keys_km\": [\n\t\t86151,\n\t\t6794\n\t],\n\t\"./keys_km.json\": [\n\t\t86151,\n\t\t6794\n\t],\n\t\"./keys_km_nida\": [\n\t\t91831,\n\t\t3268\n\t],\n\t\"./keys_km_nida.json\": [\n\t\t91831,\n\t\t3268\n\t],\n\t\"./keys_kn\": [\n\t\t88868,\n\t\t8709\n\t],\n\t\"./keys_kn.json\": [\n\t\t88868,\n\t\t8709\n\t],\n\t\"./keys_ko\": [\n\t\t96130,\n\t\t8427\n\t],\n\t\"./keys_ko.json\": [\n\t\t96130,\n\t\t8427\n\t],\n\t\"./keys_ky\": [\n\t\t49911,\n\t\t9244\n\t],\n\t\"./keys_ky.json\": [\n\t\t49911,\n\t\t9244\n\t],\n\t\"./keys_la_old_italic\": [\n\t\t72596,\n\t\t8438\n\t],\n\t\"./keys_la_old_italic.json\": [\n\t\t72596,\n\t\t8438\n\t],\n\t\"./keys_lb\": [\n\t\t6012,\n\t\t5606\n\t],\n\t\"./keys_lb.json\": [\n\t\t6012,\n\t\t5606\n\t],\n\t\"./keys_lis\": [\n\t\t86353,\n\t\t8945\n\t],\n\t\"./keys_lis.json\": [\n\t\t86353,\n\t\t8945\n\t],\n\t\"./keys_lis_standard\": [\n\t\t70912,\n\t\t4887\n\t],\n\t\"./keys_lis_standard.json\": [\n\t\t70912,\n\t\t4887\n\t],\n\t\"./keys_lo\": [\n\t\t34659,\n\t\t398\n\t],\n\t\"./keys_lo.json\": [\n\t\t34659,\n\t\t398\n\t],\n\t\"./keys_lt\": [\n\t\t92979,\n\t\t7771\n\t],\n\t\"./keys_lt.json\": [\n\t\t92979,\n\t\t7771\n\t],\n\t\"./keys_lt_ibm\": [\n\t\t90075,\n\t\t129\n\t],\n\t\"./keys_lt_ibm.json\": [\n\t\t90075,\n\t\t129\n\t],\n\t\"./keys_lt_standard\": [\n\t\t70040,\n\t\t3746\n\t],\n\t\"./keys_lt_standard.json\": [\n\t\t70040,\n\t\t3746\n\t],\n\t\"./keys_lv\": [\n\t\t25622,\n\t\t1671\n\t],\n\t\"./keys_lv.json\": [\n\t\t25622,\n\t\t1671\n\t],\n\t\"./keys_lv_qwerty\": [\n\t\t70689,\n\t\t6777\n\t],\n\t\"./keys_lv_qwerty.json\": [\n\t\t70689,\n\t\t6777\n\t],\n\t\"./keys_lv_standard\": [\n\t\t68148,\n\t\t9081\n\t],\n\t\"./keys_lv_standard.json\": [\n\t\t68148,\n\t\t9081\n\t],\n\t\"./keys_man\": [\n\t\t95287,\n\t\t1156\n\t],\n\t\"./keys_man.json\": [\n\t\t95287,\n\t\t1156\n\t],\n\t\"./keys_mi\": [\n\t\t97585,\n\t\t9512\n\t],\n\t\"./keys_mi.json\": [\n\t\t97585,\n\t\t9512\n\t],\n\t\"./keys_mk\": [\n\t\t8069,\n\t\t8041\n\t],\n\t\"./keys_mk.json\": [\n\t\t8069,\n\t\t8041\n\t],\n\t\"./keys_ml\": [\n\t\t79302,\n\t\t1547\n\t],\n\t\"./keys_ml.json\": [\n\t\t79302,\n\t\t1547\n\t],\n\t\"./keys_mn\": [\n\t\t78647,\n\t\t389\n\t],\n\t\"./keys_mn.json\": [\n\t\t78647,\n\t\t389\n\t],\n\t\"./keys_mn_phags_pa\": [\n\t\t94641,\n\t\t3194\n\t],\n\t\"./keys_mn_phags_pa.json\": [\n\t\t94641,\n\t\t3194\n\t],\n\t\"./keys_mn_traditional\": [\n\t\t1301,\n\t\t8568\n\t],\n\t\"./keys_mn_traditional.json\": [\n\t\t1301,\n\t\t8568\n\t],\n\t\"./keys_mr\": [\n\t\t28928,\n\t\t2247\n\t],\n\t\"./keys_mr.json\": [\n\t\t28928,\n\t\t2247\n\t],\n\t\"./keys_mt\": [\n\t\t5848,\n\t\t7568\n\t],\n\t\"./keys_mt.json\": [\n\t\t5848,\n\t\t7568\n\t],\n\t\"./keys_mt_101\": [\n\t\t10244,\n\t\t3880\n\t],\n\t\"./keys_mt_101.json\": [\n\t\t10244,\n\t\t3880\n\t],\n\t\"./keys_my\": [\n\t\t14052,\n\t\t5015\n\t],\n\t\"./keys_my.json\": [\n\t\t14052,\n\t\t5015\n\t],\n\t\"./keys_nb\": [\n\t\t56360,\n\t\t4919\n\t],\n\t\"./keys_nb.json\": [\n\t\t56360,\n\t\t4919\n\t],\n\t\"./keys_nb_sami\": [\n\t\t96408,\n\t\t8636\n\t],\n\t\"./keys_nb_sami.json\": [\n\t\t96408,\n\t\t8636\n\t],\n\t\"./keys_ne\": [\n\t\t97192,\n\t\t4892\n\t],\n\t\"./keys_ne.json\": [\n\t\t97192,\n\t\t4892\n\t],\n\t\"./keys_nl\": [\n\t\t37853,\n\t\t6415\n\t],\n\t\"./keys_nl.json\": [\n\t\t37853,\n\t\t6415\n\t],\n\t\"./keys_nl_period\": [\n\t\t80045,\n\t\t2271\n\t],\n\t\"./keys_nl_period.json\": [\n\t\t80045,\n\t\t2271\n\t],\n\t\"./keys_non\": [\n\t\t50248,\n\t\t5991\n\t],\n\t\"./keys_non.json\": [\n\t\t50248,\n\t\t5991\n\t],\n\t\"./keys_nso\": [\n\t\t34757,\n\t\t8307\n\t],\n\t\"./keys_nso.json\": [\n\t\t34757,\n\t\t8307\n\t],\n\t\"./keys_or\": [\n\t\t40914,\n\t\t2383\n\t],\n\t\"./keys_or.json\": [\n\t\t40914,\n\t\t2383\n\t],\n\t\"./keys_pa\": [\n\t\t51095,\n\t\t9989\n\t],\n\t\"./keys_pa.json\": [\n\t\t51095,\n\t\t9989\n\t],\n\t\"./keys_pl\": [\n\t\t91654,\n\t\t8391\n\t],\n\t\"./keys_pl.json\": [\n\t\t91654,\n\t\t8391\n\t],\n\t\"./keys_pl_programmers\": [\n\t\t188,\n\t\t920\n\t],\n\t\"./keys_pl_programmers.json\": [\n\t\t188,\n\t\t920\n\t],\n\t\"./keys_ps\": [\n\t\t65138,\n\t\t6049\n\t],\n\t\"./keys_ps.json\": [\n\t\t65138,\n\t\t6049\n\t],\n\t\"./keys_pt\": [\n\t\t33474,\n\t\t4821\n\t],\n\t\"./keys_pt.json\": [\n\t\t33474,\n\t\t4821\n\t],\n\t\"./keys_pt_abnt\": [\n\t\t84986,\n\t\t1872\n\t],\n\t\"./keys_pt_abnt.json\": [\n\t\t84986,\n\t\t1872\n\t],\n\t\"./keys_pt_abnt2\": [\n\t\t50167,\n\t\t9112\n\t],\n\t\"./keys_pt_abnt2.json\": [\n\t\t50167,\n\t\t9112\n\t],\n\t\"./keys_ro\": [\n\t\t35695,\n\t\t68\n\t],\n\t\"./keys_ro.json\": [\n\t\t35695,\n\t\t68\n\t],\n\t\"./keys_ro_programmers\": [\n\t\t53693,\n\t\t4795\n\t],\n\t\"./keys_ro_programmers.json\": [\n\t\t53693,\n\t\t4795\n\t],\n\t\"./keys_ru\": [\n\t\t62672,\n\t\t8986\n\t],\n\t\"./keys_ru.json\": [\n\t\t62672,\n\t\t8986\n\t],\n\t\"./keys_ru_phonetic\": [\n\t\t48927,\n\t\t7292\n\t],\n\t\"./keys_ru_phonetic.json\": [\n\t\t48927,\n\t\t7292\n\t],\n\t\"./keys_sah\": [\n\t\t75234,\n\t\t7289\n\t],\n\t\"./keys_sah.json\": [\n\t\t75234,\n\t\t7289\n\t],\n\t\"./keys_sat\": [\n\t\t767,\n\t\t9414\n\t],\n\t\"./keys_sat.json\": [\n\t\t767,\n\t\t9414\n\t],\n\t\"./keys_se\": [\n\t\t31828,\n\t\t8019\n\t],\n\t\"./keys_se.json\": [\n\t\t31828,\n\t\t8019\n\t],\n\t\"./keys_se_finland_sweden\": [\n\t\t44292,\n\t\t8699\n\t],\n\t\"./keys_se_finland_sweden.json\": [\n\t\t44292,\n\t\t8699\n\t],\n\t\"./keys_si\": [\n\t\t39915,\n\t\t9707\n\t],\n\t\"./keys_si.json\": [\n\t\t39915,\n\t\t9707\n\t],\n\t\"./keys_sk\": [\n\t\t49999,\n\t\t7803\n\t],\n\t\"./keys_sk.json\": [\n\t\t49999,\n\t\t7803\n\t],\n\t\"./keys_sk_qwerty\": [\n\t\t92153,\n\t\t1720\n\t],\n\t\"./keys_sk_qwerty.json\": [\n\t\t92153,\n\t\t1720\n\t],\n\t\"./keys_sl\": [\n\t\t11998,\n\t\t5715\n\t],\n\t\"./keys_sl.json\": [\n\t\t11998,\n\t\t5715\n\t],\n\t\"./keys_so\": [\n\t\t32727,\n\t\t9193\n\t],\n\t\"./keys_so.json\": [\n\t\t32727,\n\t\t9193\n\t],\n\t\"./keys_sq\": [\n\t\t93752,\n\t\t8173\n\t],\n\t\"./keys_sq.json\": [\n\t\t93752,\n\t\t8173\n\t],\n\t\"./keys_sr\": [\n\t\t45358,\n\t\t2231\n\t],\n\t\"./keys_sr.json\": [\n\t\t45358,\n\t\t2231\n\t],\n\t\"./keys_sr_latin\": [\n\t\t80121,\n\t\t578\n\t],\n\t\"./keys_sr_latin.json\": [\n\t\t80121,\n\t\t578\n\t],\n\t\"./keys_srb\": [\n\t\t929,\n\t\t5354\n\t],\n\t\"./keys_srb.json\": [\n\t\t929,\n\t\t5354\n\t],\n\t\"./keys_sv\": [\n\t\t74243,\n\t\t8649\n\t],\n\t\"./keys_sv.json\": [\n\t\t74243,\n\t\t8649\n\t],\n\t\"./keys_sv_sami\": [\n\t\t26330,\n\t\t4717\n\t],\n\t\"./keys_sv_sami.json\": [\n\t\t26330,\n\t\t4717\n\t],\n\t\"./keys_syr\": [\n\t\t20591,\n\t\t4777\n\t],\n\t\"./keys_syr.json\": [\n\t\t20591,\n\t\t4777\n\t],\n\t\"./keys_syr_phonetic\": [\n\t\t85609,\n\t\t2619\n\t],\n\t\"./keys_syr_phonetic.json\": [\n\t\t85609,\n\t\t2619\n\t],\n\t\"./keys_ta\": [\n\t\t17843,\n\t\t4036\n\t],\n\t\"./keys_ta.json\": [\n\t\t17843,\n\t\t4036\n\t],\n\t\"./keys_te\": [\n\t\t69130,\n\t\t4824\n\t],\n\t\"./keys_te.json\": [\n\t\t69130,\n\t\t4824\n\t],\n\t\"./keys_tg\": [\n\t\t79797,\n\t\t3393\n\t],\n\t\"./keys_tg.json\": [\n\t\t79797,\n\t\t3393\n\t],\n\t\"./keys_th\": [\n\t\t70732,\n\t\t6684\n\t],\n\t\"./keys_th.json\": [\n\t\t70732,\n\t\t6684\n\t],\n\t\"./keys_th_pattachote\": [\n\t\t85219,\n\t\t422\n\t],\n\t\"./keys_th_pattachote.json\": [\n\t\t85219,\n\t\t422\n\t],\n\t\"./keys_tk\": [\n\t\t31794,\n\t\t2275\n\t],\n\t\"./keys_tk.json\": [\n\t\t31794,\n\t\t2275\n\t],\n\t\"./keys_tmh\": [\n\t\t89416,\n\t\t2835\n\t],\n\t\"./keys_tmh.json\": [\n\t\t89416,\n\t\t2835\n\t],\n\t\"./keys_tmh_extended\": [\n\t\t33866,\n\t\t8110\n\t],\n\t\"./keys_tmh_extended.json\": [\n\t\t33866,\n\t\t8110\n\t],\n\t\"./keys_tn\": [\n\t\t79848,\n\t\t4257\n\t],\n\t\"./keys_tn.json\": [\n\t\t79848,\n\t\t4257\n\t],\n\t\"./keys_tr\": [\n\t\t32066,\n\t\t5303\n\t],\n\t\"./keys_tr.json\": [\n\t\t32066,\n\t\t5303\n\t],\n\t\"./keys_tr_f\": [\n\t\t77176,\n\t\t4670\n\t],\n\t\"./keys_tr_f.json\": [\n\t\t77176,\n\t\t4670\n\t],\n\t\"./keys_tt\": [\n\t\t13069,\n\t\t7305\n\t],\n\t\"./keys_tt.json\": [\n\t\t13069,\n\t\t7305\n\t],\n\t\"./keys_tzm\": [\n\t\t93917,\n\t\t814\n\t],\n\t\"./keys_tzm.json\": [\n\t\t93917,\n\t\t814\n\t],\n\t\"./keys_ug\": [\n\t\t29436,\n\t\t3474\n\t],\n\t\"./keys_ug.json\": [\n\t\t29436,\n\t\t3474\n\t],\n\t\"./keys_uk\": [\n\t\t18936,\n\t\t2602\n\t],\n\t\"./keys_uk.json\": [\n\t\t18936,\n\t\t2602\n\t],\n\t\"./keys_uk_enhanced\": [\n\t\t60895,\n\t\t7228\n\t],\n\t\"./keys_uk_enhanced.json\": [\n\t\t60895,\n\t\t7228\n\t],\n\t\"./keys_ur\": [\n\t\t48883,\n\t\t8216\n\t],\n\t\"./keys_ur.json\": [\n\t\t48883,\n\t\t8216\n\t],\n\t\"./keys_us_international\": [\n\t\t61141,\n\t\t2947\n\t],\n\t\"./keys_us_international.json\": [\n\t\t61141,\n\t\t2947\n\t],\n\t\"./keys_uz\": [\n\t\t8196,\n\t\t7080\n\t],\n\t\"./keys_uz.json\": [\n\t\t8196,\n\t\t7080\n\t],\n\t\"./keys_vi\": [\n\t\t88305,\n\t\t7994\n\t],\n\t\"./keys_vi.json\": [\n\t\t88305,\n\t\t7994\n\t],\n\t\"./keys_wo\": [\n\t\t97528,\n\t\t7069\n\t],\n\t\"./keys_wo.json\": [\n\t\t97528,\n\t\t7069\n\t],\n\t\"./keys_yo\": [\n\t\t8962,\n\t\t5998\n\t],\n\t\"./keys_yo.json\": [\n\t\t8962,\n\t\t5998\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 34366;\nmodule.exports = webpackAsyncContext;"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","DialogBox","props","dismissText","classes","onDismiss","children","rest","className","styles","join","onClick","faCollections","brands","default","regular","light","solid","round","Icon","name","collection","iconProps","groupClass","iconClass","propTypes","PropTypes","defaultProps","IconButton","icon","text","Link","href","external","showExternal","properties","Object","assign","rel","target","isRequired","wrapper","position","top","left","width","height","backgroundColor","backdropFilter","zIndex","display","justifyContent","alignItems","centerOnly","background","pointerEvents","content","Modal","useRef","handleClick","useCallback","e","current","contains","stopPropagation","style","ReactDOM","ref","document","getElementById","useModalState","useState","isOpen","setIsOpen","event","useToggle","initialState","toggleState","setToggleState","state","i","DefinitionsContext","createContext","keycodes","behaviours","behaviors","behaviorBinds","glyphs","selectDefinitions","definitions","DefinitionsContextProvider","useSelector","dispatch","useDispatch","useEffect","Promise","all","loadKeycodes","loadBehaviourBindings","schemas","cloneDeep","bindings","indexed","keyBy","context","none","filter","macros","encoders","byContext","type","Provider","value","behaviorSchemas","behaviorBindings","keycodeGlyphs","normalizeZmkKeycodes","LayoutContext","layout","bindingCount","wrapperDimensions","wrapperStyle","LayoutContextProvider","useMemo","length","getWrapperDimensions","getWrapperStyle","GitHubIssuesLink","GitHubWikiLayoutsLink","layoutToolsLink","DiscordProfileLink","GeneralHelpOfferCopy","KeymapLayoutResources","selectBehaviors","keyboard","keymap","selectNodePhandleArrays","node","compatible","parsed","raw","replace","selectNodeCompatible","schema","keys","reduce","phandleArrays","prop","propSchema","propValues","push","behaviorsSlice","createSlice","reducers","addBehavior","action","payload","behavior","updateBehavior","behaviorIndex","deleteBehavior","splice","extraReducers","builder","addCase","layerIndexChanged","makeLayerIndexChangeReducer","actions","selectCombos","combos","combosSlice","updateComboBinding","comboIndex","updateComboKeypositions","keyPositions","createCombo","labels","params","renameCombo","index","deleteCombo","customizeCombo","combo","comboBindingsReducer","positionMapping","layers","newIndex","makeLayerParamsIterator","selectLayerParamsFromBinding","binding","behaviorParameters","getBindingSlots","layerParams","param","createAction","currentIndex","targetIndex","searchContext","definitionsContext","layerIndices","map","bothBefore","bothAfter","betweenOldAndNew","createLayerIndexMapping","sources","defaultSelectPhandleArrays","selectPhandleArrays","defines","selectedIndex","get","Number","isNaN","toString","_isPlaceholder","DEFAULT_BIND_BEHAVIOUR","selectLayers","layersSlice","createLayer","times","createEmptyBinding","updateLayerMetadata","layerIndex","label","renameLayer","repositionLayer","layer","replacementIndex","deleteLayer","updateKeyBinding","bindIndex","updateSensorBindings","sensorIndex","undefinedStart","indexOf","rebindTransparentToKeyPress","rebindTransparentToNone","rebindNoneToKeypress","rebindNoneToTransparent","rebindEmptyKeypressToTransparent","rebindEmptyKeypressToNone","selectMacros","macrosSlice","addMacro","deleteMacro","updateMacroBindings","customizeMacroOptions","macroIndex","getLayoutPolygons","scale","key","transformKeyPolygon","x","y","u","w","h","rx","ry","a","r","getKeyBoundingBox","max","Math","layoutOrBBox","overrides","bbox","Array","isArray","margin","padding","Control","lineHeight","Button","darkModePreference","window","matchMedia","invertedThemeColors","colors","Select","extraChildren","theme","isDark","matches","fontSize","color","container","baseStyles","menu","components","MenuList","c","isSearchable","primary25","websocketUrl","config","API","url","startsWith","headers","this","token","Authorization","axios","response","status","console","error","emit","initializing","initEvents","installationUrl","URLSearchParams","location","search","beginLoginFlow","setTimeout","localStorage","auth_token","history","replaceState","pathname","_request","data","suspended","installations","installation","suspended_at","warn","username","repositories","repoInstallationMap","bufferedMessages","send","message","socket","readyState","WebSocket","OPEN","log","onopen","Date","shift","flush","setInterval","JSON","stringify","onclose","onerror","err","onmessage","parse","workflow_run","on","fetchAvailableFeatures","removeItem","installationId","find","id","html_url","every","some","repository_selection","repo","encodeURIComponent","full_name","repository","branch","URL","query","set","layouts","info","defaultLayout","preferredLayout","chosen","layoutMetadata","keyboards","defaultKeymap","sensors","isGitHubAuthorized","betaFeatures","features","experimentalSettings","enableBehaviorEditing","method","EventEmitter","api","parseBoolean","val","includes","toLowerCase","apiBaseUrl","process","githubAppName","enableGitHub","enableLocal","enableDemo","enableClipboard","enableFileSystem","useLocaleDefinitions","loadedLocales","setLoadedLocales","locales","acc","header","localeCatalog","loaded","locale","filename","useContext","settings","SettingsContext","localeKeycodes","mergedGlyphs","isMac","navigator","platform","isWin","getMergedGlyphs","unicode","platformGlyphs","extendedBehaviours","customBehaviors","code","mergeBehaviorOverlays","behaviorOverlays","fullList","description","bind","displayName","macro","resolveBehaviorParams","availableLayers","isEmpty","keycodesList","keycode","keycodesIndexed","glyph","aliases","alias","symbol","faIcon","modifiers","behavioursByContext","searchTargets","behaviour","getSearchTargets","enum","option","identifiers","bindShape","sanityCheckPosiitions","row","col","selectName","item","selectBind","selectLabel","getDuplicatesBy","itemsByKey","groupBy","values","group","sanityCheckNodeNames","layerNames","path","comboNames","macroNames","behaviorNames","getBehaviorNodeNames","duplicates","redefined","reservedIdentifiers","passwordMacros","pattern","match","sanityCheckNodeLabels","concat","getBehaviorLabels","sanityCheckNodeReferences","nodesByRef","getBehaviorReferences","nodes","sanityCheckDeprecations","resetBindings","deprecations","forEach","j","Behaviors","lazy","ComboEditor","LayerEditor","MacroEditor","Warnings","Tabs","tabs","defaultTab","activeTab","setActiveTab","tab","tabClasses","compact","Suspense","selectKeymap","Keyboard","sanityChecks","nodeNames","nodeLabels","nodeReferences","layoutMissingPositions","sanityCheckLayout","sanityCheck","warningCount","component","Fragment","keymapProptypes","repositoryUrl","GitHubLink","fontStyle","Settings","onUpdate","onClose","handleUpdateSetting","htmlFor","checked","unicodeGlyphs","onChange","SuggestAutoLayoutTweak","KeymapBindingsUsePreprocessorMacros","link","KeymapBindingsUseAutoshiftMacro","KeymapParsingFailed","KeymapUsingMiryoku","MissingRootNode","ZmkNodefreeConfig","sourceChoices","collapsible","isBeta","showOpenFilePicker","selectedSource","getItem","defaultSource","source","LocalPicker","DemoPicker","GithubPicker","ClipboardPicker","FileSystemPicker","keyboardSelector","KeyboardPicker","onSelect","wrapperRef","setSource","autoGenerated","setLayoutInfo","showDialog","setShowDialog","closeDialog","isExpanded","setExpanded","setCompact","showLayoutHelp","callback","enabled","isInDocument","body","isInWrapper","addEventListener","removeEventListener","useClickOutsideHandler","handleSelectSource","choice","handleKeyboardSelected","warningFlags","getErrorDialog","handleError","dialog","dialogProps","setItem","classNames","getOptionLabel","getOptionValue","formatOptionLabel","Beta","onError","expanded","onExpand","fontWeight","borderRadius","verticalAlign","formatStackFrame","frame","fileName","lineNumber","columnNumber","newGithubIssue","reportError","stacktrace","fetch","ok","UnexpectedError","stack","setStack","formattedError","setFormattedError","copied","setCopied","StackTrace","fromError","parseStack","trim","formatErrorText","maxWidth","title","clipboard","writeText","then","Error","ErrorBoundary","React","KeymapSaveFailed","updateInterval","relevantComponents","GithubApiStatus","githubApiIssues","lastFetch","issues","setState","update","now","timeout","clearTimeout","useApiStatusChecker","bottom","transform","sourceOther","saveError","settingsVisible","github","handler","run","head_branch","build","other","handleUpdateSettings","openSettingsDialog","SourcePicker","dark","system","Definitions","Layout","init","_unmodifiedKeymap","saving","commitDialogOpen","latestBuild","INITIAL_STATE","keyboardReducer","combineReducers","behaviorsReducer","layersReducer","combosReducer","macrosReducer","configureStore","reducer","newState","newKeyboardState","pick","stripLegacyProperties","selectKeyboard","newKeymapState","unsaved","keymapSaveSuccess","themes","at","dataset","cycleTheme","appReducer","preloadedState","render","store","DEFAULT_SIZE","DEFAULT_PADDING","getComputedParams","size","rotation","getKeyStyles","transformOrigin","point","angle","PI","cos","sin","transformed","xValues","yValues","min","shortestAlias","sort","b","fnPattern","names","fnCode","v","base","isModifier","split","basic","platforms","mac","win","overlay","additional","parsedParams","slots","firstParsedParam","firstSlot","additionalParams","getAdditionalParams","SearchContext","___CSS_LOADER_EXPORT___","module","locals","webpackAsyncContext","req","__webpack_require__","o","resolve","ids","slice","t","exports"],"sourceRoot":""}
\ No newline at end of file diff --git a/runtime.018f688d4e1244776013.js b/runtime.018f688d4e1244776013.js new file mode 100644 index 0000000..e3585e0 --- /dev/null +++ b/runtime.018f688d4e1244776013.js @@ -0,0 +1,2 @@ +!function(){"use strict";var e,c,s,a,o,d={},l={};function y(e){var c=l[e];if(void 0!==c)return c.exports;var s=l[e]={id:e,loaded:!1,exports:{}};return d[e].call(s.exports,s,s.exports,y),s.loaded=!0,s.exports}y.m=d,e=[],y.O=function(c,s,a,o){if(!s){var d=1/0;for(b=0;b<e.length;b++){s=e[b][0],a=e[b][1],o=e[b][2];for(var l=!0,k=0;k<s.length;k++)(!1&o||d>=o)&&Object.keys(y.O).every((function(e){return y.O[e](s[k])}))?s.splice(k--,1):(l=!1,o<d&&(d=o));if(l){e.splice(b--,1);var f=a();void 0!==f&&(c=f)}}return c}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[s,a,o]},y.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(c,{a:c}),c},s=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);y.r(o);var d={};c=c||[null,s({}),s([]),s(s)];for(var l=2&a&&e;"object"==typeof l&&!~c.indexOf(l);l=s(l))Object.getOwnPropertyNames(l).forEach((function(c){d[c]=function(){return e[c]}}));return d.default=function(){return e},y.d(o,d),o},y.d=function(e,c){for(var s in c)y.o(c,s)&&!y.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:c[s]})},y.f={},y.e=function(e){return Promise.all(Object.keys(y.f).reduce((function(c,s){return y.f[s](e,c),c}),[]))},y.u=function(e){return({68:"locales/keys_ro-keycodes",129:"locales/keys_lt_ibm-keycodes",308:"locales/keys_be-keycodes",389:"locales/keys_mn-keycodes",398:"locales/keys_lo-keycodes",421:"locales/keys_bg_latin-keycodes",422:"locales/keys_th_pattachote-keycodes",539:"locales/keys_khb_tai_le-keycodes",578:"locales/keys_sr_latin-keycodes",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",951:"locales/keys_kk-keycodes",1156:"locales/keys_man-keycodes",1315:"locales/keys_bs-keycodes",1343:"locales/keys_en_gb_extended-keycodes",1480:"locales/keys_bn-keycodes",1507:"locales/keys_de_ibm-keycodes",1514:"locales/keys_fr_swiss-keycodes",1545:"locales/keys_el-keycodes",1547:"locales/keys_ml-keycodes",1671:"locales/keys_lv-keycodes",1720:"locales/keys_sk_qwerty-keycodes",1808:"locales/keys_de_belgian_period-keycodes",1872:"locales/keys_pt_abnt-keycodes",1936:"locales/keys_ckb-keycodes",2015:"locales/keys_hy-keycodes",2231:"locales/keys_sr-keycodes",2247:"locales/keys_mr-keycodes",2271:"locales/keys_nl_period-keycodes",2275:"locales/keys_tk-keycodes",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",2787:"locales/keys_gu-keycodes",2835:"locales/keys_tmh-keycodes",2947:"locales/keys_us_international-keycodes",2982:"locales/keys_ha-keycodes",3033:"locales/keys_es_variation-keycodes",3194:"locales/keys_mn_phags_pa-keycodes",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",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",3880:"locales/keys_mt_101-keycodes",3893:"locales/keys_dz-keycodes",4036:"locales/keys_ta-keycodes",4156:"locales/keys_hu-keycodes",4257:"locales/keys_tn-keycodes",4263:"locales/keys_el_319-keycodes",4289:"locales/keys_gn-keycodes",4296:"locales/keys_el_polytonic-keycodes",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",4777:"locales/keys_syr-keycodes",4795:"locales/keys_ro_programmers-keycodes",4821:"locales/keys_pt-keycodes",4824:"locales/keys_te-keycodes",4887:"locales/keys_lis_standard-keycodes",4892:"locales/keys_ne-keycodes",4919:"locales/keys_nb-keycodes",5015:"locales/keys_my-keycodes",5303:"locales/keys_tr-keycodes",5332:"locales/keys_ba-keycodes",5354:"locales/keys_srb-keycodes",5485:"locales/keys_dv-keycodes",5604:"locales/keys_is-keycodes",5606:"locales/keys_lb-keycodes",5715:"locales/keys_sl-keycodes",5821:"locales/keys_el_latin_319-keycodes",5840:"locales/keys_iu-keycodes",5842:"locales/keys_khb-keycodes",5991:"locales/keys_non-keycodes",5998:"locales/keys_yo-keycodes",6049:"locales/keys_ps-keycodes",6157:"locales/keys_dvorak-keycodes",6184:"locales/keys_de_swiss-keycodes",6392:"locales/keys_ar-keycodes",6415:"locales/keys_nl-keycodes",6429:"locales/keys_es_latin_american-keycodes",6457:"locales/keys_gd-keycodes",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",6794:"locales/keys_km-keycodes",6943:"locales/keys_chr-keycodes",7022:"locales/keys_et-keycodes",7069:"locales/keys_wo-keycodes",7080:"locales/keys_uz-keycodes",7108:"locales/keys_he_standard-keycodes",7228:"locales/keys_uk_enhanced-keycodes",7289:"locales/keys_sah-keycodes",7292:"locales/keys_ru_phonetic-keycodes",7303:"locales/keys_kl-keycodes",7305:"locales/keys_tt-keycodes",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",7950:"locales/keys_fr_belgian_period-keycodes",7994:"locales/keys_vi-keycodes",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",8302:"locales/keys_en_india-keycodes",8307:"locales/keys_nso-keycodes",8391:"locales/keys_pl-keycodes",8427:"locales/keys_ko-keycodes",8438:"locales/keys_la_old_italic-keycodes",8568:"locales/keys_mn_traditional-keycodes",8599:"locales/keys_fa-keycodes",8636:"locales/keys_nb_sami-keycodes",8649:"locales/keys_sv-keycodes",8699:"locales/keys_se_finland_sweden-keycodes",8706:"locales/keys_fi-keycodes",8709:"locales/keys_kn-keycodes",8793:"locales/keys_dvorak_left-keycodes",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",9081:"locales/keys_lv_standard-keycodes",9082:"locales/keys_as-keycodes",9112:"locales/keys_pt_abnt2-keycodes",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",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:"locales/keys_si-keycodes",9866:"locales/keys_fi_sami-keycodes",9893:"locales/keys_got-keycodes",9989:"locales/keys_pa-keycodes"}[e]||e)+"."+{68:"7b17882894d827d4a691",129:"93e9e7b55ff4db1b45f4",308:"e7d0c13e3ecc92b49444",389:"606dc039dbee5e7de1d4",398:"c8c541aaf844eeda8149",401:"bdae6943931998cef4fd",421:"dbb2c1733f9a7579098e",422:"666bd3a0ce35c4a274ff",539:"f13efc888eac2aa8e903",542:"b08e94331b5e117681ac",578:"04d1220d52840040f60b",727:"2919567394fbd9d07a87",749:"76b287374b8ae5f7a06c",771:"476e9ba05219d84921f3",814:"4764231c07fa0d0a04f6",819:"0795ba54cbc82dd190cf",833:"46444cf657dcf1bb1593",920:"dc595b5183e9c47ff557",951:"f0042702141cbb2ccabf",1040:"668a24817c3f3941bb2c",1156:"bb15c7631776a604bdb7",1315:"0db48f03173200e045f2",1343:"8f70c7bbb298f625412f",1480:"dd1c948a8c44aac28b53",1507:"8cada04b0e43007bb4be",1514:"649b8ed65f356fa690ac",1545:"b152a1976be0001bfb43",1547:"c246a45983470f77e595",1671:"6bdbbb20361914659d30",1720:"3328c6b7c20fbf918852",1808:"abb32a6fe65c55952158",1872:"719fd6d2cfbc98065faa",1936:"8e41309b9c19de95960a",2015:"1189ea9050bf52385110",2231:"5080f1cbf58c1317f585",2247:"3459beb60f5e45f7a659",2271:"b737428706ade1ab91ed",2275:"6c3d70cbc0a2a960dede",2383:"45d4631f706b18beb2d9",2408:"49d33aa415e8f4992f21",2602:"d7b17cf5cd894ba30b64",2619:"5153da3fbe85b2f1f7f8",2621:"bd9a8dabd0cd755853b5",2650:"a829372aef4170ca51a4",2659:"c36d1660242da4a6482d",2787:"23f639d1d9e06f080ea7",2835:"551ed1eddb65a0855ec0",2912:"0e5ecd7e9faa1378ed9c",2946:"972b1c0cded5c7511836",2947:"2b19227a71dd755ae4b6",2982:"36e9273f2ce6ff4f4673",3033:"b26fcf2e16e386fb33b1",3194:"8a08d0da753f48f7f95e",3268:"f3f0e12f35d6ede0f40f",3282:"01584f37d4d33ad63efb",3322:"7ebaf8ec7ac148f4669d",3359:"2b1b7a00d5f5a3f3d4d7",3362:"4b171d128973788c904e",3393:"2b68325532554cc8d8ba",3474:"d8e51748742a2c676e34",3618:"d8420dbaf5d768e5d2d4",3647:"6703ed839e825c8771d3",3687:"e750c133ca55d5c6e548",3735:"c9d93c92c6c0423a5416",3743:"ebb2429d5bbde92909c4",3746:"a4deb37dc8a93b498757",3880:"fcaa03e1df43df95ab97",3893:"c7df98614033002329af",4036:"909dd7500874d97524c9",4156:"b9b13036d2669cc053d2",4257:"f5fd10e05ad3d0536453",4263:"931dcb76dcb966d4c80f",4289:"fa48da5f908e2f1c31fc",4296:"6398e9a1092dbd966cd4",4443:"3d9b42bc9254f6af0784",4465:"f4574a240d1cc776a64d",4491:"85813c1f613b510d8c53",4595:"32f60188d0eaea679456",4670:"c00667ffdde3a68622ab",4688:"31df1ae6ad5f78bd01fc",4717:"abfe395f6284ad19bfcd",4777:"2224cbda2741be9da336",4795:"ed0ccd39951359fbbbca",4821:"ddd40fd58db42a579031",4824:"0a6f4db1962949f69a35",4887:"f052ae8bfdfdb1d513db",4892:"960290e8d85e0b47f102",4919:"4a12c76edfa94312b0ea",5015:"0f3a2242ea9f9a42c4f9",5303:"a4497d24307a9897e5b5",5332:"777b50e4b114b352d258",5354:"2e00aaedbbdc1642bb92",5485:"55a0ec07c8abbfe214b4",5604:"f11c3e2dd4430602f243",5606:"8cfe7dc5f09ec96ea95e",5634:"fb6e3c3e2e7af16d3394",5715:"4ef9b548b6cfc7c605f9",5821:"a4f5e6f31f799696cdaf",5840:"7e4e574c1214010c07dc",5842:"f7c89fd7bf3602a3399e",5858:"6e8f5975904a2a2282f5",5991:"512b59c58af9c82a47d5",5998:"91c971fb3f5767c3d295",6049:"a62bb2191cc0eecda711",6157:"8b93a87cbbec10359b5d",6184:"732ddeb1a32a40e2fc3a",6392:"fa88aea6ab27afd6da50",6415:"627e38aee29608a5d6d2",6429:"b9b3578a604e51fa3455",6457:"ba688263a9c85e9843e1",6684:"1274b7cfa9914c7663c9",6688:"5d24e1f96d6a6cfefcb0",6691:"b6cb655f0aa7dcd8787b",6710:"69f4ed313d19455e88f9",6777:"dab38c8f01434d45eb86",6794:"aa4330a831430380f7ca",6849:"53f15e008bb8448d2fec",6943:"9c0653724d1cbfa9ed86",7022:"9ece5bc0d21090bf91ad",7069:"9929a74e7e92648a0f87",7080:"f083c93705b5e80e4a4e",7108:"906eeacc617750894b22",7198:"aec09ef07d003f7d7a91",7228:"0a7f301444940610aa3a",7289:"2fcc4bbd19c8e23bcfd9",7292:"364542469a1dd2fd041b",7303:"8f0ef5a9295943353ecf",7305:"ac74249c913980666520",7406:"11b0b86fb5919cd2d239",7446:"f26521f672e3d94f3c62",7495:"cb22512c8cea97bbcf19",7553:"b6c1ba6d52fa85ac8595",7554:"bdf065db03088c4a4a5d",7568:"d9f3ad26c7b8b70fc1ec",7603:"d2d72bb470a9b2e1ede0",7686:"940990bf96e9413b2e9b",7771:"9942586e9e23d5059127",7803:"8760edf191caa0f69869",7892:"86c938c7b27b9a67ef50",7950:"6fb177a4414f9a190484",7994:"c160e150f1431807c681",8017:"837d18f3c4fcf868010b",8019:"02f2f252639bb1d459b6",8041:"dae4eea51cfd6e1fbef3",8070:"27f10e0739c78ab95d16",8110:"c132517c950a214d5731",8119:"58eb56bfeb45579c084c",8173:"1776ba2cbbdeb9918f9c",8185:"ece0dc278594eee67cb1",8207:"7e346d396cf1e067b94f",8216:"bd2ef62dab7ca40f6d44",8242:"3891fea81cc045034ad4",8251:"7bcdee9a73a0eb39baaa",8302:"6b483d8d7739ff515b8f",8307:"e12dd0aad5e6a036ed3b",8381:"7ec7bc962edc67495152",8391:"eb08511c704d549f8237",8427:"409e29315cd91dfb038b",8438:"41a503f1b2737d035a74",8568:"bf0989c363612ba74ac9",8573:"5c08084613d87fec6064",8599:"1c088737758fa51d0a0a",8636:"48c3cab70569554b8655",8649:"519f8992d7c5b42bf4e1",8699:"6d4b2f405c48cf71aa4b",8706:"db5988f190774b8ecd7e",8709:"edbea20e0b917271d7a2",8793:"9639129fefdac959af3a",8855:"38f81f640e33d713ea2c",8873:"75782887b6b9e72b1dc9",8945:"d5a920b4e65ee30d8356",8956:"b025b7e50cad64b75370",8971:"f906bba2b2b7e87a8ae0",8986:"4ad17334f3ef911b6b0b",9081:"b6c8611601548f3554f7",9082:"35cb59b22a293243df26",9112:"7ebcaf2caf566e7902b8",9136:"3249d48fcb94ad9e44a1",9142:"8933a018c2a618e987a4",9176:"2557b40f7b4fcef345a9",9193:"e2b545b8ea15c0016312",9244:"0e4e64562de0635942ff",9414:"b9aecaa9ab601ffcc6b4",9512:"dc6d783fb73d92e5a7fb",9586:"01151d539dca32e61272",9616:"0a4f102b3e946346e2d6",9619:"b044962c66577434486e",9657:"aa3c39fe6f827e094083",9698:"41ef3f798533a2b1c7cf",9707:"bbda1adb51b744127204",9866:"110121669330cd9e737c",9893:"4ff6eee70cdc1c6e3325",9989:"e7d2ba9eda5b0ac31cac"}[e]+".js"},y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a={},o="app:",y.l=function(e,c,s,d){if(a[e])a[e].push(c);else{var l,k;if(void 0!==s)for(var f=document.getElementsByTagName("script"),b=0;b<f.length;b++){var t=f[b];if(t.getAttribute("src")==e||t.getAttribute("data-webpack")==o+s){l=t;break}}l||(k=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,y.nc&&l.setAttribute("nonce",y.nc),l.setAttribute("data-webpack",o+s),l.src=e),a[e]=[c];var _=function(c,s){l.onerror=l.onload=null,clearTimeout(n);var o=a[e];if(delete a[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(s)})),c)return c(s)},n=setTimeout(_.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=_.bind(null,l.onerror),l.onload=_.bind(null,l.onload),k&&document.head.appendChild(l)}},y.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;y.g.importScripts&&(e=y.g.location+"");var c=y.g.document;if(!e&&c&&(c.currentScript&&(e=c.currentScript.src),!e)){var s=c.getElementsByTagName("script");s.length&&(e=s[s.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),y.p=e}(),function(){y.b=document.baseURI||self.location.href;var e={3666:0};y.f.j=function(c,s){var a=y.o(e,c)?e[c]:void 0;if(0!==a)if(a)s.push(a[2]);else if(3666!=c){var o=new Promise((function(s,o){a=e[c]=[s,o]}));s.push(a[2]=o);var d=y.p+y.u(c),l=new Error;y.l(d,(function(s){if(y.o(e,c)&&(0!==(a=e[c])&&(e[c]=void 0),a)){var o=s&&("load"===s.type?"missing":s.type),d=s&&s.target&&s.target.src;l.message="Loading chunk "+c+" failed.\n("+o+": "+d+")",l.name="ChunkLoadError",l.type=o,l.request=d,a[1](l)}}),"chunk-"+c,c)}else e[c]=0},y.O.j=function(c){return 0===e[c]};var c=function(c,s){var a,o,d=s[0],l=s[1],k=s[2],f=0;if(d.some((function(c){return 0!==e[c]}))){for(a in l)y.o(l,a)&&(y.m[a]=l[a]);if(k)var b=k(y)}for(c&&c(s);f<d.length;f++)o=d[f],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return y.O(b)},s=self.webpackChunkapp=self.webpackChunkapp||[];s.forEach(c.bind(null,0)),s.push=c.bind(null,s.push.bind(s))}(),y.nc=void 0}(); +//# sourceMappingURL=runtime.018f688d4e1244776013.js.map
\ No newline at end of file diff --git a/runtime.018f688d4e1244776013.js.map b/runtime.018f688d4e1244776013.js.map new file mode 100644 index 0000000..7e69d5f --- /dev/null +++ b/runtime.018f688d4e1244776013.js.map @@ -0,0 +1 @@ +{"version":3,"file":"runtime.018f688d4e1244776013.js","mappings":"6BAAIA,ECCAC,EADAC,ECAAC,EACAC,E,KCAAC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CACjDK,GAAIL,EACJM,QAAQ,EACRH,QAAS,CAAC,GAUX,OANAI,EAAoBP,GAAUQ,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAG3EK,EAAOE,QAAS,EAGTF,EAAOD,OACf,CAGAJ,EAAoBU,EAAIF,EH5BpBd,EAAW,GACfM,EAAoBW,EAAI,SAASC,EAAQC,EAAUC,EAAIC,GACtD,IAAGF,EAAH,CAMA,IAAIG,EAAeC,IACnB,IAASC,EAAI,EAAGA,EAAIxB,EAASyB,OAAQD,IAAK,CACrCL,EAAWnB,EAASwB,GA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AAI,CACrE,IAAIL,KAAYiI,EACZlI,EAAoBiD,EAAEiF,EAAajI,KACrCD,EAAoBU,EAAET,GAAYiI,EAAYjI,IAGhD,GAAGkI,EAAS,IAAIvH,EAASuH,EAAQnI,EAClC,CAEA,IADGgI,GAA4BA,EAA2BC,GACrD/G,EAAIL,EAASM,OAAQD,IACzBqC,EAAU1C,EAASK,GAChBlB,EAAoBiD,EAAEmE,EAAiB7D,IAAY6D,EAAgB7D,IACrE6D,EAAgB7D,GAAS,KAE1B6D,EAAgB7D,GAAW,EAE5B,OAAOvD,EAAoBW,EAAEC,EAC9B,EAEIyH,EAAqBnB,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9EmB,EAAmBtF,QAAQgF,EAAqBhC,KAAK,KAAM,IAC3DsC,EAAmB9D,KAAOwD,EAAqBhC,KAAK,KAAMsC,EAAmB9D,KAAKwB,KAAKsC,G,ICvFvFrI,EAAoBkF,QAAK/E,C","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/create fake namespace object","webpack:///webpack/runtime/load script","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/runtime/nonce"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"68\":\"locales/keys_ro-keycodes\",\"129\":\"locales/keys_lt_ibm-keycodes\",\"308\":\"locales/keys_be-keycodes\",\"389\":\"locales/keys_mn-keycodes\",\"398\":\"locales/keys_lo-keycodes\",\"421\":\"locales/keys_bg_latin-keycodes\",\"422\":\"locales/keys_th_pattachote-keycodes\",\"539\":\"locales/keys_khb_tai_le-keycodes\",\"578\":\"locales/keys_sr_latin-keycodes\",\"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\",\"951\":\"locales/keys_kk-keycodes\",\"1156\":\"locales/keys_man-keycodes\",\"1315\":\"locales/keys_bs-keycodes\",\"1343\":\"locales/keys_en_gb_extended-keycodes\",\"1480\":\"locales/keys_bn-keycodes\",\"1507\":\"locales/keys_de_ibm-keycodes\",\"1514\":\"locales/keys_fr_swiss-keycodes\",\"1545\":\"locales/keys_el-keycodes\",\"1547\":\"locales/keys_ml-keycodes\",\"1671\":\"locales/keys_lv-keycodes\",\"1720\":\"locales/keys_sk_qwerty-keycodes\",\"1808\":\"locales/keys_de_belgian_period-keycodes\",\"1872\":\"locales/keys_pt_abnt-keycodes\",\"1936\":\"locales/keys_ckb-keycodes\",\"2015\":\"locales/keys_hy-keycodes\",\"2231\":\"locales/keys_sr-keycodes\",\"2247\":\"locales/keys_mr-keycodes\",\"2271\":\"locales/keys_nl_period-keycodes\",\"2275\":\"locales/keys_tk-keycodes\",\"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\",\"2787\":\"locales/keys_gu-keycodes\",\"2835\":\"locales/keys_tmh-keycodes\",\"2947\":\"locales/keys_us_international-keycodes\",\"2982\":\"locales/keys_ha-keycodes\",\"3033\":\"locales/keys_es_variation-keycodes\",\"3194\":\"locales/keys_mn_phags_pa-keycodes\",\"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\",\"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\",\"3880\":\"locales/keys_mt_101-keycodes\",\"3893\":\"locales/keys_dz-keycodes\",\"4036\":\"locales/keys_ta-keycodes\",\"4156\":\"locales/keys_hu-keycodes\",\"4257\":\"locales/keys_tn-keycodes\",\"4263\":\"locales/keys_el_319-keycodes\",\"4289\":\"locales/keys_gn-keycodes\",\"4296\":\"locales/keys_el_polytonic-keycodes\",\"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\",\"4777\":\"locales/keys_syr-keycodes\",\"4795\":\"locales/keys_ro_programmers-keycodes\",\"4821\":\"locales/keys_pt-keycodes\",\"4824\":\"locales/keys_te-keycodes\",\"4887\":\"locales/keys_lis_standard-keycodes\",\"4892\":\"locales/keys_ne-keycodes\",\"4919\":\"locales/keys_nb-keycodes\",\"5015\":\"locales/keys_my-keycodes\",\"5303\":\"locales/keys_tr-keycodes\",\"5332\":\"locales/keys_ba-keycodes\",\"5354\":\"locales/keys_srb-keycodes\",\"5485\":\"locales/keys_dv-keycodes\",\"5604\":\"locales/keys_is-keycodes\",\"5606\":\"locales/keys_lb-keycodes\",\"5715\":\"locales/keys_sl-keycodes\",\"5821\":\"locales/keys_el_latin_319-keycodes\",\"5840\":\"locales/keys_iu-keycodes\",\"5842\":\"locales/keys_khb-keycodes\",\"5991\":\"locales/keys_non-keycodes\",\"5998\":\"locales/keys_yo-keycodes\",\"6049\":\"locales/keys_ps-keycodes\",\"6157\":\"locales/keys_dvorak-keycodes\",\"6184\":\"locales/keys_de_swiss-keycodes\",\"6392\":\"locales/keys_ar-keycodes\",\"6415\":\"locales/keys_nl-keycodes\",\"6429\":\"locales/keys_es_latin_american-keycodes\",\"6457\":\"locales/keys_gd-keycodes\",\"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\",\"6794\":\"locales/keys_km-keycodes\",\"6943\":\"locales/keys_chr-keycodes\",\"7022\":\"locales/keys_et-keycodes\",\"7069\":\"locales/keys_wo-keycodes\",\"7080\":\"locales/keys_uz-keycodes\",\"7108\":\"locales/keys_he_standard-keycodes\",\"7228\":\"locales/keys_uk_enhanced-keycodes\",\"7289\":\"locales/keys_sah-keycodes\",\"7292\":\"locales/keys_ru_phonetic-keycodes\",\"7303\":\"locales/keys_kl-keycodes\",\"7305\":\"locales/keys_tt-keycodes\",\"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\",\"7950\":\"locales/keys_fr_belgian_period-keycodes\",\"7994\":\"locales/keys_vi-keycodes\",\"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\",\"8302\":\"locales/keys_en_india-keycodes\",\"8307\":\"locales/keys_nso-keycodes\",\"8391\":\"locales/keys_pl-keycodes\",\"8427\":\"locales/keys_ko-keycodes\",\"8438\":\"locales/keys_la_old_italic-keycodes\",\"8568\":\"locales/keys_mn_traditional-keycodes\",\"8599\":\"locales/keys_fa-keycodes\",\"8636\":\"locales/keys_nb_sami-keycodes\",\"8649\":\"locales/keys_sv-keycodes\",\"8699\":\"locales/keys_se_finland_sweden-keycodes\",\"8706\":\"locales/keys_fi-keycodes\",\"8709\":\"locales/keys_kn-keycodes\",\"8793\":\"locales/keys_dvorak_left-keycodes\",\"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\",\"9081\":\"locales/keys_lv_standard-keycodes\",\"9082\":\"locales/keys_as-keycodes\",\"9112\":\"locales/keys_pt_abnt2-keycodes\",\"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\",\"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\":\"locales/keys_si-keycodes\",\"9866\":\"locales/keys_fi_sami-keycodes\",\"9893\":\"locales/keys_got-keycodes\",\"9989\":\"locales/keys_pa-keycodes\"}[chunkId] || chunkId) + \".\" + {\"68\":\"7b17882894d827d4a691\",\"129\":\"93e9e7b55ff4db1b45f4\",\"308\":\"e7d0c13e3ecc92b49444\",\"389\":\"606dc039dbee5e7de1d4\",\"398\":\"c8c541aaf844eeda8149\",\"401\":\"bdae6943931998cef4fd\",\"421\":\"dbb2c1733f9a7579098e\",\"422\":\"666bd3a0ce35c4a274ff\",\"539\":\"f13efc888eac2aa8e903\",\"542\":\"b08e94331b5e117681ac\",\"578\":\"04d1220d52840040f60b\",\"727\":\"2919567394fbd9d07a87\",\"749\":\"76b287374b8ae5f7a06c\",\"771\":\"476e9ba05219d84921f3\",\"814\":\"4764231c07fa0d0a04f6\",\"819\":\"0795ba54cbc82dd190cf\",\"833\":\"46444cf657dcf1bb1593\",\"920\":\"dc595b5183e9c47ff557\",\"951\":\"f0042702141cbb2ccabf\",\"1040\":\"668a24817c3f3941bb2c\",\"1156\":\"bb15c7631776a604bdb7\",\"1315\":\"0db48f03173200e045f2\",\"1343\":\"8f70c7bbb298f625412f\",\"1480\":\"dd1c948a8c44aac28b53\",\"1507\":\"8cada04b0e43007bb4be\",\"1514\":\"649b8ed65f356fa690ac\",\"1545\":\"b152a1976be0001bfb43\",\"1547\":\"c246a45983470f77e595\",\"1671\":\"6bdbbb20361914659d30\",\"1720\":\"3328c6b7c20fbf918852\",\"1808\":\"abb32a6fe65c55952158\",\"1872\":\"719fd6d2cfbc98065faa\",\"1936\":\"8e41309b9c19de95960a\",\"2015\":\"1189ea9050bf52385110\",\"2231\":\"5080f1cbf58c1317f585\",\"2247\":\"3459beb60f5e45f7a659\",\"2271\":\"b737428706ade1ab91ed\",\"2275\":\"6c3d70cbc0a2a960dede\",\"2383\":\"45d4631f706b18beb2d9\",\"2408\":\"49d33aa415e8f4992f21\",\"2602\":\"d7b17cf5cd894ba30b64\",\"2619\":\"5153da3fbe85b2f1f7f8\",\"2621\":\"bd9a8dabd0cd755853b5\",\"2650\":\"a829372aef4170ca51a4\",\"2659\":\"c36d1660242da4a6482d\",\"2787\":\"23f639d1d9e06f080ea7\",\"2835\":\"551ed1eddb65a0855ec0\",\"2912\":\"0e5ecd7e9faa1378ed9c\",\"2946\":\"972b1c0cded5c7511836\",\"2947\":\"2b19227a71dd755ae4b6\",\"2982\":\"36e9273f2ce6ff4f4673\",\"3033\":\"b26fcf2e16e386fb33b1\",\"3194\":\"8a08d0da753f48f7f95e\",\"3268\":\"f3f0e12f35d6ede0f40f\",\"3282\":\"01584f37d4d33ad63efb\",\"3322\":\"7ebaf8ec7ac148f4669d\",\"3359\":\"2b1b7a00d5f5a3f3d4d7\",\"3362\":\"4b171d128973788c904e\",\"3393\":\"2b68325532554cc8d8ba\",\"3474\":\"d8e51748742a2c676e34\",\"3618\":\"d8420dbaf5d768e5d2d4\",\"3647\":\"6703ed839e825c8771d3\",\"3687\":\"e750c133ca55d5c6e548\",\"3735\":\"c9d93c92c6c0423a5416\",\"3743\":\"ebb2429d5bbde92909c4\",\"3746\":\"a4deb37dc8a93b498757\",\"3880\":\"fcaa03e1df43df95ab97\",\"3893\":\"c7df98614033002329af\",\"4036\":\"909dd7500874d97524c9\",\"4156\":\"b9b13036d2669cc053d2\",\"4257\":\"f5fd10e05ad3d0536453\",\"4263\":\"931dcb76dcb966d4c80f\",\"4289\":\"fa48da5f908e2f1c31fc\",\"4296\":\"6398e9a1092dbd966cd4\",\"4443\":\"3d9b42bc9254f6af0784\",\"4465\":\"f4574a240d1cc776a64d\",\"4491\":\"85813c1f613b510d8c53\",\"4595\":\"32f60188d0eaea679456\",\"4670\":\"c00667ffdde3a68622ab\",\"4688\":\"31df1ae6ad5f78bd01fc\",\"4717\":\"abfe395f6284ad19bfcd\",\"4777\":\"2224cbda2741be9da336\",\"4795\":\"ed0ccd39951359fbbbca\",\"4821\":\"ddd40fd58db42a579031\",\"4824\":\"0a6f4db1962949f69a35\",\"4887\":\"f052ae8bfdfdb1d513db\",\"4892\":\"960290e8d85e0b47f102\",\"4919\":\"4a12c76edfa94312b0ea\",\"5015\":\"0f3a2242ea9f9a42c4f9\",\"5303\":\"a4497d24307a9897e5b5\",\"5332\":\"777b50e4b114b352d258\",\"5354\":\"2e00aaedbbdc1642bb92\",\"5485\":\"55a0ec07c8abbfe214b4\",\"5604\":\"f11c3e2dd4430602f243\",\"5606\":\"8cfe7dc5f09ec96ea95e\",\"5634\":\"fb6e3c3e2e7af16d3394\",\"5715\":\"4ef9b548b6cfc7c605f9\",\"5821\":\"a4f5e6f31f799696cdaf\",\"5840\":\"7e4e574c1214010c07dc\",\"5842\":\"f7c89fd7bf3602a3399e\",\"5858\":\"6e8f5975904a2a2282f5\",\"5991\":\"512b59c58af9c82a47d5\",\"5998\":\"91c971fb3f5767c3d295\",\"6049\":\"a62bb2191cc0eecda711\",\"6157\":\"8b93a87cbbec10359b5d\",\"6184\":\"732ddeb1a32a40e2fc3a\",\"6392\":\"fa88aea6ab27afd6da50\",\"6415\":\"627e38aee29608a5d6d2\",\"6429\":\"b9b3578a604e51fa3455\",\"6457\":\"ba688263a9c85e9843e1\",\"6684\":\"1274b7cfa9914c7663c9\",\"6688\":\"5d24e1f96d6a6cfefcb0\",\"6691\":\"b6cb655f0aa7dcd8787b\",\"6710\":\"69f4ed313d19455e88f9\",\"6777\":\"dab38c8f01434d45eb86\",\"6794\":\"aa4330a831430380f7ca\",\"6849\":\"53f15e008bb8448d2fec\",\"6943\":\"9c0653724d1cbfa9ed86\",\"7022\":\"9ece5bc0d21090bf91ad\",\"7069\":\"9929a74e7e92648a0f87\",\"7080\":\"f083c93705b5e80e4a4e\",\"7108\":\"906eeacc617750894b22\",\"7198\":\"aec09ef07d003f7d7a91\",\"7228\":\"0a7f301444940610aa3a\",\"7289\":\"2fcc4bbd19c8e23bcfd9\",\"7292\":\"364542469a1dd2fd041b\",\"7303\":\"8f0ef5a9295943353ecf\",\"7305\":\"ac74249c913980666520\",\"7406\":\"11b0b86fb5919cd2d239\",\"7446\":\"f26521f672e3d94f3c62\",\"7495\":\"cb22512c8cea97bbcf19\",\"7553\":\"b6c1ba6d52fa85ac8595\",\"7554\":\"bdf065db03088c4a4a5d\",\"7568\":\"d9f3ad26c7b8b70fc1ec\",\"7603\":\"d2d72bb470a9b2e1ede0\",\"7686\":\"940990bf96e9413b2e9b\",\"7771\":\"9942586e9e23d5059127\",\"7803\":\"8760edf191caa0f69869\",\"7892\":\"86c938c7b27b9a67ef50\",\"7950\":\"6fb177a4414f9a190484\",\"7994\":\"c160e150f1431807c681\",\"8017\":\"837d18f3c4fcf868010b\",\"8019\":\"02f2f252639bb1d459b6\",\"8041\":\"dae4eea51cfd6e1fbef3\",\"8070\":\"27f10e0739c78ab95d16\",\"8110\":\"c132517c950a214d5731\",\"8119\":\"58eb56bfeb45579c084c\",\"8173\":\"1776ba2cbbdeb9918f9c\",\"8185\":\"ece0dc278594eee67cb1\",\"8207\":\"7e346d396cf1e067b94f\",\"8216\":\"bd2ef62dab7ca40f6d44\",\"8242\":\"3891fea81cc045034ad4\",\"8251\":\"7bcdee9a73a0eb39baaa\",\"8302\":\"6b483d8d7739ff515b8f\",\"8307\":\"e12dd0aad5e6a036ed3b\",\"8381\":\"7ec7bc962edc67495152\",\"8391\":\"eb08511c704d549f8237\",\"8427\":\"409e29315cd91dfb038b\",\"8438\":\"41a503f1b2737d035a74\",\"8568\":\"bf0989c363612ba74ac9\",\"8573\":\"5c08084613d87fec6064\",\"8599\":\"1c088737758fa51d0a0a\",\"8636\":\"48c3cab70569554b8655\",\"8649\":\"519f8992d7c5b42bf4e1\",\"8699\":\"6d4b2f405c48cf71aa4b\",\"8706\":\"db5988f190774b8ecd7e\",\"8709\":\"edbea20e0b917271d7a2\",\"8793\":\"9639129fefdac959af3a\",\"8855\":\"38f81f640e33d713ea2c\",\"8873\":\"75782887b6b9e72b1dc9\",\"8945\":\"d5a920b4e65ee30d8356\",\"8956\":\"b025b7e50cad64b75370\",\"8971\":\"f906bba2b2b7e87a8ae0\",\"8986\":\"4ad17334f3ef911b6b0b\",\"9081\":\"b6c8611601548f3554f7\",\"9082\":\"35cb59b22a293243df26\",\"9112\":\"7ebcaf2caf566e7902b8\",\"9136\":\"3249d48fcb94ad9e44a1\",\"9142\":\"8933a018c2a618e987a4\",\"9176\":\"2557b40f7b4fcef345a9\",\"9193\":\"e2b545b8ea15c0016312\",\"9244\":\"0e4e64562de0635942ff\",\"9414\":\"b9aecaa9ab601ffcc6b4\",\"9512\":\"dc6d783fb73d92e5a7fb\",\"9586\":\"01151d539dca32e61272\",\"9616\":\"0a4f102b3e946346e2d6\",\"9619\":\"b044962c66577434486e\",\"9657\":\"aa3c39fe6f827e094083\",\"9698\":\"41ef3f798533a2b1c7cf\",\"9707\":\"bbda1adb51b744127204\",\"9866\":\"110121669330cd9e737c\",\"9893\":\"4ff6eee70cdc1c6e3325\",\"9989\":\"e7d2ba9eda5b0ac31cac\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t3666: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(3666 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkapp\"] = self[\"webpackChunkapp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","__proto__","t","value","mode","this","then","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","nmd","paths","children","scriptUrl","importScripts","location","currentScript","Error","replace","p","b","baseURI","self","href","installedChunks","installedChunkData","promise","resolve","reject","error","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal"],"sourceRoot":""}
\ No newline at end of file diff --git a/shared.8d18858839cd2d379cfe.js b/shared.8d18858839cd2d379cfe.js new file mode 100644 index 0000000..569e7f7 --- /dev/null +++ b/shared.8d18858839cd2d379cfe.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3712],{66767:function(o,_,e){o.exports=e(92908)},59857:function(o,_,e){const{removeStartingWhitespace:r,removeTrailingWhitespace:t,reindent:l,dedent:E}=e(3769),{getLabeledItem:a,getNodeLabels:c}=e(35125),s=" ",i="keep";function n(o){return-1!==o.text.indexOf("\n")}function S(o){return"comment"===o.type&&o.previousSibling&&"preproc_def"!==o.previousSibling.type&&"preproc_function_def"!==o.previousSibling.type&&"preproc_include"!==o.previousSibling.type&&o.previousSibling.endPosition.row===o.startPosition.row}function A(o,_){return _.repeat(y(o))}function y(o){let _=o,e=0;const r=o.tree.rootNode;for(;(_=_.parent)&&_&&_.id!==r.id;)"labeled_item"!==_.type&&e++;return e}function I(o,_){if(!_)return!1;const e=o.type===_.type;return e&&"node"===o.type||"property"===(r=o)?.type&&(r.namedChildren.length>2||r.namedChildren.slice(1).some(n))||!e&&!S(_);var r}function u(o){return!!o.childForFieldName("address")}function w(o){return u(o)?`@${o.namedChildren[1].text}`:""}function x(o){return o.map((o=>`${o}: `)).join("")}o.exports={formatNode:function o(_,e={}){const{indent:y=s}=e;"labeled_item"===_.type&&(_=a(_));const[D,...d]=_.namedChildren,R=A(_,y);function O(_){return _.reduce(((r,t,l,E)=>S(t)?(r[r.length-1]+=t.text,r):(r.push(...o(t,e)),I(t,_[l+1])&&r.push(""),r)),[])}switch(_.type){case"document":return[...O(_.namedChildren),""];case"node":return[R+`${x(c(_))}${D.text}${w(_)} {`,...O(u(_)?_.namedChildren.slice(2):d),R+"};"];case"property":return function(_,e={}){const{indent:a=s,multilineIntegerCellsIndent:S=i}=e,[y,...I]=_.namedChildren,u=A(_,a),w=0===I.length,D=1===I.length&&!n(I[0]),d=1===I.length&&"integer_cells"===I[0].type,R=x(c(_));if(w)return[u+_.text];if(D)return[u+`${R}${y.text} = ${I[0].text};`];if(d){let o=r(t(I[0].text.slice(1,-2)));switch(S){case"reindent":o=l(o,u+a);break;case"dedent":o=E(o)}return[u+`${R}${y.text} = <`,...o.split("\n"),u+">;"]}return[u+`${y.text} =`,...[].concat(...I.map((_=>o(_,e)))).map(((o,_,e)=>[o,_===e.length-1?";":","].join("")))]}(_,e);case"preproc_include":case"preproc_def":case"preproc_function_def":return[_.text.trimEnd()];default:return[R+_.text]}},getModelineConfiguration:function(o){return o.rootNode.namedChildren.reduce(((o,_)=>{if("comment"===_.type){const e=_.text.startsWith("//")?_.text.slice(2).trim():_.text.slice(2,-2).trim();for(const _ of e.split("\n")){const e=_.match(/dt-formatter:\s*(\w+)\s*=\s*(.+)$/);if(e){const[_,r]=e.slice(1);try{const e=JSON.parse(r);o[_]=e}catch{}}}}return o}),{})},getNodeDepth:y,isInlineComment:S,shouldIncludeBlank:I}},1530:function(o,_,e){o.exports=Object.assign({},e(35125),e(46933),e(31960),e(95147))},35125:function(o,_,e){const r=e(69282),t=e(49766);function l(o){return E(o.parent,"label")}function E(o,_){const e=[],r=o.walk();r.gotoFirstChild();do{const o=r.currentNode().isNamed(),t=r.currentFieldName()===_;o&&t&&e.push(r.currentNode())}while(r.gotoNextSibling());return r.delete(),e}function a(o,_){const e="string"==typeof _?o=>o===_:_;return o.namedChildren.filter((o=>"node"===o.type&&o.children.find((o=>"identifier"===o.type&&e(o.text)))))}o.exports={nodesAreConsecutive:function(o){return o.every(((_,e)=>!(e<o.length-1)||_.nextSibling.id===o[e+1].id))},getNodeLabels:function(o){return l(o).map((o=>o.text))},getNodeLabelNodes:l,getLabeledItem:function(o){return r("labeled_item"===o.type),o.childForFieldName("item")},getNodeChildrenByFieldName:E,findChildByIdentifier:function(o,_){o=[].concat(o);for(const e of t(o)){const o=a(e,_)[0];if(o)return o}},findChildrenByIdentifier:a,listNodes:function(o,_={}){const{stripNewlines:e=!0,limit:r=50}=_;for(const _ of o){let o=_.text;e&&(o=o.replace(/\n/g,"")),r&&(o=o.slice(0,r)),console.log(_.id,`[${_.type}]`,"->",o)}}}},46933:function(o,_,e){const{getNodeChildrenByFieldName:r}=e(35125),{parseStringLiteral:t,parseIntegerCells:l,parseIntegerArray:E,parsePhandles:a,parsePhandle:c,parsePhandleArray:s,parseIntegerUnion:i,serializeIntValue:n,serializeArrayValue:S}=e(95147);function A(o,_){return o.children.find((o=>"property"===o.type&&o.children[0].text===_))}function y(o,_){return o.namedChildren.find((o=>"property"===o.type&&o.childForFieldName("name")?.text===_))}function I(o,_){const e=y(o,_);return e&&r(e,"value")}function u(o,_,e){const r=A(o,_),n=I(o,_);switch(e.type){case"string":return t(n?.[0]);case"boolean":return!!r;case"int":return l(n)?.[0];case"array":return E(n);case"phandle":return c(n);case"phandles":return a(n);case"phandle-array":return s(n);case"integer-union":return i(n)}}o.exports={findNodeProperty:A,getProperty:function(o,_){const e=o.children.find((o=>"property"===o.type&&o.children[0].text===_));return e&&{syntaxNode:e,name:_,value:e.children[2]?.text}},getPropertyNode:y,getPropertyValue:function(o,_){return(_="string"==typeof _?y(o,_):_)?.childForFieldName("value")},getPropertyValues:I,parsePropertiesFromSchema:function(o,_){return Object.keys(_).reduce(((e,r)=>{const t=_[r],l=u(o,r,t);return void 0!==l&&(e[r]={parsed:l}),e}),{})},parsePropertyFromSchema:u,serializePropertyFromSchema:function(o,_){switch(_.type){case"string":return`"${o.parsed}"`;case"boolean":return o.parsed;case"int":return n(o.parsed);case"array":return S(o.parsed);case"phandle":return o.parsed.map((o=>`<${o}>`)).join(", ");case"phandles":case"phandle-array":return o.parsed.reduce(((o,_)=>(_.startsWith("&")?o.push([_]):o[o.length-1].push(_),o)),[]).map((o=>`<${o.join(" ")}>`)).join(", ");case"integer-union":return`<(${o.parsed.map((o=>o.toString())).join("|")})>`}}}},31960:function(o){function _(o,_={}){const{maxDepth:e=-1}=_,r=[{depth:0,node:o.rootNode||o}];return function(){const o=r.shift();return o&&(-1===e||o.depth<e)&&r.push(...o.node.namedChildren.map((_=>({node:_,depth:o.depth+1})))),o?.node}}function e(o,_={}){const{maxDepth:e=-1}=_,r=[{depth:0,node:o.rootNode||o}];return function(){const o=r.shift();return o&&(-1===e||o.depth<e)&&r.unshift(...o.node.namedChildren.map((_=>({node:_,depth:o.depth+1})))),o?.node}}function r(o,r,t={}){const{single:l=!1,maxDepth:E=-1,depthFirst:a=!1}=t,c=a?e(o,{maxDepth:E}):_(o,{maxDepth:E}),s=[];let i;for(;i=c();)if(r(i)){if(l)return i;s.push(i)}if(!l)return s}function t(o){let _;if(o instanceof RegExp)_=_=>o.test(_);else if("string"==typeof o)_=_=>_===`"${o}"`;else{if("function"!=typeof o)throw new TypeError("Unexpected type "+typeof o);_=o}return o=>"property"===o.type&&"compatible"===o.childForFieldName("name").text&&_(o.childForFieldName("value").text)}o.exports={BreadthFirstIterator:_,DepthFirstIterator:e,searchTree:r,findLabeledItem:function(o,_){let e=r(o,(o=>"labeled_item"===o.type&&"identifier"===o.children[0].type&&o.children[0].text===_),{single:!0});if(!e)return null;do{e=e.childForFieldName("item")}while("labeled_item"===e.type);return e},findNodeByIdentifier:function(o,_){return r(o,(o=>"node"===o.type&&o.childForFieldName("name").text===_),{single:!0})},findNodeWithCompatible:function(o,_){return r(o,t(_),{single:!0})?.parent},findNodesWithCompatible:function(o,_){return r(o,t(_)).map((o=>o.parent))}}},95147:function(o,_,e){const{searchTree:r}=e(31960),t=o=>"unary_expression"===o.type&&"-"===o.childForFieldName("operator").type&&"integer_literal"===o.childForFieldName("argument").type,l=o=>["identifier","integer_literal"].includes(o.type)||t(o),E=o=>["identifier","integer_literal","reference","call_expression"].includes(o.type),a=o=>"reference"===o.type,c=o=>"integer_literal"===o.type||t(o)?Number(o.text):o.text;function s(o){return o?.flatMap((o=>o.namedChildren.filter(l).map(c)))}function i(o){return o?.flatMap((o=>o.namedChildren.filter(a).map((o=>o.text))))}function n(o){return(o=o.toString()).match(/-\d+/)&&(o=`(${o})`),o}o.exports={parseStringLiteral:function(o){return o?.text?.slice(1,-1)},parseIntegerCells:function(o){return s(o)},parseIntegerArray:s,parsePhandle:function(o){return i(o)[0]},parsePhandleArray:function(o){return o?.flatMap((o=>o.namedChildren.filter(E).map((o=>o.text))))},parsePhandles:i,parseIntegerUnion:function(o){return o?.flatMap((o=>r(o,l,{depthFirst:!0}))).map(c)},sanitizeIdentifier:function(o){return o.replace(/[^a-zA-Z0-9,._+-]/g,"_").slice(0,31)},serializeIntValue:function(o){return`<${n(o)}>`},serializeArrayValue:function(o){return`<${o.map(n).join(" ")}>`}}},89361:function(o,_,e){const r=e(69282),{ReferenceError:t}=r,l=e(66039),E=e(42148),a=e(33610),c=e(72243),s=e(84060),i=e(49766),{getNodeLabels:n,getLabeledItem:S}=e(35125),{getPropertyValues:A}=e(46933),{sanitizeIdentifier:y}=e(95147);o.exports={NodeCollection:class{managedProperties=[];_cached_container_node=null;_cached_container_tree_version=0;_cached_collection_nodes=null;_cached_collection_tree_version=0;constructor(o,_={}){this.document=o,_.managedProperties&&(this.managedProperties=_.managedProperties),_.lookupContainerNode&&(this.lookupContainerNode=_.lookupContainerNode.bind(this)),_.injectContainerNode&&(this.injectContainerNode=_.injectContainerNode.bind(this)),_.lookupNodes&&(this.lookupNodes=_.lookupNodes.bind(this)),_.injectNode&&(this.injectNode=_.injectNode.bind(this))}lookupContainerNode(){throw new t("Provide `lookupContainerNode` in constructor or override this method")}injectContainerNode(){throw new t("Provide `injectContainerNode` in constructor or override this method")}lookupNodes(){throw new t("Provide `lookupNodes` in constructor or override this method")}injectNode(){throw new t("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(o){o.length&&!this.container&&(this.injectContainerNode(this),this.document.flushChanges());const _=[...this.nodes.keys()],e=E(c(o,"index"),(o=>this.nodes[o])),r=l(_,e),[t,a]=s(o,(o=>this.nodes[o.index]));for(const o of t)this.updateNode(o.index,o);for(const o of i(r))this.document.removeNode(this.nodes[o]);for(const o of a)this.injectNode(this,o),this.document.flushChanges(),this.updateNode(this.nodes.length-1,o)}updateNode(o,_){const e=this.extractNode(this.nodes[o]);this.updateNodeName(o,_,e),this.updateNodeLabels(o,_,e),this.updateNodeProperties(o,_,e),this.cleanupNodeProperties(o,_,e)}updateNodeName(o,_,e){if(e.name!==_.name){const e=this.nodes[o].childForFieldName("name");this.document.replaceNode(e,y(_.name),{removeStartingWhitespace:!1})}}updateNodeLabels(o,_,e){a(e.labels,_.labels)||this.document.replaceNodeLabels(this.nodes[o],_.labels)}updateNodeProperties(o,_,e){const{properties:r}=_;for(const _ in r){const t=r[_];a(t,e.properties[_])||this.document.setProperty(this.nodes[o],_,t)}}cleanupNodeProperties(o,_,e){const{properties:r}=_;for(const _ of this.managedProperties)_ in e.properties&&!(_ in r)&&this.document.deleteProperty(this.nodes[o],_)}extractNode(o){r("node"===o.type);const _=o.childForFieldName("name").text,e=n(o),t=o.namedChildren.reduce(((_,e)=>{if("labeled_item"===e.type&&(e=S(e)),"property"===e.type){const r=e.childForFieldName("name").text,t=A(o,r),l=c(t,"text"),E=l.join(", ");_[r]={parsed:l,raw:E}}return _}),{});return{name:_,labels:e,properties:t}}extractCollection(){return this.nodes.map(((o,_)=>({index:_,...this.extractNode(o)})))}}}},92908:function(o,_,e){const r=e(69282),{sortBy:t}=e(59553),l=e(96912),{getPosition:E}=e(3769),{getNodeLabelNodes:a}=e(35125),{getProperty:c}=e(46933);let s;o.exports={getParser:async function(){if(!s){await l.init();const o=await l.Language.load(e.g.window?e(34886):"//../data/tree-sitter-devicetree.wasm");s=new l,s.setLanguage(o)}return s},DevicetreeDocument:class{constructor(o,_){this.parser=o,this._parse_version=0,this._enableChangeBuffering=!1,this._bufferedChanges=[],this.update(_)}cleanup(){this.tree.delete()}update(o,_=null){if(_&&this.tree&&this._enableChangeBuffering){const e=o.slice(_.startIndex,_.newEndIndex);this._bufferedChanges.push({startIndex:_.startIndex,update:_,replacementText:e})}else this.text=o,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=t(this._bufferedChanges,"startIndex"),_=o.reduce(((_,{update:e,replacementText:r},t)=>{const l=o[t+1],E=t>0?o[t-1].update.oldEndIndex:0,a=this.text.slice(E,e.startIndex),c=r;return _.push(a),_.push(c),l||_.push(this.text.slice(e.oldEndIndex)),_}),[]);this.text=_.join(""),this._reparse(),this._bufferedChanges=[]}removeNode(o){this.replaceNode(o,"")}replaceNode(o,_,e={}){const{removeStartingWhitespace:r=!0}=e,{text:t}=this,l=t.lastIndexOf("\n",o.startIndex),a=-1!==l&&t.slice(l+1,o.startIndex).match(/\s+/)&&r?l:o.startIndex,c=[t.slice(0,a),_,t.slice(o.endIndex)].join(""),s={startIndex:a,startPosition:E(_,a),oldEndIndex:o.endIndex,oldEndPosition:o.endPosition,newEndIndex:a+_.length,newEndPosition:E(c,a+_.length)};this.update(c,s)}replaceRange(o,_,e){const{text:r}=this,t=[r.slice(0,o),e,r.slice(_)].join(""),l=o+e.length,a={startIndex:o,startPosition:E(r,o),oldEndIndex:_,oldEndPosition:E(r,_),newEndIndex:l,newEndPosition:E(t,l)};return this.update(t,a)}replaceNodeLabels(o,_){const e=a(o),r=t(e,"startIndex"),l=_.map((o=>`${o}:`)).join(" "),E=r[0]&&r[0].parent||o;this.replaceRange(E.startIndex,o.startIndex,l)}insertTextBeforeNode(o,_){this.replaceRange(o.startIndex,o.startIndex,_)}insertTextAfterNode(o,_){this.replaceRange(o.endIndex,o.endIndex,_)}addChildNode(o,_){r("node"===o.type);const e=o.children.find((o=>"}"===o.type));return this.replaceRange(e.startIndex,e.startIndex,_)}setProperty(o,_,e){const r=c(o,_);if("boolean"==typeof e&&!e)return void(r&&this.deleteProperty(o,_));const t=e.length?`${_} = ${e};`:`${_};`;return r?this.replaceNode(r.syntaxNode,t,{removeStartingWhitespace:!1}):this.addChildNode(o,`\n ${t}`)}deleteProperty(o,_){const e=c(o,_);e&&this.replaceNode(e.syntaxNode,"")}}}},83858:function(o,_,e){const r=e(26069),t=e(22469),l=e(41953),E=e(50501),a=e(72243),c=e(54600),s=e(22834),{getParser:i}=e(66767),{formatNode:n,getModelineConfiguration:S}=e(59857),{behaviorBindings:A}=e(95130),y=e(87325),{encodeKeyBinding:I}=e(69663),u=e(22443),w=E(A,"code");function x(o){const _=[...t(r(a(o.layers,"properties.bindings.parsed"))),...t(r(a(o.layers,"properties.sensor-bindings.parsed"))),...t(r(a(o.combos,"properties.bindings.parsed"))),...t(r(a(o.macros,"properties.bindings.parsed"))),...t(r(a(o.behaviors,"properties.bindings.parsed")))].map((o=>"object"==typeof o?o.value:o));return s(_)}o.exports=async function(o,_,e,r={}){!function(o,_){for(const e of o.layers){if(e.properties.bindings?.parsed){const{parsed:o}=e.properties.bindings;e.properties.bindings={parsed:o,useRaw:!0,raw:`<\n${y(_,o.map(I))}\n>`}}e.properties.label&&!e.properties.label.parsed&&delete e.properties.label,e.properties=c(e.properties,(o=>!o))}}(_,o);const E=t(x(_).map((o=>l(w,[o,"includes"],[])))),a=new u(await i(),e);a._enableChangeBuffering=!0,a.mergeUpdated(_,r),a.replaceBehaviourIncludes(E),a.flushChanges();try{const o=S(a.tree);return n(a.tree.rootNode,o).join("\n")}catch(o){return console.error("Failed to format devictree",o),a.text}finally{a.cleanup()}},o.exports.getBehaviorsUsed=x},69663:function(o,_,e){const r=e(42148),t=e(41953),{parsePropertyFromSchema:l}=e(46933);function E(o){return o.reduce(((o,_)=>(_.startsWith("&")?o.push([_]):o[o.length-1].push(_),o)),[]).map((o=>o.join(" ")))}const a=["¯o_tap","¯o_press","¯o_release","¯o_tap_time","¯o_wait_time","¯o_pause_for_release"];function c(o){const _=(o.params||[]).map(c),e=_.length>0?`(${_.join(",")})`:"";return o.value+e}o.exports={parseBindings:function(o,_="bindings"){const e=l(o,_,{type:"phandle-array"});return e?E([].concat(...e)):void 0},parseKeyBinding:function(o,_){const e=/\((.+)\)/,l=o.match(/^(&.+?)\b/)[1],E=r(o.replace(/^&.+?\b\s*/,"").split(" ")).map((function o(r){const l=r.replace(e,""),E=t(r.match(e),"[1]","").split(",").map((o=>o.trim())).filter((o=>o.length>0)).map(o);return{value:t(_.defines,l,l),params:E}}));return{value:l,params:E}},groupMacroBindings:function(o){return o.reduce(((o,_,e,r)=>{const t=_.split(" ")[0];return a.includes(t)?(o.at(-1).length>0&&o.push([]),o.at(-1).push(_),e<r.length-1&&o.push([])):o.at(-1).push(_),o}),[[]])},groupPhandleArrayBindings:E,encodeKeyBinding:function(o){const{value:_,params:e}=o;return`${_} ${e.map(c).join(" ")}`.trim()}}},65403:function(o,_,e){const r=e(33610),{findChildByIdentifier:t,findChildrenByIdentifier:l,findNodesWithCompatible:E,findNodeProperty:a,getPropertyValues:c,parsePropertyFromSchema:s,sanitizeIdentifier:i,serializePropertyFromSchema:n}=e(1530),{NodeCollection:S}=e(89361),{behaviorSchemas:A}=e(95130),{parseKeyBinding:y,encodeKeyBinding:I}=e(69663);o.exports=class extends S{lookupContainerNode(){const o=l(this.document.tree.rootNode,"/");return t(o,"behaviors")}injectContainerNode(){const o=E(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(o,"\nbehaviors {};\n")}lookupNodes(){return E(this.document.tree.rootNode,(o=>o.startsWith('"zmk,behavior-')&&'"zmk,behavior-macro"'!==o))}injectNode(o,_){const e=i(_.name),r=this.nodes.at(-1),t=`${_.labels[0]}: ${e} {\n compatible = ${_.properties.compatible.raw};\n };`;r?this.document.insertTextAfterNode(r,t):this.document.addChildNode(this.container,t)}extractNode(o){const _=a(o,"compatible")?.namedChildren[1].text.slice(1,-1),e=A[_],r=super.extractNode(o);if(r.properties.compatible.parsed=_,e)for(const _ in e.properties){const t=e.properties[_],l=r.properties[_];if(l&&(l.parsed=s(o,_,t),"phandle-array"===t.type)){const o=l.parsed.reduce(((o,_)=>(_.startsWith("&")?o.push([_]):o[o.length-1].push(_),o)),[]).map((o=>o.join(" ")));l.parsed=o.map((o=>y(o,{})))}}return(c(o,"bindings")||[]).flatMap((o=>o.namedChildren.flatMap((o=>o.text)))),r}updateNodeProperties(o,_,e){const{properties:t}=_,l=a(this.nodes[o],"compatible")?.namedChildren[1].text.slice(1,-1),E=A[l];for(const _ in t){const l=t[_],a=E?.properties?.[_];if(!r(l,e.properties[_])){const e=a&&!l.useRaw?"phandle-array"!==a.type?n(l,a):l.parsed.map((o=>I(o))).map((o=>`<${o}>`)).join(", "):l.raw;this.document.setProperty(this.nodes[o],_,e)}}}cleanupNodeProperties(o,_,e){for(const r in e.properties)r in _.properties||this.document.deleteProperty(this.nodes[o],r)}}},84477:function(o,_,e){const r=e(33610),{findNodeWithCompatible:t,findNodesWithCompatible:l,getLabeledItem:E,getNodeLabels:a,parsePropertiesFromSchema:c,serializePropertyFromSchema:s}=e(1530),{NodeCollection:i}=e(89361),{groupPhandleArrayBindings:n,parseKeyBinding:S,encodeKeyBinding:A}=e(69663),y={bindings:{type:"phandle-array"},"key-positions":{type:"array"},"timeout-ms":{type:"int"},"slow-release":{type:"boolean"},layers:{type:"array"}};o.exports=class extends i{managedProperties=["bindings","key-positions","timeout-ms","layers","slow-release"];lookupContainerNode(){return t(this.document.tree.rootNode,"zmk,combos")}injectContainerNode(){const o=l(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(o,'\n combos {\n compatible = "zmk,combos";\n };\n ')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((o,_)=>("labeled_item"===_.type&&(_=E(_)),"node"===_.type&&o.push(_),o)),[]):[]}injectNode(o,_){const e=_.name.replace(/[^a-zA-Z0-9_]/g,"_"),r=this.nodes.at(-1),t=`${e} {};`;r?this.document.insertTextAfterNode(r,t):this.document.addChildNode(this.container,t)}updateNodeProperties(o,_,e){const{properties:t}=_;for(const _ in t){const l=t[_],E=y[_];if(!r(l,e.properties[_])){const e=E&&!l.useRaw?"phandle-array"!==E.type?s(l,E):l.parsed.map((o=>A(o))).map((o=>`<${o}>`)).join(", "):l.raw;this.document.setProperty(this.nodes[o],_,e)}}_.properties.layers?.parsed?.length||this.document.deleteProperty(this.nodes[o],"layers")}extractNode(o){const _=o.childForFieldName("name").text,e=a(o),r=c(o,y);return r.bindings&&(r.bindings.parsed=n(r.bindings.parsed).map(S)),{name:_,labels:e,properties:r}}legacyParse(o){const{name:_,labels:e,properties:t}=this.extractNode(o),l={name:_,labels:e,properties:t,identifier:_},E={bindings:"bindings","timeout-ms":"timeoutMs","key-positions":"keyPositions","slow-release":"slowRelease",layers:"layers"};for(const o of Object.keys(E))t[o]&&(l[E[o]]=t[o].parsed);return(0===l.layers?.length||r(l.layers,[-1]))&&delete l.layers,l}legacyParseNodes(){return this.nodes.map((o=>this.legacyParse(o)))}}},21207:function(o,_,e){const r=e(66039),t=e(42148),l=e(33610),E=e(72243),{findChildrenByIdentifier:a,findNodesWithCompatible:c,getLabeledItem:s,getNodeLabels:i,parsePropertiesFromSchema:n,serializePropertyFromSchema:S}=e(1530),{NodeCollection:A}=e(89361),{groupPhandleArrayBindings:y,parseKeyBinding:I,encodeKeyBinding:u}=e(69663),w={label:{type:"string"},bindings:{type:"phandle-array"},"sensor-bindings":{type:"phandle-array"}};o.exports=class extends A{managedProperties=["label","bindings","sensor-bindings"];lookupContainerNode(){return c(this.document.tree.rootNode,"zmk,keymap").at(-1)}injectContainerNode(){const o=a(this.document.tree.rootNode,"/");this.document.addChildNode(o.at(-1),'\nkeymap { compatible = "zmk,keymap"; };\n')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((o,_)=>("labeled_item"===_.type&&(_=s(_)),"node"===_.type&&o.push(_),o)),[]):[]}injectNode(o,_){const e=this.nodes.at(-1),r=`${(_.name||"new_layer").replace(/[^a-zA-Z0-9_]/g,"_")} {};`;e?this.document.insertTextAfterNode(e,r):this.document.addChildNode(this.container,r)}updateCollection(o){const _=[...this.nodes.keys()];super.updateCollection(o),this.updateLayerPositions(o,_)}updateLayerPositions(o,_){const e=t(E(o,"index"),(o=>this.nodes[o])),l=r(_,e),a=[..._];for(const e in o){const r=o[e],t=a.length;void 0!==r.index&&_.includes(r.index)||(r.index=t,a[t]=t)}for(let o=l.length-1;o>=0;--o){const _=l[o];a[_]=null;for(let o=_+1;o<a.length;o++)null!==a[o]&&(a[o]-=1)}const c=E(o,"index");c.length>0&&!c.every(((o,_,e)=>_===e.length-1||e[_]<e[_+1]))&&(this.document.flushChanges(),this.document.replaceRange(this.nodes[0].startIndex,this.nodes.at(-1).endIndex,c.map((o=>a[o])).map((o=>this.nodes[o].text)).join("\n")))}updateNodeProperties(o,_,e){const{properties:r}=_;for(const _ in r){const t=r[_],E=w[_];if(!l(t,e.properties[_])){const e=E&&!t.useRaw?"phandle-array"!==E.type?S(t,E):0!==t.parsed.length&&t.parsed.map((o=>u(o))).map((o=>`<${o}>`)).join(", "):t.raw;this.document.setProperty(this.nodes[o],_,e)}}}extractNode(o){const _=o.childForFieldName("name").text,e=i(o),r=n(o,w);return r.bindings&&(r.bindings.parsed=y(r.bindings.parsed).map(I)),r["sensor-bindings"]&&(r["sensor-bindings"].parsed=y(r["sensor-bindings"].parsed).map(I)),{name:_,labels:e,properties:r}}}},67199:function(o,_,e){const r=e(64988),{findChildByIdentifier:t,findChildrenByIdentifier:l,findNodesWithCompatible:E}=e(1530),{NodeCollection:a}=e(89361),c=e(65403),{groupMacroBindings:s,encodeKeyBinding:i}=e(69663);o.exports=class extends c{managedProperties=["label","tap-ms","wait-ms"];lookupContainerNode(){const o=l(this.document.tree.rootNode,"/");return t(o,"macros")}injectContainerNode(){const o=E(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(o,"\nmacros {};\n")}lookupNodes(){return E(this.document.tree.rootNode,"zmk,behavior-macro")}injectNode(o,_){const e=_.name.replace(/[^a-zA-Z0-9_]/g,"_"),r=this.nodes.at(-1),t=`${e}: ${e} {\n compatible = "zmk,behavior-macro";\n };`;r?this.document.insertTextAfterNode(r,t):this.document.addChildNode(this.container,t)}updateNode(o,_){const e=function(o){const _=s(o.map(i)).map((o=>o.join(" ")));return 1===_.length?[`<${_[0]}>`]:_.map((o=>`<${o}>`))}(_.properties.bindings?.parsed||[]);_.properties.bindings={useRaw:!0,raw:e},super.updateNode(o,_)}legacyParse(o){return r(this.extractNode(o),["name","labels","properties"])}legacyParseNodes(){return this.nodes.map((o=>this.legacyParse(o)))}cleanupNodeProperties(o,_,e){const{cleanupNodeProperties:r}=a.prototype;return r.call(this,o,_,e)}}},22443:function(o,_,e){const r=e(42148),t=e(96070),l=e(49766),{DevicetreeDocument:E}=e(66767),{nodesAreConsecutive:a,findChildByIdentifier:c,findChildrenByIdentifier:s,getLabeledItem:i}=e(1530),{standardBehaviorIncludeFiles:n}=e(95130),S=e(67199),A=e(84477),y=e(21207),I=e(65403);o.exports=class extends E{constructor(...o){super(...o),this.macroCollection=new S(this),this.comboCollection=new A(this),this.layerCollection=new y(this),this.behaviorCollection=new I(this)}cleanup(){super.cleanup(),delete this.layerCollection,delete this.comboCollection,delete this.macroCollection,delete this.behaviorCollection}getChosenProperties(){const o=s(this.tree.rootNode,"/"),_=c(o,"chosen");return _?_.namedChildren.reduce(((o,_)=>{if("labeled_item"===_.type&&(_=i(_)),"property"===_.type){const e=_.childForFieldName("name").text,r=_.childForFieldName("value").text;o[e]=r}return o}),{}):{}}mergeUpdated(o,_={}){this.layerCollection.updateCollection(o.layers),this.comboCollection.updateCollection(o.combos),this.macroCollection.updateCollection(o.macros),_.enableBehaviorEditing&&this.behaviorCollection.updateCollection(o.behaviors)}replaceBehaviourIncludes(o){const _=o.sort().join("\n")+"\n",e=this.tree.rootNode.namedChildren.filter((o=>"preproc_include"===o.type&&n.some((_=>o.text.startsWith(_)))));if(e.length)if(a(e))this.replaceRange(e[0].startIndex,e.at(-1).endIndex,"");else{const o=e.map((o=>[o.startIndex,o.endIndex]));for(const[_,e]of l(o))this.replaceRange(_,e,"\n")}const E=t(r(this.tree.rootNode.children,{type:"preproc_include"})),c=this.tree.rootNode.children.find((o=>"preproc_def"===o.type)),s=this.tree.rootNode.children.find((o=>"node"===o.type));E?this.insertTextAfterNode(E,_):(c||s)&&this.insertTextBeforeNode(c||s,_)}}},27621:function(o,_,e){const{getPropertyValues:r}=e(46933),t="MISSING_ROOT_NODE",l="USING_ZMK_NODEFREE_MACROS",E="USING_MULTIPLE_ROOT_NODES",a="USING_MIRYOKU_DTSI",c="USING_NON_ZMK_MACRO",s="USING_AUTOSHIFT_MACRO";o.exports={keymapHasNoRootNodes:function(o){for(let _ of o.tree.rootNode.namedChildren)if("labeled_item"===_.type&&(_=_.childForFieldName("item")),"node"===_.type&&"/"===_.childForFieldName("name").text)return;return t},keymapUsesNodefreeConfigHelpers:function(o){const _=["ZMK_BEHAVIOR","ZMK_COMBO","ZMK_CONDITIONAL_LAYER","ZMK_LAYER","UC_MACRO"];for(const e of o.tree.rootNode.namedChildren)if("ERROR"===e.type){const{text:o}=e;if(_.some((_=>o.startsWith(_))))return l}},keymapUsesMiryoku:function(o){for(const _ of o.tree.rootNode.namedChildren)if("preproc_include"===_.type&&_.childForFieldName("path").text.includes("miryoku.dtsi"))return a},keymapBindingsUsePreprocessorMacros:function(o){let _=!1;const e=["LA","LC","LG","LS","RA","RC","RG","RS","RGB_COLOR_HSB"];for(const t of o.layerCollection.nodes){const[o]=r(t,"bindings");for(const r of o.namedChildren)if("call_expression"===r.type){const o=r.childForFieldName("function").text;if(o.match(/^_?AS$/i))_=!0;else if(!e.includes(o))return c}}if(_)return s},keymapHasMultipleRootNodes:function(o){let _=null;for(let e of o.tree.rootNode.namedChildren)if("labeled_item"===e.type&&(e=e.childForFieldName("item")),"node"===e.type&&"/"===e.childForFieldName("name").text){if(null!==_)return E;_=e}},keymapHasLayerBindingsWithNonBehaviorStarter:function(o){return o.layerCollection.nodes.some((o=>{const _=[].concat(...r(o,"bindings")).flatMap((o=>o.namedChildren))[0]?.type;return _&&"reference"!==_}))},warningFlags:{MISSING_ROOT_NODE:t,USING_ZMK_NODEFREE_MACROS:l,USING_ZMK_MACRO_MACRO:"USING_ZMK_MACRO_MACRO",USING_MULTIPLE_ROOT_NODES:E,USING_MIRYOKU_DTSI:a,USING_NON_ZMK_MACRO:c,USING_AUTOSHIFT_MACRO:s}}},33295:function(o,_,e){const r=e(26069),{getParser:t}=e(66767),l=e(22443),{keymapUsesNodefreeConfigHelpers:E,keymapUsesMiryoku:a,keymapBindingsUsePreprocessorMacros:c,keymapHasNoRootNodes:s,keymapHasLayerBindingsWithNonBehaviorStarter:i,warningFlags:{USING_NON_ZMK_MACRO:n}}=e(27621),{parseStringLiteral:S}=e(95147);function A(o){return r([s(o),E(o),a(o),c(o)])}function y(o){return o.tree.rootNode.namedChildren.reduce(((o,_)=>{if("preproc_def"===_.type){const e=_.childForFieldName("name").text,r=_.childForFieldName("value")?.text.trim();o[e]=r}return o}),{})}function I(o){return o.tree.rootNode.namedChildren.reduce(((o,_)=>{if("preproc_include"===_.type){const e=_.childForFieldName("path");"string_literal"===e.type&&o.push(S(e))}return o}),[])}o.exports=async function(o){const _=await t(),e=new l(_,o);try{return{warningFlags:A(e),defines:y(e),headers:I(e),chosen:e.getChosenProperties(),behaviors:e.behaviorCollection.extractCollection(),layers:e.layerCollection.extractCollection(),combos:e.comboCollection.extractCollection(),macros:e.macroCollection.extractCollection()}}catch(o){return i(e)?{warningFlags:[n],defines:{},headers:[],chosen:{},behaviors:[],layers:[],combos:[],macros:[]}:(console.error(o),{warningFlags:["KEYMAP_PARSING_FAILED"],defines:{},headers:[],chosen:{},behaviors:[],layers:[],combos:[],macros:[]})}finally{e.cleanup()}}},87325:function(o,_,e){const r=e(45223);o.exports=function(o,_,e={}){const{margin:t=2}=e,l=_.reduce(((_,e,r)=>{if(o[r]){const{row:t=0,col:l}=o[r];_[t]=_[t]||[],_[t][l||_[t].length]=e}return _}),[]),E=Object.keys(l),a=Math.max(...E.map((o=>l[o].length))),c=r(a,(o=>o)),s=c.map((o=>Math.max(...E.map((_=>l[_][o]?.length||0)))));return l.map(((o,_)=>c.map((_=>{const e=o.slice(_).every((o=>void 0===o)),r=s[_]+(0===_?"":t);return e?"":o[_]?o[_].padStart(r):" ".repeat(r)})).join("").replace(/\s+$/,""))).join("\n")}},62608:function(o,_,e){const r=e(80460);class t extends Error{constructor(o){super(),this.name="InfoValidationError",this.errors=o}}function l(o,_){let e=-1/0;const r=[];for(const t of _.keys()){const{row:l}=_[t];if(void 0!==l)if(l<e){const _=`layouts[${o}].layout[${t}]`;r.push(`Row index at ${_} is not sequential`)}else e=l}return r}function E(o,_){let e=0,r=-1/0;const t=[];for(const l of _.keys()){const{row:E,col:a}=_[l];if(void 0!==E&&void 0!==a)if(e!==E&&(e=E,r=-1/0),a<r){const _=`layouts[${o}].layout[${l}]`;t.push(`Column index at ${_} is not sequential`)}else r=a}return t}o.exports={InfoValidationError:t,validateInfoJson:function(o){const _=[];if("object"!=typeof o||null===o)_.push("info.json root must be an object");else if(o.layouts)if("object"!=typeof o.layouts||null===o.layouts)_.push("layouts must be an object");else if(0===Object.values(o.layouts).length)_.push("layouts must define at least one layout");else for(const e in o.layouts){const t=o.layouts[e];if("object"!=typeof t||null===t)_.push(`layout ${e} must be an object`);else if(Array.isArray(t.layout)){const o=t.layout.some((o=>void 0!==o?.row||void 0!==o?.col));for(const l in t.layout){const E=t.layout[l],a=`layouts[${e}].layout[${l}]`;if("object"!=typeof E||null===E)_.push(`Key definition at ${a} must be an object`);else{const e=["u","h","r","rx","ry"];r(E.x)||_.push(`Key definition at ${a} must include "x" position`),r(E.y)||_.push(`Key definition at ${a} must include "y" position`);for(const o of e)o in E&&!r(E[o])&&_.push(`Key definition at ${a} optional "${o}" must be number`);for(const e of["row","col"])o&&!(e in E)?_.push(`Key definition at ${a} is missing property "${e}"`):e in E&&(!Number.isInteger(E[e])||E[e]<0)&&_.push(`Key definition at ${a} "${e}" must be a non-negative integer`)}}const a=t.layout.reduce(((o,_,e)=>{const{row:r,col:t}=_,l=`(${r},${t})`;return void 0!==r&&void 0!==t&&(o[l]=[...o[l]||[],e]),o}),{});for(const o of Object.values(a)){if(o.length<=1)continue;const{row:r,col:l}=t.layout[o[0]],E=`{row: ${r}, col: ${l}}`;for(const r of o){const o=`layouts[${e}].layout[${r}]`;_.push(`Key definition at ${o} has overlapping position ${E}`)}}_.push(...l(e,t.layout)),_.push(...E(e,t.layout))}else _.push(`layout ${e} must define "layout" array`)}else _.push('info must define "layouts"');if(_.length)throw new t(_)}}},3769:function(o){function _(o){const _=o.split("\n"),e=_.reduce(((o,_)=>{const e=_.match(/^(\s*)\S/);return e?Math.min(o,e[1].length):o}),1/0);return _.map((o=>o.slice(0,e).match(/^\s+$/)?o.slice(e):o))}o.exports={dedent:function(o){return _(o).join("\n")},reindent:function(o,e){return _(o).map((o=>e+o)).join("\n")},getPosition:function(o,_){let e,r;for(e=0,r=0;-1!==r;e++,r=o.indexOf("\n",r+1));return{row:e,col:_-r}},removeStartingWhitespace:function(o){return o.split("\n").reduce(((o,_)=>((o.length>0||_.match(/\S/))&&o.push(_),o)),[]).join("\n")},removeTrailingWhitespace:function(o){return o.split("\n").reverse().reduce(((o,_)=>((o.length>0||_.match(/\S/))&&o.push(_),o)),[]).reverse().join("\n")}}},95130:function(o,_,e){const r=e(41536),t=e(1286),l=e(22834),E=e(24234),a=e(31742),c=e(61443),s=e(80012),i=e(43003),n=e(92914);function S(o,_){const e=Array.isArray(o)?o:Object.values(o);for(const o of e)for(const{match:e,...l}of _)t(o,e)&&r(o,l)}Object.assign(E,a),c.push(...s),S(E,i),S(c,n);const A=l(n.flatMap((o=>o.includes||[])));for(const o of c){const _=E[o.compatible];r(o,{schema:_})}o.exports={behaviorSchemas:E,behaviorBindings:c,behaviorOverlays:n,behaviorSchemaOverlays:i,standardBehaviorIncludeFiles:A,mergeBehaviorOverlays:S}},62029:function(o){const _=o=>({value:"&kp",params:[{value:o,params:[]}]}),e=[{pattern:/^[0-9]$/,convert:o=>_(`N${o}`)},{pattern:/^[a-z]$/,convert:o=>_(o.toUpperCase())},{pattern:/^[A-Z]$/,convert:o=>({value:"&kp",params:[{value:"LS",params:[{value:o.toUpperCase(),params:[]}]}]})}],r={"!":_("EXCL"),"@":_("AT"),"#":_("POUND"),$:_("DLLR"),"%":_("PRCNT"),"^":_("CARET"),"&":_("AMPS"),"*":_("STAR"),"(":_("LPAR"),")":_("RPAR"),"\n":_("RET")," ":_("SPACE"),"-":_("MINUS"),_:_("UNDER"),"=":_("EQUAL"),"+":_("PLUS"),"[":_("LBKT"),"]":_("LBRC"),"{":_("RBKT"),"}":_("RBRC"),"\\":_("BSLH"),"|":_("PIPE"),"":_("TILDE2"),";":_("SEMI"),":":_("COLON"),"'":_("SQT"),'"':_("DQT"),"`":_("GRAVE"),"~":_("TILDE"),",":_("COMMA"),"<":_("LT"),".":_("DOT"),">":_("GT"),"/":_("FSLH"),"?":_("QMARK")};o.exports={mapCharacter:function(o){if(r[o])return r[o];for(const{pattern:_,convert:r}of e)if(o.match(_))return r(o)}}},52779:function(o,_,e){const r=e(15126),t={basic:e(97107),unicode:e(445),platforms:{mac:e(27112),win:e(27453)}};o.exports={keycodes:r,keycodeGlyphs:t}},62412:function(o,_,e){const r=e(45223),{behaviorSchemas:t,behaviorBindings:l}=e(95130),E=e(30877),a=E.reduce(((o,_)=>(_.match.code&&(o[`&${_.match.code}`]=_),o)),{}),c=E.reduce(((o,_)=>(_.match.compatible&&(o[_.match.compatible]=_),o)),{});function s(o){this.message=o,this.name="BehaviorResolutionError"}function i(o,_="#binding-cells"){const e=o.properties?.[_]?.parsed;if("number"==typeof e)return e;const r=(o.properties?.[_]?.raw||"<>").match(/<(\d+)>/);return r?Number(r[1]):void 0}function n(o,_){for(const e of _.labels)o[`&${e}`]=_;return o}function S(o,_){const e=(o.properties.bindings?.parsed||[]).map((o=>o.value)),r=e.map((o=>_[o]?.properties?.compatible?.parsed))||[],t=A(e,_,r.indexOf("zmk,macro-param-1to1")),l=A(e,_,r.indexOf("zmk,macro-param-1to2")),E=[];if(t?E.push([t,0]):l?E.push([l,1]):E.push(["&none",0]),"zmk,behavior-macro-two-param"===o.properties.compatible.parsed){const o=A(e,_,r.indexOf("zmk,macro-param-2to1")),t=A(e,_,r.indexOf("zmk,macro-param-2to2"));o?E.push([o,0]):t?E.push([t,1]):E.push(["&none",0])}return E}function A(o,_,e=0){if(-1===e)return null;for(let r=Math.min(e,o.length-1);r<o.length;r++){const e=o[r],t=_[e]?.properties?.compatible?.parsed;if(!t?.startsWith?.("zmk,macro-")&&!t?.startsWith?.("zmk,behavior-macro-"))return e}}o.exports={resolveBehaviorParams:function(o){const _=l.reduce(n,{}),e=o.reduce(n,{}),E={..._,...e},A={};function y(o,l=[]){const n=`&${o.labels[0]}`;if(A[n])return A[n];const I=function(o){const _=o.labels.map((o=>`&${o}`)),e=o.properties.compatible?.parsed;for(const o of _)if(a[o])return a[o];if(c[e])return c[e]}(o);if(I)return I.params;const u=o.properties?.compatible?.parsed,w=(t[u],i(o)??i(o,"#sensor-binding-cells")),x=function(o,_,e){return function(o){return["zmk,behavior-macro-one-param","zmk,behavior-macro-two-param"].includes(o.properties?.compatible?.parsed)}(o)?S(o,e):(o.properties?.bindings?.parsed||[]).map((o=>[o,0]))}(o,0,E);return w?x.length?x.reduce(((r,[t,E])=>{if(!t.startsWith("&"))return r;if(l.includes(t))throw new s(`Circular reference in bindings: "&${o.labels[0]}" -> "${t}".`);if(l.length>3)throw new s("Reference depth limit exceeded.");const a=e[t]||_[t];if(!a)return o.error=`Unrecognized behavior binding "${t}".`,[...r,{raw:!0}];try{const o=y(a,[...l,t]);for(const _ of a.labels)A[`&${_}`]=o;r.push(o[E]||{type:"placeholder"})}catch(o){throw o instanceof s&&(a.error=o.message,A[t]=[]),o}return r}),[]):r(w,(()=>({type:"string",raw:!0}))):[]}for(const _ of o)try{const o=y(_);for(const e of _.labels)A[`&${e}`]=o}catch(o){if(!(o instanceof s))throw o;console.error("Failed to resolve behavior parameters",o),_.error=o.message;const e=r(i(_)||0,(()=>({raw:!0})));for(const o of _.labels)A[`&${o}`]=e}return A},getParameterizedMacroDependencies:S}},34886:function(o,_,e){"use strict";o.exports=e.p+"2f0cf3405ab1202f0045.wasm"},98553:function(o){"use strict";o.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"},"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_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"},"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"}}')},73158:function(o){"use strict";o.exports=JSON.parse('{"id":"a_dux","name":"A. Dux","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},60888:function(o){"use strict";o.exports=JSON.parse('{"id":"bat43","name":"BAT43","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4}]}},"sensors":[]}')},94591:function(o){"use strict";o.exports=JSON.parse('{"id":"bdn9_rev2","name":"BDN9 Rev2","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2}]}},"sensors":[]}')},19684:function(o){"use strict";o.exports=JSON.parse('{"id":"bfo9000","name":"BFO-9000","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":16,"x":16,"y":0},{"row":0,"col":17,"x":17,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":1,"col":17,"x":17,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":2,"col":17,"x":17,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":3,"col":17,"x":17,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":16,"x":16,"y":4},{"row":4,"col":17,"x":17,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":2,"x":2,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":4,"x":4,"y":5},{"row":5,"col":5,"x":5,"y":5},{"row":5,"col":6,"x":6,"y":5},{"row":5,"col":7,"x":7,"y":5},{"row":5,"col":8,"x":8,"y":5},{"row":5,"col":9,"x":9,"y":5},{"row":5,"col":10,"x":10,"y":5},{"row":5,"col":11,"x":11,"y":5},{"row":5,"col":12,"x":12,"y":5},{"row":5,"col":13,"x":13,"y":5},{"row":5,"col":14,"x":14,"y":5},{"row":5,"col":15,"x":15,"y":5},{"row":5,"col":16,"x":16,"y":5},{"row":5,"col":17,"x":17,"y":5}]}},"sensors":[]}')},88602:function(o){"use strict";o.exports=JSON.parse('{"id":"boardsource3x4","name":"Boardsource 3x4 Macropad","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2}]}},"sensors":[]}')},8058:function(o){"use strict";o.exports=JSON.parse('{"id":"boardsource5x12","name":"Boardsource 5x12","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]}},"sensors":[]}')},92628:function(o){"use strict";o.exports=JSON.parse('{"id":"bt60_v1","name":"BT60 V1 Soldered","layouts":{"ansi_transform":{"name":"ansi_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":13,"y":0,"w":2},{"row":1,"col":0,"x":0,"y":1,"w":1.5},{"row":1,"col":1,"x":1.5,"y":1},{"row":1,"col":2,"x":2.5,"y":1},{"row":1,"col":3,"x":3.5,"y":1},{"row":1,"col":4,"x":4.5,"y":1},{"row":1,"col":5,"x":5.5,"y":1},{"row":1,"col":6,"x":6.5,"y":1},{"row":1,"col":7,"x":7.5,"y":1},{"row":1,"col":8,"x":8.5,"y":1},{"row":1,"col":9,"x":9.5,"y":1},{"row":1,"col":10,"x":10.5,"y":1},{"row":1,"col":11,"x":11.5,"y":1},{"row":1,"col":12,"x":12.5,"y":1},{"row":1,"col":14,"x":13.5,"y":1,"w":1.5},{"row":2,"col":0,"x":0,"y":2,"w":1.75},{"row":2,"col":1,"x":1.75,"y":2},{"row":2,"col":2,"x":2.75,"y":2},{"row":2,"col":3,"x":3.75,"y":2},{"row":2,"col":4,"x":4.75,"y":2},{"row":2,"col":5,"x":5.75,"y":2},{"row":2,"col":6,"x":6.75,"y":2},{"row":2,"col":7,"x":7.75,"y":2},{"row":2,"col":8,"x":8.75,"y":2},{"row":2,"col":9,"x":9.75,"y":2},{"row":2,"col":10,"x":10.75,"y":2},{"row":2,"col":11,"x":11.75,"y":2},{"row":2,"col":14,"x":12.75,"y":2,"w":2.25},{"row":3,"col":0,"x":0,"y":3,"w":2.25},{"row":3,"col":2,"x":2.25,"y":3},{"row":3,"col":3,"x":3.25,"y":3},{"row":3,"col":4,"x":4.25,"y":3},{"row":3,"col":5,"x":5.25,"y":3},{"row":3,"col":6,"x":6.25,"y":3},{"row":3,"col":7,"x":7.25,"y":3},{"row":3,"col":8,"x":8.25,"y":3},{"row":3,"col":9,"x":9.25,"y":3},{"row":3,"col":10,"x":10.25,"y":3},{"row":3,"col":11,"x":11.25,"y":3},{"row":3,"col":14,"x":12.25,"y":3,"w":2.75},{"row":4,"col":0,"x":0,"y":4,"w":1.25},{"row":4,"col":1,"x":1.25,"y":4,"w":1.25},{"row":4,"col":3,"x":2.5,"y":4,"w":1.25},{"row":4,"col":6,"x":3.75,"y":4,"w":6.5},{"row":4,"col":10,"x":10.25,"y":4},{"row":4,"col":11,"x":11.25,"y":4,"w":1.25},{"row":4,"col":12,"x":12.5,"y":4,"w":1.25},{"row":4,"col":14,"x":13.75,"y":4,"w":1.25},{"row":4,"col":15,"x":15,"y":4}]},"hhkb_transform":{"name":"hhkb_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]},"iso_transform":{"name":"iso_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]},"all_1u_transform":{"name":"all_1u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]},"split_transform":{"name":"split_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":true}]}')},84628:function(o){"use strict";o.exports=JSON.parse('{"id":"bt60_v1_hs","name":"BT60 V1 Hotswap","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":true}]}')},9417:function(o){"use strict";o.exports=JSON.parse('{"id":"bt60_v2","name":"BT60 V2","layouts":{"ansi_transform":{"name":"ansi_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4}]},"iso_transform":{"name":"iso_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4}]},"all_1u_transform":{"name":"all_1u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4}]},"hhkb_transform":{"name":"hhkb_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4}]}},"sensors":[{"ref":"encoder_1","name":"encoder_1","identifier":"encoder_1","compatible":"alps,ec11","label":"ENCODER_ONE","enabled":true}]}')},88455:function(o){"use strict";o.exports=JSON.parse('{"id":"bt65_v1","name":"BT65","layouts":{"ansi_transform":{"name":"ansi_transform","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0,"w":2},{"row":0,"col":14,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1,"w":1.5},{"row":1,"col":1,"x":1.5,"y":1},{"row":1,"col":2,"x":2.5,"y":1},{"row":1,"col":3,"x":3.5,"y":1},{"row":1,"col":4,"x":4.5,"y":1},{"row":1,"col":5,"x":5.5,"y":1},{"row":1,"col":6,"x":6.5,"y":1},{"row":1,"col":7,"x":7.5,"y":1},{"row":1,"col":8,"x":8.5,"y":1},{"row":1,"col":9,"x":9.5,"y":1},{"row":1,"col":10,"x":10.5,"y":1},{"row":1,"col":11,"x":11.5,"y":1},{"row":1,"col":12,"x":12.5,"y":1},{"row":1,"col":13,"x":13.5,"y":1,"w":1.5},{"row":1,"col":14,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2,"w":1.75},{"row":2,"col":1,"x":1.75,"y":2},{"row":2,"col":2,"x":2.75,"y":2},{"row":2,"col":3,"x":3.75,"y":2},{"row":2,"col":4,"x":4.75,"y":2},{"row":2,"col":5,"x":5.75,"y":2},{"row":2,"col":6,"x":6.75,"y":2},{"row":2,"col":7,"x":7.75,"y":2},{"row":2,"col":8,"x":8.75,"y":2},{"row":2,"col":9,"x":9.75,"y":2},{"row":2,"col":10,"x":10.75,"y":2},{"row":2,"col":11,"x":11.75,"y":2},{"row":2,"col":12,"x":12.75,"y":2,"w":2.25},{"row":2,"col":14,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3,"w":2.25},{"row":3,"col":1,"x":2.25,"y":3},{"row":3,"col":2,"x":3.25,"y":3},{"row":3,"col":3,"x":4.25,"y":3},{"row":3,"col":4,"x":5.25,"y":3},{"row":3,"col":5,"x":6.25,"y":3},{"row":3,"col":6,"x":7.25,"y":3},{"row":3,"col":7,"x":8.25,"y":3},{"row":3,"col":8,"x":9.25,"y":3},{"row":3,"col":9,"x":10.25,"y":3},{"row":3,"col":10,"x":11.25,"y":3},{"row":3,"col":11,"x":12.25,"y":3,"w":1.75},{"row":3,"col":13,"x":14,"y":3},{"row":3,"col":14,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4,"w":1.25},{"row":4,"col":1,"x":1.25,"y":4,"w":1.25},{"row":4,"col":2,"x":2.5,"y":4,"w":1.25},{"row":4,"col":6,"x":3.75,"y":4,"w":6.25},{"row":4,"col":8,"x":10,"y":4},{"row":4,"col":9,"x":11,"y":4},{"row":4,"col":10,"x":12,"y":4},{"row":4,"col":12,"x":13,"y":4},{"row":4,"col":13,"x":14,"y":4},{"row":4,"col":14,"x":15,"y":4}]},"iso_transform":{"name":"iso_transform","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0,"w":2},{"row":0,"col":14,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1,"w":1.5},{"row":1,"col":1,"x":1.5,"y":1},{"row":1,"col":2,"x":2.5,"y":1},{"row":1,"col":3,"x":3.5,"y":1},{"row":1,"col":4,"x":4.5,"y":1},{"row":1,"col":5,"x":5.5,"y":1},{"row":1,"col":6,"x":6.5,"y":1},{"row":1,"col":7,"x":7.5,"y":1},{"row":1,"col":8,"x":8.5,"y":1},{"row":1,"col":9,"x":9.5,"y":1},{"row":1,"col":10,"x":10.5,"y":1},{"row":1,"col":11,"x":11.5,"y":1},{"row":1,"col":12,"x":12.5,"y":1},{"row":1,"col":14,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2,"w":1.75},{"row":2,"col":1,"x":1.75,"y":2},{"row":2,"col":2,"x":2.75,"y":2},{"row":2,"col":3,"x":3.75,"y":2},{"row":2,"col":4,"x":4.75,"y":2},{"row":2,"col":5,"x":5.75,"y":2},{"row":2,"col":6,"x":6.75,"y":2},{"row":2,"col":7,"x":7.75,"y":2},{"row":2,"col":8,"x":8.75,"y":2},{"row":2,"col":9,"x":9.75,"y":2},{"row":2,"col":10,"x":10.75,"y":2},{"row":2,"col":11,"x":11.75,"y":2},{"row":2,"col":12,"x":12.75,"y":2},{"row":2,"col":13,"x":13.75,"y":1,"w":1.25,"h":2},{"row":2,"col":14,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3,"w":1.25},{"row":3,"col":1,"x":1.25,"y":3},{"row":3,"col":2,"x":2.25,"y":3},{"row":3,"col":3,"x":3.25,"y":3},{"row":3,"col":4,"x":4.25,"y":3},{"row":3,"col":5,"x":5.25,"y":3},{"row":3,"col":6,"x":6.25,"y":3},{"row":3,"col":7,"x":7.25,"y":3},{"row":3,"col":8,"x":8.25,"y":3},{"row":3,"col":9,"x":9.25,"y":3},{"row":3,"col":10,"x":10.25,"y":3},{"row":3,"col":11,"x":11.25,"y":3},{"row":3,"col":12,"x":12.25,"y":3,"w":1.75},{"row":3,"col":13,"x":14,"y":3},{"row":3,"col":14,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4,"w":1.25},{"row":4,"col":1,"x":1.25,"y":4,"w":1.25},{"row":4,"col":2,"x":2.5,"y":4,"w":1.25},{"row":4,"col":6,"x":3.75,"y":4,"w":6.25},{"row":4,"col":9,"x":10,"y":4},{"row":4,"col":10,"x":11,"y":4},{"row":4,"col":11,"x":12,"y":4},{"row":4,"col":12,"x":13,"y":4},{"row":4,"col":13,"x":14,"y":4},{"row":4,"col":14,"x":15,"y":4}]},"all_1u_transform":{"name":"all_1u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":16,"x":16,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":16,"x":16,"y":4}]},"hhkb_transform":{"name":"hhkb_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":18,"x":18,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":17,"x":17,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":17,"x":17,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":17,"x":17,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":17,"x":17,"y":4}]}},"sensors":[{"ref":"encoder_1","name":"encoder_1","identifier":"encoder_1","compatible":"alps,ec11","label":"ENCODER_ONE","enabled":true}]}')},25397:function(o){"use strict";o.exports=JSON.parse('{"id":"bt75_v1","name":"BT75_V1","layouts":{"ansi_transform":{"name":"ansi_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":16,"x":16,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":16,"x":16,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":6,"x":6,"y":5},{"row":5,"col":10,"x":10,"y":5},{"row":5,"col":11,"x":11,"y":5},{"row":5,"col":12,"x":12,"y":5},{"row":5,"col":13,"x":13,"y":5},{"row":5,"col":14,"x":14,"y":5},{"row":5,"col":16,"x":16,"y":5}]},"iso_transform":{"name":"iso_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":17,"x":17,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":17,"x":17,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":17,"x":17,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":17,"x":17,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":17,"x":17,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":7,"x":7,"y":5},{"row":5,"col":11,"x":11,"y":5},{"row":5,"col":12,"x":12,"y":5},{"row":5,"col":13,"x":13,"y":5},{"row":5,"col":14,"x":14,"y":5},{"row":5,"col":15,"x":15,"y":5},{"row":5,"col":17,"x":17,"y":5}]},"all_1u_transform":{"name":"all_1u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":17,"x":17,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":17,"x":17,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":17,"x":17,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":17,"x":17,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":17,"x":17,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":7,"x":7,"y":5},{"row":5,"col":11,"x":11,"y":5},{"row":5,"col":12,"x":12,"y":5},{"row":5,"col":13,"x":13,"y":5},{"row":5,"col":14,"x":14,"y":5},{"row":5,"col":15,"x":15,"y":5},{"row":5,"col":17,"x":17,"y":5}]}},"sensors":[{"ref":"encoder_1","name":"encoder_1","identifier":"encoder_1","compatible":"alps,ec11","label":"ENCODER_ONE","enabled":true}]}')},7936:function(o){"use strict";o.exports=JSON.parse('{"id":"chalice","name":"Chalice","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4}]},"splitbs_transform":{"name":"splitbs_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4}]}},"sensors":[]}')},31638:function(o){"use strict";o.exports=JSON.parse('{"id":"clog","name":"Clog","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3}]}},"sensors":[]}')},42718:function(o){"use strict";o.exports=JSON.parse('{"id":"contra","name":"Contra","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[]}')},26453:function(o){"use strict";o.exports=JSON.parse('{"id":"corne","name":"Corne","layouts":{"default_transform":{"name":"default_transform","layout":[{"label":"Tab","row":0,"col":0,"x":0,"y":0.36},{"label":"Q","row":0,"col":1,"x":1,"y":0.36},{"label":"W","row":0,"col":2,"x":2,"y":0.11},{"label":"E","row":0,"col":3,"x":3,"y":-0.015},{"label":"R","row":0,"col":4,"x":4,"y":0.11},{"label":"T","row":0,"col":5,"x":5,"y":0.235},{"label":"Y","row":0,"col":7,"x":9,"y":0.235},{"label":"U","row":0,"col":8,"x":10,"y":0.11},{"label":"I","row":0,"col":9,"x":11,"y":-0.015},{"label":"O","row":0,"col":10,"x":12,"y":0.11},{"label":"P","row":0,"col":11,"x":13,"y":0.36},{"label":"BSPC","row":0,"col":12,"x":14,"y":0.36},{"label":"Ctrl","row":1,"col":0,"x":0,"y":1.36},{"label":"A","row":1,"col":1,"x":1,"y":1.36},{"label":"S","row":1,"col":2,"x":2,"y":1.11},{"label":"D","row":1,"col":3,"x":3,"y":0.985},{"label":"F","row":1,"col":4,"x":4,"y":1.11},{"label":"G","row":1,"col":5,"x":5,"y":1.235},{"label":"H","row":1,"col":7,"x":9,"y":1.235},{"label":"J","row":1,"col":8,"x":10,"y":1.11},{"label":"K","row":1,"col":9,"x":11,"y":0.985},{"label":"L","row":1,"col":10,"x":12,"y":1.11},{"label":";","row":1,"col":11,"x":13,"y":1.36},{"label":"\'","row":1,"col":12,"x":14,"y":1.36},{"label":"LShift","row":2,"col":0,"x":0,"y":2.36},{"label":"Z","row":2,"col":1,"x":1,"y":2.36},{"label":"X","row":2,"col":2,"x":2,"y":2.11},{"label":"C","row":2,"col":3,"x":3,"y":1.985},{"label":"V","row":2,"col":4,"x":4,"y":2.11},{"label":"B","row":2,"col":5,"x":5,"y":2.235},{"label":"N","row":2,"col":7,"x":9,"y":2.235},{"label":"M","row":2,"col":8,"x":10,"y":2.11},{"label":",","row":2,"col":9,"x":11,"y":1.985},{"label":".","row":2,"col":10,"x":12,"y":2.11},{"label":"/","row":2,"col":11,"x":13,"y":2.36},{"label":"Esc","row":2,"col":12,"x":14,"y":2.36},{"label":"GUI","row":3,"col":3,"x":3.48,"y":3.13,"r":0},{"label":"LWR","row":3,"col":4,"x":3.48,"y":3.13,"r":15,"rx":3.98,"ry":7.63},{"label":"SPC","row":3,"col":5,"x":3.48,"y":2.63,"r":30,"rx":3.98,"ry":7.63,"h":1.5},{"label":"ENT","row":3,"col":7,"x":10.52,"y":2.63,"r":-30,"rx":11.02,"ry":7.63,"h":1.5},{"label":"RSE","row":3,"col":8,"x":10.52,"y":3.13,"r":-15,"rx":11.02,"ry":7.63},{"label":"ALT","row":3,"col":9,"x":10.52,"y":3.13}]},"five_column_transform":{"name":"five_column_transform","layout":[{"label":"Q","row":0,"col":1,"x":1,"y":0.36},{"label":"W","row":0,"col":2,"x":2,"y":0.11},{"label":"E","row":0,"col":3,"x":3,"y":-0.015},{"label":"R","row":0,"col":4,"x":4,"y":0.11},{"label":"T","row":0,"col":5,"x":5,"y":0.235},{"label":"Y","row":0,"col":7,"x":9,"y":0.235},{"label":"U","row":0,"col":8,"x":10,"y":0.11},{"label":"I","row":0,"col":9,"x":11,"y":-0.015},{"label":"O","row":0,"col":10,"x":12,"y":0.11},{"label":"P","row":0,"col":11,"x":13,"y":0.36},{"label":"A","row":1,"col":1,"x":1,"y":1.36},{"label":"S","row":1,"col":2,"x":2,"y":1.11},{"label":"D","row":1,"col":3,"x":3,"y":0.985},{"label":"F","row":1,"col":4,"x":4,"y":1.11},{"label":"G","row":1,"col":5,"x":5,"y":1.235},{"label":"H","row":1,"col":7,"x":9,"y":1.235},{"label":"J","row":1,"col":8,"x":10,"y":1.11},{"label":"K","row":1,"col":9,"x":11,"y":0.985},{"label":"L","row":1,"col":10,"x":12,"y":1.11},{"label":";","row":1,"col":11,"x":13,"y":1.36},{"label":"Z","row":2,"col":1,"x":1,"y":2.36},{"label":"X","row":2,"col":2,"x":2,"y":2.11},{"label":"C","row":2,"col":3,"x":3,"y":1.985},{"label":"V","row":2,"col":4,"x":4,"y":2.11},{"label":"B","row":2,"col":5,"x":5,"y":2.235},{"label":"N","row":2,"col":7,"x":9,"y":2.235},{"label":"M","row":2,"col":8,"x":10,"y":2.11},{"label":",","row":2,"col":9,"x":11,"y":1.985},{"label":".","row":2,"col":10,"x":12,"y":2.11},{"label":"/","row":2,"col":11,"x":13,"y":2.36},{"label":"GUI","row":3,"col":3,"x":3.48,"y":3.13,"r":0},{"label":"LWR","row":3,"col":4,"x":3.48,"y":3.13,"r":15,"rx":3.98,"ry":7.63},{"label":"SPC","row":3,"col":5,"x":3.48,"y":2.63,"r":30,"rx":3.98,"ry":7.63,"h":1.5},{"label":"ENT","row":3,"col":7,"x":10.52,"y":2.63,"r":-30,"rx":11.02,"ry":7.63,"h":1.5},{"label":"RSE","row":3,"col":8,"x":10.52,"y":3.13,"r":-15,"rx":11.02,"ry":7.63},{"label":"ALT","row":3,"col":9,"x":10.52,"y":3.13}]}},"sensors":[]}')},39757:function(o){"use strict";o.exports=JSON.parse('{"id":"corneish_zen","name":"Corneish Zen v2","layouts":{"default_transform":{"name":"default_transform","layout":[{"label":"Tab","row":0,"col":0,"x":0,"y":0.36},{"label":"Q","row":0,"col":1,"x":1,"y":0.36},{"label":"W","row":0,"col":2,"x":2,"y":0.11},{"label":"E","row":0,"col":3,"x":3,"y":-0.015},{"label":"R","row":0,"col":4,"x":4,"y":0.11},{"label":"T","row":0,"col":5,"x":5,"y":0.235},{"label":"Y","row":0,"col":7,"x":9,"y":0.235},{"label":"U","row":0,"col":8,"x":10,"y":0.11},{"label":"I","row":0,"col":9,"x":11,"y":-0.015},{"label":"O","row":0,"col":10,"x":12,"y":0.11},{"label":"P","row":0,"col":11,"x":13,"y":0.36},{"label":"BSPC","row":0,"col":12,"x":14,"y":0.36},{"label":"Ctrl","row":1,"col":0,"x":0,"y":1.36},{"label":"A","row":1,"col":1,"x":1,"y":1.36},{"label":"S","row":1,"col":2,"x":2,"y":1.11},{"label":"D","row":1,"col":3,"x":3,"y":0.985},{"label":"F","row":1,"col":4,"x":4,"y":1.11},{"label":"G","row":1,"col":5,"x":5,"y":1.235},{"label":"H","row":1,"col":7,"x":9,"y":1.235},{"label":"J","row":1,"col":8,"x":10,"y":1.11},{"label":"K","row":1,"col":9,"x":11,"y":0.985},{"label":"L","row":1,"col":10,"x":12,"y":1.11},{"label":";","row":1,"col":11,"x":13,"y":1.36},{"label":"\'","row":1,"col":12,"x":14,"y":1.36},{"label":"LShift","row":2,"col":0,"x":0,"y":2.36},{"label":"Z","row":2,"col":1,"x":1,"y":2.36},{"label":"X","row":2,"col":2,"x":2,"y":2.11},{"label":"C","row":2,"col":3,"x":3,"y":1.985},{"label":"V","row":2,"col":4,"x":4,"y":2.11},{"label":"B","row":2,"col":5,"x":5,"y":2.235},{"label":"N","row":2,"col":7,"x":9,"y":2.235},{"label":"M","row":2,"col":8,"x":10,"y":2.11},{"label":",","row":2,"col":9,"x":11,"y":1.985},{"label":".","row":2,"col":10,"x":12,"y":2.11},{"label":"/","row":2,"col":11,"x":13,"y":2.36},{"label":"Esc","row":2,"col":12,"x":14,"y":2.36},{"label":"GUI","row":3,"col":3,"x":3.48,"y":3.13,"r":0},{"label":"LWR","row":3,"col":4,"x":3.48,"y":3.13,"r":15,"rx":3.98,"ry":7.63},{"label":"SPC","row":3,"col":5,"x":3.48,"y":2.63,"r":30,"rx":3.98,"ry":7.63,"h":1.5},{"label":"ENT","row":3,"col":7,"x":10.52,"y":2.63,"r":-30,"rx":11.02,"ry":7.63,"h":1.5},{"label":"RSE","row":3,"col":8,"x":10.52,"y":3.13,"r":-15,"rx":11.02,"ry":7.63},{"label":"ALT","row":3,"col":9,"x":10.52,"y":3.13}]},"five_column_transform":{"name":"five_column_transform","layout":[{"label":"Q","row":0,"col":1,"x":1,"y":0.36},{"label":"W","row":0,"col":2,"x":2,"y":0.11},{"label":"E","row":0,"col":3,"x":3,"y":-0.015},{"label":"R","row":0,"col":4,"x":4,"y":0.11},{"label":"T","row":0,"col":5,"x":5,"y":0.235},{"label":"Y","row":0,"col":7,"x":9,"y":0.235},{"label":"U","row":0,"col":8,"x":10,"y":0.11},{"label":"I","row":0,"col":9,"x":11,"y":-0.015},{"label":"O","row":0,"col":10,"x":12,"y":0.11},{"label":"P","row":0,"col":11,"x":13,"y":0.36},{"label":"A","row":1,"col":1,"x":1,"y":1.36},{"label":"S","row":1,"col":2,"x":2,"y":1.11},{"label":"D","row":1,"col":3,"x":3,"y":0.985},{"label":"F","row":1,"col":4,"x":4,"y":1.11},{"label":"G","row":1,"col":5,"x":5,"y":1.235},{"label":"H","row":1,"col":7,"x":9,"y":1.235},{"label":"J","row":1,"col":8,"x":10,"y":1.11},{"label":"K","row":1,"col":9,"x":11,"y":0.985},{"label":"L","row":1,"col":10,"x":12,"y":1.11},{"label":";","row":1,"col":11,"x":13,"y":1.36},{"label":"Z","row":2,"col":1,"x":1,"y":2.36},{"label":"X","row":2,"col":2,"x":2,"y":2.11},{"label":"C","row":2,"col":3,"x":3,"y":1.985},{"label":"V","row":2,"col":4,"x":4,"y":2.11},{"label":"B","row":2,"col":5,"x":5,"y":2.235},{"label":"N","row":2,"col":7,"x":9,"y":2.235},{"label":"M","row":2,"col":8,"x":10,"y":2.11},{"label":",","row":2,"col":9,"x":11,"y":1.985},{"label":".","row":2,"col":10,"x":12,"y":2.11},{"label":"/","row":2,"col":11,"x":13,"y":2.36},{"label":"GUI","row":3,"col":3,"x":3.48,"y":3.13,"r":0},{"label":"LWR","row":3,"col":4,"x":3.48,"y":3.13,"r":15,"rx":3.98,"ry":7.63},{"label":"SPC","row":3,"col":5,"x":3.48,"y":2.63,"r":30,"rx":3.98,"ry":7.63,"h":1.5},{"label":"ENT","row":3,"col":7,"x":10.52,"y":2.63,"r":-30,"rx":11.02,"ry":7.63,"h":1.5},{"label":"RSE","row":3,"col":8,"x":10.52,"y":3.13,"r":-15,"rx":11.02,"ry":7.63},{"label":"ALT","row":3,"col":9,"x":10.52,"y":3.13}]}},"sensors":[]}')},62089:function(o){"use strict";o.exports=JSON.parse('{"id":"cradio","name":"Cradio/Sweep","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},48945:function(o){"use strict";o.exports=JSON.parse('{"id":"crbn","name":"CRBN Featherlight","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[{"ref":"encoder","name":"encoder","identifier":"encoder","compatible":"alps,ec11","label":"ENCODER","enabled":true}]}')},63072:function(o){"use strict";o.exports=JSON.parse('{"id":"eek","name":"eek!","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},83634:function(o){"use strict";o.exports=JSON.parse('{"id":"elephant42","name":"Elephant42","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3}]}},"sensors":[]}')},68972:function(o){"use strict";o.exports=JSON.parse('{"id":"ergodash","name":"Ergodash","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4}]}},"sensors":[]}')},75507:function(o){"use strict";o.exports=JSON.parse('{"id":"ergodox","name":"Ergodox","layouts":{"default_layout":{"layout":[{"label":"Esc","row":0,"col":0,"x":0,"y":0.33,"w":1.5},{"label":"1","row":0,"col":1,"x":1.5,"y":0.33},{"label":"2","row":0,"col":2,"x":2.5,"y":0.12},{"label":"3","row":0,"col":3,"x":3.5,"y":0},{"label":"4","row":0,"col":4,"x":4.5,"y":0.12},{"label":"5","row":0,"col":5,"x":5.5,"y":0.2},{"label":" ","row":0,"col":6,"x":6.5,"y":0.2},{"label":" ","row":0,"col":8,"x":12.5,"y":0.2},{"label":"6","row":0,"col":9,"x":13.5,"y":0.2},{"label":"7","row":0,"col":10,"x":14.5,"y":0.12},{"label":"8","row":0,"col":11,"x":15.5,"y":0},{"label":"9","row":0,"col":12,"x":16.5,"y":0.12},{"label":"0","row":0,"col":13,"x":17.5,"y":0.33},{"label":"-","row":0,"col":14,"x":18.5,"y":0.33,"w":1.5},{"label":"Tab","row":1,"col":0,"x":0,"y":1.33,"w":1.5},{"label":"Q","row":1,"col":1,"x":1.5,"y":1.33},{"label":"W","row":1,"col":2,"x":2.5,"y":1.12},{"label":"E","row":1,"col":3,"x":3.5,"y":1},{"label":"R","row":1,"col":4,"x":4.5,"y":1.12},{"label":"T","row":1,"col":5,"x":5.5,"y":1.2},{"label":" ","row":1,"col":6,"x":6.5,"y":1.2,"h":1.5},{"label":" ","row":1,"col":8,"x":12.5,"y":1.2,"h":1.5},{"label":"Y","row":1,"col":9,"x":13.5,"y":1.2},{"label":"U","row":1,"col":10,"x":14.5,"y":1.12},{"label":"I","row":1,"col":11,"x":15.5,"y":1},{"label":"O","row":1,"col":12,"x":16.5,"y":1.12},{"label":"P","row":1,"col":13,"x":17.5,"y":1.33},{"label":"\\\\","row":1,"col":14,"x":18.5,"y":1.33,"w":1.5},{"label":"Caps","row":2,"col":0,"x":0,"y":2.33,"w":1.5},{"label":"A","row":2,"col":1,"x":1.5,"y":2.33},{"label":"S","row":2,"col":2,"x":2.5,"y":2.12},{"label":"D","row":2,"col":3,"x":3.5,"y":2},{"label":"F","row":2,"col":4,"x":4.5,"y":2.12},{"label":"G","row":2,"col":5,"x":5.5,"y":2.2},{"label":"H","row":2,"col":9,"x":13.5,"y":2.2},{"label":"J","row":2,"col":10,"x":14.5,"y":2.12},{"label":"K","row":2,"col":11,"x":15.5,"y":2},{"label":"L","row":2,"col":12,"x":16.5,"y":2.12},{"label":";","row":2,"col":13,"x":17.5,"y":2.33},{"label":"\'","row":2,"col":14,"x":18.5,"y":2.33,"w":1.5},{"label":"LShift","row":3,"col":0,"x":0,"y":3.33,"w":1.5},{"label":"Z","row":3,"col":1,"x":1.5,"y":3.33},{"label":"X","row":3,"col":2,"x":2.5,"y":3.12},{"label":"C","row":3,"col":3,"x":3.5,"y":3},{"label":"V","row":3,"col":4,"x":4.5,"y":3.12},{"label":"B","row":3,"col":5,"x":5.5,"y":3.2},{"label":" ","row":3,"col":6,"x":6.5,"y":2.7,"h":1.5},{"label":" ","row":3,"col":8,"x":12.5,"y":2.7,"h":1.5},{"label":"N","row":3,"col":9,"x":13.5,"y":3.2},{"label":"M","row":3,"col":10,"x":14.5,"y":3.12},{"label":",","row":3,"col":11,"x":15.5,"y":3},{"label":".","row":3,"col":12,"x":16.5,"y":3.12},{"label":"/","row":3,"col":13,"x":17.5,"y":3.33},{"label":"RShift","row":3,"col":14,"x":18.5,"y":3.33,"w":1.5},{"label":"LCtrl","row":4,"col":0,"x":0.5,"y":4.33},{"label":"LCtrl","row":4,"col":1,"x":1.5,"y":4.33},{"label":"LCtrl","row":4,"col":2,"x":2.5,"y":4.12},{"label":"Left Arrow","row":4,"col":3,"x":3.5,"y":4},{"label":"Right Arrow","row":4,"col":4,"x":4.5,"y":4.12},{"label":"Right Arrow","row":4,"col":10,"x":14.5,"y":4.12},{"label":"Left Arrow","row":4,"col":11,"x":15.5,"y":4},{"label":"LCtrl","row":4,"col":12,"x":16.5,"y":4.12},{"label":"LCtrl","row":4,"col":13,"x":17.5,"y":4.33},{"label":"LCtrl","row":4,"col":14,"x":18.5,"y":4.33},{"label":"LCtrl","row":5,"col":5,"x":7.5,"y":2.7,"r":25,"rx":5.5,"ry":3.7},{"label":"Backspace","row":5,"col":6,"x":8.5,"y":2.7,"r":25,"rx":5.5,"ry":3.7},{"label":"Backspace","row":5,"col":8,"x":10.5,"y":2.7,"r":-25,"rx":14.5,"ry":3.7},{"label":"LCtrl","row":5,"col":9,"x":11.5,"y":2.7,"r":-25,"rx":14.5,"ry":3.7},{"label":"LAlt","row":6,"col":4,"x":6.5,"y":3.7,"h":2,"r":25,"rx":5.5,"ry":3.7},{"label":"LCmd","row":6,"col":5,"x":7.5,"y":3.7,"h":2,"r":25,"rx":5.5,"ry":3.7},{"label":" ","row":6,"col":6,"x":8.5,"y":3.7,"r":25,"rx":5.5,"ry":3.7},{"label":" ","row":6,"col":8,"x":10.5,"y":3.7,"r":-25,"rx":14.5,"ry":3.7},{"label":"LCmd","row":6,"col":9,"x":11.5,"y":3.7,"h":2,"r":-25,"rx":14.5,"ry":3.7},{"label":"LAlt","row":6,"col":10,"x":12.5,"y":3.7,"h":2,"r":-25,"rx":14.5,"ry":3.7},{"label":" ","row":7,"col":6,"x":8.5,"y":4.7,"r":25,"rx":5.5,"ry":3.7},{"label":" ","row":7,"col":8,"x":10.5,"y":4.7,"r":-25,"rx":14.5,"ry":3.7}]}}}')},69416:function(o){"use strict";o.exports=JSON.parse('{"id":"eternal_keypad","name":"Eternal Keypad","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":7,"x":7,"y":4}]}},"sensors":[]}')},56785:function(o){"use strict";o.exports=JSON.parse('{"id":"eternal_keypad_lefty","name":"Eternal Keypad Lefty","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":7,"x":7,"y":4}]}},"sensors":[]}')},97365:function(o){"use strict";o.exports=JSON.parse('{"id":"ferris_rev02","name":"Ferris 0.2","layouts":{"transform":{"name":"transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},14446:function(o){"use strict";o.exports=JSON.parse('{"id":"fourier","name":"Fourier Rev. 1","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]}},"sensors":[]}')},73549:function(o){"use strict";o.exports=JSON.parse('{"id":"helix","name":"Helix","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4}]}},"sensors":[]}')},98321:function(o){"use strict";o.exports=JSON.parse('{"id":"hummingbird","name":"Hummingbird","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},55262:function(o){"use strict";o.exports=JSON.parse('{"id":"iris","name":"Iris","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4}]}},"sensors":[]}')},46228:function(o){"use strict";o.exports=JSON.parse('{"id":"jian","name":"Jian","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3}]},"crkbd_transform":{"name":"crkbd_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3}]},"five_column_transform":{"name":"five_column_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3}]}},"sensors":[]}')},14465:function(o){"use strict";o.exports=JSON.parse('{"id":"jiran","name":"Jiran","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4}]},"jian_transform":{"name":"jian_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3}]},"crkbd_transform":{"name":"crkbd_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3}]}},"sensors":[]}')},19151:function(o){"use strict";o.exports=JSON.parse('{"id":"jorne","name":"Jorne","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3}]},"crkbd_transform":{"name":"crkbd_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3}]},"five_column_transform":{"name":"five_column_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3}]}},"sensors":[]}')},7450:function(o){"use strict";o.exports=JSON.parse('{"id":"kbdfans_tofu65_v2","name":"KBDfans Tofu65 2.0","layouts":{"default_transform":{"name":"default_transform","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0,"w":2},{"row":0,"col":14,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1,"w":1.5},{"row":1,"col":1,"x":1.5,"y":1},{"row":1,"col":2,"x":2.5,"y":1},{"row":1,"col":3,"x":3.5,"y":1},{"row":1,"col":4,"x":4.5,"y":1},{"row":1,"col":5,"x":5.5,"y":1},{"row":1,"col":6,"x":6.5,"y":1},{"row":1,"col":7,"x":7.5,"y":1},{"row":1,"col":8,"x":8.5,"y":1},{"row":1,"col":9,"x":9.5,"y":1},{"row":1,"col":10,"x":10.5,"y":1},{"row":1,"col":11,"x":11.5,"y":1},{"row":1,"col":12,"x":12.5,"y":1},{"row":1,"col":13,"x":13.5,"y":1,"w":1.5},{"row":1,"col":14,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2,"w":1.75},{"row":2,"col":1,"x":1.75,"y":2},{"row":2,"col":2,"x":2.75,"y":2},{"row":2,"col":3,"x":3.75,"y":2},{"row":2,"col":4,"x":4.75,"y":2},{"row":2,"col":5,"x":5.75,"y":2},{"row":2,"col":6,"x":6.75,"y":2},{"row":2,"col":7,"x":7.75,"y":2},{"row":2,"col":8,"x":8.75,"y":2},{"row":2,"col":9,"x":9.75,"y":2},{"row":2,"col":10,"x":10.75,"y":2},{"row":2,"col":11,"x":11.75,"y":2},{"row":2,"col":12,"x":12.75,"y":2,"w":2.25},{"row":2,"col":14,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3,"w":2.25},{"row":3,"col":1,"x":2.25,"y":3},{"row":3,"col":2,"x":3.25,"y":3},{"row":3,"col":3,"x":4.25,"y":3},{"row":3,"col":4,"x":5.25,"y":3},{"row":3,"col":5,"x":6.25,"y":3},{"row":3,"col":6,"x":7.25,"y":3},{"row":3,"col":7,"x":8.25,"y":3},{"row":3,"col":8,"x":9.25,"y":3},{"row":3,"col":9,"x":10.25,"y":3},{"row":3,"col":10,"x":11.25,"y":3},{"row":3,"col":11,"x":12.25,"y":3,"w":1.75},{"row":3,"col":13,"x":14,"y":3},{"row":3,"col":14,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4,"w":1.25},{"row":4,"col":1,"x":1.25,"y":4,"w":1.25},{"row":4,"col":2,"x":2.5,"y":4,"w":1.25},{"row":4,"col":6,"x":3.75,"y":4,"w":6.25},{"row":4,"col":8,"x":10,"y":4},{"row":4,"col":9,"x":11,"y":4},{"row":4,"col":10,"x":12,"y":4},{"row":4,"col":12,"x":13,"y":4},{"row":4,"col":13,"x":14,"y":4},{"row":4,"col":14,"x":15,"y":4}]}},"sensors":[]}')},71497:function(o){"use strict";o.exports=JSON.parse('{"id":"knob_goblin","name":"Knob Goblin","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4}]}},"sensors":[{"ref":"top_encoder","name":"encoder_top","identifier":"encoder_top","compatible":"alps,ec11","label":"TOP_ENCODER","enabled":true},{"ref":"bottom_encoder","name":"encoder_bottom","identifier":"encoder_bottom","compatible":"alps,ec11","label":"BOTTOM_ENCODER","enabled":true}]}')},34458:function(o){"use strict";o.exports=JSON.parse('{"id":"kyria","name":"Kyria","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]},"five_column_transform":{"name":"five_column_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},70165:function(o){"use strict";o.exports=JSON.parse('{"id":"kyria_rev2","name":"Kyria Rev2","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]},"five_column_transform":{"name":"five_column_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},33669:function(o){"use strict";o.exports=JSON.parse('{"id":"kyria_rev3","name":"Kyria Rev3","layouts":[{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]}],"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},53677:function(o){"use strict";o.exports=JSON.parse('{"id":"leeloo","name":"Leeloo","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER"},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER"}]}')},21479:function(o){"use strict";o.exports=JSON.parse('{"id":"lily58","name":"Lily58","layouts":{"default_transform":{"name":"default_transform","layout":[{"row":0,"col":0,"x":1,"y":0.4},{"row":0,"col":1,"x":2,"y":0.33},{"row":0,"col":2,"x":3,"y":0.07},{"row":0,"col":3,"x":4,"y":0},{"row":0,"col":4,"x":5,"y":0.07},{"row":0,"col":5,"x":6,"y":0.2},{"row":0,"col":9,"x":10,"y":0.2},{"row":0,"col":10,"x":11,"y":0.07},{"row":0,"col":11,"x":12,"y":0},{"row":0,"col":12,"x":13,"y":0.07},{"row":0,"col":13,"x":14,"y":0.33},{"row":0,"col":14,"x":15,"y":0.4},{"row":1,"col":0,"x":1,"y":1.4},{"row":1,"col":1,"x":2,"y":1.32},{"row":1,"col":2,"x":3,"y":1.07},{"row":1,"col":3,"x":4,"y":1},{"row":1,"col":4,"x":5,"y":1.08},{"row":1,"col":5,"x":6,"y":1.2},{"row":1,"col":9,"x":10,"y":1.2},{"row":1,"col":10,"x":11,"y":1.08},{"row":1,"col":11,"x":12,"y":1},{"row":1,"col":12,"x":13,"y":1.07},{"row":1,"col":13,"x":14,"y":1.32},{"row":1,"col":14,"x":15,"y":1.4},{"row":2,"col":0,"x":1,"y":2.41},{"row":2,"col":1,"x":2,"y":2.33},{"row":2,"col":2,"x":3,"y":2.08},{"row":2,"col":3,"x":4,"y":2.01},{"row":2,"col":4,"x":5,"y":2.08},{"row":2,"col":5,"x":6,"y":2.2},{"row":2,"col":9,"x":10,"y":2.2},{"row":2,"col":10,"x":11,"y":2.08},{"row":2,"col":11,"x":12,"y":2.01},{"row":2,"col":12,"x":13,"y":2.08},{"row":2,"col":13,"x":14,"y":2.33},{"row":2,"col":14,"x":15,"y":2.41},{"row":3,"col":0,"x":1,"y":3.41},{"row":3,"col":1,"x":2,"y":3.33},{"row":3,"col":2,"x":3,"y":3.08},{"row":3,"col":3,"x":4,"y":3.01},{"row":3,"col":4,"x":5,"y":3.08},{"row":3,"col":5,"x":6,"y":3.2},{"row":3,"col":6,"x":7,"y":2.7},{"row":3,"col":8,"x":9,"y":2.7},{"row":3,"col":9,"x":10,"y":3.2},{"row":3,"col":10,"x":11,"y":3.08},{"row":3,"col":11,"x":12,"y":3.01},{"row":3,"col":12,"x":13,"y":3.08},{"row":3,"col":13,"x":14,"y":3.33},{"row":3,"col":14,"x":15,"y":3.41},{"row":4,"col":3,"x":3.49,"y":4.08},{"row":4,"col":4,"x":4.49,"y":4.08},{"row":4,"col":5,"x":5.49,"y":4.2},{"row":4,"col":6,"x":6.49,"y":3.7,"h":1.5,"r":30,"rx":6.49,"ry":5.2},{"row":4,"col":8,"x":9.51,"y":3.7,"h":1.5,"r":-30,"rx":10.51,"ry":5.2},{"row":4,"col":9,"x":10.51,"y":4.2},{"row":4,"col":10,"x":11.51,"y":4.08},{"row":4,"col":11,"x":12.51,"y":4.08}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER"}]}')},63918:function(o){"use strict";o.exports=JSON.parse('{"id":"lotus58","name":"Lotus58","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},53132:function(o){"use strict";o.exports=JSON.parse('{"id":"m60","name":"MakerDiary m60","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]}},"sensors":[]}')},56792:function(o){"use strict";o.exports=JSON.parse('{"id":"microdox","name":"Microdox","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3}]}},"sensors":[]}')},8662:function(o){"use strict";o.exports=JSON.parse('{"id":"murphpad","name":"MurphPad","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":2,"x":2,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":4,"x":4,"y":5}]}},"sensors":[]}')},79707:function(o){"use strict";o.exports=JSON.parse('{"id":"naked60","name":"Naked60","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]}},"sensors":[]}')},58244:function(o){"use strict";o.exports=JSON.parse('{"id":"nibble","name":"Nibble","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4}]}},"sensors":[]}')},41501:function(o){"use strict";o.exports=JSON.parse('{"id":"nice60","name":"nice!60","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":14,"x":14,"y":4}]}},"sensors":[]}')},13467:function(o){"use strict";o.exports=JSON.parse('{"id":"osprette","name":"Osprette","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},19011:function(o){"use strict";o.exports=JSON.parse('{"id":"pancake","name":"Pancake","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[]}')},55991:function(o){"use strict";o.exports=JSON.parse('{"id":"planck_rev6","name":"Planck Rev6","layouts":{"layout_grid_transform":{"name":"layout_grid_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]},"layout_mit_transform":{"name":"layout_mit_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]},"layout_2x2u_transform":{"name":"layout_2x2u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3}]}},"sensors":[]}')},47308:function(o){"use strict";o.exports=JSON.parse('{"id":"preonic_rev3","name":"Preonic Rev3","layouts":{"layout_grid_transform":{"name":"layout_grid_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]},"layout_mit_transform":{"name":"layout_mit_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4}]},"layout_2x2u_transform":{"name":"layout_2x2u_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]}},"sensors":[]}')},46923:function(o){"use strict";o.exports=JSON.parse('{"id":"qaz","name":"QAZ","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[]}')},23956:function(o){"use strict";o.exports=JSON.parse('{"id":"quefrency","name":"Quefrency Rev. 1","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":16,"x":16,"y":0},{"row":0,"col":17,"x":17,"y":0},{"row":0,"col":18,"x":18,"y":0},{"row":0,"col":20,"x":20,"y":0},{"row":0,"col":22,"x":22,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":1,"col":17,"x":17,"y":1},{"row":1,"col":18,"x":18,"y":1},{"row":1,"col":20,"x":20,"y":1},{"row":1,"col":21,"x":21,"y":1},{"row":1,"col":23,"x":23,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":2,"col":17,"x":17,"y":2},{"row":2,"col":18,"x":18,"y":2},{"row":2,"col":20,"x":20,"y":2},{"row":2,"col":22,"x":22,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":3,"col":17,"x":17,"y":3},{"row":3,"col":19,"x":19,"y":3},{"row":3,"col":21,"x":21,"y":3},{"row":3,"col":22,"x":22,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":16,"x":16,"y":4},{"row":4,"col":17,"x":17,"y":4},{"row":4,"col":18,"x":18,"y":4},{"row":4,"col":20,"x":20,"y":4},{"row":4,"col":22,"x":22,"y":4},{"row":4,"col":23,"x":23,"y":4}]}},"sensors":[]}')},17104:function(o){"use strict";o.exports=JSON.parse('{"id":"redox","name":"Redox","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4}]}},"sensors":[]}')},71414:function(o){"use strict";o.exports=JSON.parse('{"id":"reviung41","name":"REVIUNG41","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3}]}},"sensors":[]}')},31009:function(o){"use strict";o.exports=JSON.parse('{"id":"reviung5","name":"REVIUNG5","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0}]}},"sensors":[{"ref":"encoder","name":"encoder","identifier":"encoder","compatible":"alps,ec11","label":"encoder","enabled":true}]}')},15683:function(o){"use strict";o.exports=JSON.parse('{"id":"romac","name":"Romac Macropad","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3}]}},"sensors":[]}')},55318:function(o){"use strict";o.exports=JSON.parse('{"id":"romac_plus","name":"Romac+ Macropad","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false}]}')},56036:function(o){"use strict";o.exports=JSON.parse('{"id":"s40nc","name":"S40NC","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3}]}},"sensors":[]}')},24380:function(o){"use strict";o.exports=JSON.parse('{"id":"snap","name":"SNAP","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":16,"x":16,"y":4},{"row":5,"col":0,"x":0,"y":5},{"row":5,"col":1,"x":1,"y":5},{"row":5,"col":2,"x":2,"y":5},{"row":5,"col":3,"x":3,"y":5},{"row":5,"col":5,"x":5,"y":5},{"row":5,"col":7,"x":7,"y":5},{"row":5,"col":8,"x":8,"y":5},{"row":5,"col":11,"x":11,"y":5},{"row":5,"col":12,"x":12,"y":5},{"row":5,"col":13,"x":13,"y":5},{"row":5,"col":14,"x":14,"y":5},{"row":5,"col":15,"x":15,"y":5},{"row":5,"col":16,"x":16,"y":5}]}},"sensors":[]}')},45082:function(o){"use strict";o.exports=JSON.parse('{"id":"sofle","name":"Sofle","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},20216:function(o){"use strict";o.exports=JSON.parse('{"id":"splitkb_aurora_corne","name":"splitkb.com Aurora Corne","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3}]},"five_column_transform":{"name":"five_column_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3}]}},"sensors":[{"ref":"left_encoder","name":"left_encoder","identifier":"left_encoder","compatible":"alps,ec11","label":"L_ENCODER","enabled":false},{"ref":"right_encoder","name":"right_encoder","identifier":"right_encoder","compatible":"alps,ec11","label":"R_ENCODER","enabled":false}]}')},2674:function(o){"use strict";o.exports=JSON.parse('{"id":"splitkb_aurora_lily58","name":"splitkb.com Aurora Lily58","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"left_encoder","identifier":"left_encoder","compatible":"alps,ec11","label":"L_ENCODER","enabled":false},{"ref":"right_encoder","name":"right_encoder","identifier":"right_encoder","compatible":"alps,ec11","label":"R_ENCODER","enabled":false}]}')},9738:function(o){"use strict";o.exports=JSON.parse('{"id":"splitkb_aurora_sweep","name":"splitkb.com Aurora Sweep","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3}]}},"sensors":[{"ref":"left_encoder1","name":"left_encoder1","identifier":"left_encoder1","compatible":"alps,ec11","label":"L_ENCODER1","enabled":false},{"ref":"right_encoder1","name":"right_encoder1","identifier":"right_encoder1","compatible":"alps,ec11","label":"R_ENCODER1","enabled":false}]}')},47003:function(o){"use strict";o.exports=JSON.parse('{"id":"splitreus62","name":"Splitreus62","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":5,"x":5,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":8,"x":8,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":11,"x":11,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":5,"col":5,"x":5,"y":5},{"row":5,"col":7,"x":7,"y":5}]}},"sensors":[]}')},87454:function(o){"use strict";o.exports=JSON.parse('{"id":"tg4x","name":"TG4x","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3}]}},"sensors":[]}')},60386:function(o){"use strict";o.exports=JSON.parse('{"id":"tidbit","name":"Tidbit Numpad","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4}]}},"sensors":[]}')},67150:function(o){"use strict";o.exports=JSON.parse('{"id":"two_percent_milk","name":"2% Milk","layouts":{"matrix":{"name":"matrix","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0}]}},"sensors":[]}')},14194:function(o){"use strict";o.exports=JSON.parse('{"id":"waterfowl","name":"Waterfowl","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":6,"x":6,"y":0},{"row":0,"col":7,"x":7,"y":0},{"row":0,"col":8,"x":8,"y":0},{"row":0,"col":9,"x":9,"y":0},{"row":0,"col":10,"x":10,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":7,"x":7,"y":1},{"row":1,"col":8,"x":8,"y":1},{"row":1,"col":9,"x":9,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":7,"x":7,"y":2},{"row":2,"col":8,"x":8,"y":2},{"row":2,"col":9,"x":9,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":8,"x":8,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER"},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER"}]}')},71578:function(o){"use strict";o.exports=JSON.parse('{"id":"zmk_uno","name":"ZMK Uno","layouts":{"matrix_transform":{"name":"matrix_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2}]},"direct_matrix_transform":{"name":"direct_matrix_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2}]}},"sensors":[{"ref":"encoder","name":"encoder","identifier":"encoder","compatible":"alps,ec11","label":"ENCODER"}]}')},12069:function(o){"use strict";o.exports=JSON.parse('{"id":"zodiark","name":"Zodiark","layouts":{"default_transform":{"name":"default_transform","autoGenerated":true,"description":"This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.","layout":[{"row":0,"col":0,"x":0,"y":0},{"row":0,"col":1,"x":1,"y":0},{"row":0,"col":2,"x":2,"y":0},{"row":0,"col":3,"x":3,"y":0},{"row":0,"col":4,"x":4,"y":0},{"row":0,"col":5,"x":5,"y":0},{"row":0,"col":11,"x":11,"y":0},{"row":0,"col":12,"x":12,"y":0},{"row":0,"col":13,"x":13,"y":0},{"row":0,"col":14,"x":14,"y":0},{"row":0,"col":15,"x":15,"y":0},{"row":0,"col":16,"x":16,"y":0},{"row":1,"col":0,"x":0,"y":1},{"row":1,"col":1,"x":1,"y":1},{"row":1,"col":2,"x":2,"y":1},{"row":1,"col":3,"x":3,"y":1},{"row":1,"col":4,"x":4,"y":1},{"row":1,"col":5,"x":5,"y":1},{"row":1,"col":6,"x":6,"y":1},{"row":1,"col":10,"x":10,"y":1},{"row":1,"col":11,"x":11,"y":1},{"row":1,"col":12,"x":12,"y":1},{"row":1,"col":13,"x":13,"y":1},{"row":1,"col":14,"x":14,"y":1},{"row":1,"col":15,"x":15,"y":1},{"row":1,"col":16,"x":16,"y":1},{"row":2,"col":0,"x":0,"y":2},{"row":2,"col":1,"x":1,"y":2},{"row":2,"col":2,"x":2,"y":2},{"row":2,"col":3,"x":3,"y":2},{"row":2,"col":4,"x":4,"y":2},{"row":2,"col":5,"x":5,"y":2},{"row":2,"col":6,"x":6,"y":2},{"row":2,"col":10,"x":10,"y":2},{"row":2,"col":11,"x":11,"y":2},{"row":2,"col":12,"x":12,"y":2},{"row":2,"col":13,"x":13,"y":2},{"row":2,"col":14,"x":14,"y":2},{"row":2,"col":15,"x":15,"y":2},{"row":2,"col":16,"x":16,"y":2},{"row":3,"col":0,"x":0,"y":3},{"row":3,"col":1,"x":1,"y":3},{"row":3,"col":2,"x":2,"y":3},{"row":3,"col":3,"x":3,"y":3},{"row":3,"col":4,"x":4,"y":3},{"row":3,"col":5,"x":5,"y":3},{"row":3,"col":6,"x":6,"y":3},{"row":3,"col":7,"x":7,"y":3},{"row":3,"col":9,"x":9,"y":3},{"row":3,"col":10,"x":10,"y":3},{"row":3,"col":11,"x":11,"y":3},{"row":3,"col":12,"x":12,"y":3},{"row":3,"col":13,"x":13,"y":3},{"row":3,"col":14,"x":14,"y":3},{"row":3,"col":15,"x":15,"y":3},{"row":3,"col":16,"x":16,"y":3},{"row":4,"col":0,"x":0,"y":4},{"row":4,"col":1,"x":1,"y":4},{"row":4,"col":2,"x":2,"y":4},{"row":4,"col":3,"x":3,"y":4},{"row":4,"col":4,"x":4,"y":4},{"row":4,"col":6,"x":6,"y":4},{"row":4,"col":7,"x":7,"y":4},{"row":4,"col":9,"x":9,"y":4},{"row":4,"col":10,"x":10,"y":4},{"row":4,"col":12,"x":12,"y":4},{"row":4,"col":13,"x":13,"y":4},{"row":4,"col":14,"x":14,"y":4},{"row":4,"col":15,"x":15,"y":4},{"row":4,"col":16,"x":16,"y":4}]}},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER","enabled":false},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER","enabled":false}]}')},24234:function(o){"use strict";o.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(o){"use strict";o.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":["&kp","ESC","&kp","GRAVE"]},"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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.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","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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.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(o){"use strict";o.exports=JSON.parse('[{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"faIcon":"windows fa-brands"}]')},97107:function(o){"use strict";o.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"}]')}}]); +//# sourceMappingURL=shared.8d18858839cd2d379cfe.js.map
\ No newline at end of file diff --git a/shared.8d18858839cd2d379cfe.js.map b/shared.8d18858839cd2d379cfe.js.map new file mode 100644 index 0000000..06316af --- /dev/null +++ b/shared.8d18858839cd2d379cfe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shared.8d18858839cd2d379cfe.js","mappings":"oFAAAA,EAAOC,QAAU,EAAjBD,M,wBCAA,MAAM,yBACJE,EAAwB,yBACxBC,EAAwB,SACxBC,EAAQ,OACRC,GACEC,EAAQ,OACN,eAAEC,EAAc,cAAEC,GAAkBF,EAAQ,OAE5CG,EAAiB,OACjBC,EAAyC,OAE/C,SAASC,EAAiBC,GACxB,OAAoC,IAA7BA,EAAKC,KAAKC,QAAQ,KAC3B,CASA,SAASC,EAAiBH,GACxB,MACgB,YAAdA,EAAKI,MACLJ,EAAKK,iBAGyB,gBAA9BL,EAAKK,gBAAgBD,MACS,yBAA9BJ,EAAKK,gBAAgBD,MACS,oBAA9BJ,EAAKK,gBAAgBD,MACrBJ,EAAKK,gBAAgBC,YAAYC,MAAQP,EAAKQ,cAAcD,GAEhE,CAEA,SAASE,EAAoBT,EAAMU,GACjC,OAAOA,EAAIC,OAAOC,EAAaZ,GACjC,CAiCA,SAASY,EAAcZ,GACrB,IAAIa,EAAIb,EACJc,EAAQ,EACZ,MAAMC,EAAOf,EAAKgB,KAAKC,SAEvB,MAAQJ,EAAIA,EAAEK,SAAWL,GAAKA,EAAEM,KAAOJ,EAAKI,IAC3B,iBAAXN,EAAET,MACJU,IAIJ,OAAOA,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AAOyS,GAKP,MAJIA,aAAiBuK,IACnByB,EAAahM,MAAQA,EAAMwK,QAC3Be,EAAWnM,GAAW,IAElBY,CACR,CAEA,OAAOK,CAAM,GACZ,IA3DM2F,EAAM9F,GAAc,KAAM,CAAG3S,KAAM,SAAUqN,KAAK,MAJlD,EAgEX,CAEA,IAAK,MAAMwG,KAAYpC,EAKrB,IACE,MAAMiN,EAAWT,EAAQpK,GACzB,IAAK,MAAM8K,KAAS9K,EAASjS,OAC3Boc,EAAY,IAAGW,KAAWD,CAa9B,CAXE,MAAOjM,GACP,KAAMA,aAAiBuK,GACrB,MAAMvK,EAGRvM,QAAQuM,MAAM,wCAAyCA,GACvDoB,EAASpB,MAAQA,EAAMwK,QACvB,MAAMyB,EAAWjG,EAAMyE,EAAqBrJ,IAAa,GAAG,KAAM,CAAGxG,KAAK,MAC1E,IAAK,MAAMsR,KAAS9K,EAASjS,OAC3Boc,EAAY,IAAGW,KAAWD,CAE9B,CAGF,OAAOV,CACT,EA4EEZ,oC","sources":["webpack:///../api/packages/devicetree/index.js","webpack:///../api/packages/devicetree/lib/formatters.js","webpack:///../api/packages/devicetree/lib/helpers/index.js","webpack:///../api/packages/devicetree/lib/helpers/nodes.js","webpack:///../api/packages/devicetree/lib/helpers/properties.js","webpack:///../api/packages/devicetree/lib/helpers/trees.js","webpack:///../api/packages/devicetree/lib/helpers/values.js","webpack:///../api/packages/devicetree/lib/node-collection.js","webpack:///../api/packages/devicetree/lib/parser.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/apply-keymap-changes.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/bindings.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/collections/behaviors.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/collections/combos.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/collections/layers.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/collections/macros.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/keymap-document.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/devicetree/sanity-checks.js","webpack:///../api/packages/keymap-editor-zmk-backend/lib/extract-keymap-data.js","webpack:///../api/packages/keymap-layout-tools/lib/render.js","webpack:///../api/packages/keymap-layout-tools/lib/validate.js","webpack:///../api/packages/string-utils/index.js","webpack:///../api/packages/zmk-data/behaviors.js","webpack:///../api/packages/zmk-data/keycode-mappings.js","webpack:///../api/packages/zmk-data/keycodes.js","webpack:///../api/packages/zmk-data/parameters.js"],"sourcesContent":["module.exports = require('./lib/parser')\n","const {\n removeStartingWhitespace,\n removeTrailingWhitespace,\n reindent,\n dedent\n} = require('string-utils')\nconst { getLabeledItem, getNodeLabels } = require('./helpers/nodes')\n\nconst DEFAULT_INDENT = ' '\nconst DEFAULT_MULTILINE_INTEGER_CELLS_INDENT = 'keep'\n\nfunction isMultilineNode (node) {\n return node.text.indexOf('\\n') !== -1\n}\n\nfunction isMultilinePropertyNode (node) {\n return node?.type === 'property' && (\n node.namedChildren.length > 2 ||\n node.namedChildren.slice(1).some(isMultilineNode)\n )\n}\n\nfunction isInlineComment (node) {\n return (\n node.type === 'comment' &&\n node.previousSibling &&\n // Nodes for pre-processor directives include trailing newline characters.\n // For simplicity, a preproc cannot have an inline comment.\n node.previousSibling.type !== 'preproc_def' &&\n node.previousSibling.type !== 'preproc_function_def' &&\n node.previousSibling.type !== 'preproc_include' &&\n node.previousSibling.endPosition.row === node.startPosition.row\n )\n}\n\nfunction getNodeIndentation (node, tab) {\n return tab.repeat(getNodeDepth(node))\n}\n\nfunction getModelineConfiguration (tree) {\n return tree.rootNode.namedChildren.reduce((config, node) => {\n if (node.type === 'comment') {\n const contents = node.text.startsWith('//')\n ? node.text.slice(2).trim()\n : node.text.slice(2, -2).trim()\n\n for (const line of contents.split('\\n')) {\n const match = line.match(/dt-formatter:\\s*(\\w+)\\s*=\\s*(.+)$/)\n if (match) {\n const [key, jsonValue] = match.slice(1)\n try {\n const value = JSON.parse(jsonValue)\n config[key] = value\n } catch {}\n }\n }\n }\n\n return config\n }, {})\n}\n\n/**\n * Determine the depth of the node in the device tree\n *\n * A depth of 0 is anything at the document level -- this includes the \"/\" node\n *\n * @param {SyntaxNode} node any kind of syntax node\n * @returns {Integer} depth\n */\nfunction getNodeDepth (node) {\n let n = node\n let depth = 0\n const stop = node.tree.rootNode\n\n while ((n = n.parent) && n && n.id !== stop.id) {\n if (n.type !== 'labeled_item') {\n depth++\n }\n }\n\n return depth\n}\n\nfunction shouldIncludeBlank (nodeA, nodeB) {\n if (!nodeB) {\n return false\n }\n\n const sameType = nodeA.type === nodeB.type\n const isAdjacentDeviceTreeNode = sameType && nodeA.type === 'node'\n\n // TODO: this should probably just not insert whitespace around comments\n return (\n isAdjacentDeviceTreeNode ||\n isMultilinePropertyNode(nodeA) ||\n (!sameType && !isInlineComment(nodeB))\n )\n}\n\n/**\n * Apply formatting (indentation and whitespace) to a node and its descendents\n *\n * Indentation is based on the node's depth in the full tree (not just relative\n * to the supplied `node` parameter) and currently limited to 4-space tabs.\n *\n * The existing formatting of `integer_cells` nodes (ie, `bindings = <...>;`) is\n * considered sacred and 0 levels of indentation will be applied to those lines.\n * @param {SyntaxNode} node any node in the devicetree\n * @returns {String} the newly-formatted text for the syntax node\n */\nfunction formatNode (node, options = {}) {\n const { indent = DEFAULT_INDENT } = options\n\n if (node.type === 'labeled_item') {\n node = getLabeledItem(node)\n }\n\n const [identifier, ...children] = node.namedChildren\n const indentation = getNodeIndentation(node, indent)\n\n function formatChildren (children) {\n return children.reduce((lines, childNode, i, arr) => {\n // Merge inline comments onto the previous node's line.\n // This feels a bit hacky but it must be performed on the \"unformatted\"\n // comment syntax node (this check is also happening when the previous\n // node is being formatted and the extra blank line is being considered).\n if (isInlineComment(childNode)) {\n lines[lines.length - 1] += childNode.text\n return lines\n }\n lines.push(...formatNode(childNode, options))\n\n if (shouldIncludeBlank(childNode, children[i + 1])) {\n lines.push('')\n }\n\n return lines\n }, [])\n }\n\n switch (node.type) {\n case 'document':\n return [...formatChildren(node.namedChildren), '']\n\n case 'node':\n return [\n indentation + `${formatLabels(getNodeLabels(node))}${identifier.text}${getAddress(node)} {`,\n ...formatChildren(hasAddress(node) ? node.namedChildren.slice(2) : children),\n indentation + '};'\n ]\n\n case 'property':\n return formatPropertyNode(node, options)\n\n case 'preproc_include':\n case 'preproc_def':\n case 'preproc_function_def':\n return [node.text.trimEnd()]\n\n default:\n // this is mainly for things I didn't expect to see, but also includes\n // commonly used features like preproc_includes that technically work when\n // used inside nodes but aren't recognized by the grammar at the moment.\n // See: https://github.com/joelspadin/tree-sitter-devicetree/issues/1\n return [indentation + node.text]\n }\n}\n\nfunction hasAddress (node) {\n return !!node.childForFieldName('address')\n}\n\nfunction getAddress (node) {\n return hasAddress(node)\n // note address field doesn't give the actual value yet\n ? `@${node.namedChildren[1].text}`\n : ''\n}\n\nfunction formatLabels (labels) {\n return labels.map(text => `${text}: `).join('')\n}\n\nfunction formatPropertyNode (node, options = {}) {\n const {\n indent = DEFAULT_INDENT,\n multilineIntegerCellsIndent = DEFAULT_MULTILINE_INTEGER_CELLS_INDENT\n } = options\n\n const [identifier, ...children] = node.namedChildren\n const indentation = getNodeIndentation(node, indent)\n\n const noValue = children.length === 0\n const simpleValue = children.length === 1 && !isMultilineNode(children[0])\n const singleIntegerCell = children.length === 1 && children[0].type === 'integer_cells'\n const labels = formatLabels(getNodeLabels(node))\n\n // TODO: get smarter about different property value types\n if (noValue) return [indentation + node.text]\n\n if (simpleValue) {\n return [indentation + `${labels}${identifier.text} = ${children[0].text};`]\n } else if (singleIntegerCell) {\n let bindingsLines = removeStartingWhitespace(\n removeTrailingWhitespace(\n children[0].text.slice(1, -2)\n )\n )\n\n switch (multilineIntegerCellsIndent) {\n case 'reindent':\n bindingsLines = reindent(bindingsLines, indentation + indent)\n break\n\n case 'dedent':\n bindingsLines = dedent(bindingsLines)\n break\n\n case 'keep':\n default:\n break\n }\n\n return [\n indentation + `${labels}${identifier.text} = <`,\n ...bindingsLines.split('\\n'),\n indentation + '>;'\n ]\n }\n\n return [\n indentation + `${identifier.text} =`,\n ...[].concat(...children.map(node => formatNode(node, options)))\n .map((line, i, arr) => {\n const suffix = i === arr.length - 1 ? ';' : ','\n return [line, suffix].join('')\n })\n ]\n}\n\nmodule.exports = {\n formatNode,\n getModelineConfiguration,\n getNodeDepth,\n isInlineComment,\n shouldIncludeBlank\n}\n","module.exports = Object.assign(\n {},\n require('./nodes'),\n require('./properties'),\n require('./trees'),\n require('./values')\n)\n","const assert = require('assert')\nconst reverse = require('lodash/reverse')\n\n/**\n * Check if an ordered list of nodes are consecutive\n * Nodes are consecutive if each node is adjacent to the next, so that no other\n * sibling nodes exist between them.\n * @param {Array<SyntaxNode>} nodes\n * @returns {Boolean}\n */\nfunction nodesAreConsecutive (nodes) {\n return nodes.every((node, i) => (\n i < nodes.length - 1\n ? node.nextSibling.id === nodes[i + 1].id\n : true\n ))\n}\n\n/**\n * Get the string value of each reference label attached to the given node.\n * Labels are in in descending order of depth.\n * @param {SyntaxNode} node\n * @returns {Array<String>}\n */\nfunction getNodeLabels (node) {\n return getNodeLabelNodes(node).map(label => label.text)\n}\n\n// blech\nfunction getNodeLabelNodes (node) {\n return getNodeChildrenByFieldName(node.parent, 'label')\n}\n\n/**\n * Descend into a chain of labeled_item nodes to get at the actual item\n * @param {SyntaxNode} labeledItemNode syntax node for a devicetree label\n * @returns {SyntaxNode}\n */\nfunction getLabeledItem (labeledItemNode) {\n assert(labeledItemNode.type === 'labeled_item')\n return labeledItemNode.childForFieldName('item')\n}\n\nfunction getNodeChildrenByFieldName (node, fieldName) {\n const children = []\n\n // Iteration is done with a cursor here because only TreeCursor will directly\n // tell us what field is associated with the current node. The node itself\n // will not tell us about its own field, and Node.childForFieldName(field)\n // will only tell us about a single child with the specified field.\n const cursor = node.walk()\n cursor.gotoFirstChild()\n\n do {\n const isNamed = cursor.currentNode().isNamed()\n const isField = cursor.currentFieldName() === fieldName\n if (isNamed && isField) {\n children.push(cursor.currentNode())\n }\n } while (cursor.gotoNextSibling())\n\n cursor.delete()\n\n return children\n}\n\n/**\n * Find a single child of the given node with a matching identifier\n * @param {SyntaxNode} node\n * @param {Function|String} nameOrMatch\n * @returns {SyntaxNode}\n */\nfunction findChildrenByIdentifier (node, nameOrMatch) {\n const match = typeof nameOrMatch === 'string'\n ? text => text === nameOrMatch\n : nameOrMatch\n\n return node.namedChildren.filter(node => (\n node.type === 'node' &&\n node.children.find(sub => (\n sub.type === 'identifier' &&\n match(sub.text)\n ))\n ))\n}\n\n/**\n * Find a child of the given node(s) with a matching name.\n * If multiple nodes are given to search through, they will be searched in\n * reverse order so that the \"latest\" instance of a node takes precedence.\n * @param {Array<SyntaxNode>|SyntaxNode} nodes\n * @param {RegExp|String} nameOrMatch\n */\nfunction findChildByIdentifier (nodes, nameOrMatch) {\n nodes = [].concat(nodes)\n for (const node of reverse(nodes)) {\n const match = findChildrenByIdentifier(node, nameOrMatch)[0]\n if (match) {\n return match\n }\n }\n}\n\nfunction listNodes (nodes, opts = {}) {\n const { stripNewlines = true, limit = 50 } = opts\n for (const node of nodes) {\n let value = node.text\n if (stripNewlines) value = value.replace(/\\n/g, '')\n if (limit) value = value.slice(0, limit)\n\n console.log(node.id, `[${node.type}]`, '->', value)\n }\n}\n\nmodule.exports = {\n nodesAreConsecutive,\n getNodeLabels,\n getNodeLabelNodes,\n getLabeledItem,\n getNodeChildrenByFieldName,\n findChildByIdentifier,\n findChildrenByIdentifier,\n listNodes\n}\n","const { getNodeChildrenByFieldName } = require('./nodes')\nconst {\n parseStringLiteral,\n parseIntegerCells,\n parseIntegerArray,\n parsePhandles,\n parsePhandle,\n parsePhandleArray,\n parseIntegerUnion,\n serializeIntValue,\n serializeArrayValue\n} = require('./values')\n\n/** @typedef {{ parsed: any, raw: string, useRaw?: boolean }} PropertyValue */\n/** @typedef {Object.<string, PropertyValue>} Properties */\n\n/**\n * Get a property with the given name in this node, if it exists.\n * @param {SyntaxNode} node\n * @param {String} propertyName\n * @returns {SyntaxNode|undefined}\n */\nfunction findNodeProperty (node, propertyName) {\n return node.children.find(node => (\n node.type === 'property' &&\n node.children[0].text === propertyName\n ))\n}\n\nfunction getPropertyNode (node, propertyName) {\n return node.namedChildren.find(child => (\n child.type === 'property' &&\n child.childForFieldName('name')?.text === propertyName\n ))\n}\n\nfunction getProperty (node, property) {\n const propertyNode = node.children.find(node => (\n node.type === 'property' &&\n node.children[0].text === property\n ))\n\n return propertyNode && {\n syntaxNode: propertyNode,\n name: property,\n value: propertyNode.children[2]?.text\n }\n}\n\nfunction getPropertyValue (node, property) {\n property = typeof property === 'string'\n ? getPropertyNode(node, property)\n : property\n\n return property?.childForFieldName('value')\n}\n\nfunction getPropertyValues (node, property) {\n const propertyNode = getPropertyNode(node, property)\n return propertyNode && getNodeChildrenByFieldName(propertyNode, 'value')\n}\n\n/**\n * @param {SyntaxNode} node devicetree node from which to extract property values\n * @param {Object} schema devicetree schema of a spcecific node\n * @return {Properties} properties\n */\nfunction parsePropertiesFromSchema (node, schema) {\n return Object.keys(schema).reduce((properties, prop) => {\n const propSchema = schema[prop]\n const values = parsePropertyFromSchema(node, prop, propSchema)\n\n if (values !== undefined) {\n properties[prop] = {\n parsed: values\n }\n }\n\n return properties\n }, {})\n}\n\n/**\n * @param {SyntaxNode} node devicetree node from which to extract a property value\n * @param {String} property name of property\n * @param {Object} schema devicetree schema of specific property\n */\nfunction parsePropertyFromSchema (node, property, schema) {\n const propertyNode = findNodeProperty(node, property)\n const values = getPropertyValues(node, property)\n\n switch (schema.type) {\n case 'string':\n return parseStringLiteral(values?.[0])\n\n case 'boolean':\n return !!propertyNode\n\n case 'int':\n return parseIntegerCells(values)?.[0]\n\n case 'array':\n return parseIntegerArray(values)\n\n case 'phandle':\n return parsePhandle(values)\n\n case 'phandles':\n return parsePhandles(values)\n\n case 'phandle-array':\n return parsePhandleArray(values)\n\n case 'integer-union':\n return parseIntegerUnion(values)\n }\n}\n\nfunction serializePropertyFromSchema (property, schema) {\n // TODO: Probably make separate functions?\n switch (schema.type) {\n case 'string':\n return `\"${property.parsed}\"`\n\n case 'boolean':\n // This is a weird case because instead of an explicit value we use the\n // presense of the property (name) to indicate true or false. Note that\n // this will get more complicated when supporting the `/delete-property/`\n // flag (?)\n return property.parsed\n\n case 'int':\n return serializeIntValue(property.parsed)\n\n case 'array':\n return serializeArrayValue(property.parsed)\n\n case 'phandle':\n return property.parsed.map(phandle => `<${phandle}>`).join(', ')\n\n case 'phandles':\n case 'phandle-array':\n // TODO: Grouping binding cells into separate phandle-arrays shouldn't\n // be the default behavior but right now the only place this would be\n // unacceptably weird is the bindings property for layer and macro nodes\n // which already do their own formatting explicitly.\n return property.parsed\n .reduce((bindings, node) => {\n if (node.startsWith('&')) {\n bindings.push([node])\n } else {\n const last = bindings[bindings.length - 1]\n last.push(node)\n }\n\n return bindings\n }, [])\n .map(group => `<${group.join(' ')}>`)\n .join(', ')\n\n case 'integer-union':\n return `<(${property.parsed.map(v => v.toString()).join('|')})>`\n }\n}\n\nmodule.exports = {\n findNodeProperty,\n getProperty,\n getPropertyNode,\n getPropertyValue,\n getPropertyValues,\n parsePropertiesFromSchema,\n parsePropertyFromSchema,\n serializePropertyFromSchema\n}\n","\n/**\n *\n * @param {Tree|Node} tree Starting point for breadth-first traversal\n * @param {Object} [options={}]\n * @param {Integer} [options.maxDepth=-1]\n * @returns {Function} get next node, or undefined when traversal is complete\n */\nfunction BreadthFirstIterator (tree, options = {}) {\n const { maxDepth = -1 } = options\n const queue = [{ depth: 0, node: tree.rootNode || tree }]\n\n return function next () {\n const current = queue.shift()\n if (current && (maxDepth === -1 || current.depth < maxDepth)) {\n queue.push(...current.node.namedChildren.map(node => ({\n node, depth: current.depth + 1\n })))\n }\n return current?.node\n }\n}\n\n/**\n *\n * @param {Tree|Node} tree Starting point for depth-first traversal\n * @param {Object} [options={}]\n * @param {Integer} [options.maxDepth=-1]\n * @returns {Function} get next node, or undefined when traversal is complete\n */\nfunction DepthFirstIterator (tree, options = {}) {\n const { maxDepth = -1 } = options\n const stack = [{ depth: 0, node: tree.rootNode || tree }]\n\n return function next () {\n const current = stack.shift()\n if (current && (maxDepth === -1 || current.depth < maxDepth)) {\n stack.unshift(...current.node.namedChildren.map(node => ({\n node, depth: current.depth + 1\n })))\n }\n return current?.node\n }\n}\n\n/**\n * Find nodes in `tree` that satisfy the given `predicate` function.\n *\n * @param {Tree|SyntaxNode} tree\n * @param {Function} predicate\n * @param {Object} [options={}]\n * @param {Boolean} [options.single=false]\n * @param {Integer} [options.maxDepth=-1]\n * @param {Boolean} [options.depthFirst=false]\n * @returns {Array<SyntaxNode>|SyntaxNode} use options.single to return only the first matching node\n */\nfunction searchTree (tree, predicate, options = {}) {\n const {\n single = false,\n maxDepth = -1,\n depthFirst = false\n } = options\n\n const iter = depthFirst\n ? DepthFirstIterator(tree, { maxDepth })\n : BreadthFirstIterator(tree, { maxDepth })\n\n const matches = []\n let node\n\n while ((node = iter())) {\n if (predicate(node)) {\n if (single) {\n return node\n }\n\n matches.push(node)\n }\n }\n\n if (single) {\n return undefined\n }\n\n return matches\n}\n\nfunction findNodeByIdentifier (tree, name) {\n return searchTree(tree, node => (\n node.type === 'node' &&\n node.childForFieldName('name').text === name\n ), { single: true })\n}\n\nfunction findLabeledItem (tree, name) {\n let node = searchTree(tree, node => (\n node.type === 'labeled_item' &&\n node.children[0].type === 'identifier' &&\n node.children[0].text === name\n ), { single: true })\n\n if (!node) {\n return null\n }\n\n do {\n node = node.childForFieldName('item')\n } while (node.type === 'labeled_item')\n\n return node\n}\n\nfunction createPredicateForCompatible (compatible) {\n let match\n\n if (compatible instanceof RegExp) {\n match = text => compatible.test(text)\n } else if (typeof compatible === 'string') {\n match = text => text === `\"${compatible}\"`\n } else if (typeof compatible === 'function') {\n match = compatible\n } else {\n throw new TypeError('Unexpected type ' + typeof compatible)\n }\n\n return node => (\n node.type === 'property' &&\n node.childForFieldName('name').text === 'compatible' &&\n match(node.childForFieldName('value').text)\n )\n}\n\n/**\n * Find single node including a `compatible` property with the given value.\n *\n * @param {Tree|SyntaxNode} tree\n * @param {String|RegExp|Function} compatible\n * @returns {SyntaxNode|undefined}\n */\nfunction findNodeWithCompatible (tree, compatible) {\n // TODO: look into tree sitter queries again, doing these searches within web\n // assembly is probably much faster. Alternatively, performing this lookup as\n // a breadth-first search would likely save a lot of time since we're often\n // expecting to match nodes just inside the devicetree root node. It may also\n // be worth refining the depth-first search to avoid going deeper in some\n // situations -- if I'm matching a property string it doesn't make sense to\n // recurse into the property values.\n const predicate = createPredicateForCompatible(compatible)\n const propertyNode = searchTree(tree, predicate, { single: true })\n\n return propertyNode?.parent\n}\n/**\n * Find descendent nodes including a `compatible` property with the given value.\n *\n * @param {Tree|SyntaxNode} tree\n * @param {String|RegExp|Function} compatible\n * @returns {Array<SyntaxNode>}\n */\nfunction findNodesWithCompatible (tree, compatible) {\n const predicate = createPredicateForCompatible(compatible)\n return searchTree(tree, predicate).map(property => property.parent)\n}\n\nmodule.exports = {\n BreadthFirstIterator,\n DepthFirstIterator,\n searchTree,\n findLabeledItem,\n findNodeByIdentifier,\n findNodeWithCompatible,\n findNodesWithCompatible\n}\n","const { searchTree } = require('./trees')\n\nconst isNegativeInteger = node => (\n node.type === 'unary_expression' &&\n node.childForFieldName('operator').type === '-' &&\n node.childForFieldName('argument').type === 'integer_literal'\n)\n\nconst isNumberishType = node => (\n ['identifier', 'integer_literal'].includes(node.type) || isNegativeInteger(node)\n)\n\nconst isBindingType = node => (\n // call_expression node includes modifier functions like `LC(A)`\n ['identifier', 'integer_literal', 'reference', 'call_expression'].includes(node.type)\n)\n\nconst isBindingRef = node => node.type === 'reference'\n\nconst extractInteger = node => (\n node.type === 'integer_literal' || isNegativeInteger(node)\n ? Number(node.text)\n : node.text\n)\n\nfunction parseStringLiteral (value) {\n return value?.text?.slice(1, -1)\n}\n\nfunction parseIntegerCells (values) {\n return parseIntegerArray(values)\n}\n\nfunction parseIntegerArray (values) {\n return values?.flatMap(cells => (\n cells.namedChildren\n .filter(isNumberishType)\n .map(extractInteger)\n ))\n}\n\nfunction parsePhandle (values) {\n return parsePhandles(values)[0]\n}\n\nfunction parsePhandles (values) {\n return values?.flatMap(cells => (\n cells.namedChildren\n .filter(isBindingRef)\n .map(value => value.text)\n ))\n}\n\nfunction parsePhandleArray (values) {\n return values?.flatMap(cells => (\n cells.namedChildren\n .filter(isBindingType)\n .map(value => value.text)\n ))\n}\n\nfunction parseIntegerUnion (values) {\n return values?.flatMap(value => (\n searchTree(value, isNumberishType, { depthFirst: true })\n )).map(extractInteger)\n}\n\nfunction sanitizeIdentifier (name) {\n return name\n .replace(/[^a-zA-Z0-9,._+-]/g, '_')\n .slice(0, 31)\n}\n\nfunction serializeIntegerCell (value) {\n value = value.toString()\n if (value.match(/-\\d+/)) {\n value = `(${value})`\n }\n\n return value\n}\n\nfunction serializeIntValue (value) {\n return `<${serializeIntegerCell(value)}>`\n}\n\nfunction serializeArrayValue (values) {\n return `<${values.map(serializeIntegerCell).join(' ')}>`\n}\n\nmodule.exports = {\n parseStringLiteral,\n parseIntegerCells,\n parseIntegerArray,\n parsePhandle,\n parsePhandleArray,\n parsePhandles,\n parseIntegerUnion,\n sanitizeIdentifier,\n serializeIntValue,\n serializeArrayValue\n}\n","const assert = require('assert')\nconst { ReferenceError } = assert\nconst difference = require('lodash/difference')\nconst filter = require('lodash/filter')\nconst isEqual = require('lodash/isEqual')\nconst map = require('lodash/map')\nconst partition = require('lodash/partition')\nconst reverse = require('lodash/reverse')\n\nconst { getNodeLabels, getLabeledItem } = require('./helpers/nodes')\nconst { getPropertyValues } = require('./helpers/properties')\nconst { sanitizeIdentifier } = require('./helpers/values')\n\nclass NodeCollection {\n managedProperties = []\n _cached_container_node = null\n _cached_container_tree_version = 0\n _cached_collection_nodes = null\n _cached_collection_tree_version = 0\n\n constructor (document, options = {}) {\n this.document = document\n if (options.managedProperties) { this.managedProperties = options.managedProperties }\n if (options.lookupContainerNode) { this.lookupContainerNode = options.lookupContainerNode.bind(this) }\n if (options.injectContainerNode) { this.injectContainerNode = options.injectContainerNode.bind(this) }\n if (options.lookupNodes) { this.lookupNodes = options.lookupNodes.bind(this) }\n if (options.injectNode) { this.injectNode = options.injectNode.bind(this) }\n }\n\n lookupContainerNode () { throw new ReferenceError('Provide `lookupContainerNode` in constructor or override this method') }\n injectContainerNode () { throw new ReferenceError('Provide `injectContainerNode` in constructor or override this method') }\n\n lookupNodes () { throw new ReferenceError('Provide `lookupNodes` in constructor or override this method') }\n injectNode () { throw new ReferenceError('Provide `injectNode` in constructor or override this method') }\n\n get container () {\n if (this._cached_container_tree_version !== this.document._parse_version) {\n delete this._cached_container_node\n }\n if (!this._cached_container_node) {\n this._cached_container_node = this.lookupContainerNode(this.document)\n this._cached_container_tree_version = this.document._parse_version\n }\n\n return this._cached_container_node\n }\n\n get nodes () {\n if (this._cached_collection_tree_version !== this.document._parse_version) {\n delete this._cached_collection_nodes\n }\n if (!this._cached_collection_nodes) {\n this._cached_collection_nodes = this.lookupNodes(this.document)\n this._cached_collection_tree_version = this.document._parse_version\n }\n\n return this._cached_collection_nodes\n }\n\n updateCollection (collection) {\n if (collection.length && !this.container) {\n this.injectContainerNode(this)\n this.document.flushChanges()\n }\n\n const originalIndices = [...this.nodes.keys()]\n const reusedIndices = filter(map(collection, 'index'), index => this.nodes[index])\n const removedIndices = difference(originalIndices, reusedIndices)\n const [updates, additions] = partition(collection, node => this.nodes[node.index])\n\n for (const node of updates) {\n this.updateNode(node.index, node)\n }\n\n for (const index of reverse(removedIndices)) {\n this.document.removeNode(this.nodes[index])\n }\n\n for (const node of additions) {\n this.injectNode(this, node)\n this.document.flushChanges()\n this.updateNode(this.nodes.length - 1, node)\n }\n }\n\n /**\n * Update an existing devicetree node\n * @param {Integer} index the position of the existing node to update\n * @param {Object} update the new node state to apply to devicetree\n * @param {String} update.name the devicetree node name\n * @param {Array<String>} update.labels zero or more devictree labels to apply to the node\n * @param {Object} update.properties mapping of property name to (serialized) property values\n */\n updateNode (index, update) {\n const existing = this.extractNode(this.nodes[index])\n this.updateNodeName(index, update, existing)\n this.updateNodeLabels(index, update, existing)\n this.updateNodeProperties(index, update, existing)\n this.cleanupNodeProperties(index, update, existing)\n }\n\n updateNodeName (index, update, existing) {\n if (existing.name !== update.name) {\n const identifier = this.nodes[index].childForFieldName('name')\n this.document.replaceNode(identifier, sanitizeIdentifier(update.name), {\n removeStartingWhitespace: false\n })\n }\n }\n\n updateNodeLabels (index, update, existing) {\n if (!isEqual(existing.labels, update.labels)) {\n this.document.replaceNodeLabels(this.nodes[index], update.labels)\n }\n }\n\n updateNodeProperties (index, update, existing) {\n const { properties } = update\n\n for (const name in properties) {\n const values = properties[name]\n\n if (!isEqual(values, existing.properties[name])) {\n this.document.setProperty(\n this.nodes[index],\n name,\n values\n )\n }\n }\n }\n\n cleanupNodeProperties (index, update, existing) {\n const { properties } = update\n for (const name of this.managedProperties) {\n if (name in existing.properties && !(name in properties)) {\n this.document.deleteProperty(this.nodes[index], name)\n }\n }\n }\n\n /**\n * Extract basic information from a devicetree node for convenience.\n * The output of this function is an object with structure:\n * {\n * name: String,\n * labels: Array<String>\n * properties: Object<name:values>\n * }\n * This can be overridden to include additional details.\n * @param {SyntaxNode} node a devicetree node from which to extract info\n * @returns {Object}\n */\n extractNode (node) {\n // TODO: should there be a `Node` class?\n // TODO: Should there be a `PropertyCollection` with similar abstractions?\n assert(node.type === 'node')\n\n const name = node.childForFieldName('name').text\n const labels = getNodeLabels(node)\n const properties = node.namedChildren.reduce((acc, child) => {\n if (child.type === 'labeled_item') {\n child = getLabeledItem(child)\n }\n if (child.type === 'property') {\n const name = child.childForFieldName('name').text\n const values = getPropertyValues(node, name)\n const parsed = map(values, 'text')\n const raw = parsed.join(', ')\n acc[name] = { parsed, raw }\n }\n\n return acc\n }, {})\n\n return {\n name,\n labels,\n properties\n }\n }\n\n /**\n * Evaluate each node with `extractNode` and include an `index` property\n * @returns {Array<Object>}\n */\n extractCollection () {\n return this.nodes.map((node, index) => ({\n index, ...this.extractNode(node)\n }))\n }\n}\n\nmodule.exports = {\n NodeCollection\n}\n","const assert = require('assert')\nconst { sortBy } = require('lodash')\n\nconst TreeSitter = require('web-tree-sitter')\n\nconst { getPosition } = require('string-utils')\nconst { getNodeLabelNodes } = require('./helpers/nodes')\nconst { getProperty } = require('./helpers/properties')\n\nlet _parser\n\nasync function getParser () {\n if (!_parser) {\n await TreeSitter.init()\n const language = await TreeSitter.Language.load(\n\n // This is meant to make loading possible in a browser.\n global.window\n ? require('../data/tree-sitter-devicetree.wasm')\n : __dirname + '/../data/tree-sitter-devicetree.wasm'\n )\n _parser = new TreeSitter()\n _parser.setLanguage(language)\n }\n\n return _parser\n}\n\nclass DevicetreeDocument {\n constructor (parser, text) {\n this.parser = parser\n this._parse_version = 0\n this._enableChangeBuffering = false\n this._bufferedChanges = []\n this.update(text)\n }\n\n cleanup () {\n this.tree.delete()\n }\n\n update (text, inputEdit = null) {\n if (inputEdit && this.tree && this._enableChangeBuffering) {\n const replacementText = text.slice(inputEdit.startIndex, inputEdit.newEndIndex)\n this._bufferedChanges.push({\n startIndex: inputEdit.startIndex,\n update: inputEdit,\n replacementText\n })\n } else {\n this.text = text\n this._reparse()\n }\n }\n\n _reparse () {\n this.tree && this.tree.delete()\n this.tree = this.parser.parse(this.text)\n this._parse_version++\n }\n\n flushChanges () {\n if (this._bufferedChanges.length === 0) {\n return\n }\n\n const updates = sortBy(this._bufferedChanges, 'startIndex')\n\n // console.log('flushing updates', updates)\n // console.log({ original: this.text })\n\n const chunks = updates.reduce((chunks, { update, replacementText }, i) => {\n const nextUpdate = updates[i + 1]\n const prevEnd = i > 0\n ? updates[i - 1].update.oldEndIndex\n : 0\n\n const preChunk = this.text.slice(prevEnd, update.startIndex)\n const chunk = replacementText\n chunks.push(preChunk)\n chunks.push(chunk)\n\n // console.log({\n // preChunk,\n // chunk\n // })\n\n if (!nextUpdate) {\n // console.log('selecting final cunk', {\n // original: this.text,\n // update,\n // postChunk: this.text.slice(update.oldEndIndex)\n // })\n chunks.push(this.text.slice(update.oldEndIndex))\n }\n\n return chunks\n }, [])\n\n // console.log('generated chunks', chunks)\n\n this.text = chunks.join('')\n // console.log('generated text', this.text)\n this._reparse()\n this._bufferedChanges = []\n }\n\n removeNode (node) {\n this.replaceNode(node, '')\n }\n\n /**\n * Replace the contents of a syntax node with other (serialized) content.\n *\n * @param {SyntaxNode} node the node to be replaced\n * @param {String} newContent the devicetree source replacing the original node\n * @param {Object} options\n * @param {Bool} options.removeStartingWhitespace whether to attempt to start replacing at the start of `node`'s line\n */\n replaceNode (node, newContent, options = {}) {\n const { removeStartingWhitespace = true } = options\n const { text: documentText } = this\n\n // TODO: this all should probably go\n const precedingNewline = documentText.lastIndexOf('\\n', node.startIndex)\n const hasStartingWhitespace = precedingNewline !== -1 && documentText.slice(precedingNewline + 1, node.startIndex).match(/\\s+/)\n const start = hasStartingWhitespace && removeStartingWhitespace\n ? precedingNewline\n : node.startIndex\n\n const replacement = [\n documentText.slice(0, start),\n newContent,\n documentText.slice(node.endIndex)\n ].join('')\n\n const inputEdit = {\n startIndex: start,\n startPosition: getPosition(newContent, start),\n oldEndIndex: node.endIndex,\n oldEndPosition: node.endPosition,\n newEndIndex: start + newContent.length,\n newEndPosition: getPosition(replacement, start + newContent.length)\n }\n\n this.update(replacement, inputEdit)\n }\n\n replaceRange (startIndex, skipToIndex, newContent) {\n const { text: source } = this\n const pre = source.slice(0, startIndex)\n const post = source.slice(skipToIndex)\n const replacement = [pre, newContent, post].join('')\n const newEndIndex = startIndex + newContent.length\n const inputEdit = {\n startIndex,\n startPosition: getPosition(source, startIndex),\n oldEndIndex: skipToIndex,\n oldEndPosition: getPosition(source, skipToIndex),\n newEndIndex,\n newEndPosition: getPosition(replacement, newEndIndex)\n }\n\n return this.update(replacement, inputEdit)\n }\n\n /**\n * Replace any existing labels attached to the specified node.\n * @param {SyntaxNode} labeledNode\n * @param {Array<String>} newLabels\n */\n replaceNodeLabels (labeledNode, newLabels) {\n const labelNodes = getNodeLabelNodes(labeledNode)\n const sorted = sortBy(labelNodes, 'startIndex')\n const serializedLabels = newLabels.map(label => `${label}:`).join(' ')\n const start = (sorted[0] && sorted[0].parent) || labeledNode\n\n this.replaceRange(start.startIndex, labeledNode.startIndex, serializedLabels)\n }\n\n /**\n * Insert text content before a specified node\n * @param {SyntaxNode} node the node before which to insert\n * @param {String} newContent the new devicetree source to be inserted\n */\n insertTextBeforeNode (node, newContent) {\n this.replaceRange(node.startIndex, node.startIndex, newContent)\n }\n\n /**\n * Insert text content after a specified node\n * @param {SyntaxNode} node the node after which to insert\n * @param {String} newContent the new devicetree source to be inserted\n */\n insertTextAfterNode (node, newContent) {\n this.replaceRange(node.endIndex, node.endIndex, newContent)\n }\n\n /**\n * Append devicetree source to the specified node\n * @param {SyntaxNode} parentNode parent node in which to add content\n * @param {*} newContent the new devicetree source to be inserted\n */\n addChildNode (parentNode, newContent) {\n assert(parentNode.type === 'node')\n\n const closingBrace = parentNode.children.find(node => node.type === '}')\n return this.replaceRange(\n closingBrace.startIndex,\n closingBrace.startIndex,\n newContent\n )\n }\n\n /**\n * Set/create a property with the specified value in the specified node\n * @param {SyntaxNode} node target node in which to set property\n * @param {String} property name of property to set\n * @param {String|Boolean} value serialized devicetree value.\n */\n setProperty (node, property, value) {\n const existing = getProperty(node, property)\n\n if (typeof value === 'boolean' && !value) {\n if (existing) {\n this.deleteProperty(node, property)\n }\n\n return\n }\n\n const newText = value.length\n ? `${property} = ${value};`\n : `${property};`\n\n if (existing) {\n return this.replaceNode(\n existing.syntaxNode,\n newText,\n { removeStartingWhitespace: false }\n )\n }\n\n return this.addChildNode(node, `\\n ${newText}`)\n }\n\n /**\n * Remove a property from a specified devicetree node.\n * @param {SyntaxNode} node where to search for the named property\n * @param {String} property name of property to remove\n */\n deleteProperty (node, property) {\n const existing = getProperty(node, property)\n if (existing) {\n this.replaceNode(existing.syntaxNode, '')\n }\n }\n}\n\nmodule.exports = {\n getParser,\n DevicetreeDocument\n}\n","const compact = require('lodash/compact')\nconst flatten = require('lodash/flatten')\nconst get = require('lodash/get')\nconst keyBy = require('lodash/keyBy')\nconst map = require('lodash/map')\nconst omitBy = require('lodash/omitBy')\nconst uniq = require('lodash/uniq')\n\nconst { getParser } = require('devicetree')\nconst { formatNode, getModelineConfiguration } = require('devicetree/lib/formatters')\nconst { behaviorBindings } = require('zmk-data/behaviors')\nconst renderLayout = require('keymap-layout-tools/lib/render')\n\nconst { encodeKeyBinding } = require('./devicetree/bindings')\nconst KeymapDocument = require('./devicetree/keymap-document')\n\nconst behavioursByBind = keyBy(behaviorBindings, 'code')\n\nasync function applyKeymapChanges (layout, keymap, original, featureFlags = {}) {\n formatLayerKeybinds(keymap, layout)\n const behaviorHeaders = flatten(getBehaviorsUsed(keymap).map(\n bind => get(behavioursByBind, [bind, 'includes'], [])\n ))\n\n const devicetreeKeymap = new KeymapDocument(await getParser(), original)\n devicetreeKeymap._enableChangeBuffering = true\n devicetreeKeymap.mergeUpdated(keymap, featureFlags)\n devicetreeKeymap.replaceBehaviourIncludes(behaviorHeaders)\n devicetreeKeymap.flushChanges()\n\n try {\n const config = getModelineConfiguration(devicetreeKeymap.tree)\n return formatNode(devicetreeKeymap.tree.rootNode, config).join('\\n')\n } catch (err) {\n console.error('Failed to format devictree', err)\n return devicetreeKeymap.text\n } finally {\n devicetreeKeymap.cleanup()\n }\n}\n\nfunction formatLayerKeybinds (keymap, layout) {\n for (const layer of keymap.layers) {\n if (layer.properties.bindings?.parsed) {\n const { parsed } = layer.properties.bindings\n layer.properties.bindings = {\n parsed,\n useRaw: true,\n raw: `<\\n${renderLayout(layout, parsed.map(encodeKeyBinding))}\\n>`\n }\n }\n\n if (layer.properties.label && !layer.properties.label.parsed) {\n delete layer.properties.label\n }\n\n layer.properties = omitBy(layer.properties, value => !value)\n }\n}\n\nfunction getBehaviorsUsed (keymap) {\n const bindings = [\n ...flatten(compact(map(keymap.layers, 'properties.bindings.parsed'))),\n ...flatten(compact(map(keymap.layers, 'properties.sensor-bindings.parsed'))),\n ...flatten(compact(map(keymap.combos, 'properties.bindings.parsed'))),\n ...flatten(compact(map(keymap.macros, 'properties.bindings.parsed'))),\n ...flatten(compact(map(keymap.behaviors, 'properties.bindings.parsed')))\n ]\n\n const behaviors = bindings.map(binding => (\n typeof binding === 'object'\n ? binding.value\n : binding\n ))\n\n return uniq(behaviors)\n}\n\nmodule.exports = applyKeymapChanges\nmodule.exports.getBehaviorsUsed = getBehaviorsUsed\n","const filter = require('lodash/filter')\nconst get = require('lodash/get')\nconst { parsePropertyFromSchema } = require('devicetree/lib/helpers/properties')\n\n/** @typedef {String} IntegerCell */\n/** @typedef {String} Bind */\n/** @typedef {{ value: String, params: Array<BindValue> }} BindValue */\n\n/**\n * @param {SyntaxNode} node\n * @param {String} [propertyName='bindings']\n * @returns {Array<Bind>|undefined} bind strings\n */\nfunction parseBindings (node, propertyName = 'bindings') {\n const bindings = parsePropertyFromSchema(node, propertyName, {\n type: 'phandle-array'\n })\n\n return bindings\n ? groupPhandleArrayBindings([].concat(...bindings))\n : undefined\n}\n\n/**\n * @param {Array<IntegerCell>} bindingCells\n * @returns {Array<Bind>}\n */\nfunction groupPhandleArrayBindings (bindingCells) {\n return bindingCells.reduce((bindings, node) => {\n if (node.startsWith('&')) {\n bindings.push([node])\n } else {\n const last = bindings[bindings.length - 1]\n last.push(node)\n }\n\n return bindings\n }, []).map(binding => binding.join(' '))\n}\n\nconst MACRO_CONTROL_BEHAVIOURS = [\n '¯o_tap',\n '¯o_press',\n '¯o_release',\n '¯o_tap_time',\n '¯o_wait_time',\n '¯o_pause_for_release'\n]\n\n/**\n * Group a flat list of bind strings at macro activation mode change\n * @param {Array<Bind>} bindings\n * @returns {Array<Array<Bind>>}\n */\nfunction groupMacroBindings (bindings) {\n return bindings.reduce((rows, binding, i, arr) => {\n const behaviourBind = binding.split(' ')[0]\n\n if (MACRO_CONTROL_BEHAVIOURS.includes(behaviourBind)) {\n if (rows.at(-1).length > 0) {\n rows.push([])\n }\n\n rows.at(-1).push(binding)\n if (i < arr.length - 1) {\n rows.push([])\n }\n } else {\n rows.at(-1).push(binding)\n }\n\n return rows\n }, [[]])\n}\n\n/**\n * Parse a bind string into a tree of values and parameters\n * @param {Bind} binding\n * @returns {BindValue}\n */\nfunction parseKeyBinding (binding, keymap) {\n const paramsPattern = /\\((.+)\\)/\n\n function parse (code) {\n const value = code.replace(paramsPattern, '')\n const params = get(code.match(paramsPattern), '[1]', '').split(',')\n .map(s => s.trim())\n .filter(s => s.length > 0)\n .map(parse)\n\n return {\n // TODO: some defines (e.g., in bat43) can involve multiple bind values\n // this replacement should happen before the bindings array is parsed\n value: get(keymap.defines, value, value),\n params\n }\n }\n\n const value = binding.match(/^(&.+?)\\b/)[1]\n const params = filter(binding.replace(/^&.+?\\b\\s*/, '')\n .split(' '))\n .map(parse)\n\n return { value, params }\n}\n\n/**\n * Serialize a node of a BindValue tree\n * @param {BindValue} parsed\n * @returns {Bind}\n */\nfunction encodeBindValue (parsed) {\n const params = (parsed.params || []).map(encodeBindValue)\n const paramString = params.length > 0 ? `(${params.join(',')})` : ''\n return parsed.value + paramString\n}\n\n/**\n * Serialize a top-level BindValue object\n * @param {BindValue} parsed\n * @returns {Bind}\n */\nfunction encodeKeyBinding (parsed) {\n const { value, params } = parsed\n\n return `${value} ${params.map(encodeBindValue).join(' ')}`.trim()\n}\n\nmodule.exports = {\n parseBindings,\n parseKeyBinding,\n groupMacroBindings,\n groupPhandleArrayBindings,\n encodeKeyBinding\n}\n","const isEqual = require('lodash/isEqual')\n\nconst {\n findChildByIdentifier,\n findChildrenByIdentifier,\n findNodesWithCompatible,\n findNodeProperty,\n getPropertyValues,\n parsePropertyFromSchema,\n sanitizeIdentifier,\n serializePropertyFromSchema\n} = require('devicetree/lib/helpers')\nconst { NodeCollection } = require('devicetree/lib/node-collection')\nconst { behaviorSchemas } = require('zmk-data/behaviors')\n\nconst { parseKeyBinding, encodeKeyBinding } = require('../bindings')\n\nfunction resolveBehaviorBindings (behavior) {\n const bindingsValues = getPropertyValues(behavior, 'bindings') || []\n const bindings = bindingsValues.flatMap(bindingsValue => (\n bindingsValue.namedChildren.flatMap(bindCode => bindCode.text)\n ))\n\n return { bindings }\n}\n\nclass BehaviorCollection extends NodeCollection {\n lookupContainerNode () {\n const rootNodes = findChildrenByIdentifier(this.document.tree.rootNode, '/')\n return findChildByIdentifier(rootNodes, 'behaviors')\n }\n\n injectContainerNode () {\n const keymap = findNodesWithCompatible(this.document.tree.rootNode, 'zmk,keymap').at(-1)\n this.document.insertTextBeforeNode(keymap, '\\nbehaviors {};\\n')\n }\n\n lookupNodes () {\n return findNodesWithCompatible(this.document.tree.rootNode, value => (\n value.startsWith('\"zmk,behavior-') &&\n value !== '\"zmk,behavior-macro\"'\n ))\n }\n\n injectNode (_, behavior) {\n const name = sanitizeIdentifier(behavior.name)\n const last = this.nodes.at(-1)\n const nodeContent = `${behavior.labels[0]}: ${name} {\n compatible = ${behavior.properties.compatible.raw};\n };`\n\n // new node will be updated with full set of properties later, but for now\n // a known behavior has to be set to make sure this node is not filtered out\n if (last) {\n this.document.insertTextAfterNode(last, nodeContent)\n } else {\n this.document.addChildNode(this.container, nodeContent)\n }\n }\n\n extractNode (node) {\n const compatible = findNodeProperty(node, 'compatible')?.namedChildren[1].text.slice(1, -1)\n\n const schema = behaviorSchemas[compatible]\n const extracted = super.extractNode(node)\n\n extracted.properties.compatible.parsed = compatible\n\n if (schema) {\n for (const prop in schema.properties) {\n const propSchema = schema.properties[prop]\n const extractedProp = extracted.properties[prop]\n if (extractedProp) {\n extractedProp.parsed = parsePropertyFromSchema(node, prop, propSchema)\n\n if (propSchema.type === 'phandle-array') {\n const bindStrings = extractedProp.parsed\n .reduce((bindings, node) => {\n if (node.startsWith('&')) {\n bindings.push([node])\n } else {\n const last = bindings[bindings.length - 1]\n last.push(node)\n }\n\n return bindings\n }, [])\n .map(group => group.join(' '))\n\n extractedProp.parsed = bindStrings.map(bind => parseKeyBinding(bind, {}))\n }\n }\n }\n }\n\n resolveBehaviorBindings(node)\n\n return extracted\n }\n\n updateNodeProperties (index, update, existing) {\n const { properties } = update\n const compatible = findNodeProperty(this.nodes[index], 'compatible')?.namedChildren[1].text.slice(1, -1)\n const schema = behaviorSchemas[compatible]\n\n for (const name in properties) {\n const prop = properties[name]\n const propSchema = schema?.properties?.[name]\n\n if (!isEqual(prop, existing.properties[name])) {\n const serialized = propSchema && !prop.useRaw\n ? (\n // Not ideal to have this type-check here, but our handling of this\n // type goes beyond devicetree.\n propSchema.type !== 'phandle-array'\n ? serializePropertyFromSchema(prop, propSchema)\n : prop.parsed\n .map(binding => encodeKeyBinding(binding))\n .map(bindString => `<${bindString}>`)\n .join(', ')\n )\n : prop.raw\n\n this.document.setProperty(this.nodes[index], name, serialized)\n }\n }\n }\n\n cleanupNodeProperties (index, update, existing) {\n for (const prop in existing.properties) {\n if (!(prop in update.properties)) {\n this.document.deleteProperty(this.nodes[index], prop)\n }\n }\n }\n}\n\nmodule.exports = BehaviorCollection\n","const isEqual = require('lodash/isEqual')\n\nconst {\n findNodeWithCompatible,\n findNodesWithCompatible,\n getLabeledItem,\n getNodeLabels,\n parsePropertiesFromSchema,\n serializePropertyFromSchema\n} = require('devicetree/lib/helpers')\nconst { NodeCollection } = require('devicetree/lib/node-collection')\n\nconst { groupPhandleArrayBindings, parseKeyBinding, encodeKeyBinding } = require('../bindings')\n\n// TODO: extract the `zmk,combos` schema and handle the `childProperties` prop\nconst comboSchema = {\n bindings: { type: 'phandle-array' },\n 'key-positions': { type: 'array' },\n 'timeout-ms': { type: 'int' },\n 'slow-release': { type: 'boolean' },\n layers: { type: 'array' }\n}\n\nclass ComboCollection extends NodeCollection {\n managedProperties = [\n 'bindings',\n 'key-positions',\n 'timeout-ms',\n 'layers',\n 'slow-release'\n ]\n\n lookupContainerNode () {\n return findNodeWithCompatible(this.document.tree.rootNode, 'zmk,combos')\n }\n\n injectContainerNode () {\n // TODO: this sucks and is making many other things worse.\n // I've encountered keymap files that specify multiple root devicetree nodes\n // which ZMK accepts and merges together, and multiple keymap nodes which\n // devicetree accepts and selects the last one.\n // Working around this is a pain in the ass and is hurting performance so\n // the best thing to do is stop supporting this and present a warning to the\n // user explaining why their keymap isn't being parsed as expected.\n const keymap = findNodesWithCompatible(this.document.tree.rootNode, 'zmk,keymap').at(-1)\n this.document.insertTextBeforeNode(keymap, `\n combos {\n compatible = \"zmk,combos\";\n };\n `)\n }\n\n lookupNodes () {\n if (!this.container) {\n return []\n }\n\n return this.container.namedChildren.reduce((nodes, syntaxNode) => {\n if (syntaxNode.type === 'labeled_item') {\n syntaxNode = getLabeledItem(syntaxNode)\n }\n if (syntaxNode.type === 'node') {\n nodes.push(syntaxNode)\n }\n\n return nodes\n }, [])\n }\n\n injectNode (_, combo) {\n const name = combo.name.replace(/[^a-zA-Z0-9_]/g, '_')\n const last = this.nodes.at(-1)\n const nodeContent = `${name} {};`\n\n if (last) {\n this.document.insertTextAfterNode(last, nodeContent)\n } else {\n this.document.addChildNode(this.container, nodeContent)\n }\n }\n\n updateNodeProperties (index, update, existing) {\n const { properties } = update\n for (const name in properties) {\n const prop = properties[name]\n const propSchema = comboSchema[name]\n\n if (!isEqual(prop, existing.properties[name])) {\n const serialized = propSchema && !prop.useRaw\n ? (\n // Not ideal to have this type-check here, but our handling of this\n // type goes beyond devicetree.\n propSchema.type !== 'phandle-array'\n ? serializePropertyFromSchema(prop, propSchema)\n : prop.parsed\n .map(binding => encodeKeyBinding(binding))\n .map(bindString => `<${bindString}>`)\n .join(', ')\n )\n : prop.raw\n\n this.document.setProperty(this.nodes[index], name, serialized)\n }\n }\n\n if (!update.properties.layers?.parsed?.length) {\n this.document.deleteProperty(this.nodes[index], 'layers')\n }\n }\n\n extractNode (node) {\n const name = node.childForFieldName('name').text\n const labels = getNodeLabels(node)\n const properties = parsePropertiesFromSchema(node, comboSchema)\n\n if (properties.bindings) {\n properties.bindings.parsed = (\n groupPhandleArrayBindings(properties.bindings.parsed)\n .map(parseKeyBinding)\n )\n }\n\n return { name, labels, properties }\n }\n\n legacyParse (node) {\n const { name, labels, properties } = this.extractNode(node)\n const legacyNode = {\n name,\n labels,\n properties,\n identifier: name\n }\n\n const legacyMapping = {\n bindings: 'bindings',\n 'timeout-ms': 'timeoutMs',\n 'key-positions': 'keyPositions',\n 'slow-release': 'slowRelease',\n layers: 'layers'\n }\n\n for (const prop of Object.keys(legacyMapping)) {\n if (properties[prop]) {\n legacyNode[legacyMapping[prop]] = properties[prop].parsed\n }\n }\n\n if (legacyNode.layers?.length === 0 || isEqual(legacyNode.layers, [-1])) {\n delete legacyNode.layers\n }\n\n return legacyNode\n }\n\n legacyParseNodes () {\n return this.nodes.map(node => this.legacyParse(node))\n }\n}\n\nmodule.exports = ComboCollection\n","const difference = require('lodash/difference')\nconst filter = require('lodash/filter')\nconst isEqual = require('lodash/isEqual')\nconst map = require('lodash/map')\n\nconst {\n findChildrenByIdentifier,\n findNodesWithCompatible,\n getLabeledItem,\n getNodeLabels,\n parsePropertiesFromSchema,\n serializePropertyFromSchema\n} = require('devicetree/lib/helpers')\nconst { NodeCollection } = require('devicetree/lib/node-collection')\n\nconst { groupPhandleArrayBindings, parseKeyBinding, encodeKeyBinding } = require('../bindings')\n\nfunction isSorted (array) {\n return array.every((value, i, arr) => (\n i === arr.length - 1 ||\n arr[i] < arr[i + 1]\n ))\n}\n\n// TODO: extract the `zmk,keymap` schema and handle the `childProperties` prop\nconst layerSchema = {\n label: {\n type: 'string'\n },\n bindings: {\n type: 'phandle-array'\n },\n 'sensor-bindings': {\n type: 'phandle-array'\n }\n}\n\nclass LayerCollection extends NodeCollection {\n managedProperties = [\n 'label',\n 'bindings',\n 'sensor-bindings'\n ]\n\n lookupContainerNode () {\n return findNodesWithCompatible(this.document.tree.rootNode, 'zmk,keymap').at(-1)\n }\n\n injectContainerNode () {\n const rootNodes = findChildrenByIdentifier(this.document.tree.rootNode, '/')\n this.document.addChildNode(\n rootNodes.at(-1),\n '\\nkeymap { compatible = \"zmk,keymap\"; };\\n'\n )\n }\n\n lookupNodes () {\n if (!this.container) {\n return []\n }\n\n return this.container.namedChildren.reduce((nodes, syntaxNode) => {\n if (syntaxNode.type === 'labeled_item') {\n syntaxNode = getLabeledItem(syntaxNode)\n }\n if (syntaxNode.type === 'node') {\n nodes.push(syntaxNode)\n }\n\n return nodes\n }, [])\n }\n\n injectNode (_, layer) {\n const last = this.nodes.at(-1)\n const name = (layer.name || 'new_layer').replace(/[^a-zA-Z0-9_]/g, '_')\n const nodeContent = `${name} {};`\n\n if (last) {\n this.document.insertTextAfterNode(last, nodeContent)\n } else {\n this.document.addChildNode(this.container, nodeContent)\n }\n }\n\n updateCollection (collection) {\n const originalIndices = [...this.nodes.keys()]\n\n super.updateCollection(collection)\n this.updateLayerPositions(collection, originalIndices)\n }\n\n /**\n * Sort layer nodes according to the updates array ordering.\n * This could perhaps be implemented generically in NodeCollection or even in\n * DevicetreeDocument but that's complicated, especially considering scenarios\n * like BehaviorCollection and MacroCollection which may be dealing with nodes\n * that are subsets of a single nodes children, or even nodes that aren't even\n * children of the same parent.\n *\n * For now it only makes sense for layer nodes to be sortable, so here you go.\n *\n * @param {Array<Object>} updates same argument passed to updateCollection\n * @param {Array<Integer>} originalIndices node indices from before updates were applied\n */\n updateLayerPositions (updates, originalIndices) {\n const reusedIndices = filter(map(updates, 'index'), index => this.nodes[index])\n const removedIndices = difference(originalIndices, reusedIndices)\n const positionMap = [...originalIndices]\n\n // Add new nodes to the end of the position map. Their current position does\n // not matter because they're already sorted relative to eachother and the\n // mapping will let us reorder everything at the end.\n for (const index in updates) {\n const update = updates[index]\n const nextIndex = positionMap.length\n if (update.index === undefined || !originalIndices.includes(update.index)) {\n update.index = nextIndex\n positionMap[nextIndex] = nextIndex\n }\n }\n\n // Shift every mapped position for nodes following removed nodes.\n for (let i = removedIndices.length - 1; i >= 0; --i) {\n const index = removedIndices[i]\n positionMap[index] = null\n for (let j = index + 1; j < positionMap.length; j++) {\n if (positionMap[j] !== null) {\n positionMap[j] -= 1\n }\n }\n }\n\n const targetIndexOrder = map(updates, 'index')\n if (targetIndexOrder.length > 0 && !isSorted(targetIndexOrder)) {\n this.document.flushChanges()\n this.document.replaceRange(\n this.nodes[0].startIndex,\n this.nodes.at(-1).endIndex,\n targetIndexOrder\n .map(index => positionMap[index])\n .map(index => this.nodes[index].text)\n .join('\\n')\n )\n }\n }\n\n updateNodeProperties (index, update, existing) {\n const { properties } = update\n for (const name in properties) {\n const prop = properties[name]\n const propSchema = layerSchema[name]\n\n if (!isEqual(prop, existing.properties[name])) {\n const serialized = propSchema && !prop.useRaw\n ? (\n // Not ideal to have this type-check here, but our handling of this\n // type goes beyond devicetree.\n propSchema.type !== 'phandle-array'\n ? serializePropertyFromSchema(prop, propSchema)\n : (\n prop.parsed.length === 0\n ? false\n : prop.parsed\n .map(binding => encodeKeyBinding(binding))\n .map(bindString => `<${bindString}>`)\n .join(', ')\n )\n )\n : prop.raw\n\n this.document.setProperty(this.nodes[index], name, serialized)\n }\n }\n }\n\n extractNode (node) {\n const name = node.childForFieldName('name').text\n const labels = getNodeLabels(node)\n const properties = parsePropertiesFromSchema(node, layerSchema)\n\n if (properties.bindings) {\n properties.bindings.parsed = (\n groupPhandleArrayBindings(properties.bindings.parsed)\n .map(parseKeyBinding)\n )\n }\n\n if (properties['sensor-bindings']) {\n properties['sensor-bindings'].parsed = (\n groupPhandleArrayBindings(properties['sensor-bindings'].parsed)\n .map(parseKeyBinding)\n )\n }\n\n return { name, labels, properties }\n }\n}\n\nmodule.exports = LayerCollection\n","const pick = require('lodash/pick')\n\nconst {\n findChildByIdentifier,\n findChildrenByIdentifier,\n findNodesWithCompatible\n} = require('devicetree/lib/helpers')\nconst { NodeCollection } = require('devicetree/lib/node-collection')\n\nconst BehaviorCollection = require('./behaviors')\nconst { groupMacroBindings, encodeKeyBinding } = require('../bindings')\n\nclass MacroCollection extends BehaviorCollection {\n managedProperties = [\n 'label',\n 'tap-ms',\n 'wait-ms'\n ]\n\n lookupContainerNode () {\n const rootNodes = findChildrenByIdentifier(this.document.tree.rootNode, '/')\n return findChildByIdentifier(rootNodes, 'macros')\n }\n\n injectContainerNode () {\n const keymap = findNodesWithCompatible(this.document.tree.rootNode, 'zmk,keymap').at(-1)\n this.document.insertTextBeforeNode(keymap, '\\nmacros {};\\n')\n }\n\n lookupNodes () {\n return findNodesWithCompatible(\n this.document.tree.rootNode,\n 'zmk,behavior-macro'\n )\n }\n\n injectNode (_, macro) {\n const name = macro.name.replace(/[^a-zA-Z0-9_]/g, '_')\n const last = this.nodes.at(-1)\n const nodeContent = (\n `${name}: ${name} {\n compatible = \"zmk,behavior-macro\";\n };`\n )\n\n if (last) {\n this.document.insertTextAfterNode(last, nodeContent)\n } else {\n this.document.addChildNode(this.container, nodeContent)\n }\n }\n\n updateNode (index, update) {\n const serialized = serializeMacroBindings(update.properties.bindings?.parsed || [])\n update.properties.bindings = {\n useRaw: true,\n raw: serialized\n }\n\n super.updateNode(index, update)\n }\n\n legacyParse (node) {\n return pick(this.extractNode(node), ['name', 'labels', 'properties'])\n }\n\n legacyParseNodes () {\n return this.nodes.map(node => this.legacyParse(node))\n }\n\n cleanupNodeProperties (index, update, existing) {\n const { cleanupNodeProperties } = NodeCollection.prototype\n return cleanupNodeProperties.call(this, index, update, existing)\n }\n}\n\nfunction serializeMacroBindings (bindings) {\n const serialized = groupMacroBindings(\n bindings.map(encodeKeyBinding)\n ).map(row => row.join(' '))\n\n return serialized.length === 1\n ? [`<${serialized[0]}>`]\n : serialized.map(row => `<${row}>`)\n}\n\nmodule.exports = MacroCollection\n","const filter = require('lodash/filter')\nconst last = require('lodash/last')\nconst reverse = require('lodash/reverse')\n\nconst { DevicetreeDocument } = require('devicetree')\nconst {\n nodesAreConsecutive,\n findChildByIdentifier,\n findChildrenByIdentifier,\n getLabeledItem\n} = require('devicetree/lib/helpers')\nconst { standardBehaviorIncludeFiles } = require('zmk-data/behaviors')\n\nconst MacroCollection = require('./collections/macros')\nconst ComboCollection = require('./collections/combos')\nconst LayerCollection = require('./collections/layers')\nconst BehaviorCollection = require('./collections/behaviors')\n\nclass KeymapDocument extends DevicetreeDocument {\n constructor (...args) {\n super(...args)\n this.macroCollection = new MacroCollection(this)\n this.comboCollection = new ComboCollection(this)\n this.layerCollection = new LayerCollection(this)\n this.behaviorCollection = new BehaviorCollection(this)\n }\n\n cleanup () {\n super.cleanup()\n delete this.layerCollection\n delete this.comboCollection\n delete this.macroCollection\n delete this.behaviorCollection\n }\n\n getChosenProperties () {\n const rootNodes = findChildrenByIdentifier(this.tree.rootNode, '/')\n const chosen = findChildByIdentifier(rootNodes, 'chosen')\n\n if (!chosen) {\n return {}\n }\n\n return chosen.namedChildren.reduce((acc, child) => {\n if (child.type === 'labeled_item') {\n child = getLabeledItem(child)\n }\n if (child.type === 'property') {\n const name = child.childForFieldName('name').text\n const value = child.childForFieldName('value').text\n acc[name] = value\n }\n\n return acc\n }, {})\n }\n\n mergeUpdated (updated, featureFlags = {}) {\n this.layerCollection.updateCollection(updated.layers)\n this.comboCollection.updateCollection(updated.combos)\n this.macroCollection.updateCollection(updated.macros)\n\n if (featureFlags.enableBehaviorEditing) {\n this.behaviorCollection.updateCollection(updated.behaviors)\n }\n }\n\n replaceBehaviourIncludes (updated) {\n const replacementText = updated.sort().join('\\n') + '\\n'\n const behaviorIncludes = this.tree.rootNode.namedChildren.filter(node => (\n node.type === 'preproc_include' &&\n // TODO: update behavior overlays to just specify the include path and not\n // the include pre-processor statement. `startsWith` is necessary here\n // because preproc_include node parsing includes trailing newline(s).\n standardBehaviorIncludeFiles.some(line => node.text.startsWith(line))\n ))\n\n if (behaviorIncludes.length) {\n if (nodesAreConsecutive(behaviorIncludes)) {\n this.replaceRange(\n behaviorIncludes[0].startIndex,\n behaviorIncludes.at(-1).endIndex,\n ''\n )\n } else {\n const ranges = behaviorIncludes.map(node => [node.startIndex, node.endIndex])\n for (const [startIndex, endIndex] of reverse(ranges)) {\n this.replaceRange(startIndex, endIndex, '\\n')\n }\n }\n }\n\n const lastInclude = last(filter(\n this.tree.rootNode.children,\n { type: 'preproc_include' }\n ))\n const firstDefine = this.tree.rootNode.children.find(node => node.type === 'preproc_def')\n const firstDtNode = this.tree.rootNode.children.find(node => node.type === 'node')\n\n if (lastInclude) {\n this.insertTextAfterNode(lastInclude, replacementText)\n } else if (firstDefine || firstDtNode) {\n this.insertTextBeforeNode(\n firstDefine || firstDtNode,\n replacementText\n )\n }\n }\n}\n\nmodule.exports = KeymapDocument\n","const { getPropertyValues } = require('devicetree/lib/helpers/properties')\n\nconst MISSING_ROOT_NODE = 'MISSING_ROOT_NODE'\nconst USING_ZMK_NODEFREE_MACROS = 'USING_ZMK_NODEFREE_MACROS'\nconst USING_ZMK_MACRO_MACRO = 'USING_ZMK_MACRO_MACRO'\nconst USING_MULTIPLE_ROOT_NODES = 'USING_MULTIPLE_ROOT_NODES'\nconst USING_MIRYOKU_DTSI = 'USING_MIRYOKU_DTSI'\nconst USING_NON_ZMK_MACRO = 'USING_NON_ZMK_MACRO'\nconst USING_AUTOSHIFT_MACRO = 'USING_AUTOSHIFT_MACRO'\n\nfunction keymapUsesNodefreeConfigHelpers (document) {\n const macroNames = [\n 'ZMK_BEHAVIOR',\n 'ZMK_COMBO',\n 'ZMK_CONDITIONAL_LAYER',\n 'ZMK_LAYER',\n 'UC_MACRO'\n ]\n\n for (const node of document.tree.rootNode.namedChildren) {\n if (node.type === 'ERROR') {\n const { text } = node\n if (macroNames.some(name => text.startsWith(name))) {\n return USING_ZMK_NODEFREE_MACROS\n }\n }\n }\n}\n\nfunction keymapUsesMiryoku (document) {\n for (const node of document.tree.rootNode.namedChildren) {\n if (node.type === 'preproc_include') {\n if (node.childForFieldName('path').text.includes('miryoku.dtsi')) {\n return USING_MIRYOKU_DTSI\n }\n }\n }\n}\n\nfunction keymapBindingsUsePreprocessorMacros (document) {\n let usingAutoshiftMacro = false\n const zmkPreprocFunctions = [\n 'LA', 'LC', 'LG', 'LS',\n 'RA', 'RC', 'RG', 'RS',\n 'RGB_COLOR_HSB'\n ]\n\n for (const layerNode of document.layerCollection.nodes) {\n const [bindingsNode] = getPropertyValues(layerNode, 'bindings')\n for (const node of bindingsNode.namedChildren) {\n if (node.type === 'call_expression') {\n const name = node.childForFieldName('function').text\n if (name.match(/^_?AS$/i)) {\n usingAutoshiftMacro = true\n } else if (!zmkPreprocFunctions.includes(name)) {\n return USING_NON_ZMK_MACRO\n }\n }\n }\n }\n\n if (usingAutoshiftMacro) {\n return USING_AUTOSHIFT_MACRO\n }\n}\n\nfunction keymapHasNoRootNodes (document) {\n for (let node of document.tree.rootNode.namedChildren) {\n if (node.type === 'labeled_item') {\n node = node.childForFieldName('item')\n }\n if (node.type === 'node' && node.childForFieldName('name').text === '/') {\n return\n }\n }\n\n return MISSING_ROOT_NODE\n}\n\n/**\n * Check if a devicetree document uses multiple root nodes.\n *\n * People sometimes organize different parts of a keymap (like behaviors and\n * combos) into separate instances of a root node. The devicetree compiler will\n * merge these root nodes into one, but preserving this for editing is annoying\n * and inefficient so I don't want to support it anymore.\n *\n * @param {DevicetreeDocument} document\n * @returns {String|undefined}\n */\nfunction keymapHasMultipleRootNodes (document) {\n let firstRootNode = null\n\n for (let node of document.tree.rootNode.namedChildren) {\n if (node.type === 'labeled_item') {\n node = node.childForFieldName('item')\n }\n if (node.type === 'node' && node.childForFieldName('name').text === '/') {\n if (firstRootNode !== null) {\n return USING_MULTIPLE_ROOT_NODES\n }\n\n firstRootNode = node\n }\n }\n}\n\n/**\n * This is just a last-ditch check to see if keymap parsing failed because of a\n * custom define that replaced the initial binding cell's behavior. This would\n * otherwise be caught by `keymapBindingsUsePreprocessorMacros` except that the\n * initial grouping fails.\n * @param {DevicetreeDocument} document\n */\nfunction keymapHasLayerBindingsWithNonBehaviorStarter (document) {\n return document.layerCollection.nodes.some(node => {\n const bindingCells = [].concat(...getPropertyValues(node, 'bindings'))\n .flatMap(integerCells => integerCells.namedChildren)\n const firstBindType = bindingCells[0]?.type\n\n return firstBindType && firstBindType !== 'reference'\n })\n}\n\nmodule.exports = {\n keymapHasNoRootNodes,\n keymapUsesNodefreeConfigHelpers,\n keymapUsesMiryoku,\n keymapBindingsUsePreprocessorMacros,\n keymapHasMultipleRootNodes,\n keymapHasLayerBindingsWithNonBehaviorStarter,\n warningFlags: {\n MISSING_ROOT_NODE,\n USING_ZMK_NODEFREE_MACROS,\n USING_ZMK_MACRO_MACRO,\n USING_MULTIPLE_ROOT_NODES,\n USING_MIRYOKU_DTSI,\n USING_NON_ZMK_MACRO,\n USING_AUTOSHIFT_MACRO\n }\n}\n","const compact = require('lodash/compact')\nconst { getParser } = require('devicetree')\n\nconst KeymapDocument = require('./devicetree/keymap-document')\nconst {\n keymapUsesNodefreeConfigHelpers,\n keymapUsesMiryoku,\n keymapBindingsUsePreprocessorMacros,\n keymapHasNoRootNodes,\n keymapHasLayerBindingsWithNonBehaviorStarter,\n warningFlags: { USING_NON_ZMK_MACRO }\n} = require('./devicetree/sanity-checks')\nconst { parseStringLiteral } = require('devicetree/lib/helpers/values')\n\nasync function extractKeymapData (keymapText) {\n const parser = await getParser()\n const document = new KeymapDocument(parser, keymapText)\n\n try {\n return {\n warningFlags: extractWarnings(document),\n defines: extractDefines(document),\n headers: extractLocalHeaders(document),\n chosen: document.getChosenProperties(),\n behaviors: document.behaviorCollection.extractCollection(),\n layers: document.layerCollection.extractCollection(),\n combos: document.comboCollection.extractCollection(),\n macros: document.macroCollection.extractCollection()\n }\n } catch (err) {\n if (keymapHasLayerBindingsWithNonBehaviorStarter(document)) {\n return {\n warningFlags: [USING_NON_ZMK_MACRO],\n defines: {},\n headers: [],\n chosen: {},\n behaviors: [],\n layers: [],\n combos: [],\n macros: []\n }\n }\n console.error(err)\n return {\n warningFlags: ['KEYMAP_PARSING_FAILED'],\n defines: {},\n headers: [],\n chosen: {},\n behaviors: [],\n layers: [],\n combos: [],\n macros: []\n }\n } finally {\n document.cleanup()\n }\n}\n\nfunction extractWarnings (document) {\n return compact([\n keymapHasNoRootNodes(document),\n keymapUsesNodefreeConfigHelpers(document),\n keymapUsesMiryoku(document),\n keymapBindingsUsePreprocessorMacros(document)\n ])\n}\n\nfunction extractDefines (document) {\n return document.tree.rootNode.namedChildren.reduce((acc, node) => {\n if (node.type === 'preproc_def') {\n const name = node.childForFieldName('name').text\n const value = node.childForFieldName('value')?.text.trim()\n\n acc[name] = value\n }\n\n return acc\n }, {})\n}\n\nfunction extractLocalHeaders (document) {\n return document.tree.rootNode.namedChildren.reduce((acc, node) => {\n if (node.type === 'preproc_include') {\n const path = node.childForFieldName('path')\n if (path.type === 'string_literal') {\n acc.push(parseStringLiteral(path))\n }\n }\n\n return acc\n }, [])\n}\n\nmodule.exports = extractKeymapData\n","const times = require('lodash/times')\n\nfunction renderLayout (layout, layer, opts = {}) {\n const { margin = 2 } = opts\n const table = layer.reduce((map, code, i) => {\n // TODO: this would be better as a loop over `layout`, checking for a\n // matching element in the `layer` array. Or, alternatively, an earlier\n // validation that asserts each layer is equal in length to the number of\n // keys in the layout.\n if (layout[i]) {\n const { row = 0, col } = layout[i]\n map[row] = map[row] || []\n map[row][col || map[row].length] = code\n }\n\n return map\n }, [])\n\n const rowIndices = Object.keys(table)\n const columns = Math.max(...rowIndices.map(i => table[i].length))\n const columnIndices = times(columns, n => n)\n const columnWidths = columnIndices.map(col => Math.max(\n ...rowIndices.map(row => table[row][col]?.length || 0)\n ))\n\n return table.map((row, i) => {\n return columnIndices.map(i => {\n const noMoreValues = row.slice(i).every(col => col === undefined)\n const padding = columnWidths[i] + (\n i === 0 ? '' : margin\n )\n\n if (noMoreValues) return ''\n if (!row[i]) return ' '.repeat(padding)\n return row[i].padStart(padding)\n }).join('').replace(/\\s+$/, '')\n }).join('\\n')\n}\n\nmodule.exports = renderLayout\n","const isNumber = require('lodash/isNumber')\n\nclass InfoValidationError extends Error {\n constructor (errors) {\n super()\n this.name = 'InfoValidationError'\n this.errors = errors\n }\n}\n\nfunction validateInfoJson (info) {\n const errors = []\n\n if (typeof info !== 'object' || info === null) {\n errors.push('info.json root must be an object')\n } else if (!info.layouts) {\n errors.push('info must define \"layouts\"')\n } else if (typeof info.layouts !== 'object' || info.layouts === null) {\n errors.push('layouts must be an object')\n } else if (Object.values(info.layouts).length === 0) {\n errors.push('layouts must define at least one layout')\n } else {\n for (const name in info.layouts) {\n const layout = info.layouts[name]\n if (typeof layout !== 'object' || layout === null) {\n errors.push(`layout ${name} must be an object`)\n } else if (!Array.isArray(layout.layout)) {\n errors.push(`layout ${name} must define \"layout\" array`)\n } else {\n const anyKeyHasPosition = layout.layout.some(key => (\n key?.row !== undefined ||\n key?.col !== undefined\n ))\n\n for (const i in layout.layout) {\n const key = layout.layout[i]\n const keyPath = `layouts[${name}].layout[${i}]`\n\n if (typeof key !== 'object' || key === null) {\n errors.push(`Key definition at ${keyPath} must be an object`)\n } else {\n const optionalNumberProps = ['u', 'h', 'r', 'rx', 'ry']\n if (!isNumber(key.x)) {\n errors.push(`Key definition at ${keyPath} must include \"x\" position`)\n }\n if (!isNumber(key.y)) {\n errors.push(`Key definition at ${keyPath} must include \"y\" position`)\n }\n for (const prop of optionalNumberProps) {\n if (prop in key && !isNumber(key[prop])) {\n errors.push(`Key definition at ${keyPath} optional \"${prop}\" must be number`)\n }\n }\n for (const prop of ['row', 'col']) {\n if (anyKeyHasPosition && !(prop in key)) {\n errors.push(`Key definition at ${keyPath} is missing property \"${prop}\"`)\n } else if (prop in key && (!Number.isInteger(key[prop]) || key[prop] < 0)) {\n errors.push(`Key definition at ${keyPath} \"${prop}\" must be a non-negative integer`)\n }\n }\n }\n }\n\n const keysByPosition = layout.layout.reduce((acc, key, i) => {\n const { row, col } = key\n const position = `(${row},${col})`\n\n if (row !== undefined && col !== undefined) {\n acc[position] = [...(acc[position] || []), i]\n }\n\n return acc\n }, {})\n\n for (const group of Object.values(keysByPosition)) {\n if (group.length <= 1) {\n continue\n }\n\n const { row, col } = layout.layout[group[0]]\n const coords = `{row: ${row}, col: ${col}}`\n for (const index of group) {\n const keyPath = `layouts[${name}].layout[${index}]`\n errors.push(`Key definition at ${keyPath} has overlapping position ${coords}`)\n }\n }\n\n errors.push(...validateSequentialRows(name, layout.layout))\n errors.push(...validateSequentialColumns(name, layout.layout))\n }\n }\n }\n\n if (errors.length) {\n throw new InfoValidationError(errors)\n }\n}\n\nfunction validateSequentialRows (name, layout) {\n let currentRow = -Infinity\n const errors = []\n\n for (const index of layout.keys()) {\n const { row } = layout[index]\n if (row === undefined) {\n continue\n }\n\n if (row < currentRow) {\n const keyPath = `layouts[${name}].layout[${index}]`\n errors.push(`Row index at ${keyPath} is not sequential`)\n } else {\n currentRow = row\n }\n }\n\n return errors\n}\n\nfunction validateSequentialColumns (name, layout) {\n let currentRow = 0\n let currentCol = -Infinity\n const errors = []\n\n for (const index of layout.keys()) {\n const { row, col } = layout[index]\n if (row === undefined || col === undefined) {\n continue\n }\n\n if (currentRow !== row) {\n currentRow = row\n currentCol = -Infinity\n }\n\n if (col < currentCol) {\n const keyPath = `layouts[${name}].layout[${index}]`\n errors.push(`Column index at ${keyPath} is not sequential`)\n } else {\n currentCol = col\n }\n }\n\n return errors\n}\n\nmodule.exports = {\n InfoValidationError,\n validateInfoJson\n}\n","/**\n * Remove common indentation from lines of a multiline string\n * @param {String} text a multiline string\n * @returns {String}\n */\nfunction dedent (text) {\n return _dedentedLines(text).join('\\n')\n}\n\nfunction _dedentedLines (text) {\n const lines = text.split('\\n')\n const minIndentation = lines.reduce((leastIndentation, line) => {\n const match = line.match(/^(\\s*)\\S/)\n\n if (!match) {\n return leastIndentation\n }\n\n return Math.min(leastIndentation, match[1].length)\n }, Infinity)\n\n return lines.map(line => (\n line.slice(0, minIndentation).match(/^\\s+$/)\n ? line.slice(minIndentation)\n : line\n ))\n}\n\n/**\n * Replace base indentation with a custom indentation string on all lines\n * @param {String} text\n * @param {String} indentation\n * @returns {String}\n */\nfunction reindent (text, indentation) {\n return _dedentedLines(text)\n .map(line => indentation + line)\n .join('\\n')\n}\n\nfunction getPosition (text, index) {\n let row, idx\n for (\n row = 0, idx = 0;\n idx !== -1;\n row++, idx = text.indexOf('\\n', idx + 1)\n );\n\n return { row, col: index - idx }\n}\n\nfunction removeStartingWhitespace (text) {\n return text.split('\\n')\n .reduce((lines, line) => {\n if (lines.length > 0 || line.match(/\\S/)) {\n lines.push(line)\n }\n return lines\n }, [])\n .join('\\n')\n}\n\nfunction removeTrailingWhitespace (text) {\n return text.split('\\n')\n .reverse()\n .reduce((lines, line) => {\n if (lines.length > 0 || line.match(/\\S/)) {\n lines.push(line)\n }\n return lines\n }, [])\n .reverse()\n .join('\\n')\n}\n\nmodule.exports = {\n dedent,\n reindent,\n getPosition,\n removeStartingWhitespace,\n removeTrailingWhitespace\n}\n","const merge = require('lodash/merge')\nconst isMatch = require('lodash/isMatch')\nconst uniq = require('lodash/uniq')\n\n/** @typedef {('string' | 'boolean' | 'int' | 'array' | 'phandle' | 'phandles' | 'phandle-array' | 'integer-union')} PropertyType */\n/** @typedef {{ type: PropertyType, required?: boolean, const?: any, default?: any, enum?: Array<any>, description?: string }} PropertyDefinition */\n/** @typedef {Object.<string, PropertyDefinition>} Properties */\n/** @typedef {{ description?: string, compatible: string, include: string, properties: Properties }} BehaviorSchema */\n/** @typedef {Object.<string, BehaviorSchema} BehaviorSchemas */\n/** @typedef {} BehaviorSchema */\n\n/** @type {BehaviorSchemas} */\nconst behaviorSchemas = require('./data/extracted-data/behavior-schemas.json')\n/** @type {BehaviorSchemas} */\nconst behaviorSchemaAdditions = require('./data/overlay-data/behavior-schemas-additions.json')\n\n/** @typedef {{ parsed: any, raw: string, useRaw?: boolean }} PropertyValue */\n/** @typedef {Object.<string, PropertyValue} ParsedProperties */\n/** @typedef {{ code: string, compatible: string, '#binding-cells': number, properties: ParsedProperties }} Behavior */\n\n/** @type {Array<Behavior>} */\nconst behaviorBindings = require('./data/extracted-data/behaviors.json')\n/** @type {Array<Behavior>} */\nconst behaviorAdditions = require('./data/overlay-data/behaviors-additions.json')\nconst behaviorSchemaOverlays = require('./data/overlay-data/behavior-schemas-overlay.json')\nconst behaviorOverlays = require('./data/overlay-data/behaviors-overlay.json')\n\nObject.assign(behaviorSchemas, behaviorSchemaAdditions)\nbehaviorBindings.push(...behaviorAdditions)\n\nfunction mergeBehaviorOverlays (base, overlays) {\n const baseValues = Array.isArray(base) ? base : Object.values(base)\n\n for (const value of baseValues) {\n for (const { match, ...overlay } of overlays) {\n if (isMatch(value, match)) {\n merge(value, overlay)\n }\n }\n }\n}\n\nmergeBehaviorOverlays(behaviorSchemas, behaviorSchemaOverlays)\nmergeBehaviorOverlays(behaviorBindings, behaviorOverlays)\n\nconst standardBehaviorIncludeFiles = uniq(\n behaviorOverlays.flatMap(overlay => overlay.includes || [])\n)\n\nfor (const behavior of behaviorBindings) {\n const schema = behaviorSchemas[behavior.compatible]\n merge(behavior, { schema })\n}\n\nmodule.exports = {\n behaviorSchemas,\n behaviorBindings,\n behaviorOverlays,\n behaviorSchemaOverlays,\n standardBehaviorIncludeFiles,\n mergeBehaviorOverlays\n}\n","const singleValue = value => ({ value: '&kp', params: [{ value, params: [] }] })\n\nconst patternMappings = [\n { pattern: /^[0-9]$/, convert: digit => singleValue(`N${digit}`) },\n { pattern: /^[a-z]$/, convert: char => singleValue(char.toUpperCase()) },\n {\n pattern: /^[A-Z]$/,\n convert: char => ({\n value: '&kp',\n params: [{\n value: 'LS',\n params: [{\n value: char.toUpperCase(),\n params: []\n }]\n }]\n })\n }\n]\n\nconst simpleMappings = {\n '!': singleValue('EXCL'),\n '@': singleValue('AT'),\n '#': singleValue('POUND'),\n '$': singleValue('DLLR'),\n '%': singleValue('PRCNT'),\n '^': singleValue('CARET'),\n '&': singleValue('AMPS'),\n '*': singleValue('STAR'),\n '(': singleValue('LPAR'),\n ')': singleValue('RPAR'),\n '\\n': singleValue('RET'),\n ' ': singleValue('SPACE'),\n '-': singleValue('MINUS'),\n '_': singleValue('UNDER'),\n '=': singleValue('EQUAL'),\n '+': singleValue('PLUS'),\n '[': singleValue('LBKT'),\n ']': singleValue('LBRC'),\n '{': singleValue('RBKT'),\n '}': singleValue('RBRC'),\n '\\\\': singleValue('BSLH'),\n '|': singleValue('PIPE'),\n '': singleValue('TILDE2'),\n ';': singleValue('SEMI'),\n ':': singleValue('COLON'),\n '\\'': singleValue('SQT'),\n '\"': singleValue('DQT'),\n '`': singleValue('GRAVE'),\n '~': singleValue('TILDE'),\n ',': singleValue('COMMA'),\n '<': singleValue('LT'),\n '.': singleValue('DOT'),\n '>': singleValue('GT'),\n '/': singleValue('FSLH'),\n '?': singleValue('QMARK')\n}\n\nfunction mapCharacter (char) {\n if (simpleMappings[char]) {\n return simpleMappings[char]\n }\n\n for (const { pattern, convert } of patternMappings) {\n if (char.match(pattern)) {\n return convert(char)\n }\n }\n}\n\nmodule.exports = {\n mapCharacter\n}\n","const keycodes = require('./data/extracted-data/keycodes.json')\nconst keycodeGlyphs = {\n basic: require('./data/overlay-data/keycode-glyphs.json'),\n unicode: require('./data/overlay-data/keycode-glyphs-unicode.json'),\n platforms: {\n mac: require('./data/overlay-data/keycode-glyphs-macos.json'),\n win: require('./data/overlay-data/keycode-glyphs-windows.json')\n }\n}\n\nmodule.exports = {\n keycodes,\n keycodeGlyphs\n}\n","const times = require('lodash/times')\nconst { behaviorSchemas, behaviorBindings } = require('./behaviors')\n\nconst parameterOverlays = require('./data/overlay-data/behavior-parameters.json')\nconst overlaysByCode = parameterOverlays.reduce((map, overlay) => {\n if (overlay.match.code) {\n map[`&${overlay.match.code}`] = overlay\n }\n\n return map\n}, {})\n\nconst overlaysByCompatible = parameterOverlays.reduce((map, overlay) => {\n if (overlay.match.compatible) {\n map[overlay.match.compatible] = overlay\n }\n\n return map\n}, {})\n\n/**\n * Parsing keymap gives us a number of custom behaviour definitions\n * Some custom behaviours may reference other behaviours\n * Some custom behaviours may reference other custom behaviours\n *\n * We need to add all new behaviour to a new map upon loading\n * After populating the map with all new behaviours we can resolve bind params\n *\n * Keep a list of \"visited\" behaviours\n * For each behaviour\n * For each behaviour referenced in bindings\n * Resolve behaviour reference to get params list\n * If behaviour reference already exists in list of visited behaviours, bail\n * If number of references to resolve exceeds X, bail\n */\n\nfunction BehaviorResolutionError (message) {\n this.message = message\n this.name = 'BehaviorResolutionError'\n}\n\nfunction matchOverlay (behavior) {\n const refs = behavior.labels.map(label => `&${label}`)\n const compatible = behavior.properties.compatible?.parsed\n\n for (const ref of refs) {\n if (overlaysByCode[ref]) {\n return overlaysByCode[ref]\n }\n }\n\n if (overlaysByCompatible[compatible]) {\n return overlaysByCompatible[compatible]\n }\n}\n\n/** @typedef {string} Identifier */\n/** @typedef {string} Label */\n/** @typedef {{ parsed: any, raw: string, useRaw?: boolean }} PropertyValue */\n/** @typedef {Object.<string, PropertyValue>} Properties */\n/** @typedef {{ name: string, labels: Array<string>, properties: Properties }} ParsedBehavior */\n\nfunction parseNumBindingCells (behavior, prop = '#binding-cells') {\n const parsed = behavior.properties?.[prop]?.parsed\n\n if (typeof parsed === 'number') {\n return parsed\n }\n\n // For unrecognized behaviors we don't have the schema to parse the\n // \"#binding-cells\" property like we'd expect, so let's assume its a single\n // integer literal and parse the raw value\n const raw = behavior.properties?.[prop]?.raw || '<>'\n const match = raw.match(/<(\\d+)>/)\n\n if (match) {\n return Number(match[1])\n }\n}\n\nfunction behaviorMap (map, behavior) {\n for (const label of behavior.labels) {\n map[`&${label}`] = behavior\n }\n return map\n}\n\n/**\n * Attempt to provide parameter types for behaviours with binding-cells.\n * @param {Array<ParsedBehavior>} behaviors - custom behavior definitions\n */\nfunction resolveBehaviorParams (behaviors) {\n const standardBindingsMap = behaviorBindings.reduce(behaviorMap, {})\n // Here we attempt to resolve the binding to a \"known\" behaviour for which\n // I have already manually described the parameters. Failing that, this\n // would fall back to a single \"code\" parameter for each. This assumes\n // that a custom hold-tap wouldn't want something like \"hold for layer\"\n // and \"tap to connect to BT profile 1\".\n const newBindingsMap = behaviors.reduce(behaviorMap, {})\n\n const allBehaviors = { ...standardBindingsMap, ...newBindingsMap }\n\n const parameters = {}\n\n /**\n * @param {ParsedBehavior} behavior\n * @param {Array<string>} [queue=[]]\n * @returns {void}\n */\n function resolve (behavior, queue = []) {\n const code = `&${behavior.labels[0]}`\n\n if (parameters[code]) {\n return parameters[code]\n }\n\n const overlay = matchOverlay(behavior)\n\n if (overlay) {\n return overlay.params\n }\n\n const compatible = behavior.properties?.compatible?.parsed\n const schema = behaviorSchemas[compatible]\n\n const bindingCells = parseNumBindingCells(behavior) ?? parseNumBindingCells(behavior, '#sensor-binding-cells')\n const bindingDependencies = getBehaviorDependencies(behavior, schema, allBehaviors)\n\n // console.log('resolving for', {\n // compatible,\n // schema,\n // bindingsType,\n // bindingCells,\n // bindings\n // })\n\n if (!bindingCells) {\n return []\n }\n\n if (!bindingDependencies.length) {\n return times(bindingCells, () => ({ type: 'string', raw: true }))\n }\n\n // This implementation relies on the existing pattern for behaviors which\n // reference other behaviors without parameters (hold-tap and sticky-key)\n // will only provide a single parameter to each referenced behavior without\n // concerning itself with the referenced behavior's binding cell count.\n // A possible future exception to this is parameterized macros:\n // https://github.com/zmkfirmware/zmk/pull/1232#issuecomment-1478977559\n // This will require re-visiting this solution.\n // Update: Parameterized macros are now available. The short term solution\n // is to resolve a number of raw parameters equal to #binding-cells for\n // phandle-array type bindings (currently this only affects macros). A more\n // specific parameter resolver for macros can process the bindings array\n // with knowledge of parameter placeholders.\n return bindingDependencies.reduce((params, [binding, paramIndex]) => {\n // This implies the bindings property we're inspecting is actually a\n // phandles-array type (behavior with params) and not phandle/phandles.\n // This shouldn't happen and stricter checking earlier on would be wise.\n if (!binding.startsWith('&')) {\n return params\n }\n\n // TODO: does this need to consider all aliases?\n if (queue.includes(binding)) {\n throw new BehaviorResolutionError(`Circular reference in bindings: \"&${behavior.labels[0]}\" -> \"${binding}\".`)\n } else if (queue.length > 3) {\n throw new BehaviorResolutionError('Reference depth limit exceeded.')\n }\n\n // This check is static so it can't resolve something like `&bt` to the\n // parameters \"command\" and \"connection profile\".\n // TODO: write some tests so that this is defined.\n const nextBehavior = newBindingsMap[binding] || standardBindingsMap[binding]\n\n // Not sure if I'm ok with this. Previously the idea was that a behavior\n // referencing an unrecognized behavior cannot resolve parameters at all,\n // whereas now it just treats that as having a single raw parameter and\n // includes an error message property that nothing else uses.\n if (!nextBehavior) {\n behavior.error = `Unrecognized behavior binding \"${binding}\".`\n return [...params, { raw: true }]\n }\n\n try {\n const resolved = resolve(nextBehavior, [...queue, binding])\n for (const label of nextBehavior.labels) {\n parameters[`&${label}`] = resolved\n }\n params.push(resolved[paramIndex] || { type: 'placeholder' })\n } catch (error) {\n if (error instanceof BehaviorResolutionError) {\n nextBehavior.error = error.message\n parameters[binding] = []\n }\n throw error\n }\n\n return params\n }, [])\n }\n\n for (const behavior of behaviors) {\n // if (!behavior.properties.bindings) {\n // continue\n // }\n\n try {\n const resolved = resolve(behavior)\n for (const alias of behavior.labels) {\n parameters[`&${alias}`] = resolved\n }\n } catch (error) {\n if (!(error instanceof BehaviorResolutionError)) {\n throw error\n }\n\n console.error('Failed to resolve behavior parameters', error)\n behavior.error = error.message\n const resolved = times(parseNumBindingCells(behavior) || 0, () => ({ raw: true }))\n for (const alias of behavior.labels) {\n parameters[`&${alias}`] = resolved\n }\n }\n }\n\n return parameters\n}\n\nfunction getBehaviorDependencies (behavior, schema, behaviors) {\n if (isParameterizedMacroBehavior(behavior)) {\n return getParameterizedMacroDependencies(behavior, behaviors)\n }\n\n return (behavior.properties?.bindings?.parsed || []).map(binding => ([binding, 0]))\n}\n\nfunction isParameterizedMacroBehavior (behavior) {\n return ([\n 'zmk,behavior-macro-one-param',\n 'zmk,behavior-macro-two-param'\n ]).includes(behavior.properties?.compatible?.parsed)\n}\n\nfunction getParameterizedMacroDependencies (macro, behaviors) {\n const bindings = (macro.properties.bindings?.parsed || []).map(node => node.value)\n const bindingTypes = bindings.map(bind => behaviors[bind]?.properties?.compatible?.parsed) || []\n\n const param1to1 = findFirstNonControlBinding(bindings, behaviors, bindingTypes.indexOf('zmk,macro-param-1to1'))\n const param1to2 = findFirstNonControlBinding(bindings, behaviors, bindingTypes.indexOf('zmk,macro-param-1to2'))\n\n const dependencies = []\n\n if (param1to1) {\n dependencies.push([param1to1, 0])\n } else if (param1to2) {\n dependencies.push([param1to2, 1])\n } else {\n dependencies.push(['&none', 0])\n }\n\n if (macro.properties.compatible.parsed === 'zmk,behavior-macro-two-param') {\n const param2to1 = findFirstNonControlBinding(bindings, behaviors, bindingTypes.indexOf('zmk,macro-param-2to1'))\n const param2to2 = findFirstNonControlBinding(bindings, behaviors, bindingTypes.indexOf('zmk,macro-param-2to2'))\n\n if (param2to1) {\n dependencies.push([param2to1, 0])\n } else if (param2to2) {\n dependencies.push([param2to2, 1])\n } else {\n dependencies.push(['&none', 0])\n }\n }\n\n return dependencies\n}\n\n/**\n * Search an array of bindings for the first non macro control binding\n * @param {Array} bindings\n * @param {Object} behaviors\n * @param {Number} [startIndex=0]\n * @returns {Object|null}\n */\nfunction findFirstNonControlBinding (bindings, behaviors, startIndex = 0) {\n if (startIndex === -1) {\n return null\n }\n\n for (let i = Math.min(startIndex, bindings.length - 1); i < bindings.length; i++) {\n const binding = bindings[i]\n const type = behaviors[binding]?.properties?.compatible?.parsed\n if (!(\n type?.startsWith?.('zmk,macro-') ||\n type?.startsWith?.('zmk,behavior-macro-')\n )) {\n return binding\n }\n }\n}\n\nmodule.exports = {\n resolveBehaviorParams,\n getParameterizedMacroDependencies\n}\n"],"names":["module","exports","removeStartingWhitespace","removeTrailingWhitespace","reindent","dedent","require","getLabeledItem","getNodeLabels","DEFAULT_INDENT","DEFAULT_MULTILINE_INTEGER_CELLS_INDENT","isMultilineNode","node","text","indexOf","isInlineComment","type","previousSibling","endPosition","row","startPosition","getNodeIndentation","tab","repeat","getNodeDepth","n","depth","stop","tree","rootNode","parent","id","shouldIncludeBlank","nodeA","nodeB","sameType","namedChildren","length","slice","some","hasAddress","childForFieldName","getAddress","formatLabels","labels","map","join","formatNode","options","indent","identifier","children","indentation","formatChildren","reduce","lines","childNode","i","arr","push","multilineIntegerCellsIndent","noValue","simpleValue","singleIntegerCell","bindingsLines","split","concat","line","formatPropertyNode","trimEnd","getModelineConfiguration","config","contents","startsWith","trim","match","key","jsonValue","value","JSON","parse","Object","assign","assert","reverse","getNodeLabelNodes","getNodeChildrenByFieldName","fieldName","cursor","walk","gotoFirstChild","isNamed","currentNode","isField","currentFieldName","gotoNextSibling","delete","findChildrenByIdentifier","nameOrMatch","filter","find","sub","nodesAreConsecutive","nodes","every","nextSibling","label","labeledItemNode","findChildByIdentifier","listNodes","opts","stripNewlines","limit","replace","console","log","parseStringLiteral","parseIntegerCells","parseIntegerArray","parsePhandles","parsePhandle","parsePhandleArray","parseIntegerUnion","serializeIntValue","serializeArrayValue","findNodeProperty","propertyName","getPropertyNode","child","getPropertyValues","property","propertyNode","parsePropertyFromSchema","schema","values","getProperty","syntaxNode","name","getPropertyValue","parsePropertiesFromSchema","keys","properties","prop","propSchema","undefined","parsed","serializePropertyFromSchema","phandle","bindings","group","v","toString","BreadthFirstIterator","maxDepth","queue","current","shift","DepthFirstIterator","stack","unshift","searchTree","predicate","single","depthFirst","iter","matches","createPredicateForCompatible","compatible","RegExp","test","TypeError","findLabeledItem","findNodeByIdentifier","findNodeWithCompatible","findNodesWithCompatible","isNegativeInteger","isNumberishType","includes","isBindingType","isBindingRef","extractInteger","Number","flatMap","cells","serializeIntegerCell","sanitizeIdentifier","ReferenceError","difference","isEqual","partition","NodeCollection","managedProperties","_cached_container_node","_cached_container_tree_version","_cached_collection_nodes","_cached_collection_tree_version","constructor","document","this","lookupContainerNode","bind","injectContainerNode","lookupNodes","injectNode","container","_parse_version","updateCollection","collection","flushChanges","originalIndices","reusedIndices","index","removedIndices","updates","additions","updateNode","removeNode","update","existing","extractNode","updateNodeName","updateNodeLabels","updateNodeProperties","cleanupNodeProperties","replaceNode","replaceNodeLabels","setProperty","deleteProperty","acc","raw","extractCollection","sortBy","TreeSitter","getPosition","_parser","getParser","async","init","language","Language","load","global","window","__dirname","setLanguage","DevicetreeDocument","parser","_enableChangeBuffering","_bufferedChanges","cleanup","inputEdit","replacementText","startIndex","newEndIndex","_reparse","chunks","nextUpdate","prevEnd","oldEndIndex","preChunk","chunk","newContent","documentText","precedingNewline","lastIndexOf","start","replacement","endIndex","oldEndPosition","newEndPosition","replaceRange","skipToIndex","source","labeledNode","newLabels","labelNodes","sorted","serializedLabels","insertTextBeforeNode","insertTextAfterNode","addChildNode","parentNode","closingBrace","newText","compact","flatten","get","keyBy","omitBy","uniq","behaviorBindings","renderLayout","encodeKeyBinding","KeymapDocument","behavioursByBind","getBehaviorsUsed","keymap","behaviors","layers","combos","macros","binding","layout","original","featureFlags","layer","useRaw","formatLayerKeybinds","behaviorHeaders","devicetreeKeymap","mergeUpdated","replaceBehaviourIncludes","err","error","groupPhandleArrayBindings","bindingCells","MACRO_CONTROL_BEHAVIOURS","encodeBindValue","params","paramString","parseBindings","parseKeyBinding","paramsPattern","code","s","defines","groupMacroBindings","rows","behaviourBind","at","behaviorSchemas","rootNodes","_","behavior","last","nodeContent","extracted","super","extractedProp","bindStrings","bindingsValue","bindCode","serialized","bindString","comboSchema","combo","legacyParse","legacyNode","legacyMapping","legacyParseNodes","layerSchema","updateLayerPositions","positionMap","nextIndex","j","targetIndexOrder","pick","BehaviorCollection","macro","serializeMacroBindings","prototype","call","standardBehaviorIncludeFiles","MacroCollection","ComboCollection","LayerCollection","args","macroCollection","comboCollection","layerCollection","behaviorCollection","getChosenProperties","chosen","updated","enableBehaviorEditing","sort","behaviorIncludes","ranges","lastInclude","firstDefine","firstDtNode","MISSING_ROOT_NODE","USING_ZMK_NODEFREE_MACROS","USING_MULTIPLE_ROOT_NODES","USING_MIRYOKU_DTSI","USING_NON_ZMK_MACRO","USING_AUTOSHIFT_MACRO","keymapHasNoRootNodes","keymapUsesNodefreeConfigHelpers","macroNames","keymapUsesMiryoku","keymapBindingsUsePreprocessorMacros","usingAutoshiftMacro","zmkPreprocFunctions","layerNode","bindingsNode","keymapHasMultipleRootNodes","firstRootNode","keymapHasLayerBindingsWithNonBehaviorStarter","firstBindType","integerCells","warningFlags","USING_ZMK_MACRO_MACRO","extractWarnings","extractDefines","extractLocalHeaders","path","keymapText","headers","times","margin","table","col","rowIndices","columns","Math","max","columnIndices","columnWidths","noMoreValues","padding","padStart","isNumber","InfoValidationError","Error","errors","validateSequentialRows","currentRow","keyPath","validateSequentialColumns","currentCol","validateInfoJson","info","layouts","Array","isArray","anyKeyHasPosition","optionalNumberProps","x","y","isInteger","keysByPosition","position","coords","_dedentedLines","minIndentation","leastIndentation","min","Infinity","idx","merge","isMatch","behaviorSchemaAdditions","behaviorAdditions","behaviorSchemaOverlays","behaviorOverlays","mergeBehaviorOverlays","base","overlays","baseValues","overlay","singleValue","patternMappings","pattern","convert","digit","char","toUpperCase","simpleMappings","mapCharacter","keycodes","keycodeGlyphs","basic","unicode","platforms","mac","win","parameterOverlays","overlaysByCode","overlaysByCompatible","BehaviorResolutionError","message","parseNumBindingCells","behaviorMap","getParameterizedMacroDependencies","bindingTypes","param1to1","findFirstNonControlBinding","param1to2","dependencies","param2to1","param2to2","resolveBehaviorParams","standardBindingsMap","newBindingsMap","allBehaviors","parameters","resolve","refs","ref","matchOverlay","bindingDependencies","isParameterizedMacroBehavior","getBehaviorDependencies","paramIndex","nextBehavior","resolved","alias"],"sourceRoot":""}
\ No newline at end of file |