diff options
author | Nick Coutsos <[email protected]> | 2023-09-05 17:31:25 -0400 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2023-09-05 17:31:25 -0400 |
commit | a11f359049ba82e18a846c8dccd7d044780b5a24 (patch) | |
tree | 42a5044875e78cf20d287ebee54fd655ecbfcb31 | |
parent | dd0c3766539f49e674bdf2c18f3f7516836d1c5a (diff) | |
download | keymap-editor-a11f359049ba82e18a846c8dccd7d044780b5a24.tar.gz keymap-editor-a11f359049ba82e18a846c8dccd7d044780b5a24.zip |
Clean up keyboard layout rendering components
-rw-r--r-- | 1066.81b49a8822b54303f72b.js | 3 | ||||
-rw-r--r-- | 1066.81b49a8822b54303f72b.js.LICENSE.txt | 8 | ||||
-rw-r--r-- | 2243.3f8df9113303624a0a72.js | 2 | ||||
-rw-r--r-- | 8205.f073f9f3f61dadad9d21.js | 2 | ||||
-rw-r--r-- | BehaviorEditorTab.f5eeafe5b03978652c26.js | 2 | ||||
-rw-r--r-- | ComboEditorTab.41d9139f096e01f4dd10.js | 2 | ||||
-rw-r--r-- | LayerEditorTab.26e81183548db5ea4da6.js | 2 | ||||
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | main.87a8989853b569492fef.js | 3 | ||||
-rw-r--r-- | main.87a8989853b569492fef.js.LICENSE.txt | 1 | ||||
-rw-r--r-- | runtime.0dcbcd76591860b1976a.js | 2 | ||||
-rw-r--r-- | shared.d86d4fb68aba6e9ecb92.js | 2 |
12 files changed, 30 insertions, 1 deletions
diff --git a/1066.81b49a8822b54303f72b.js b/1066.81b49a8822b54303f72b.js new file mode 100644 index 0000000..dd4d206 --- /dev/null +++ b/1066.81b49a8822b54303f72b.js @@ -0,0 +1,3 @@ +/*! For license information please see 1066.81b49a8822b54303f72b.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1066],{83241:function(e){e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var u=e[o];t(r,u,n(u),e)}return r}},8429:function(e,t,n){var r=n(91127);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},4981:function(e,t,n){var r=n(57402),o=n(893),a=n(41600),u=n(52329),i=n(53359),s=n(27607);e.exports=function(e,t,n,_){var l=-1,c=o,f=!0,d=e.length,p=[],m=t.length;if(!d)return p;n&&(t=u(t,i(n))),_?(c=a,f=!1):t.length>=200&&(c=s,f=!1,t=new r(t));e:for(;++l<d;){var h=e[l],g=null==n?h:n(h);if(h=_||0!==h?h:0,f&&g==g){for(var y=m;y--;)if(t[y]===g)continue e;p.push(h)}else c(t,g,_)||p.push(h)}return p}},11492:function(e,t,n){var r=n(91127);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},66062:function(e,t,n){var r=n(54975),o=n(48942);e.exports=function e(t,n,a,u,i){var s=-1,_=t.length;for(a||(a=o),i||(i=[]);++s<_;){var l=t[s];n>0&&a(l)?n>1?e(l,n-1,a,u,i):r(i,l):u||(i[i.length]=l)}return i}},41445:function(e,t,n){var r=n(60398),o=n(91289);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},60398:function(e,t,n){var r=n(91391),o=n(27126),a=n(19953);e.exports=function(e,t,n){for(var u=-1,i=t.length,s={};++u<i;){var _=t[u],l=r(e,_);n(l,_)&&o(s,a(_,e),l)}return s}},27126:function(e,t,n){var r=n(79627),o=n(19953),a=n(80140),u=n(84669),i=n(52035);e.exports=function(e,t,n,s){if(!u(e))return e;for(var _=-1,l=(t=o(t,e)).length,c=l-1,f=e;null!=f&&++_<l;){var d=i(t[_]),p=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(_!=c){var m=f[d];void 0===(p=s?s(m,d,f):void 0)&&(p=u(m)?m:a(t[_+1])?[]:{})}r(f,d,p),f=f[d]}return e}},88335:function(e,t,n){var r=n(83241),o=n(8429),a=n(91405),u=n(36605);e.exports=function(e,t){return function(n,i){var s=u(n)?r:o,_=t?t():{};return s(n,e,a(i,2),_)}}},20820:function(e,t,n){var r=n(22469),o=n(72930),a=n(78588);e.exports=function(e){return a(o(e,void 0,r),e+"")}},99327:function(e,t,n){var r=n(98924),o=n(54703),a=n(71515);e.exports=function(e){return r(e,a,o)}},54703:function(e,t,n){var r=n(54975),o=n(23329),a=n(77166),u=n(650),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:u;e.exports=i},48942:function(e,t,n){var r=n(28603),o=n(25061),a=n(36605),u=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(u&&e&&e[u])}},26069:function(e){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o}},66039:function(e,t,n){var r=n(4981),o=n(66062),a=n(22435),u=n(20280),i=a((function(e,t){return u(e)?r(e,o(t,1,u,!0)):[]}));e.exports=i},42148:function(e,t,n){var r=n(41228),o=n(11492),a=n(91405),u=n(36605);e.exports=function(e,t){return(u(e)?r:o)(e,a(t,3))}},22469:function(e,t,n){var r=n(66062);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},33610:function(e,t,n){var r=n(34457);e.exports=function(e,t){return r(e,t)}},50501:function(e,t,n){var r=n(98279),o=n(88335)((function(e,t,n){r(e,n,t)}));e.exports=o},96070:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},59553:function(e,t,n){var r;e=n.nmd(e),function(){var o,a=200,u="Expected a function",i="__lodash_hash_undefined__",s="__lodash_placeholder__",_=1,l=2,c=4,f=1,d=2,p=1,m=2,h=4,g=8,y=16,w=32,v=64,E=128,b=256,M=512,I=800,S=16,N=1/0,T=9007199254740991,A=17976931348623157e292,R=NaN,F=4294967295,x=F-1,O=F>>>1,P=[["ary",E],["bind",p],["bindKey",m],["curry",g],["curryRight",y],["flip",M],["partial",w],["partialRight",v],["rearg",b]],C="[object Arguments]",k="[object Array]",U="[object AsyncFunction]",D="[object Boolean]",L="[object Date]",B="[object DOMException]",Z="[object Error]",j="[object Function]",W="[object GeneratorFunction]",H="[object Map]",V="[object Number]",q="[object Null]",z="[object Object]",G="[object Promise]",$="[object Proxy]",K="[object RegExp]",Y="[object Set]",X="[object String]",J="[object Symbol]",Q="[object Undefined]",ee="[object WeakMap]",te="[object ArrayBuffer]",ne="[object DataView]",re="[object Float32Array]",oe="[object Float64Array]",ae="[object Int8Array]",ue="[object Int16Array]",ie="[object Int32Array]",se="[object Uint8Array]",_e="[object Uint8ClampedArray]",le="[object Uint16Array]",ce="[object Uint32Array]",fe=/\b__p \+= '';/g,de=/\b(__p \+=) '' \+/g,pe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,me=/&(?:amp|lt|gt|quot|#39);/g,he=/[&<>"']/g,ge=RegExp(me.source),ye=RegExp(he.source),we=/<%-([\s\S]+?)%>/g,ve=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,be=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Se.source),Te=/^\s+/,Ae=/\s/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,xe=/,? & /,Oe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pe=/[()=,{}\[\]\/\s]/,Ce=/\\(\\)?/g,ke=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ue=/\w*$/,De=/^[-+]0x[0-9a-f]+$/i,Le=/^0b[01]+$/i,Be=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,je=/^(?:0|[1-9]\d*)$/,We=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,qe="\\ud800-\\udfff",ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ge="\\u2700-\\u27bf",$e="a-z\\xdf-\\xf6\\xf8-\\xff",Ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ye="\\ufe0e\\ufe0f",Xe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Je="["+qe+"]",Qe="["+Xe+"]",et="["+ze+"]",tt="\\d+",nt="["+Ge+"]",rt="["+$e+"]",ot="[^"+qe+Xe+tt+Ge+$e+Ke+"]",at="\\ud83c[\\udffb-\\udfff]",ut="[^"+qe+"]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="["+Ke+"]",lt="\\u200d",ct="(?:"+rt+"|"+ot+")",ft="(?:"+_t+"|"+ot+")",dt="(?:['’](?:d|ll|m|re|s|t|ve))?",pt="(?:['’](?:D|LL|M|RE|S|T|VE))?",mt="(?:"+et+"|"+at+")?",ht="["+Ye+"]?",gt=ht+mt+"(?:"+lt+"(?:"+[ut,it,st].join("|")+")"+ht+mt+")*",yt="(?:"+[nt,it,st].join("|")+")"+gt,wt="(?:"+[ut+et+"?",et,it,st,Je].join("|")+")",vt=RegExp("['’]","g"),Et=RegExp(et,"g"),bt=RegExp(at+"(?="+at+")|"+wt+gt,"g"),Mt=RegExp([_t+"?"+rt+"+"+dt+"(?="+[Qe,_t,"$"].join("|")+")",ft+"+"+pt+"(?="+[Qe,_t+ct,"$"].join("|")+")",_t+"?"+ct+"+"+dt,_t+"+"+pt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt,yt].join("|"),"g"),It=RegExp("["+lt+qe+ze+Ye+"]"),St=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tt=-1,At={};At[re]=At[oe]=At[ae]=At[ue]=At[ie]=At[se]=At[_e]=At[le]=At[ce]=!0,At[C]=At[k]=At[te]=At[D]=At[ne]=At[L]=At[Z]=At[j]=At[H]=At[V]=At[z]=At[K]=At[Y]=At[X]=At[ee]=!1;var Rt={};Rt[C]=Rt[k]=Rt[te]=Rt[ne]=Rt[D]=Rt[L]=Rt[re]=Rt[oe]=Rt[ae]=Rt[ue]=Rt[ie]=Rt[H]=Rt[V]=Rt[z]=Rt[K]=Rt[Y]=Rt[X]=Rt[J]=Rt[se]=Rt[_e]=Rt[le]=Rt[ce]=!0,Rt[Z]=Rt[j]=Rt[ee]=!1;var Ft={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xt=parseFloat,Ot=parseInt,Pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,Ct="object"==typeof self&&self&&self.Object===Object&&self,kt=Pt||Ct||Function("return this")(),Ut=t&&!t.nodeType&&t,Dt=Ut&&e&&!e.nodeType&&e,Lt=Dt&&Dt.exports===Ut,Bt=Lt&&Pt.process,Zt=function(){try{return Dt&&Dt.require&&Dt.require("util").types||Bt&&Bt.binding&&Bt.binding("util")}catch(e){}}(),jt=Zt&&Zt.isArrayBuffer,Wt=Zt&&Zt.isDate,Ht=Zt&&Zt.isMap,Vt=Zt&&Zt.isRegExp,qt=Zt&&Zt.isSet,zt=Zt&&Zt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $t(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var u=e[o];t(r,u,n(u),e)}return r}function Kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Yt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Xt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var u=e[n];t(u,n,e)&&(a[o++]=u)}return a}function Qt(e,t){return!(null==e||!e.length)&&ln(e,t,0)>-1}function en(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function tn(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function nn(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function rn(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function on(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function an(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var un=pn("length");function sn(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function ln(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_n(e,fn,n)}function cn(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)if(r(e[o],t))return o;return-1}function fn(e){return e!=e}function dn(e,t){var n=null==e?0:e.length;return n?gn(e,t)/n:R}function pn(e){return function(t){return null==t?o:t[e]}}function mn(e){return function(t){return null==e?o:e[t]}}function hn(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function gn(e,t){for(var n,r=-1,a=e.length;++r<a;){var u=t(e[r]);u!==o&&(n=n===o?u:n+u)}return n}function yn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function wn(e){return e?e.slice(0,Un(e)+1).replace(Te,""):e}function vn(e){return function(t){return e(t)}}function En(e,t){return tn(t,(function(t){return e[t]}))}function bn(e,t){return e.has(t)}function Mn(e,t){for(var n=-1,r=e.length;++n<r&&ln(t,e[n],0)>-1;);return n}function In(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var Sn=mn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Nn=mn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Tn(e){return"\\"+Ft[e]}function An(e){return It.test(e)}function Rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Fn(e,t){return function(n){return e(t(n))}}function xn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n];u!==t&&u!==s||(e[n]=s,a[o++]=n)}return a}function On(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Cn(e){return An(e)?function(e){for(var t=bt.lastIndex=0;bt.test(e);)++t;return t}(e):un(e)}function kn(e){return An(e)?function(e){return e.match(bt)||[]}(e):function(e){return e.split("")}(e)}function Un(e){for(var t=e.length;t--&&Ae.test(e.charAt(t)););return t}var Dn=mn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ln=function e(t){var n,r=(t=null==t?kt:Ln.defaults(kt.Object(),t,Ln.pick(kt,Nt))).Array,Ae=t.Date,qe=t.Error,ze=t.Function,Ge=t.Math,$e=t.Object,Ke=t.RegExp,Ye=t.String,Xe=t.TypeError,Je=r.prototype,Qe=ze.prototype,et=$e.prototype,tt=t["__core-js_shared__"],nt=Qe.toString,rt=et.hasOwnProperty,ot=0,at=(n=/[^.]+$/.exec(tt&&tt.keys&&tt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ut=et.toString,it=nt.call($e),st=kt._,_t=Ke("^"+nt.call(rt).replace(Se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lt=Lt?t.Buffer:o,ct=t.Symbol,ft=t.Uint8Array,dt=lt?lt.allocUnsafe:o,pt=Fn($e.getPrototypeOf,$e),mt=$e.create,ht=et.propertyIsEnumerable,gt=Je.splice,yt=ct?ct.isConcatSpreadable:o,wt=ct?ct.iterator:o,bt=ct?ct.toStringTag:o,It=function(){try{var e=Pa($e,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ft=t.clearTimeout!==kt.clearTimeout&&t.clearTimeout,Pt=Ae&&Ae.now!==kt.Date.now&&Ae.now,Ct=t.setTimeout!==kt.setTimeout&&t.setTimeout,Ut=Ge.ceil,Dt=Ge.floor,Bt=$e.getOwnPropertySymbols,Zt=lt?lt.isBuffer:o,un=t.isFinite,mn=Je.join,Bn=Fn($e.keys,$e),Zn=Ge.max,jn=Ge.min,Wn=Ae.now,Hn=t.parseInt,Vn=Ge.random,qn=Je.reverse,zn=Pa(t,"DataView"),Gn=Pa(t,"Map"),$n=Pa(t,"Promise"),Kn=Pa(t,"Set"),Yn=Pa(t,"WeakMap"),Xn=Pa($e,"create"),Jn=Yn&&new Yn,Qn={},er=iu(zn),tr=iu(Gn),nr=iu($n),rr=iu(Kn),or=iu(Yn),ar=ct?ct.prototype:o,ur=ar?ar.valueOf:o,ir=ar?ar.toString:o;function sr(e){if(Ii(e)&&!di(e)&&!(e instanceof fr)){if(e instanceof cr)return e;if(rt.call(e,"__wrapped__"))return su(e)}return new cr(e)}var _r=function(){function e(){}return function(t){if(!Mi(t))return{};if(mt)return mt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function lr(){}function cr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function fr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function dr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function mr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function hr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new mr;++t<n;)this.add(e[t])}function gr(e){var t=this.__data__=new pr(e);this.size=t.size}function yr(e,t){var n=di(e),r=!n&&fi(e),o=!n&&!r&&gi(e),a=!n&&!r&&!o&&Oi(e),u=n||r||o||a,i=u?yn(e.length,Ye):[],s=i.length;for(var _ in e)!t&&!rt.call(e,_)||u&&("length"==_||o&&("offset"==_||"parent"==_)||a&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||Za(_,s))||i.push(_);return i}function wr(e){var t=e.length;return t?e[ho(0,t-1)]:o}function vr(e,t){return nu(Xo(e),Rr(t,0,e.length))}function Er(e){return nu(Xo(e))}function br(e,t,n){(n!==o&&!_i(e[t],n)||n===o&&!(t in e))&&Tr(e,t,n)}function Mr(e,t,n){var r=e[t];rt.call(e,t)&&_i(r,n)&&(n!==o||t in e)||Tr(e,t,n)}function Ir(e,t){for(var n=e.length;n--;)if(_i(e[n][0],t))return n;return-1}function Sr(e,t,n,r){return Cr(e,(function(e,o,a){t(r,e,n(e),a)})),r}function Nr(e,t){return e&&Jo(t,es(t),e)}function Tr(e,t,n){"__proto__"==t&&It?It(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ar(e,t){for(var n=-1,a=t.length,u=r(a),i=null==e;++n<a;)u[n]=i?o:Ki(e,t[n]);return u}function Rr(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Fr(e,t,n,r,a,u){var i,s=t&_,f=t&l,d=t&c;if(n&&(i=a?n(e,r,a,u):n(e)),i!==o)return i;if(!Mi(e))return e;var p=di(e);if(p){if(i=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&rt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return Xo(e,i)}else{var m=Ua(e),h=m==j||m==W;if(gi(e))return qo(e,s);if(m==z||m==C||h&&!a){if(i=f||h?{}:La(e),!s)return f?function(e,t){return Jo(e,ka(e),t)}(e,function(e,t){return e&&Jo(t,ts(t),e)}(i,e)):function(e,t){return Jo(e,Ca(e),t)}(e,Nr(i,e))}else{if(!Rt[m])return a?e:{};i=function(e,t,n){var r,o=e.constructor;switch(t){case te:return zo(e);case D:case L:return new o(+e);case ne:return function(e,t){var n=t?zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case re:case oe:case ae:case ue:case ie:case se:case _e:case le:case ce:return Go(e,n);case H:return new o;case V:case X:return new o(e);case K:return function(e){var t=new e.constructor(e.source,Ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Y:return new o;case J:return r=e,ur?$e(ur.call(r)):{}}}(e,m,s)}}u||(u=new gr);var g=u.get(e);if(g)return g;u.set(e,i),Ri(e)?e.forEach((function(r){i.add(Fr(r,t,n,r,e,u))})):Si(e)&&e.forEach((function(r,o){i.set(o,Fr(r,t,n,o,e,u))}));var y=p?o:(d?f?Na:Sa:f?ts:es)(e);return Kt(y||e,(function(r,o){y&&(r=e[o=r]),Mr(i,o,Fr(r,t,n,o,e,u))})),i}function xr(e,t,n){var r=n.length;if(null==e)return!r;for(e=$e(e);r--;){var a=n[r],u=t[a],i=e[a];if(i===o&&!(a in e)||!u(i))return!1}return!0}function Or(e,t,n){if("function"!=typeof e)throw new Xe(u);return Ja((function(){e.apply(o,n)}),t)}function Pr(e,t,n,r){var o=-1,u=Qt,i=!0,s=e.length,_=[],l=t.length;if(!s)return _;n&&(t=tn(t,vn(n))),r?(u=en,i=!1):t.length>=a&&(u=bn,i=!1,t=new hr(t));e:for(;++o<s;){var c=e[o],f=null==n?c:n(c);if(c=r||0!==c?c:0,i&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;_.push(c)}else u(t,f,r)||_.push(c)}return _}sr.templateSettings={escape:we,evaluate:ve,interpolate:Ee,variable:"",imports:{_:sr}},sr.prototype=lr.prototype,sr.prototype.constructor=sr,cr.prototype=_r(lr.prototype),cr.prototype.constructor=cr,fr.prototype=_r(lr.prototype),fr.prototype.constructor=fr,dr.prototype.clear=function(){this.__data__=Xn?Xn(null):{},this.size=0},dr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},dr.prototype.get=function(e){var t=this.__data__;if(Xn){var n=t[e];return n===i?o:n}return rt.call(t,e)?t[e]:o},dr.prototype.has=function(e){var t=this.__data__;return Xn?t[e]!==o:rt.call(t,e)},dr.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Xn&&t===o?i:t,this},pr.prototype.clear=function(){this.__data__=[],this.size=0},pr.prototype.delete=function(e){var t=this.__data__,n=Ir(t,e);return!(n<0||(n==t.length-1?t.pop():gt.call(t,n,1),--this.size,0))},pr.prototype.get=function(e){var t=this.__data__,n=Ir(t,e);return n<0?o:t[n][1]},pr.prototype.has=function(e){return Ir(this.__data__,e)>-1},pr.prototype.set=function(e,t){var n=this.__data__,r=Ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},mr.prototype.clear=function(){this.size=0,this.__data__={hash:new dr,map:new(Gn||pr),string:new dr}},mr.prototype.delete=function(e){var t=xa(this,e).delete(e);return this.size-=t?1:0,t},mr.prototype.get=function(e){return xa(this,e).get(e)},mr.prototype.has=function(e){return xa(this,e).has(e)},mr.prototype.set=function(e,t){var n=xa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},hr.prototype.add=hr.prototype.push=function(e){return this.__data__.set(e,i),this},hr.prototype.has=function(e){return this.__data__.has(e)},gr.prototype.clear=function(){this.__data__=new pr,this.size=0},gr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},gr.prototype.get=function(e){return this.__data__.get(e)},gr.prototype.has=function(e){return this.__data__.has(e)},gr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof pr){var r=n.__data__;if(!Gn||r.length<a-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new mr(r)}return n.set(e,t),this.size=n.size,this};var Cr=ta(Wr),kr=ta(Hr,!0);function Ur(e,t){var n=!0;return Cr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Dr(e,t,n){for(var r=-1,a=e.length;++r<a;){var u=e[r],i=t(u);if(null!=i&&(s===o?i==i&&!xi(i):n(i,s)))var s=i,_=u}return _}function Lr(e,t){var n=[];return Cr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Br(e,t,n,r,o){var a=-1,u=e.length;for(n||(n=Ba),o||(o=[]);++a<u;){var i=e[a];t>0&&n(i)?t>1?Br(i,t-1,n,r,o):nn(o,i):r||(o[o.length]=i)}return o}var Zr=na(),jr=na(!0);function Wr(e,t){return e&&Zr(e,t,es)}function Hr(e,t){return e&&jr(e,t,es)}function Vr(e,t){return Jt(t,(function(t){return vi(e[t])}))}function qr(e,t){for(var n=0,r=(t=jo(t,e)).length;null!=e&&n<r;)e=e[uu(t[n++])];return n&&n==r?e:o}function zr(e,t,n){var r=t(e);return di(e)?r:nn(r,n(e))}function Gr(e){return null==e?e===o?Q:q:bt&&bt in $e(e)?function(e){var t=rt.call(e,bt),n=e[bt];try{e[bt]=o;var r=!0}catch(e){}var a=ut.call(e);return r&&(t?e[bt]=n:delete e[bt]),a}(e):function(e){return ut.call(e)}(e)}function $r(e,t){return e>t}function Kr(e,t){return null!=e&&rt.call(e,t)}function Yr(e,t){return null!=e&&t in $e(e)}function Xr(e,t,n){for(var a=n?en:Qt,u=e[0].length,i=e.length,s=i,_=r(i),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=tn(f,vn(t))),l=jn(f.length,l),_[s]=!n&&(t||u>=120&&f.length>=120)?new hr(s&&f):o}f=e[0];var d=-1,p=_[0];e:for(;++d<u&&c.length<l;){var m=f[d],h=t?t(m):m;if(m=n||0!==m?m:0,!(p?bn(p,h):a(c,h,n))){for(s=i;--s;){var g=_[s];if(!(g?bn(g,h):a(e[s],h,n)))continue e}p&&p.push(h),c.push(m)}}return c}function Jr(e,t,n){var r=null==(e=Ka(e,t=jo(t,e)))?e:e[uu(wu(t))];return null==r?o:Gt(r,e,n)}function Qr(e){return Ii(e)&&Gr(e)==C}function eo(e,t,n,r,a){return e===t||(null==e||null==t||!Ii(e)&&!Ii(t)?e!=e&&t!=t:function(e,t,n,r,a,u){var i=di(e),s=di(t),_=i?k:Ua(e),l=s?k:Ua(t),c=(_=_==C?z:_)==z,p=(l=l==C?z:l)==z,m=_==l;if(m&&gi(e)){if(!gi(t))return!1;i=!0,c=!1}if(m&&!c)return u||(u=new gr),i||Oi(e)?Ma(e,t,n,r,a,u):function(e,t,n,r,o,a,u){switch(n){case ne:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case te:return!(e.byteLength!=t.byteLength||!a(new ft(e),new ft(t)));case D:case L:case V:return _i(+e,+t);case Z:return e.name==t.name&&e.message==t.message;case K:case X:return e==t+"";case H:var i=Rn;case Y:var s=r&f;if(i||(i=On),e.size!=t.size&&!s)return!1;var _=u.get(e);if(_)return _==t;r|=d,u.set(e,t);var l=Ma(i(e),i(t),r,o,a,u);return u.delete(e),l;case J:if(ur)return ur.call(e)==ur.call(t)}return!1}(e,t,_,n,r,a,u);if(!(n&f)){var h=c&&rt.call(e,"__wrapped__"),g=p&&rt.call(t,"__wrapped__");if(h||g){var y=h?e.value():e,w=g?t.value():t;return u||(u=new gr),a(y,w,n,r,u)}}return!!m&&(u||(u=new gr),function(e,t,n,r,a,u){var i=n&f,s=Sa(e),_=s.length;if(_!=Sa(t).length&&!i)return!1;for(var l=_;l--;){var c=s[l];if(!(i?c in t:rt.call(t,c)))return!1}var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var m=!0;u.set(e,t),u.set(t,e);for(var h=i;++l<_;){var g=e[c=s[l]],y=t[c];if(r)var w=i?r(y,g,c,t,e,u):r(g,y,c,e,t,u);if(!(w===o?g===y||a(g,y,n,r,u):w)){m=!1;break}h||(h="constructor"==c)}if(m&&!h){var v=e.constructor,E=t.constructor;v==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof E&&E instanceof E||(m=!1)}return u.delete(e),u.delete(t),m}(e,t,n,r,a,u))}(e,t,n,r,eo,a))}function to(e,t,n,r){var a=n.length,u=a,i=!r;if(null==e)return!u;for(e=$e(e);a--;){var s=n[a];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<u;){var _=(s=n[a])[0],l=e[_],c=s[1];if(i&&s[2]){if(l===o&&!(_ in e))return!1}else{var p=new gr;if(r)var m=r(l,c,_,e,t,p);if(!(m===o?eo(c,l,f|d,r,p):m))return!1}}return!0}function no(e){return!(!Mi(e)||(t=e,at&&at in t))&&(vi(e)?_t:Be).test(iu(e));var t}function ro(e){return"function"==typeof e?e:null==e?Ns:"object"==typeof e?di(e)?so(e[0],e[1]):io(e):ks(e)}function oo(e){if(!qa(e))return Bn(e);var t=[];for(var n in $e(e))rt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ao(e,t){return e<t}function uo(e,t){var n=-1,o=mi(e)?r(e.length):[];return Cr(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}function io(e){var t=Oa(e);return 1==t.length&&t[0][2]?Ga(t[0][0],t[0][1]):function(n){return n===e||to(n,e,t)}}function so(e,t){return Wa(e)&&za(t)?Ga(uu(e),t):function(n){var r=Ki(n,e);return r===o&&r===t?Yi(n,e):eo(t,r,f|d)}}function _o(e,t,n,r,a){e!==t&&Zr(t,(function(u,i){if(a||(a=new gr),Mi(u))!function(e,t,n,r,a,u,i){var s=Ya(e,n),_=Ya(t,n),l=i.get(_);if(l)br(e,n,l);else{var c=u?u(s,_,n+"",e,t,i):o,f=c===o;if(f){var d=di(_),p=!d&&gi(_),m=!d&&!p&&Oi(_);c=_,d||p||m?di(s)?c=s:hi(s)?c=Xo(s):p?(f=!1,c=qo(_,!0)):m?(f=!1,c=Go(_,!0)):c=[]:Ti(_)||fi(_)?(c=s,fi(s)?c=Zi(s):Mi(s)&&!vi(s)||(c=La(_))):f=!1}f&&(i.set(_,c),a(c,_,r,u,i),i.delete(_)),br(e,n,c)}}(e,t,i,n,_o,r,a);else{var s=r?r(Ya(e,i),u,i+"",e,t,a):o;s===o&&(s=u),br(e,i,s)}}),ts)}function lo(e,t){var n=e.length;if(n)return Za(t+=t<0?n:0,n)?e[t]:o}function co(e,t,n){t=t.length?tn(t,(function(e){return di(e)?function(t){return qr(t,1===e.length?e[0]:e)}:e})):[Ns];var r=-1;t=tn(t,vn(Fa()));var o=uo(e,(function(e,n,o){var a=tn(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,u=o.length,i=n.length;++r<u;){var s=$o(o[r],a[r]);if(s)return r>=i?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(o)}function fo(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var u=t[r],i=qr(e,u);n(i,u)&&Eo(a,jo(u,e),i)}return a}function po(e,t,n,r){var o=r?cn:ln,a=-1,u=t.length,i=e;for(e===t&&(t=Xo(t)),n&&(i=tn(e,vn(n)));++a<u;)for(var s=0,_=t[a],l=n?n(_):_;(s=o(i,l,s,r))>-1;)i!==e&>.call(i,s,1),gt.call(e,s,1);return e}function mo(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==a){var a=o;Za(o)?gt.call(e,o,1):Po(e,o)}}return e}function ho(e,t){return e+Dt(Vn()*(t-e+1))}function go(e,t){var n="";if(!e||t<1||t>T)return n;do{t%2&&(n+=e),(t=Dt(t/2))&&(e+=e)}while(t);return n}function yo(e,t){return Qa($a(e,t,Ns),e+"")}function wo(e){return wr(_s(e))}function vo(e,t){var n=_s(e);return nu(n,Rr(t,0,n.length))}function Eo(e,t,n,r){if(!Mi(e))return e;for(var a=-1,u=(t=jo(t,e)).length,i=u-1,s=e;null!=s&&++a<u;){var _=uu(t[a]),l=n;if("__proto__"===_||"constructor"===_||"prototype"===_)return e;if(a!=i){var c=s[_];(l=r?r(c,_,s):o)===o&&(l=Mi(c)?c:Za(t[a+1])?[]:{})}Mr(s,_,l),s=s[_]}return e}var bo=Jn?function(e,t){return Jn.set(e,t),e}:Ns,Mo=It?function(e,t){return It(e,"toString",{configurable:!0,enumerable:!1,value:Ms(t),writable:!0})}:Ns;function Io(e){return nu(_s(e))}function So(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var u=r(a);++o<a;)u[o]=e[o+t];return u}function No(e,t){var n;return Cr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function To(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=O){for(;r<o;){var a=r+o>>>1,u=e[a];null!==u&&!xi(u)&&(n?u<=t:u<t)?r=a+1:o=a}return o}return Ao(e,t,Ns,n)}function Ao(e,t,n,r){var a=0,u=null==e?0:e.length;if(0===u)return 0;for(var i=(t=n(t))!=t,s=null===t,_=xi(t),l=t===o;a<u;){var c=Dt((a+u)/2),f=n(e[c]),d=f!==o,p=null===f,m=f==f,h=xi(f);if(i)var g=r||m;else g=l?m&&(r||d):s?m&&d&&(r||!p):_?m&&d&&!p&&(r||!h):!p&&!h&&(r?f<=t:f<t);g?a=c+1:u=c}return jn(u,x)}function Ro(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n],i=t?t(u):u;if(!n||!_i(i,s)){var s=i;a[o++]=0===u?0:u}}return a}function Fo(e){return"number"==typeof e?e:xi(e)?R:+e}function xo(e){if("string"==typeof e)return e;if(di(e))return tn(e,xo)+"";if(xi(e))return ir?ir.call(e):"";var t=e+"";return"0"==t&&1/e==-N?"-0":t}function Oo(e,t,n){var r=-1,o=Qt,u=e.length,i=!0,s=[],_=s;if(n)i=!1,o=en;else if(u>=a){var l=t?null:ga(e);if(l)return On(l);i=!1,o=bn,_=new hr}else _=t?[]:s;e:for(;++r<u;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,i&&f==f){for(var d=_.length;d--;)if(_[d]===f)continue e;t&&_.push(f),s.push(c)}else o(_,f,n)||(_!==s&&_.push(f),s.push(c))}return s}function Po(e,t){return null==(e=Ka(e,t=jo(t,e)))||delete e[uu(wu(t))]}function Co(e,t,n,r){return Eo(e,t,n(qr(e,t)),r)}function ko(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?So(e,r?0:a,r?a+1:o):So(e,r?a+1:0,r?o:a)}function Uo(e,t){var n=e;return n instanceof fr&&(n=n.value()),rn(t,(function(e,t){return t.func.apply(t.thisArg,nn([e],t.args))}),n)}function Do(e,t,n){var o=e.length;if(o<2)return o?Oo(e[0]):[];for(var a=-1,u=r(o);++a<o;)for(var i=e[a],s=-1;++s<o;)s!=a&&(u[a]=Pr(u[a]||i,e[s],t,n));return Oo(Br(u,1),t,n)}function Lo(e,t,n){for(var r=-1,a=e.length,u=t.length,i={};++r<a;){var s=r<u?t[r]:o;n(i,e[r],s)}return i}function Bo(e){return hi(e)?e:[]}function Zo(e){return"function"==typeof e?e:Ns}function jo(e,t){return di(e)?e:Wa(e,t)?[e]:au(ji(e))}var Wo=yo;function Ho(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:So(e,t,n)}var Vo=Ft||function(e){return kt.clearTimeout(e)};function qo(e,t){if(t)return e.slice();var n=e.length,r=dt?dt(n):new e.constructor(n);return e.copy(r),r}function zo(e){var t=new e.constructor(e.byteLength);return new ft(t).set(new ft(e)),t}function Go(e,t){var n=t?zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $o(e,t){if(e!==t){var n=e!==o,r=null===e,a=e==e,u=xi(e),i=t!==o,s=null===t,_=t==t,l=xi(t);if(!s&&!l&&!u&&e>t||u&&i&&_&&!s&&!l||r&&i&&_||!n&&_||!a)return 1;if(!r&&!u&&!l&&e<t||l&&n&&a&&!r&&!u||s&&n&&a||!i&&a||!_)return-1}return 0}function Ko(e,t,n,o){for(var a=-1,u=e.length,i=n.length,s=-1,_=t.length,l=Zn(u-i,0),c=r(_+l),f=!o;++s<_;)c[s]=t[s];for(;++a<i;)(f||a<u)&&(c[n[a]]=e[a]);for(;l--;)c[s++]=e[a++];return c}function Yo(e,t,n,o){for(var a=-1,u=e.length,i=-1,s=n.length,_=-1,l=t.length,c=Zn(u-s,0),f=r(c+l),d=!o;++a<c;)f[a]=e[a];for(var p=a;++_<l;)f[p+_]=t[_];for(;++i<s;)(d||a<u)&&(f[p+n[i]]=e[a++]);return f}function Xo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Jo(e,t,n,r){var a=!n;n||(n={});for(var u=-1,i=t.length;++u<i;){var s=t[u],_=r?r(n[s],e[s],s,n,e):o;_===o&&(_=e[s]),a?Tr(n,s,_):Mr(n,s,_)}return n}function Qo(e,t){return function(n,r){var o=di(n)?$t:Sr,a=t?t():{};return o(n,e,Fa(r,2),a)}}function ea(e){return yo((function(t,n){var r=-1,a=n.length,u=a>1?n[a-1]:o,i=a>2?n[2]:o;for(u=e.length>3&&"function"==typeof u?(a--,u):o,i&&ja(n[0],n[1],i)&&(u=a<3?o:u,a=1),t=$e(t);++r<a;){var s=n[r];s&&e(t,s,r,u)}return t}))}function ta(e,t){return function(n,r){if(null==n)return n;if(!mi(n))return e(n,r);for(var o=n.length,a=t?o:-1,u=$e(n);(t?a--:++a<o)&&!1!==r(u[a],a,u););return n}}function na(e){return function(t,n,r){for(var o=-1,a=$e(t),u=r(t),i=u.length;i--;){var s=u[e?i:++o];if(!1===n(a[s],s,a))break}return t}}function ra(e){return function(t){var n=An(t=ji(t))?kn(t):o,r=n?n[0]:t.charAt(0),a=n?Ho(n,1).join(""):t.slice(1);return r[e]()+a}}function oa(e){return function(t){return rn(vs(fs(t).replace(vt,"")),e,"")}}function aa(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_r(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function ua(e){return function(t,n,r){var a=$e(t);if(!mi(t)){var u=Fa(n,3);t=es(t),n=function(e){return u(a[e],e,a)}}var i=e(t,n,r);return i>-1?a[u?t[i]:i]:o}}function ia(e){return Ia((function(t){var n=t.length,r=n,a=cr.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new Xe(u);if(a&&!s&&"wrapper"==Aa(i))var s=new cr([],!0)}for(r=s?r:n;++r<n;){var _=Aa(i=t[r]),l="wrapper"==_?Ta(i):o;s=l&&Ha(l[0])&&l[1]==(E|g|w|b)&&!l[4].length&&1==l[9]?s[Aa(l[0])].apply(s,l[3]):1==i.length&&Ha(i)?s[_]():s.thru(i)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&di(r))return s.plant(r).value();for(var o=0,a=n?t[o].apply(this,e):r;++o<n;)a=t[o].call(this,a);return a}}))}function sa(e,t,n,a,u,i,s,_,l,c){var f=t&E,d=t&p,h=t&m,w=t&(g|y),v=t&M,b=h?o:aa(e);return function p(){for(var m=arguments.length,g=r(m),y=m;y--;)g[y]=arguments[y];if(w)var E=Ra(p),M=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(g,E);if(a&&(g=Ko(g,a,u,w)),i&&(g=Yo(g,i,s,w)),m-=M,w&&m<c){var I=xn(g,E);return ma(e,t,sa,p.placeholder,n,g,I,_,l,c-m)}var S=d?n:this,N=h?S[e]:e;return m=g.length,_?g=function(e,t){for(var n=e.length,r=jn(t.length,n),a=Xo(e);r--;){var u=t[r];e[r]=Za(u,n)?a[u]:o}return e}(g,_):v&&m>1&&g.reverse(),f&&l<m&&(g.length=l),this&&this!==kt&&this instanceof p&&(N=b||aa(N)),N.apply(S,g)}}function _a(e,t){return function(n,r){return function(e,t,n,r){return Wr(e,(function(e,o,a){t(r,n(e),o,a)})),r}(n,e,t(r),{})}}function la(e,t){return function(n,r){var a;if(n===o&&r===o)return t;if(n!==o&&(a=n),r!==o){if(a===o)return r;"string"==typeof n||"string"==typeof r?(n=xo(n),r=xo(r)):(n=Fo(n),r=Fo(r)),a=e(n,r)}return a}}function ca(e){return Ia((function(t){return t=tn(t,vn(Fa())),yo((function(n){var r=this;return e(t,(function(e){return Gt(e,r,n)}))}))}))}function fa(e,t){var n=(t=t===o?" ":xo(t)).length;if(n<2)return n?go(t,e):t;var r=go(t,Ut(e/Cn(t)));return An(t)?Ho(kn(r),0,e).join(""):r.slice(0,e)}function da(e){return function(t,n,a){return a&&"number"!=typeof a&&ja(t,n,a)&&(n=a=o),t=Ui(t),n===o?(n=t,t=0):n=Ui(n),function(e,t,n,o){for(var a=-1,u=Zn(Ut((t-e)/(n||1)),0),i=r(u);u--;)i[o?u:++a]=e,e+=n;return i}(t,n,a=a===o?t<n?1:-1:Ui(a),e)}}function pa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Bi(t),n=Bi(n)),e(t,n)}}function ma(e,t,n,r,a,u,i,s,_,l){var c=t&g;t|=c?w:v,(t&=~(c?v:w))&h||(t&=~(p|m));var f=[e,t,a,c?u:o,c?i:o,c?o:u,c?o:i,s,_,l],d=n.apply(o,f);return Ha(e)&&Xa(d,f),d.placeholder=r,eu(d,e,t)}function ha(e){var t=Ge[e];return function(e,n){if(e=Bi(e),(n=null==n?0:jn(Di(n),292))&&un(e)){var r=(ji(e)+"e").split("e");return+((r=(ji(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var ga=Kn&&1/On(new Kn([,-0]))[1]==N?function(e){return new Kn(e)}:xs;function ya(e){return function(t){var n=Ua(t);return n==H?Rn(t):n==Y?Pn(t):function(e,t){return tn(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function wa(e,t,n,a,i,_,l,c){var f=t&m;if(!f&&"function"!=typeof e)throw new Xe(u);var d=a?a.length:0;if(d||(t&=~(w|v),a=i=o),l=l===o?l:Zn(Di(l),0),c=c===o?c:Di(c),d-=i?i.length:0,t&v){var M=a,I=i;a=i=o}var S=f?o:Ta(e),N=[e,t,n,a,i,M,I,_,l,c];if(S&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<(p|m|E),u=r==E&&n==g||r==E&&n==b&&e[7].length<=t[8]||r==(E|b)&&t[7].length<=t[8]&&n==g;if(!a&&!u)return e;r&p&&(e[2]=t[2],o|=n&p?0:h);var i=t[3];if(i){var _=e[3];e[3]=_?Ko(_,i,t[4]):i,e[4]=_?xn(e[3],s):t[4]}(i=t[5])&&(_=e[5],e[5]=_?Yo(_,i,t[6]):i,e[6]=_?xn(e[5],s):t[6]),(i=t[7])&&(e[7]=i),r&E&&(e[8]=null==e[8]?t[8]:jn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(N,S),e=N[0],t=N[1],n=N[2],a=N[3],i=N[4],!(c=N[9]=N[9]===o?f?0:e.length:Zn(N[9]-d,0))&&t&(g|y)&&(t&=~(g|y)),t&&t!=p)T=t==g||t==y?function(e,t,n){var a=aa(e);return function u(){for(var i=arguments.length,s=r(i),_=i,l=Ra(u);_--;)s[_]=arguments[_];var c=i<3&&s[0]!==l&&s[i-1]!==l?[]:xn(s,l);return(i-=c.length)<n?ma(e,t,sa,u.placeholder,o,s,c,o,o,n-i):Gt(this&&this!==kt&&this instanceof u?a:e,this,s)}}(e,t,c):t!=w&&t!=(p|w)||i.length?sa.apply(o,N):function(e,t,n,o){var a=t&p,u=aa(e);return function t(){for(var i=-1,s=arguments.length,_=-1,l=o.length,c=r(l+s),f=this&&this!==kt&&this instanceof t?u:e;++_<l;)c[_]=o[_];for(;s--;)c[_++]=arguments[++i];return Gt(f,a?n:this,c)}}(e,t,n,a);else var T=function(e,t,n){var r=t&p,o=aa(e);return function t(){return(this&&this!==kt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return eu((S?bo:Xa)(T,N),e,t)}function va(e,t,n,r){return e===o||_i(e,et[n])&&!rt.call(r,n)?t:e}function Ea(e,t,n,r,a,u){return Mi(e)&&Mi(t)&&(u.set(t,e),_o(e,t,o,Ea,u),u.delete(t)),e}function ba(e){return Ti(e)?o:e}function Ma(e,t,n,r,a,u){var i=n&f,s=e.length,_=t.length;if(s!=_&&!(i&&_>s))return!1;var l=u.get(e),c=u.get(t);if(l&&c)return l==t&&c==e;var p=-1,m=!0,h=n&d?new hr:o;for(u.set(e,t),u.set(t,e);++p<s;){var g=e[p],y=t[p];if(r)var w=i?r(y,g,p,t,e,u):r(g,y,p,e,t,u);if(w!==o){if(w)continue;m=!1;break}if(h){if(!an(t,(function(e,t){if(!bn(h,t)&&(g===e||a(g,e,n,r,u)))return h.push(t)}))){m=!1;break}}else if(g!==y&&!a(g,y,n,r,u)){m=!1;break}}return u.delete(e),u.delete(t),m}function Ia(e){return Qa($a(e,o,pu),e+"")}function Sa(e){return zr(e,es,Ca)}function Na(e){return zr(e,ts,ka)}var Ta=Jn?function(e){return Jn.get(e)}:xs;function Aa(e){for(var t=e.name+"",n=Qn[t],r=rt.call(Qn,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function Ra(e){return(rt.call(sr,"placeholder")?sr:e).placeholder}function Fa(){var e=sr.iteratee||Ts;return e=e===Ts?ro:e,arguments.length?e(arguments[0],arguments[1]):e}function xa(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oa(e){for(var t=es(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,za(o)]}return t}function Pa(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return no(n)?n:o}var Ca=Bt?function(e){return null==e?[]:(e=$e(e),Jt(Bt(e),(function(t){return ht.call(e,t)})))}:Ls,ka=Bt?function(e){for(var t=[];e;)nn(t,Ca(e)),e=pt(e);return t}:Ls,Ua=Gr;function Da(e,t,n){for(var r=-1,o=(t=jo(t,e)).length,a=!1;++r<o;){var u=uu(t[r]);if(!(a=null!=e&&n(e,u)))break;e=e[u]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&bi(o)&&Za(u,o)&&(di(e)||fi(e))}function La(e){return"function"!=typeof e.constructor||qa(e)?{}:_r(pt(e))}function Ba(e){return di(e)||fi(e)||!!(yt&&e&&e[yt])}function Za(e,t){var n=typeof e;return!!(t=null==t?T:t)&&("number"==n||"symbol"!=n&&je.test(e))&&e>-1&&e%1==0&&e<t}function ja(e,t,n){if(!Mi(n))return!1;var r=typeof t;return!!("number"==r?mi(n)&&Za(t,n.length):"string"==r&&t in n)&&_i(n[t],e)}function Wa(e,t){if(di(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!xi(e))||Me.test(e)||!be.test(e)||null!=t&&e in $e(t)}function Ha(e){var t=Aa(e),n=sr[t];if("function"!=typeof n||!(t in fr.prototype))return!1;if(e===n)return!0;var r=Ta(n);return!!r&&e===r[0]}(zn&&Ua(new zn(new ArrayBuffer(1)))!=ne||Gn&&Ua(new Gn)!=H||$n&&Ua($n.resolve())!=G||Kn&&Ua(new Kn)!=Y||Yn&&Ua(new Yn)!=ee)&&(Ua=function(e){var t=Gr(e),n=t==z?e.constructor:o,r=n?iu(n):"";if(r)switch(r){case er:return ne;case tr:return H;case nr:return G;case rr:return Y;case or:return ee}return t});var Va=tt?vi:Bs;function qa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||et)}function za(e){return e==e&&!Mi(e)}function Ga(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in $e(n))}}function $a(e,t,n){return t=Zn(t===o?e.length-1:t,0),function(){for(var o=arguments,a=-1,u=Zn(o.length-t,0),i=r(u);++a<u;)i[a]=o[t+a];a=-1;for(var s=r(t+1);++a<t;)s[a]=o[a];return s[t]=n(i),Gt(e,this,s)}}function Ka(e,t){return t.length<2?e:qr(e,So(t,0,-1))}function Ya(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Xa=tu(bo),Ja=Ct||function(e,t){return kt.setTimeout(e,t)},Qa=tu(Mo);function eu(e,t,n){var r=t+"";return Qa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Re,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Kt(P,(function(n){var r="_."+n[0];t&n[1]&&!Qt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Fe);return t?t[1].split(xe):[]}(r),n)))}function tu(e){var t=0,n=0;return function(){var r=Wn(),a=S-(r-n);if(n=r,a>0){if(++t>=I)return arguments[0]}else t=0;return e.apply(o,arguments)}}function nu(e,t){var n=-1,r=e.length,a=r-1;for(t=t===o?r:t;++n<t;){var u=ho(n,a),i=e[u];e[u]=e[n],e[n]=i}return e.length=t,e}var ru,ou,au=(ru=ri((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ie,(function(e,n,r,o){t.push(r?o.replace(Ce,"$1"):n||e)})),t}),(function(e){return 500===ou.size&&ou.clear(),e})),ou=ru.cache,ru);function uu(e){if("string"==typeof e||xi(e))return e;var t=e+"";return"0"==t&&1/e==-N?"-0":t}function iu(e){if(null!=e){try{return nt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function su(e){if(e instanceof fr)return e.clone();var t=new cr(e.__wrapped__,e.__chain__);return t.__actions__=Xo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var _u=yo((function(e,t){return hi(e)?Pr(e,Br(t,1,hi,!0)):[]})),lu=yo((function(e,t){var n=wu(t);return hi(n)&&(n=o),hi(e)?Pr(e,Br(t,1,hi,!0),Fa(n,2)):[]})),cu=yo((function(e,t){var n=wu(t);return hi(n)&&(n=o),hi(e)?Pr(e,Br(t,1,hi,!0),o,n):[]}));function fu(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Di(n);return o<0&&(o=Zn(r+o,0)),_n(e,Fa(t,3),o)}function du(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==o&&(a=Di(n),a=n<0?Zn(r+a,0):jn(a,r-1)),_n(e,Fa(t,3),a,!0)}function pu(e){return null!=e&&e.length?Br(e,1):[]}function mu(e){return e&&e.length?e[0]:o}var hu=yo((function(e){var t=tn(e,Bo);return t.length&&t[0]===e[0]?Xr(t):[]})),gu=yo((function(e){var t=wu(e),n=tn(e,Bo);return t===wu(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Xr(n,Fa(t,2)):[]})),yu=yo((function(e){var t=wu(e),n=tn(e,Bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Xr(n,o,t):[]}));function wu(e){var t=null==e?0:e.length;return t?e[t-1]:o}var vu=yo(Eu);function Eu(e,t){return e&&e.length&&t&&t.length?po(e,t):e}var bu=Ia((function(e,t){var n=null==e?0:e.length,r=Ar(e,t);return mo(e,tn(t,(function(e){return Za(e,n)?+e:e})).sort($o)),r}));function Mu(e){return null==e?e:qn.call(e)}var Iu=yo((function(e){return Oo(Br(e,1,hi,!0))})),Su=yo((function(e){var t=wu(e);return hi(t)&&(t=o),Oo(Br(e,1,hi,!0),Fa(t,2))})),Nu=yo((function(e){var t=wu(e);return t="function"==typeof t?t:o,Oo(Br(e,1,hi,!0),o,t)}));function Tu(e){if(!e||!e.length)return[];var t=0;return e=Jt(e,(function(e){if(hi(e))return t=Zn(e.length,t),!0})),yn(t,(function(t){return tn(e,pn(t))}))}function Au(e,t){if(!e||!e.length)return[];var n=Tu(e);return null==t?n:tn(n,(function(e){return Gt(t,o,e)}))}var Ru=yo((function(e,t){return hi(e)?Pr(e,t):[]})),Fu=yo((function(e){return Do(Jt(e,hi))})),xu=yo((function(e){var t=wu(e);return hi(t)&&(t=o),Do(Jt(e,hi),Fa(t,2))})),Ou=yo((function(e){var t=wu(e);return t="function"==typeof t?t:o,Do(Jt(e,hi),o,t)})),Pu=yo(Tu),Cu=yo((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Au(e,n)}));function ku(e){var t=sr(e);return t.__chain__=!0,t}function Uu(e,t){return t(e)}var Du=Ia((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof fr&&Za(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Uu,args:[a],thisArg:o}),new cr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(a)})),Lu=Qo((function(e,t,n){rt.call(e,n)?++e[n]:Tr(e,n,1)})),Bu=ua(fu),Zu=ua(du);function ju(e,t){return(di(e)?Kt:Cr)(e,Fa(t,3))}function Wu(e,t){return(di(e)?Yt:kr)(e,Fa(t,3))}var Hu=Qo((function(e,t,n){rt.call(e,n)?e[n].push(t):Tr(e,n,[t])})),Vu=yo((function(e,t,n){var o=-1,a="function"==typeof t,u=mi(e)?r(e.length):[];return Cr(e,(function(e){u[++o]=a?Gt(t,e,n):Jr(e,t,n)})),u})),qu=Qo((function(e,t,n){Tr(e,n,t)}));function zu(e,t){return(di(e)?tn:uo)(e,Fa(t,3))}var Gu=Qo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),$u=yo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ja(e,t[0],t[1])?t=[]:n>2&&ja(t[0],t[1],t[2])&&(t=[t[0]]),co(e,Br(t,1),[])})),Ku=Pt||function(){return kt.Date.now()};function Yu(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,wa(e,E,o,o,o,o,t)}function Xu(e,t){var n;if("function"!=typeof t)throw new Xe(u);return e=Di(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ju=yo((function(e,t,n){var r=p;if(n.length){var o=xn(n,Ra(Ju));r|=w}return wa(e,r,t,n,o)})),Qu=yo((function(e,t,n){var r=p|m;if(n.length){var o=xn(n,Ra(Qu));r|=w}return wa(t,r,e,n,o)}));function ei(e,t,n){var r,a,i,s,_,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new Xe(u);function m(t){var n=r,u=a;return r=a=o,c=t,s=e.apply(u,n)}function h(e){var n=e-l;return l===o||n>=t||n<0||d&&e-c>=i}function g(){var e=Ku();if(h(e))return y(e);_=Ja(g,function(e){var n=t-(e-l);return d?jn(n,i-(e-c)):n}(e))}function y(e){return _=o,p&&r?m(e):(r=a=o,s)}function w(){var e=Ku(),n=h(e);if(r=arguments,a=this,l=e,n){if(_===o)return function(e){return c=e,_=Ja(g,t),f?m(e):s}(l);if(d)return Vo(_),_=Ja(g,t),m(l)}return _===o&&(_=Ja(g,t)),s}return t=Bi(t)||0,Mi(n)&&(f=!!n.leading,i=(d="maxWait"in n)?Zn(Bi(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),w.cancel=function(){_!==o&&Vo(_),c=0,r=l=a=_=o},w.flush=function(){return _===o?s:y(Ku())},w}var ti=yo((function(e,t){return Or(e,1,t)})),ni=yo((function(e,t,n){return Or(e,Bi(t)||0,n)}));function ri(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Xe(u);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var u=e.apply(this,r);return n.cache=a.set(o,u)||a,u};return n.cache=new(ri.Cache||mr),n}function oi(e){if("function"!=typeof e)throw new Xe(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ri.Cache=mr;var ai=Wo((function(e,t){var n=(t=1==t.length&&di(t[0])?tn(t[0],vn(Fa())):tn(Br(t,1),vn(Fa()))).length;return yo((function(r){for(var o=-1,a=jn(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return Gt(e,this,r)}))})),ui=yo((function(e,t){var n=xn(t,Ra(ui));return wa(e,w,o,t,n)})),ii=yo((function(e,t){var n=xn(t,Ra(ii));return wa(e,v,o,t,n)})),si=Ia((function(e,t){return wa(e,b,o,o,o,t)}));function _i(e,t){return e===t||e!=e&&t!=t}var li=pa($r),ci=pa((function(e,t){return e>=t})),fi=Qr(function(){return arguments}())?Qr:function(e){return Ii(e)&&rt.call(e,"callee")&&!ht.call(e,"callee")},di=r.isArray,pi=jt?vn(jt):function(e){return Ii(e)&&Gr(e)==te};function mi(e){return null!=e&&bi(e.length)&&!vi(e)}function hi(e){return Ii(e)&&mi(e)}var gi=Zt||Bs,yi=Wt?vn(Wt):function(e){return Ii(e)&&Gr(e)==L};function wi(e){if(!Ii(e))return!1;var t=Gr(e);return t==Z||t==B||"string"==typeof e.message&&"string"==typeof e.name&&!Ti(e)}function vi(e){if(!Mi(e))return!1;var t=Gr(e);return t==j||t==W||t==U||t==$}function Ei(e){return"number"==typeof e&&e==Di(e)}function bi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=T}function Mi(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ii(e){return null!=e&&"object"==typeof e}var Si=Ht?vn(Ht):function(e){return Ii(e)&&Ua(e)==H};function Ni(e){return"number"==typeof e||Ii(e)&&Gr(e)==V}function Ti(e){if(!Ii(e)||Gr(e)!=z)return!1;var t=pt(e);if(null===t)return!0;var n=rt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&nt.call(n)==it}var Ai=Vt?vn(Vt):function(e){return Ii(e)&&Gr(e)==K},Ri=qt?vn(qt):function(e){return Ii(e)&&Ua(e)==Y};function Fi(e){return"string"==typeof e||!di(e)&&Ii(e)&&Gr(e)==X}function xi(e){return"symbol"==typeof e||Ii(e)&&Gr(e)==J}var Oi=zt?vn(zt):function(e){return Ii(e)&&bi(e.length)&&!!At[Gr(e)]},Pi=pa(ao),Ci=pa((function(e,t){return e<=t}));function ki(e){if(!e)return[];if(mi(e))return Fi(e)?kn(e):Xo(e);if(wt&&e[wt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[wt]());var t=Ua(e);return(t==H?Rn:t==Y?On:_s)(e)}function Ui(e){return e?(e=Bi(e))===N||e===-N?(e<0?-1:1)*A:e==e?e:0:0===e?e:0}function Di(e){var t=Ui(e),n=t%1;return t==t?n?t-n:t:0}function Li(e){return e?Rr(Di(e),0,F):0}function Bi(e){if("number"==typeof e)return e;if(xi(e))return R;if(Mi(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=wn(e);var n=Le.test(e);return n||Ze.test(e)?Ot(e.slice(2),n?2:8):De.test(e)?R:+e}function Zi(e){return Jo(e,ts(e))}function ji(e){return null==e?"":xo(e)}var Wi=ea((function(e,t){if(qa(t)||mi(t))Jo(t,es(t),e);else for(var n in t)rt.call(t,n)&&Mr(e,n,t[n])})),Hi=ea((function(e,t){Jo(t,ts(t),e)})),Vi=ea((function(e,t,n,r){Jo(t,ts(t),e,r)})),qi=ea((function(e,t,n,r){Jo(t,es(t),e,r)})),zi=Ia(Ar),Gi=yo((function(e,t){e=$e(e);var n=-1,r=t.length,a=r>2?t[2]:o;for(a&&ja(t[0],t[1],a)&&(r=1);++n<r;)for(var u=t[n],i=ts(u),s=-1,_=i.length;++s<_;){var l=i[s],c=e[l];(c===o||_i(c,et[l])&&!rt.call(e,l))&&(e[l]=u[l])}return e})),$i=yo((function(e){return e.push(o,Ea),Gt(rs,o,e)}));function Ki(e,t,n){var r=null==e?o:qr(e,t);return r===o?n:r}function Yi(e,t){return null!=e&&Da(e,t,Yr)}var Xi=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ut.call(t)),e[t]=n}),Ms(Ns)),Ji=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ut.call(t)),rt.call(e,t)?e[t].push(n):e[t]=[n]}),Fa),Qi=yo(Jr);function es(e){return mi(e)?yr(e):oo(e)}function ts(e){return mi(e)?yr(e,!0):function(e){if(!Mi(e))return function(e){var t=[];if(null!=e)for(var n in $e(e))t.push(n);return t}(e);var t=qa(e),n=[];for(var r in e)("constructor"!=r||!t&&rt.call(e,r))&&n.push(r);return n}(e)}var ns=ea((function(e,t,n){_o(e,t,n)})),rs=ea((function(e,t,n,r){_o(e,t,n,r)})),os=Ia((function(e,t){var n={};if(null==e)return n;var r=!1;t=tn(t,(function(t){return t=jo(t,e),r||(r=t.length>1),t})),Jo(e,Na(e),n),r&&(n=Fr(n,_|l|c,ba));for(var o=t.length;o--;)Po(n,t[o]);return n})),as=Ia((function(e,t){return null==e?{}:function(e,t){return fo(e,t,(function(t,n){return Yi(e,n)}))}(e,t)}));function us(e,t){if(null==e)return{};var n=tn(Na(e),(function(e){return[e]}));return t=Fa(t),fo(e,n,(function(e,n){return t(e,n[0])}))}var is=ya(es),ss=ya(ts);function _s(e){return null==e?[]:En(e,es(e))}var ls=oa((function(e,t,n){return t=t.toLowerCase(),e+(n?cs(t):t)}));function cs(e){return ws(ji(e).toLowerCase())}function fs(e){return(e=ji(e))&&e.replace(We,Sn).replace(Et,"")}var ds=oa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),ps=oa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ms=ra("toLowerCase"),hs=oa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),gs=oa((function(e,t,n){return e+(n?" ":"")+ws(t)})),ys=oa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ws=ra("toUpperCase");function vs(e,t,n){return e=ji(e),(t=n?o:t)===o?function(e){return St.test(e)}(e)?function(e){return e.match(Mt)||[]}(e):function(e){return e.match(Oe)||[]}(e):e.match(t)||[]}var Es=yo((function(e,t){try{return Gt(e,o,t)}catch(e){return wi(e)?e:new qe(e)}})),bs=Ia((function(e,t){return Kt(t,(function(t){t=uu(t),Tr(e,t,Ju(e[t],e))})),e}));function Ms(e){return function(){return e}}var Is=ia(),Ss=ia(!0);function Ns(e){return e}function Ts(e){return ro("function"==typeof e?e:Fr(e,_))}var As=yo((function(e,t){return function(n){return Jr(n,e,t)}})),Rs=yo((function(e,t){return function(n){return Jr(e,n,t)}}));function Fs(e,t,n){var r=es(t),o=Vr(t,r);null!=n||Mi(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Vr(t,es(t)));var a=!(Mi(n)&&"chain"in n&&!n.chain),u=vi(e);return Kt(o,(function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=Xo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,nn([this.value()],arguments))})})),e}function xs(){}var Os=ca(tn),Ps=ca(Xt),Cs=ca(an);function ks(e){return Wa(e)?pn(uu(e)):function(e){return function(t){return qr(t,e)}}(e)}var Us=da(),Ds=da(!0);function Ls(){return[]}function Bs(){return!1}var Zs,js=la((function(e,t){return e+t}),0),Ws=ha("ceil"),Hs=la((function(e,t){return e/t}),1),Vs=ha("floor"),qs=la((function(e,t){return e*t}),1),zs=ha("round"),Gs=la((function(e,t){return e-t}),0);return sr.after=function(e,t){if("function"!=typeof t)throw new Xe(u);return e=Di(e),function(){if(--e<1)return t.apply(this,arguments)}},sr.ary=Yu,sr.assign=Wi,sr.assignIn=Hi,sr.assignInWith=Vi,sr.assignWith=qi,sr.at=zi,sr.before=Xu,sr.bind=Ju,sr.bindAll=bs,sr.bindKey=Qu,sr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return di(e)?e:[e]},sr.chain=ku,sr.chunk=function(e,t,n){t=(n?ja(e,t,n):t===o)?1:Zn(Di(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var u=0,i=0,s=r(Ut(a/t));u<a;)s[i++]=So(e,u,u+=t);return s},sr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o},sr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return nn(di(n)?Xo(n):[n],Br(t,1))},sr.cond=function(e){var t=null==e?0:e.length,n=Fa();return e=t?tn(e,(function(e){if("function"!=typeof e[1])throw new Xe(u);return[n(e[0]),e[1]]})):[],yo((function(n){for(var r=-1;++r<t;){var o=e[r];if(Gt(o[0],this,n))return Gt(o[1],this,n)}}))},sr.conforms=function(e){return function(e){var t=es(e);return function(n){return xr(n,e,t)}}(Fr(e,_))},sr.constant=Ms,sr.countBy=Lu,sr.create=function(e,t){var n=_r(e);return null==t?n:Nr(n,t)},sr.curry=function e(t,n,r){var a=wa(t,g,o,o,o,o,o,n=r?o:n);return a.placeholder=e.placeholder,a},sr.curryRight=function e(t,n,r){var a=wa(t,y,o,o,o,o,o,n=r?o:n);return a.placeholder=e.placeholder,a},sr.debounce=ei,sr.defaults=Gi,sr.defaultsDeep=$i,sr.defer=ti,sr.delay=ni,sr.difference=_u,sr.differenceBy=lu,sr.differenceWith=cu,sr.drop=function(e,t,n){var r=null==e?0:e.length;return r?So(e,(t=n||t===o?1:Di(t))<0?0:t,r):[]},sr.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?So(e,0,(t=r-(t=n||t===o?1:Di(t)))<0?0:t):[]},sr.dropRightWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!0,!0):[]},sr.dropWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!0):[]},sr.fill=function(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&ja(e,t,n)&&(n=0,r=a),function(e,t,n,r){var a=e.length;for((n=Di(n))<0&&(n=-n>a?0:a+n),(r=r===o||r>a?a:Di(r))<0&&(r+=a),r=n>r?0:Li(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},sr.filter=function(e,t){return(di(e)?Jt:Lr)(e,Fa(t,3))},sr.flatMap=function(e,t){return Br(zu(e,t),1)},sr.flatMapDeep=function(e,t){return Br(zu(e,t),N)},sr.flatMapDepth=function(e,t,n){return n=n===o?1:Di(n),Br(zu(e,t),n)},sr.flatten=pu,sr.flattenDeep=function(e){return null!=e&&e.length?Br(e,N):[]},sr.flattenDepth=function(e,t){return null!=e&&e.length?Br(e,t=t===o?1:Di(t)):[]},sr.flip=function(e){return wa(e,M)},sr.flow=Is,sr.flowRight=Ss,sr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},sr.functions=function(e){return null==e?[]:Vr(e,es(e))},sr.functionsIn=function(e){return null==e?[]:Vr(e,ts(e))},sr.groupBy=Hu,sr.initial=function(e){return null!=e&&e.length?So(e,0,-1):[]},sr.intersection=hu,sr.intersectionBy=gu,sr.intersectionWith=yu,sr.invert=Xi,sr.invertBy=Ji,sr.invokeMap=Vu,sr.iteratee=Ts,sr.keyBy=qu,sr.keys=es,sr.keysIn=ts,sr.map=zu,sr.mapKeys=function(e,t){var n={};return t=Fa(t,3),Wr(e,(function(e,r,o){Tr(n,t(e,r,o),e)})),n},sr.mapValues=function(e,t){var n={};return t=Fa(t,3),Wr(e,(function(e,r,o){Tr(n,r,t(e,r,o))})),n},sr.matches=function(e){return io(Fr(e,_))},sr.matchesProperty=function(e,t){return so(e,Fr(t,_))},sr.memoize=ri,sr.merge=ns,sr.mergeWith=rs,sr.method=As,sr.methodOf=Rs,sr.mixin=Fs,sr.negate=oi,sr.nthArg=function(e){return e=Di(e),yo((function(t){return lo(t,e)}))},sr.omit=os,sr.omitBy=function(e,t){return us(e,oi(Fa(t)))},sr.once=function(e){return Xu(2,e)},sr.orderBy=function(e,t,n,r){return null==e?[]:(di(t)||(t=null==t?[]:[t]),di(n=r?o:n)||(n=null==n?[]:[n]),co(e,t,n))},sr.over=Os,sr.overArgs=ai,sr.overEvery=Ps,sr.overSome=Cs,sr.partial=ui,sr.partialRight=ii,sr.partition=Gu,sr.pick=as,sr.pickBy=us,sr.property=ks,sr.propertyOf=function(e){return function(t){return null==e?o:qr(e,t)}},sr.pull=vu,sr.pullAll=Eu,sr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?po(e,t,Fa(n,2)):e},sr.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?po(e,t,o,n):e},sr.pullAt=bu,sr.range=Us,sr.rangeRight=Ds,sr.rearg=si,sr.reject=function(e,t){return(di(e)?Jt:Lr)(e,oi(Fa(t,3)))},sr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=Fa(t,3);++r<a;){var u=e[r];t(u,r,e)&&(n.push(u),o.push(r))}return mo(e,o),n},sr.rest=function(e,t){if("function"!=typeof e)throw new Xe(u);return yo(e,t=t===o?t:Di(t))},sr.reverse=Mu,sr.sampleSize=function(e,t,n){return t=(n?ja(e,t,n):t===o)?1:Di(t),(di(e)?vr:vo)(e,t)},sr.set=function(e,t,n){return null==e?e:Eo(e,t,n)},sr.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Eo(e,t,n,r)},sr.shuffle=function(e){return(di(e)?Er:Io)(e)},sr.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ja(e,t,n)?(t=0,n=r):(t=null==t?0:Di(t),n=n===o?r:Di(n)),So(e,t,n)):[]},sr.sortBy=$u,sr.sortedUniq=function(e){return e&&e.length?Ro(e):[]},sr.sortedUniqBy=function(e,t){return e&&e.length?Ro(e,Fa(t,2)):[]},sr.split=function(e,t,n){return n&&"number"!=typeof n&&ja(e,t,n)&&(t=n=o),(n=n===o?F:n>>>0)?(e=ji(e))&&("string"==typeof t||null!=t&&!Ai(t))&&!(t=xo(t))&&An(e)?Ho(kn(e),0,n):e.split(t,n):[]},sr.spread=function(e,t){if("function"!=typeof e)throw new Xe(u);return t=null==t?0:Zn(Di(t),0),yo((function(n){var r=n[t],o=Ho(n,0,t);return r&&nn(o,r),Gt(e,this,o)}))},sr.tail=function(e){var t=null==e?0:e.length;return t?So(e,1,t):[]},sr.take=function(e,t,n){return e&&e.length?So(e,0,(t=n||t===o?1:Di(t))<0?0:t):[]},sr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?So(e,(t=r-(t=n||t===o?1:Di(t)))<0?0:t,r):[]},sr.takeRightWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!1,!0):[]},sr.takeWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3)):[]},sr.tap=function(e,t){return t(e),e},sr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Xe(u);return Mi(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ei(e,t,{leading:r,maxWait:t,trailing:o})},sr.thru=Uu,sr.toArray=ki,sr.toPairs=is,sr.toPairsIn=ss,sr.toPath=function(e){return di(e)?tn(e,uu):xi(e)?[e]:Xo(au(ji(e)))},sr.toPlainObject=Zi,sr.transform=function(e,t,n){var r=di(e),o=r||gi(e)||Oi(e);if(t=Fa(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:Mi(e)&&vi(a)?_r(pt(e)):{}}return(o?Kt:Wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},sr.unary=function(e){return Yu(e,1)},sr.union=Iu,sr.unionBy=Su,sr.unionWith=Nu,sr.uniq=function(e){return e&&e.length?Oo(e):[]},sr.uniqBy=function(e,t){return e&&e.length?Oo(e,Fa(t,2)):[]},sr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Oo(e,o,t):[]},sr.unset=function(e,t){return null==e||Po(e,t)},sr.unzip=Tu,sr.unzipWith=Au,sr.update=function(e,t,n){return null==e?e:Co(e,t,Zo(n))},sr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Co(e,t,Zo(n),r)},sr.values=_s,sr.valuesIn=function(e){return null==e?[]:En(e,ts(e))},sr.without=Ru,sr.words=vs,sr.wrap=function(e,t){return ui(Zo(t),e)},sr.xor=Fu,sr.xorBy=xu,sr.xorWith=Ou,sr.zip=Pu,sr.zipObject=function(e,t){return Lo(e||[],t||[],Mr)},sr.zipObjectDeep=function(e,t){return Lo(e||[],t||[],Eo)},sr.zipWith=Cu,sr.entries=is,sr.entriesIn=ss,sr.extend=Hi,sr.extendWith=Vi,Fs(sr,sr),sr.add=js,sr.attempt=Es,sr.camelCase=ls,sr.capitalize=cs,sr.ceil=Ws,sr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=Bi(n))==n?n:0),t!==o&&(t=(t=Bi(t))==t?t:0),Rr(Bi(e),t,n)},sr.clone=function(e){return Fr(e,c)},sr.cloneDeep=function(e){return Fr(e,_|c)},sr.cloneDeepWith=function(e,t){return Fr(e,_|c,t="function"==typeof t?t:o)},sr.cloneWith=function(e,t){return Fr(e,c,t="function"==typeof t?t:o)},sr.conformsTo=function(e,t){return null==t||xr(e,t,es(t))},sr.deburr=fs,sr.defaultTo=function(e,t){return null==e||e!=e?t:e},sr.divide=Hs,sr.endsWith=function(e,t,n){e=ji(e),t=xo(t);var r=e.length,a=n=n===o?r:Rr(Di(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},sr.eq=_i,sr.escape=function(e){return(e=ji(e))&&ye.test(e)?e.replace(he,Nn):e},sr.escapeRegExp=function(e){return(e=ji(e))&&Ne.test(e)?e.replace(Se,"\\$&"):e},sr.every=function(e,t,n){var r=di(e)?Xt:Ur;return n&&ja(e,t,n)&&(t=o),r(e,Fa(t,3))},sr.find=Bu,sr.findIndex=fu,sr.findKey=function(e,t){return sn(e,Fa(t,3),Wr)},sr.findLast=Zu,sr.findLastIndex=du,sr.findLastKey=function(e,t){return sn(e,Fa(t,3),Hr)},sr.floor=Vs,sr.forEach=ju,sr.forEachRight=Wu,sr.forIn=function(e,t){return null==e?e:Zr(e,Fa(t,3),ts)},sr.forInRight=function(e,t){return null==e?e:jr(e,Fa(t,3),ts)},sr.forOwn=function(e,t){return e&&Wr(e,Fa(t,3))},sr.forOwnRight=function(e,t){return e&&Hr(e,Fa(t,3))},sr.get=Ki,sr.gt=li,sr.gte=ci,sr.has=function(e,t){return null!=e&&Da(e,t,Kr)},sr.hasIn=Yi,sr.head=mu,sr.identity=Ns,sr.includes=function(e,t,n,r){e=mi(e)?e:_s(e),n=n&&!r?Di(n):0;var o=e.length;return n<0&&(n=Zn(o+n,0)),Fi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&ln(e,t,n)>-1},sr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Di(n);return o<0&&(o=Zn(r+o,0)),ln(e,t,o)},sr.inRange=function(e,t,n){return t=Ui(t),n===o?(n=t,t=0):n=Ui(n),function(e,t,n){return e>=jn(t,n)&&e<Zn(t,n)}(e=Bi(e),t,n)},sr.invoke=Qi,sr.isArguments=fi,sr.isArray=di,sr.isArrayBuffer=pi,sr.isArrayLike=mi,sr.isArrayLikeObject=hi,sr.isBoolean=function(e){return!0===e||!1===e||Ii(e)&&Gr(e)==D},sr.isBuffer=gi,sr.isDate=yi,sr.isElement=function(e){return Ii(e)&&1===e.nodeType&&!Ti(e)},sr.isEmpty=function(e){if(null==e)return!0;if(mi(e)&&(di(e)||"string"==typeof e||"function"==typeof e.splice||gi(e)||Oi(e)||fi(e)))return!e.length;var t=Ua(e);if(t==H||t==Y)return!e.size;if(qa(e))return!oo(e).length;for(var n in e)if(rt.call(e,n))return!1;return!0},sr.isEqual=function(e,t){return eo(e,t)},sr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?eo(e,t,o,n):!!r},sr.isError=wi,sr.isFinite=function(e){return"number"==typeof e&&un(e)},sr.isFunction=vi,sr.isInteger=Ei,sr.isLength=bi,sr.isMap=Si,sr.isMatch=function(e,t){return e===t||to(e,t,Oa(t))},sr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,to(e,t,Oa(t),n)},sr.isNaN=function(e){return Ni(e)&&e!=+e},sr.isNative=function(e){if(Va(e))throw new qe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return no(e)},sr.isNil=function(e){return null==e},sr.isNull=function(e){return null===e},sr.isNumber=Ni,sr.isObject=Mi,sr.isObjectLike=Ii,sr.isPlainObject=Ti,sr.isRegExp=Ai,sr.isSafeInteger=function(e){return Ei(e)&&e>=-T&&e<=T},sr.isSet=Ri,sr.isString=Fi,sr.isSymbol=xi,sr.isTypedArray=Oi,sr.isUndefined=function(e){return e===o},sr.isWeakMap=function(e){return Ii(e)&&Ua(e)==ee},sr.isWeakSet=function(e){return Ii(e)&&"[object WeakSet]"==Gr(e)},sr.join=function(e,t){return null==e?"":mn.call(e,t)},sr.kebabCase=ds,sr.last=wu,sr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=(a=Di(n))<0?Zn(r+a,0):jn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):_n(e,fn,a,!0)},sr.lowerCase=ps,sr.lowerFirst=ms,sr.lt=Pi,sr.lte=Ci,sr.max=function(e){return e&&e.length?Dr(e,Ns,$r):o},sr.maxBy=function(e,t){return e&&e.length?Dr(e,Fa(t,2),$r):o},sr.mean=function(e){return dn(e,Ns)},sr.meanBy=function(e,t){return dn(e,Fa(t,2))},sr.min=function(e){return e&&e.length?Dr(e,Ns,ao):o},sr.minBy=function(e,t){return e&&e.length?Dr(e,Fa(t,2),ao):o},sr.stubArray=Ls,sr.stubFalse=Bs,sr.stubObject=function(){return{}},sr.stubString=function(){return""},sr.stubTrue=function(){return!0},sr.multiply=qs,sr.nth=function(e,t){return e&&e.length?lo(e,Di(t)):o},sr.noConflict=function(){return kt._===this&&(kt._=st),this},sr.noop=xs,sr.now=Ku,sr.pad=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return fa(Dt(o),n)+e+fa(Ut(o),n)},sr.padEnd=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;return t&&r<t?e+fa(t-r,n):e},sr.padStart=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;return t&&r<t?fa(t-r,n)+e:e},sr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Hn(ji(e).replace(Te,""),t||0)},sr.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ja(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Ui(e),t===o?(t=e,e=0):t=Ui(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Vn();return jn(e+a*(t-e+xt("1e-"+((a+"").length-1))),t)}return ho(e,t)},sr.reduce=function(e,t,n){var r=di(e)?rn:hn,o=arguments.length<3;return r(e,Fa(t,4),n,o,Cr)},sr.reduceRight=function(e,t,n){var r=di(e)?on:hn,o=arguments.length<3;return r(e,Fa(t,4),n,o,kr)},sr.repeat=function(e,t,n){return t=(n?ja(e,t,n):t===o)?1:Di(t),go(ji(e),t)},sr.replace=function(){var e=arguments,t=ji(e[0]);return e.length<3?t:t.replace(e[1],e[2])},sr.result=function(e,t,n){var r=-1,a=(t=jo(t,e)).length;for(a||(a=1,e=o);++r<a;){var u=null==e?o:e[uu(t[r])];u===o&&(r=a,u=n),e=vi(u)?u.call(e):u}return e},sr.round=zs,sr.runInContext=e,sr.sample=function(e){return(di(e)?wr:wo)(e)},sr.size=function(e){if(null==e)return 0;if(mi(e))return Fi(e)?Cn(e):e.length;var t=Ua(e);return t==H||t==Y?e.size:oo(e).length},sr.snakeCase=hs,sr.some=function(e,t,n){var r=di(e)?an:No;return n&&ja(e,t,n)&&(t=o),r(e,Fa(t,3))},sr.sortedIndex=function(e,t){return To(e,t)},sr.sortedIndexBy=function(e,t,n){return Ao(e,t,Fa(n,2))},sr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=To(e,t);if(r<n&&_i(e[r],t))return r}return-1},sr.sortedLastIndex=function(e,t){return To(e,t,!0)},sr.sortedLastIndexBy=function(e,t,n){return Ao(e,t,Fa(n,2),!0)},sr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=To(e,t,!0)-1;if(_i(e[n],t))return n}return-1},sr.startCase=gs,sr.startsWith=function(e,t,n){return e=ji(e),n=null==n?0:Rr(Di(n),0,e.length),t=xo(t),e.slice(n,n+t.length)==t},sr.subtract=Gs,sr.sum=function(e){return e&&e.length?gn(e,Ns):0},sr.sumBy=function(e,t){return e&&e.length?gn(e,Fa(t,2)):0},sr.template=function(e,t,n){var r=sr.templateSettings;n&&ja(e,t,n)&&(t=o),e=ji(e),t=Vi({},t,r,va);var a,u,i=Vi({},t.imports,r.imports,va),s=es(i),_=En(i,s),l=0,c=t.interpolate||He,f="__p += '",d=Ke((t.escape||He).source+"|"+c.source+"|"+(c===Ee?ke:He).source+"|"+(t.evaluate||He).source+"|$","g"),p="//# sourceURL="+(rt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Tt+"]")+"\n";e.replace(d,(function(t,n,r,o,i,s){return r||(r=o),f+=e.slice(l,s).replace(Ve,Tn),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),i&&(u=!0,f+="';\n"+i+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),f+="';\n";var m=rt.call(t,"variable")&&t.variable;if(m){if(Pe.test(m))throw new qe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(fe,""):f).replace(de,"$1").replace(pe,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Es((function(){return ze(s,p+"return "+f).apply(o,_)}));if(h.source=f,wi(h))throw h;return h},sr.times=function(e,t){if((e=Di(e))<1||e>T)return[];var n=F,r=jn(e,F);t=Fa(t),e-=F;for(var o=yn(r,t);++n<e;)t(n);return o},sr.toFinite=Ui,sr.toInteger=Di,sr.toLength=Li,sr.toLower=function(e){return ji(e).toLowerCase()},sr.toNumber=Bi,sr.toSafeInteger=function(e){return e?Rr(Di(e),-T,T):0===e?e:0},sr.toString=ji,sr.toUpper=function(e){return ji(e).toUpperCase()},sr.trim=function(e,t,n){if((e=ji(e))&&(n||t===o))return wn(e);if(!e||!(t=xo(t)))return e;var r=kn(e),a=kn(t);return Ho(r,Mn(r,a),In(r,a)+1).join("")},sr.trimEnd=function(e,t,n){if((e=ji(e))&&(n||t===o))return e.slice(0,Un(e)+1);if(!e||!(t=xo(t)))return e;var r=kn(e);return Ho(r,0,In(r,kn(t))+1).join("")},sr.trimStart=function(e,t,n){if((e=ji(e))&&(n||t===o))return e.replace(Te,"");if(!e||!(t=xo(t)))return e;var r=kn(e);return Ho(r,Mn(r,kn(t))).join("")},sr.truncate=function(e,t){var n=30,r="...";if(Mi(t)){var a="separator"in t?t.separator:a;n="length"in t?Di(t.length):n,r="omission"in t?xo(t.omission):r}var u=(e=ji(e)).length;if(An(e)){var i=kn(e);u=i.length}if(n>=u)return e;var s=n-Cn(r);if(s<1)return r;var _=i?Ho(i,0,s).join(""):e.slice(0,s);if(a===o)return _+r;if(i&&(s+=_.length-s),Ai(a)){if(e.slice(s).search(a)){var l,c=_;for(a.global||(a=Ke(a.source,ji(Ue.exec(a))+"g")),a.lastIndex=0;l=a.exec(c);)var f=l.index;_=_.slice(0,f===o?s:f)}}else if(e.indexOf(xo(a),s)!=s){var d=_.lastIndexOf(a);d>-1&&(_=_.slice(0,d))}return _+r},sr.unescape=function(e){return(e=ji(e))&&ge.test(e)?e.replace(me,Dn):e},sr.uniqueId=function(e){var t=++ot;return ji(e)+t},sr.upperCase=ys,sr.upperFirst=ws,sr.each=ju,sr.eachRight=Wu,sr.first=mu,Fs(sr,(Zs={},Wr(sr,(function(e,t){rt.call(sr.prototype,t)||(Zs[t]=e)})),Zs),{chain:!1}),sr.VERSION="4.17.21",Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){sr[e].placeholder=sr})),Kt(["drop","take"],(function(e,t){fr.prototype[e]=function(n){n=n===o?1:Zn(Di(n),0);var r=this.__filtered__&&!t?new fr(this):this.clone();return r.__filtered__?r.__takeCount__=jn(n,r.__takeCount__):r.__views__.push({size:jn(n,F),type:e+(r.__dir__<0?"Right":"")}),r},fr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;fr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Fa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");fr.prototype[e]=function(){return this[n](1).value()[0]}})),Kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");fr.prototype[e]=function(){return this.__filtered__?new fr(this):this[n](1)}})),fr.prototype.compact=function(){return this.filter(Ns)},fr.prototype.find=function(e){return this.filter(e).head()},fr.prototype.findLast=function(e){return this.reverse().find(e)},fr.prototype.invokeMap=yo((function(e,t){return"function"==typeof e?new fr(this):this.map((function(n){return Jr(n,e,t)}))})),fr.prototype.reject=function(e){return this.filter(oi(Fa(e)))},fr.prototype.slice=function(e,t){e=Di(e);var n=this;return n.__filtered__&&(e>0||t<0)?new fr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Di(t))<0?n.dropRight(-t):n.take(t-e)),n)},fr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fr.prototype.toArray=function(){return this.take(F)},Wr(fr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=sr[r?"take"+("last"==t?"Right":""):t],u=r||/^find/.test(t);a&&(sr.prototype[t]=function(){var t=this.__wrapped__,i=r?[1]:arguments,s=t instanceof fr,_=i[0],l=s||di(t),c=function(e){var t=a.apply(sr,nn([e],i));return r&&f?t[0]:t};l&&n&&"function"==typeof _&&1!=_.length&&(s=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=u&&!f,m=s&&!d;if(!u&&l){t=m?t:new fr(this);var h=e.apply(t,i);return h.__actions__.push({func:Uu,args:[c],thisArg:o}),new cr(h,f)}return p&&m?e.apply(this,i):(h=this.thru(c),p?r?h.value()[0]:h.value():h)})})),Kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);sr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(di(o)?o:[],e)}return this[n]((function(n){return t.apply(di(n)?n:[],e)}))}})),Wr(fr.prototype,(function(e,t){var n=sr[t];if(n){var r=n.name+"";rt.call(Qn,r)||(Qn[r]=[]),Qn[r].push({name:t,func:n})}})),Qn[sa(o,m).name]=[{name:"wrapper",func:o}],fr.prototype.clone=function(){var e=new fr(this.__wrapped__);return e.__actions__=Xo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Xo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Xo(this.__views__),e},fr.prototype.reverse=function(){if(this.__filtered__){var e=new fr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},fr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=di(e),r=t<0,o=n?e.length:0,a=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var a=n[r],u=a.size;switch(a.type){case"drop":e+=u;break;case"dropRight":t-=u;break;case"take":t=jn(t,e+u);break;case"takeRight":e=Zn(e,t-u)}}return{start:e,end:t}}(0,o,this.__views__),u=a.start,i=a.end,s=i-u,_=r?i:u-1,l=this.__iteratees__,c=l.length,f=0,d=jn(s,this.__takeCount__);if(!n||!r&&o==s&&d==s)return Uo(e,this.__actions__);var p=[];e:for(;s--&&f<d;){for(var m=-1,h=e[_+=t];++m<c;){var g=l[m],y=g.iteratee,w=g.type,v=y(h);if(2==w)h=v;else if(!v){if(1==w)continue e;break e}}p[f++]=h}return p},sr.prototype.at=Du,sr.prototype.chain=function(){return ku(this)},sr.prototype.commit=function(){return new cr(this.value(),this.__chain__)},sr.prototype.next=function(){this.__values__===o&&(this.__values__=ki(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},sr.prototype.plant=function(e){for(var t,n=this;n instanceof lr;){var r=su(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},sr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof fr){var t=e;return this.__actions__.length&&(t=new fr(this)),(t=t.reverse()).__actions__.push({func:Uu,args:[Mu],thisArg:o}),new cr(t,this.__chain__)}return this.thru(Mu)},sr.prototype.toJSON=sr.prototype.valueOf=sr.prototype.value=function(){return Uo(this.__wrapped__,this.__actions__)},sr.prototype.first=sr.prototype.head,wt&&(sr.prototype[wt]=function(){return this}),sr}();kt._=Ln,(r=function(){return Ln}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},39838:function(e){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},54600:function(e,t,n){var r=n(91405),o=n(39838),a=n(28348);e.exports=function(e,t){return a(e,o(r(t)))}},84060:function(e,t,n){var r=n(88335)((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));e.exports=r},64988:function(e,t,n){var r=n(41445),o=n(20820)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},28348:function(e,t,n){var r=n(52329),o=n(91405),a=n(60398),u=n(99327);e.exports=function(e,t){if(null==e)return{};var n=r(u(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},96912:function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",Module={locateFile:(e,t)=>e.startsWith("http")?e:t+e},TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary,setWindowTitle;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}function logExceptionOnExit(e){e instanceof ExitStatus||err("exiting due to exception: "+e)}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(66317),nodePath=__webpack_require__(99918);scriptDirectory=ENVIRONMENT_IS_WORKER?nodePath.dirname(scriptDirectory)+"/":__dirname+"/",read_=(e,t)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e,t?void 0:"utf8")),readBinary=e=>{var t=read_(e,!0);return t.buffer||(t=new Uint8Array(t)),t},readAsync=(e,t,n)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,(function(e,r){e?n(e):t(r.buffer)}))},process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{if(keepRuntimeAlive())throw process.exitCode=e,t;logExceptionOnExit(t),process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1):"",read_=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=(e,t,n)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},setWindowTitle=e=>document.title=e);var out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var STACK_ALIGN=16,dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS,UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function UTF8ArrayToString(e,t,n){for(var r=t+n,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,o));for(var a="";t<o;){var u=e[t++];if(128&u){var i=63&e[t++];if(192!=(224&u)){var s=63&e[t++];if((u=224==(240&u)?(15&u)<<12|i<<6|s:(7&u)<<18|i<<12|s<<6|63&e[t++])<65536)a+=String.fromCharCode(u);else{var _=u-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&u)<<6|i)}else a+=String.fromCharCode(u)}return a}function UTF8ToString(e,t){return e?UTF8ArrayToString(HEAPU8,e,t):""}function stringToUTF8Array(e,t,n,r){if(!(r>0))return 0;for(var o=n,a=n+r-1,u=0;u<e.length;++u){var i=e.charCodeAt(u);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++u)),i<=127){if(n>=a)break;t[n++]=i}else if(i<=2047){if(n+1>=a)break;t[n++]=192|i>>6,t[n++]=128|63&i}else if(i<=65535){if(n+2>=a)break;t[n++]=224|i>>12,t[n++]=128|i>>6&63,t[n++]=128|63&i}else{if(n+3>=a)break;t[n++]=240|i>>18,t[n++]=128|i>>12&63,t[n++]=128|i>>6&63,t[n++]=128|63&i}}return t[n]=0,n-o}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++n):t+=3}return t}function updateGlobalBufferAndViews(e){buffer=e,Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768}),wasmMemory&&(buffer=wasmMemory.buffer),INITIAL_MEMORY=buffer.byteLength,updateGlobalBufferAndViews(buffer);var wasmTable=new WebAssembly.Table({initial:20,element:"anyfunc"}),__ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort&&Module.onAbort(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(e){return e.startsWith(dataURIPrefix)}function isFileURI(e){return e.startsWith("file://")}function getBinary(e){try{if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return e.arrayBuffer()})).catch((function(){return getBinary(wasmBinaryFile)}));if(readAsync)return new Promise((function(e,t){readAsync(wasmBinaryFile,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return getBinary(wasmBinaryFile)}))}function createWasm(){var e={env:asmLibraryArg,wasi_snapshot_preview1:asmLibraryArg,"GOT.mem":new Proxy(asmLibraryArg,GOTHandler),"GOT.func":new Proxy(asmLibraryArg,GOTHandler)};function t(e,t){var n=e.exports;n=relocateExports(n,1024);var r=getDylinkMetadata(t);r.neededDynlibs&&(dynamicLibraries=r.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(n,"main"),Module.asm=n,addOnInit(Module.asm.__wasm_call_ctors),__RELOC_FUNCS__.push(Module.asm.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate")}function n(e){t(e.instance,e.module)}function r(t){return getBinaryPromise().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){err("failed to asynchronously prepare wasm: "+e),abort(e)}))}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err("Module.instantiateWasm callback failed with error: "+e),!1}return wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?r(n):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),r(n)}))})),{}}wasmBinaryFile=new URL(__webpack_require__(19637),__webpack_require__.b).href,isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}var GOT={},CurrentModuleWeakSymbols=new Set([]),GOTHandler={get:function(e,t){var n=GOT[t];return n||(n=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),CurrentModuleWeakSymbols.has(t)||(n.required=!0),n}};function callRuntimeCallbacks(e){for(;e.length>0;)e.shift()(Module)}function getDylinkMetadata(e){var t=0,n=0;function r(){for(var n=0,r=1;;){var o=e[t++];if(n+=(127&o)*r,r*=128,!(128&o))break}return n}function o(){var n=r();return UTF8ArrayToString(e,(t+=n)-n,n)}function a(e,t){if(e)throw new Error(t)}var u="dylink.0";if(e instanceof WebAssembly.Module){var i=WebAssembly.Module.customSections(e,u);0===i.length&&(u="dylink",i=WebAssembly.Module.customSections(e,u)),a(0===i.length,"need dylink section"),n=(e=new Uint8Array(i[0])).length}else{a(!(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0]),"need to see wasm magic number"),a(0!==e[8],"need the dylink section to be first"),t=9;var s=r();n=t+s,u=o()}var _={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==u){_.memorySize=r(),_.memoryAlign=r(),_.tableSize=r(),_.tableAlign=r();for(var l=r(),c=0;c<l;++c){var f=o();_.neededDynlibs.push(f)}}else for(a("dylink.0"!==u);t<n;){var d=e[t++],p=r();if(1===d)_.memorySize=r(),_.memoryAlign=r(),_.tableSize=r(),_.tableAlign=r();else if(2===d)for(l=r(),c=0;c<l;++c)f=o(),_.neededDynlibs.push(f);else if(3===d)for(var m=r();m--;){var h=o();256&r()&&_.tlsExports.add(h)}else if(4===d)for(m=r();m--;)o(),h=o(),1==(3&r())&&_.weakImports.add(h);else t+=p}return _}function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];case"*":return HEAPU32[e>>2];default:abort("invalid type for getValue: "+t)}return null}function asmjsMangle(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0"].includes(e)?e:"_"+e}function mergeLibSymbols(e,t){for(var n in e)if(e.hasOwnProperty(n)){asmLibraryArg.hasOwnProperty(n)||(asmLibraryArg[n]=e[n]);var r=asmjsMangle(n);Module.hasOwnProperty(r)||(Module[r]=e[n]),"__main_argc_argv"==n&&(Module._main=e[n])}}var LDSO={loadedLibsByName:{},loadedLibsByHandle:{}};function dynCallLegacy(e,t,n){var r=Module["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)}var wasmTableMirror=[];function getWasmTableEntry(e){var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t}function dynCall(e,t,n){return e.includes("j")?dynCallLegacy(e,t,n):getWasmTableEntry(t).apply(null,n)}function createInvokeFunction(e){return function(){var t=stackSave();try{return dynCall(e,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(stackRestore(t),e!==e+0)throw e;_setThrew(1,0)}}}var ___heap_base=78144;function zeroMemory(e,t){return HEAPU8.fill(0,e,e+t),e}function getMemory(e){if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,n=t+e+15&-16;return ___heap_base=n,GOT.__heap_base.value=n,t}function isInternalSym(e){return["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm"].includes(e)}function uleb128Encode(e,t){e<128?t.push(e):t.push(e%128|128,e>>7)}function sigToWasmTypes(e){for(var t={i:"i32",j:"i32",f:"f32",d:"f64",p:"i32"},n={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},r=1;r<e.length;++r)n.parameters.push(t[e[r]]),"j"===e[r]&&n.parameters.push("i32");return n}function generateFuncType(e,t){var n=e.slice(0,1),r=e.slice(1),o={i:127,p:127,j:126,f:125,d:124};t.push(96),uleb128Encode(r.length,t);for(var a=0;a<r.length;++a)t.push(o[r[a]]);"v"==n?t.push(0):t.push(1,o[n])}function convertJsFunctionToWasm(e,t){if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var n=[1];generateFuncType(t,n);var r=[0,97,115,109,1,0,0,0,1];uleb128Encode(n.length,r),r.push.apply(r,n),r.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var o=new WebAssembly.Module(new Uint8Array(r));return new WebAssembly.Instance(o,{e:{f:e}}).exports.f}function updateTableMap(e,t){if(functionsInTableMap)for(var n=e;n<e+t;n++){var r=getWasmTableEntry(n);r&&functionsInTableMap.set(r,n)}}var functionsInTableMap=void 0,freeTableIndexes=[];function getEmptyTableSlot(){if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1}function setWasmTableEntry(e,t){wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)}function addFunction(e,t){if(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.has(e))return functionsInTableMap.get(e);var n=getEmptyTableSlot();try{setWasmTableEntry(n,e)}catch(r){if(!(r instanceof TypeError))throw r;setWasmTableEntry(n,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,n),n}function updateGOT(e,t){for(var n in e)if(!isInternalSym(n)){var r=e[n];n.startsWith("orig$")&&(n=n.split("$")[1],t=!0),GOT[n]||(GOT[n]=new WebAssembly.Global({value:"i32",mutable:!0})),(t||0==GOT[n].value)&&("function"==typeof r?GOT[n].value=addFunction(r):"number"==typeof r?GOT[n].value=r:err("unhandled export type for `"+n+"`: "+typeof r))}}function relocateExports(e,t,n){var r={};for(var o in e){var a=e[o];"object"==typeof a&&(a=a.value),"number"==typeof a&&(a+=t),r[o]=a}return updateGOT(r,n),r}function resolveGlobalSymbol(e,t){var n;return t&&(n=asmLibraryArg["orig$"+e]),n||(n=asmLibraryArg[e])&&n.stub&&(n=void 0),n||(n=Module[asmjsMangle(e)]),!n&&e.startsWith("invoke_")&&(n=createInvokeFunction(e.split("_")[1])),n}function alignMemory(e,t){return Math.ceil(e/t)*t}function loadWebAssemblyModule(binary,flags,handle){var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+12>>0];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign);memAlign=Math.max(memAlign,STACK_ALIGN);var memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+12>>0]=1,HEAPU32[handle+16>>2]=memoryBase,HEAP32[handle+20>>2]=metadata.memorySize,HEAPU32[handle+24>>2]=tableBase,HEAP32[handle+28>>2]=metadata.tableSize)}else memoryBase=HEAPU32[handle+16>>2],tableBase=HEAPU32[handle+24>>2];var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e,!1);return t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get:function(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}return t in asmLibraryArg?asmLibraryArg[t]:(t in e||(e[t]=function(){return n||(n=resolveSymbol(t)),n.apply(null,arguments)}),e[t]);var n}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func="("+args+" ) => { "+body+"};";ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(instance))}return WebAssembly.instantiate(binary,info).then((function(e){return postInstantiation(e.instance)}))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(instance)}return CurrentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,flags)}))}),Promise.resolve()).then((function(){return loadModule()})):(metadata.neededDynlibs.forEach((function(e){loadDynamicLibrary(e,flags)})),loadModule())}function loadDynamicLibrary(e,t,n){t=t||{global:!0,nodelete:!0};var r=LDSO.loadedLibsByName[e];if(r)return t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&mergeLibSymbols(r.module,e)),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,n&&(LDSO.loadedLibsByHandle[n]=r),!t.loadAsync||Promise.resolve(!0);function o(e){if(t.fs&&t.fs.findObject(e)){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}if(e=locateFile(e),t.loadAsync)return new Promise((function(t,n){readAsync(e,(e=>t(new Uint8Array(e))),n)}));if(!readBinary)throw new Error(e+": file not found, and synchronous loading of external files is not available");return readBinary(e)}function a(){if("undefined"!=typeof preloadedWasm&&preloadedWasm[e]){var r=preloadedWasm[e];return t.loadAsync?Promise.resolve(r):r}return t.loadAsync?o(e).then((function(e){return loadWebAssemblyModule(e,t,n)})):loadWebAssemblyModule(o(e),t,n)}function u(t){r.global&&mergeLibSymbols(t,e),r.module=t}return r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},LDSO.loadedLibsByName[e]=r,n&&(LDSO.loadedLibsByHandle[n]=r),t.loadAsync?a().then((function(e){return u(e),!0})):(u(a()),!0)}function reportUndefinedSymbols(){for(var e in GOT)if(0==GOT[e].value){var t=resolveGlobalSymbol(e,!0);if(!t&&!GOT[e].required)continue;if("function"==typeof t)GOT[e].value=addFunction(t,t.sig);else{if("number"!=typeof t)throw new Error("bad export type for `"+e+"`: "+typeof t);GOT[e].value=t}}}function preloadDylibs(){dynamicLibraries.length?(addRunDependency("preloadDylibs"),dynamicLibraries.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){reportUndefinedSymbols(),removeRunDependency("preloadDylibs")}))):reportUndefinedSymbols()}function setValue(e,t,n="i8"){switch(n.endsWith("*")&&(n="*"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;case"*":HEAPU32[e>>2]=t;break;default:abort("invalid type for setValue: "+n)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78144),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),nowIsMonotonic=!0,_emscripten_get_now;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function _abort(){abort("")}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(e,t,n){HEAPU8.copyWithin(e,t,t+n)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(e){try{return wasmMemory.grow(e-buffer.byteLength+65535>>>16),updateGlobalBufferAndViews(wasmMemory.buffer),1}catch(e){}}function _emscripten_resize_heap(e){var t=HEAPU8.length;e>>>=0;var n,r=getHeapMax();if(e>r)return!1;for(var o=1;o<=4;o*=2){var a=t*(1+.2/o);if(a=Math.min(a,e+100663296),emscripten_realloc_buffer(Math.min(r,(n=Math.max(e,a))+(65536-n%65536)%65536)))return!0}return!1}__emscripten_get_now_is_monotonic.sig="i",Module._abort=_abort,_abort.sig="v",_emscripten_date_now.sig="d",_emscripten_get_now=ENVIRONMENT_IS_NODE?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:()=>performance.now(),_emscripten_get_now.sig="d",_emscripten_memcpy_big.sig="vppp",_emscripten_resize_heap.sig="ip";var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(e,t,n){if(PATH.isAbs(t))return t;var r;if(r=-100===e?FS.cwd():SYSCALLS.getStreamFromFD(e).path,0==t.length){if(!n)throw new FS.ErrnoError(44);return r}return PATH.join2(r,t)},doStat:function(e,t,n){try{var r=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[n>>2]=r.dev,HEAP32[n+8>>2]=r.ino,HEAP32[n+12>>2]=r.mode,HEAPU32[n+16>>2]=r.nlink,HEAP32[n+20>>2]=r.uid,HEAP32[n+24>>2]=r.gid,HEAP32[n+28>>2]=r.rdev,tempI64=[r.size>>>0,(tempDouble=r.size,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+40>>2]=tempI64[0],HEAP32[n+44>>2]=tempI64[1],HEAP32[n+48>>2]=4096,HEAP32[n+52>>2]=r.blocks;var o=r.atime.getTime(),a=r.mtime.getTime(),u=r.ctime.getTime();return tempI64=[Math.floor(o/1e3)>>>0,(tempDouble=Math.floor(o/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+56>>2]=tempI64[0],HEAP32[n+60>>2]=tempI64[1],HEAPU32[n+64>>2]=o%1e3*1e3,tempI64=[Math.floor(a/1e3)>>>0,(tempDouble=Math.floor(a/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+72>>2]=tempI64[0],HEAP32[n+76>>2]=tempI64[1],HEAPU32[n+80>>2]=a%1e3*1e3,tempI64=[Math.floor(u/1e3)>>>0,(tempDouble=Math.floor(u/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+88>>2]=tempI64[0],HEAP32[n+92>>2]=tempI64[1],HEAPU32[n+96>>2]=u%1e3*1e3,tempI64=[r.ino>>>0,(tempDouble=r.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+104>>2]=tempI64[0],HEAP32[n+108>>2]=tempI64[1],0},doMsync:function(e,t,n,r,o){if(!FS.isFile(t.node.mode))throw new FS.ErrnoError(43);if(2&r)return 0;var a=HEAPU8.slice(e,e+n);FS.msync(t,a,o,n,r)},varargs:void 0,get:function(){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(e){return UTF8ToString(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t}};function _proc_exit(e){EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit&&Module.onExit(e),ABORT=!0),quit_(e,new ExitStatus(e))}function exitJS(e,t){EXITSTATUS=e,_proc_exit(e)}_proc_exit.sig="vi";var _exit=exitJS;function _fd_close(e){try{var t=SYSCALLS.getStreamFromFD(e);return FS.close(t),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function _fd_seek(e,t,n,r,o){try{var a=convertI32PairToI53Checked(t,n);if(isNaN(a))return 61;var u=SYSCALLS.getStreamFromFD(e);return FS.llseek(u,a,r),tempI64=[u.position>>>0,(tempDouble=u.position,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[o>>2]=tempI64[0],HEAP32[o+4>>2]=tempI64[1],u.getdents&&0===a&&0===r&&(u.getdents=null),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(e,t,n,r){for(var o=0,a=0;a<n;a++){var u=HEAPU32[t>>2],i=HEAPU32[t+4>>2];t+=8;var s=FS.write(e,HEAP8,u,i,r);if(s<0)return-1;o+=s,void 0!==r&&(r+=s)}return o}function _fd_write(e,t,n,r){try{var o=doWritev(SYSCALLS.getStreamFromFD(e),t,n);return HEAPU32[r>>2]=o,0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function _tree_sitter_log_callback(e,t){if(currentLogCallback){const n=UTF8ToString(t);currentLogCallback(n,0!==e)}}function _tree_sitter_parse_callback(e,t,n,r,o){var a=currentParseCallback(t,{row:n,column:r});"string"==typeof a?(setValue(o,a.length,"i32"),stringToUTF16(a,e,10240)):setValue(o,0,"i32")}function handleException(e){if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,n=stackAlloc(t);return stringToUTF8Array(e,HEAP8,n,t),n}function stringToUTF16(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=t,o=(n-=2)<2*e.length?n/2:e.length,a=0;a<o;++a){var u=e.charCodeAt(a);HEAP16[t>>1]=u,t+=2}return HEAP16[t>>1]=0,t-r}function AsciiToString(e){for(var t="";;){var n=HEAPU8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}_exit.sig="vi",_fd_close.sig="ii",_fd_seek.sig="iijip",_fd_write.sig="iippp";var asmLibraryArg={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,abort:_abort,emscripten_get_now:_emscripten_get_now,emscripten_memcpy_big:_emscripten_memcpy_big,emscripten_resize_heap:_emscripten_resize_heap,exit:_exit,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},asm=createWasm(),___wasm_call_ctors=Module.___wasm_call_ctors=function(){return(___wasm_call_ctors=Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=function(){return(___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=Module.asm.__wasm_apply_data_relocs).apply(null,arguments)},_malloc=Module._malloc=function(){return(_malloc=Module._malloc=Module.asm.malloc).apply(null,arguments)},_calloc=Module._calloc=function(){return(_calloc=Module._calloc=Module.asm.calloc).apply(null,arguments)},_realloc=Module._realloc=function(){return(_realloc=Module._realloc=Module.asm.realloc).apply(null,arguments)},_free=Module._free=function(){return(_free=Module._free=Module.asm.free).apply(null,arguments)},_ts_language_symbol_count=Module._ts_language_symbol_count=function(){return(_ts_language_symbol_count=Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},_ts_language_version=Module._ts_language_version=function(){return(_ts_language_version=Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},_ts_language_field_count=Module._ts_language_field_count=function(){return(_ts_language_field_count=Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},_ts_language_symbol_name=Module._ts_language_symbol_name=function(){return(_ts_language_symbol_name=Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=function(){return(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},_ts_language_symbol_type=Module._ts_language_symbol_type=function(){return(_ts_language_symbol_type=Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=function(){return(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},_memset=Module._memset=function(){return(_memset=Module._memset=Module.asm.memset).apply(null,arguments)},_memcpy=Module._memcpy=function(){return(_memcpy=Module._memcpy=Module.asm.memcpy).apply(null,arguments)},_ts_parser_delete=Module._ts_parser_delete=function(){return(_ts_parser_delete=Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},_ts_parser_reset=Module._ts_parser_reset=function(){return(_ts_parser_reset=Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},_ts_parser_set_language=Module._ts_parser_set_language=function(){return(_ts_parser_set_language=Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=function(){return(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=function(){return(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},_memmove=Module._memmove=function(){return(_memmove=Module._memmove=Module.asm.memmove).apply(null,arguments)},_memcmp=Module._memcmp=function(){return(_memcmp=Module._memcmp=Module.asm.memcmp).apply(null,arguments)},_ts_query_new=Module._ts_query_new=function(){return(_ts_query_new=Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},_ts_query_delete=Module._ts_query_delete=function(){return(_ts_query_delete=Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},_iswspace=Module._iswspace=function(){return(_iswspace=Module._iswspace=Module.asm.iswspace).apply(null,arguments)},_iswalnum=Module._iswalnum=function(){return(_iswalnum=Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},_ts_query_pattern_count=Module._ts_query_pattern_count=function(){return(_ts_query_pattern_count=Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},_ts_query_capture_count=Module._ts_query_capture_count=function(){return(_ts_query_capture_count=Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},_ts_query_string_count=Module._ts_query_string_count=function(){return(_ts_query_string_count=Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=function(){return(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=function(){return(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=function(){return(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},_ts_tree_copy=Module._ts_tree_copy=function(){return(_ts_tree_copy=Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},_ts_tree_delete=Module._ts_tree_delete=function(){return(_ts_tree_delete=Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},_ts_init=Module._ts_init=function(){return(_ts_init=Module._ts_init=Module.asm.ts_init).apply(null,arguments)},_ts_parser_new_wasm=Module._ts_parser_new_wasm=function(){return(_ts_parser_new_wasm=Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=function(){return(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=function(){return(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=function(){return(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=function(){return(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=function(){return(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=function(){return(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=function(){return(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=function(){return(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=function(){return(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=function(){return(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=function(){return(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=function(){return(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=function(){return(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=function(){return(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=function(){return(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=function(){return(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=function(){return(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=function(){return(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=function(){return(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=function(){return(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=function(){return(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=function(){return(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},_ts_node_child_wasm=Module._ts_node_child_wasm=function(){return(_ts_node_child_wasm=Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=function(){return(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=function(){return(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=function(){return(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=function(){return(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=function(){return(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=function(){return(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},_ts_node_parent_wasm=Module._ts_node_parent_wasm=function(){return(_ts_node_parent_wasm=Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=function(){return(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=function(){return(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=function(){return(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=function(){return(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=function(){return(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=function(){return(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=function(){return(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=function(){return(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=function(){return(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},_ts_node_children_wasm=Module._ts_node_children_wasm=function(){return(_ts_node_children_wasm=Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=function(){return(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=function(){return(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=function(){return(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=function(){return(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=function(){return(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=function(){return(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},_ts_query_matches_wasm=Module._ts_query_matches_wasm=function(){return(_ts_query_matches_wasm=Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},_ts_query_captures_wasm=Module._ts_query_captures_wasm=function(){return(_ts_query_captures_wasm=Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},___cxa_atexit=Module.___cxa_atexit=function(){return(___cxa_atexit=Module.___cxa_atexit=Module.asm.__cxa_atexit).apply(null,arguments)},_iswdigit=Module._iswdigit=function(){return(_iswdigit=Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},_iswalpha=Module._iswalpha=function(){return(_iswalpha=Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},_iswlower=Module._iswlower=function(){return(_iswlower=Module._iswlower=Module.asm.iswlower).apply(null,arguments)},_memchr=Module._memchr=function(){return(_memchr=Module._memchr=Module.asm.memchr).apply(null,arguments)},_strlen=Module._strlen=function(){return(_strlen=Module._strlen=Module.asm.strlen).apply(null,arguments)},_towupper=Module._towupper=function(){return(_towupper=Module._towupper=Module.asm.towupper).apply(null,arguments)},_setThrew=Module._setThrew=function(){return(_setThrew=Module._setThrew=Module.asm.setThrew).apply(null,arguments)},stackSave=Module.stackSave=function(){return(stackSave=Module.stackSave=Module.asm.stackSave).apply(null,arguments)},stackRestore=Module.stackRestore=function(){return(stackRestore=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},stackAlloc=Module.stackAlloc=function(){return(stackAlloc=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},__Znwm=Module.__Znwm=function(){return(__Znwm=Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},__ZdlPv=Module.__ZdlPv=function(){return(__ZdlPv=Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw).apply(null,arguments)},dynCall_jiji=Module.dynCall_jiji=function(){return(dynCall_jiji=Module.dynCall_jiji=Module.asm.dynCall_jiji).apply(null,arguments)},_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=function(){return(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=function(){return(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},calledRun;function callMain(e){var t=Module._main;if(t){(e=e||[]).unshift(thisProgram);var n=e.length,r=stackAlloc(4*(n+1)),o=r>>2;e.forEach((e=>{HEAP32[o++]=allocateUTF8OnStack(e)})),HEAP32[o]=0;try{var a=t(n,r);return exitJS(a,!0),a}catch(e){return handleException(e)}}}Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)};var dylibsLoaded=!1;function run(e){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),shouldRunNow&&callMain(e),postRun()))}e=e||arguments_,runDependencies>0||!dylibsLoaded&&(preloadDylibs(),dylibsLoaded=!0,runDependencies>0)||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;var VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const n=C._ts_language_version(t);if(n<MIN_COMPATIBLE_VERSION||VERSION<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)currentParseCallback=(t,n,r)=>e.slice(t,r);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let r=0,o=0;if(n&&n.includedRanges){r=n.includedRanges.length,o=C._calloc(r,SIZE_OF_RANGE);let e=o;for(let t=0;t<r;t++)marshalRange(e,n.includedRanges[t]),e+=SIZE_OF_RANGE}const a=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,o,r);if(!a)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const u=new Tree(INTERNAL,a,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,u}reset(){C._ts_parser_reset(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return C._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class Tree{constructor(e,t,n,r){assertInternal(e),this[0]=t,this.language=n,this.textCallback=r}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),n=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),r=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)r[n]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(n)}return r}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),n||(n=ZERO_POINT);const r=[],o=this.tree.language.types;for(let t=0,n=o.length;t<n;t++)e.includes(o[t])&&r.push(t);const a=C._malloc(SIZE_OF_INT*r.length);for(let e=0,t=r.length;e<t;e++)setValue(a+e*SIZE_OF_INT,r[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],a,r.length,t.row,t.column,n.row,n.column);const u=getValue(TRANSFER_BUFFER,"i32"),i=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(u);if(u>0){let e=i;for(let t=0;t<u;t++)s[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(i),C._free(a),s}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=lengthBytesUTF8(e),r=C._malloc(n+1);stringToUTF8(e,r,n+1);const o=C._ts_language_symbol_for_name(this[0],r,n,t);return C._free(r),o||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=lengthBytesUTF8(e),n=C._malloc(t+1);stringToUTF8(e,n,t+1);const r=C._ts_query_new(this[0],n,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!r){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),r=UTF8ToString(n,getValue(TRANSFER_BUFFER,"i32")).length,o=e.substr(r,100).split("\n")[0];let a,u=o.match(QUERY_WORD_REGEX)[0];switch(t){case 2:a=new RangeError(`Bad node name '${u}'`);break;case 3:a=new RangeError(`Bad field name '${u}'`);break;case 4:a=new RangeError(`Bad capture name @${u}`);break;case 5:a=new TypeError(`Bad pattern structure at offset ${r}: '${o}'...`),u="";break;default:a=new SyntaxError(`Bad syntax at offset ${r}: '${o}'...`),u=""}throw a.index=r,a.length=u.length,C._free(n),a}const o=C._ts_query_string_count(r),a=C._ts_query_capture_count(r),u=C._ts_query_pattern_count(r),i=new Array(a),s=new Array(o);for(let e=0;e<a;e++){const t=C._ts_query_capture_name_for_id(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");i[e]=UTF8ToString(t,n)}for(let e=0;e<o;e++){const t=C._ts_query_string_value_for_id(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");s[e]=UTF8ToString(t,n)}const _=new Array(u),l=new Array(u),c=new Array(u),f=new Array(u),d=new Array(u);for(let e=0;e<u;e++){const t=C._ts_query_predicates_for_pattern(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");f[e]=[],d[e]=[];const o=[];let a=t;for(let t=0;t<n;t++){const t=getValue(a,"i32");a+=SIZE_OF_INT;const n=getValue(a,"i32");if(a+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)o.push({type:"capture",name:i[n]});else if(t===PREDICATE_STEP_TYPE_STRING)o.push({type:"string",value:s[n]});else if(o.length>0){if("string"!==o[0].type)throw new Error("Predicates must begin with a literal value");const t=o[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==o.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(o.length-1));if("capture"!==o[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${o[1].value}"`);if("capture"===o[2].type){const t=o[1].name,r=o[2].name;d[e].push((function(e){let o,a;for(const n of e)n.name===t&&(o=n.node),n.name===r&&(a=n.node);return void 0===o||void 0===a||o.text===a.text===n}))}else{const t=o[1].name,r=o[2].value;d[e].push((function(e){for(const o of e)if(o.name===t)return o.node.text===r===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==o.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${o.length-1}.`);if("capture"!==o[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${o[1].value}".`);if("string"!==o[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${o[2].value}.`);const r=o[1].name,a=new RegExp(o[2].value);d[e].push((function(e){for(const t of e)if(t.name===r)return a.test(t.node.text)===n;return!0}));break;case"set!":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');_[e]||(_[e]={}),_[e][o[1].value]=o[2]?o[2].value:null;break;case"is?":case"is-not?":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const u="is?"===t?l:c;u[e]||(u[e]={}),u[e][o[1].value]=o[2]?o[2].value:null;break;default:f[e].push({operator:t,operands:o.slice(1)})}o.length=0}}Object.freeze(_[e]),Object.freeze(l[e]),Object.freeze(c[e])}return C._free(n),new Query(INTERNAL,r,i,d,f,Object.freeze(_),Object.freeze(l),Object.freeze(c))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(66317);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:loadWebAssemblyModule;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const r=e[n]();return new Language(INTERNAL,r)}))}}class Query{constructor(e,t,n,r,o,a,u,i){assertInternal(e),this[0]=t,this.captureNames=n,this.textPredicates=r,this.predicates=o,this.setProperties=a,this.assertedProperties=u,this.refutedProperties=i,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,r){t||(t=ZERO_POINT),n||(n=ZERO_POINT),r||(r={});let o=r.matchLimit;if(void 0===o)o=0;else if("number"!=typeof o)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,o);const a=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),i=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),s=new Array(a);this.exceededMatchLimit=!!i;let _=0,l=u;for(let t=0;t<a;t++){const n=getValue(l,"i32");l+=SIZE_OF_INT;const r=getValue(l,"i32");l+=SIZE_OF_INT;const o=new Array(r);if(l=unmarshalCaptures(this,e.tree,l,o),this.textPredicates[n].every((e=>e(o)))){s[_++]={pattern:n,captures:o};const e=this.setProperties[n];e&&(s[t].setProperties=e);const r=this.assertedProperties[n];r&&(s[t].assertedProperties=r);const a=this.refutedProperties[n];a&&(s[t].refutedProperties=a)}}return s.length=_,C._free(u),s}captures(e,t,n,r){t||(t=ZERO_POINT),n||(n=ZERO_POINT),r||(r={});let o=r.matchLimit;if(void 0===o)o=0;else if("number"!=typeof o)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,o);const a=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),i=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),s=[];this.exceededMatchLimit=!!i;const _=[];let l=u;for(let t=0;t<a;t++){const t=getValue(l,"i32");l+=SIZE_OF_INT;const n=getValue(l,"i32");l+=SIZE_OF_INT;const r=getValue(l,"i32");if(l+=SIZE_OF_INT,_.length=n,l=unmarshalCaptures(this,e.tree,l,_),this.textPredicates[t].every((e=>e(_)))){const e=_[r],n=this.setProperties[t];n&&(e.setProperties=n);const o=this.assertedProperties[t];o&&(e.assertedProperties=o);const a=this.refutedProperties[t];a&&(e.refutedProperties=a),s.push(e)}}return C._free(u),s}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,n){const r=n-t;let o=e.textCallback(t,null,n);for(t+=o.length;t<n;){const r=e.textCallback(t,null,n);if(!(r&&r.length>0))break;t+=r.length,o+=r}return t>n&&(o=o.slice(0,r)),o}function unmarshalCaptures(e,t,n,r){for(let o=0,a=r.length;o<a;o++){const a=getValue(n,"i32"),u=unmarshalNode(t,n+=SIZE_OF_INT);n+=SIZE_OF_NODE,r[o]={name:e.captureNames[a],node:u}}return n}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const n=getValue(t,"i32");if(0===n)return null;const r=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),a=getValue(t+=SIZE_OF_INT,"i32"),u=getValue(t+=SIZE_OF_INT,"i32"),i=new Node(INTERNAL,e);return i.id=n,i.startIndex=r,i.startPosition={row:o,column:a},i[0]=u,i}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32"),column:getValue(e+SIZE_OF_INT,"i32")}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32"),e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32"),t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},19637:function(e,t,n){"use strict";e.exports=n.p+"3055f0c5f4843ded29b1.wasm"}}]); +//# sourceMappingURL=1066.81b49a8822b54303f72b.js.map
\ No newline at end of file diff --git a/1066.81b49a8822b54303f72b.js.LICENSE.txt b/1066.81b49a8822b54303f72b.js.LICENSE.txt new file mode 100644 index 0000000..b1121f5 --- /dev/null +++ b/1066.81b49a8822b54303f72b.js.LICENSE.txt @@ -0,0 +1,8 @@ +/** + * @license + * Lodash <https://lodash.com/> + * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> + * Released under MIT license <https://lodash.com/license> + * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ diff --git a/2243.3f8df9113303624a0a72.js b/2243.3f8df9113303624a0a72.js new file mode 100644 index 0000000..4cb9aef --- /dev/null +++ b/2243.3f8df9113303624a0a72.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2243],{52329:function(n){n.exports=function(n,t){for(var r=-1,u=null==n?0:n.length,o=Array(u);++r<u;)o[r]=t(n[r],r,n);return o}},91127:function(n,t,r){var u=r(5971),o=r(48493)(u);n.exports=o},5971:function(n,t,r){var u=r(58677),o=r(68552);n.exports=function(n,t){return n&&u(n,t,o)}},91391:function(n,t,r){var u=r(19953),o=r(52035);n.exports=function(n,t){for(var r=0,e=(t=u(t,n)).length;null!=n&&r<e;)n=n[o(t[r++])];return r&&r==e?n:void 0}},83744:function(n){n.exports=function(n,t){return null!=n&&t in Object(n)}},91405:function(n,t,r){var u=r(88965),o=r(94031),e=r(51750),i=r(36605),f=r(3382);n.exports=function(n){return"function"==typeof n?n:null==n?e:"object"==typeof n?i(n)?o(n[0],n[1]):u(n):f(n)}},72334:function(n,t,r){var u=r(91127),o=r(13063);n.exports=function(n,t){var r=-1,e=o(n)?Array(n.length):[];return u(n,(function(n,u,o){e[++r]=t(n,u,o)})),e}},88965:function(n,t,r){var u=r(22351),o=r(55554),e=r(40703);n.exports=function(n){var t=o(n);return 1==t.length&&t[0][2]?e(t[0][0],t[0][1]):function(r){return r===n||u(r,n,t)}}},94031:function(n,t,r){var u=r(34457),o=r(41953),e=r(91289),i=r(96077),f=r(40012),c=r(40703),a=r(52035);n.exports=function(n,t){return i(n)&&f(t)?c(a(n),t):function(r){var i=o(r,n);return void 0===i&&i===t?e(r,n):u(t,i,3)}}},96819:function(n){n.exports=function(n){return function(t){return null==t?void 0:t[n]}}},29983:function(n,t,r){var u=r(91391);n.exports=function(n){return function(t){return u(t,n)}}},16529:function(n,t,r){var u=r(28603),o=r(52329),e=r(36605),i=r(14573),f=u?u.prototype:void 0,c=f?f.toString:void 0;n.exports=function n(t){if("string"==typeof t)return t;if(e(t))return o(t,n)+"";if(i(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},19953:function(n,t,r){var u=r(36605),o=r(96077),e=r(80284),i=r(6607);n.exports=function(n,t){return u(n)?n:o(n,t)?[n]:e(i(n))}},48493:function(n,t,r){var u=r(13063);n.exports=function(n,t){return function(r,o){if(null==r)return r;if(!u(r))return n(r,o);for(var e=r.length,i=t?e:-1,f=Object(r);(t?i--:++i<e)&&!1!==o(f[i],i,f););return r}}},12402:function(n,t,r){var u=r(19953),o=r(25061),e=r(36605),i=r(80140),f=r(3913),c=r(52035);n.exports=function(n,t,r){for(var a=-1,p=(t=u(t,n)).length,l=!1;++a<p;){var v=c(t[a]);if(!(l=null!=n&&r(n,v)))break;n=n[v]}return l||++a!=p?l:!!(p=null==n?0:n.length)&&f(p)&&i(v,p)&&(e(n)||o(n))}},96077:function(n,t,r){var u=r(36605),o=r(14573),e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;n.exports=function(n,t){if(u(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!o(n))||i.test(n)||!e.test(n)||null!=t&&n in Object(t)}},40703:function(n){n.exports=function(n,t){return function(r){return null!=r&&r[n]===t&&(void 0!==t||n in Object(r))}}},85025:function(n,t,r){var u=r(99882);n.exports=function(n){var t=u(n,(function(n){return 500===r.size&&r.clear(),n})),r=t.cache;return t}},80284:function(n,t,r){var u=r(85025),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,e=/\\(\\)?/g,i=u((function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(o,(function(n,r,u,o){t.push(u?o.replace(e,"$1"):r||n)})),t}));n.exports=i},52035:function(n,t,r){var u=r(14573);n.exports=function(n){if("string"==typeof n||u(n))return n;var t=n+"";return"0"==t&&1/n==-Infinity?"-0":t}},41953:function(n,t,r){var u=r(91391);n.exports=function(n,t,r){var o=null==n?void 0:u(n,t);return void 0===o?r:o}},91289:function(n,t,r){var u=r(83744),o=r(12402);n.exports=function(n,t){return null!=n&&o(n,t,u)}},72243:function(n,t,r){var u=r(52329),o=r(91405),e=r(72334),i=r(36605);n.exports=function(n,t){return(i(n)?u:e)(n,o(t,3))}},99882:function(n,t,r){var u=r(14152),o="Expected a function";function e(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var u=arguments,o=t?t.apply(this,u):u[0],e=r.cache;if(e.has(o))return e.get(o);var i=n.apply(this,u);return r.cache=e.set(o,i)||e,i};return r.cache=new(e.Cache||u),r}e.Cache=u,n.exports=e},3382:function(n,t,r){var u=r(96819),o=r(29983),e=r(96077),i=r(52035);n.exports=function(n){return e(n)?u(i(n)):o(n)}},6607:function(n,t,r){var u=r(16529);n.exports=function(n){return null==n?"":u(n)}}}]); +//# sourceMappingURL=2243.3f8df9113303624a0a72.js.map
\ No newline at end of file diff --git a/8205.f073f9f3f61dadad9d21.js b/8205.f073f9f3f61dadad9d21.js new file mode 100644 index 0000000..833261c --- /dev/null +++ b/8205.f073f9f3f61dadad9d21.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8205],{15023:function(e,t,n){"use strict";n.d(t,{Z:function(){return Se}});var r=n(39693),o=n.n(r),i=n(67294),u=n(45697),a=n.n(u),c=n(26417),l=n(32732),s=n(91118),f=n(94184),y=n.n(f),b=n(93379),p=n.n(b),d=n(7795),m=n.n(d),v=n(90569),h=n.n(v),g=n(3565),A=n.n(g),j=n(19216),O=n.n(j),w=n(44589),S=n.n(w),C=n(57141),E={};E.styleTagTransform=S(),E.setAttributes=A(),E.insert=h().bind(null,"head"),E.domAPI=m(),E.insertStyleElement=O(),p()(C.Z,E);var x=C.Z&&C.Z.locals?C.Z.locals:void 0,k=n(74691),P=n.n(k),D=n(39316);function T(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,u,a=[],c=!0,l=!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)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(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 I(e,t){return{x:t.x-e.x,y:t.y-e.y}}function B(e,t){return e.x*t.y-e.y*t.x}function R(e,t){var n=T(e,2),r=n[0],o=n[1],i=T(t,2),u=i[0],a=i[1],c=I(r,o),l=I(u,a),s=B(c,I(o,u)),f=B(c,I(o,a)),y=B(l,I(a,r)),b=B(l,I(a,o));return Math.sign(s)!==Math.sign(f)&&Math.sign(y)!==Math.sign(b)}function Z(e){var t=T(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return[[n,r],[r,o],[o,i],[i,n]]}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function 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 _(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){z(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 z(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==N(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===N(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(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,u,a=[],c=!0,l=!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)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(e,t)||K(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 K(e,t){if(e){if("string"==typeof e)return q(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)?q(e,t):void 0}}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var F="add",V="remove",X="box",Y="path",G=(0,i.createContext)({});function H(e,t){var n=function(){var e=U((0,i.useReducer)($,null,W),2),t=e[0],n=e[1],r=(0,i.useCallback)((function(e){return n({type:"set_style",style:e})}),[n]),o=(0,i.useCallback)((function(e){return n({type:"set_mode",mode:e})}),[n]);return[t,{setStyle:r,setMode:o,beginDrag:(0,i.useCallback)((function(e,t){return n({type:"begin",startPoint:e,offsetRect:t})}),[n]),endDrag:(0,i.useCallback)((function(){return n({type:"end"})}),[n]),drag:(0,i.useCallback)((function(e,t){return n({type:"drag",clientX:e,clientY:t})}),[n])}]}(),r=U(n,2),o=r[0],u=r[1],a=o.style,c=o.mode,l=o.start,s=o.rect,f=o.trail,y=u.setStyle,b=u.setMode,p=u.beginDrag,d=u.endDrag,m=u.drag,v=(0,i.useMemo)((function(){return s&&(Math.abs(s[0][0]-s[1][0])>3||Math.abs(s[0][1]-s[1][1])>3)}),[s]),h=(0,i.useMemo)((function(){return e.map(D.VW).reduce(D.FP)}),[e]),g=(0,i.useMemo)((function(){return v?a===X?function(e,t){var n=Z(function(e){var t=T(e,2),n=T(t[0],2),r=n[0],o=n[1],i=T(t[1],2),u=i[0],a=i[1];return[{x:r,y:o},{x:r,y:a},{x:u,y:a},{x:u,y:o}]}(e));return t.reduce((function(t,r,o){return(r.some((function(t){return n=e,o=(r=t).x,i=r.y,n[0][0]<o&&o<n[1][0]&&n[0][1]<i&&i<n[1][1];var n,r,o,i}))||Z(r).some((function(e){return n.some((function(t){return R(e,t)}))})))&&t.push(o),t}),[])}(s,e):function(e,t){var n=e.map((function(e){var t=T(e,2);return{x:t[0],y:t[1]}})).reduce((function(e,t,n,r){return n<r.length-1&&e.push([t,r[n+1]]),e}),[]);return t.reduce((function(e,t,r){return Z(t).some((function(e){return n.some((function(t){return R(e,t)}))}))&&e.push(r),e}),[])}(f,e):[]}),[e,v,a,s,f]),A=(0,i.useCallback)((function(e){return y(e)}),[y]),j=(0,i.useCallback)((function(e){c===F&&e.shiftKey&&b(V)}),[c,b]),O=(0,i.useCallback)((function(e){c!==V||e.shiftKey||b(F)}),[c,b]),w=(0,i.useCallback)((function(e){var t=function(e){for(;(e=e.parentNode)&&("relative"!==e.style.position||!e.getBoundingClientRect().height););return e}(e.target).getBoundingClientRect(),n=e.clientX,r=e.clientY;e.preventDefault(),p([n,r],t)}),[p]),S=(0,i.useCallback)((function(e){l&&m(e.clientX,e.clientY)}),[l,m]),C=(0,i.useCallback)((function(e){l&&(v&&t({mode:c,intersections:g}),d())}),[t,g,c,l,v,d]);return(0,i.useEffect)((function(){return window.addEventListener("mouseup",C),window.addEventListener("mousemove",S),window.addEventListener("keydown",j),window.addEventListener("keyup",O),function(){window.removeEventListener("mouseup",C),window.removeEventListener("mousemove",S),window.removeEventListener("keydown",j),window.removeEventListener("keyup",O)}}),[C,S,j,O]),_(_({},o),{},{boundingBox:h,selecting:v,intersections:g,onMouseDown:w,onChangeStyle:A})}function W(){return{style:X,mode:F,start:null,trail:null,rect:null,offsetRect:null}}function $(e,t){switch(t.type){case"set_style":return _(_({},e),{},{style:t.style});case"set_mode":return _(_({},e),{},{mode:t.mode});case"begin":return _(_({},e),{},{start:[t.startPoint[0]-t.offsetRect.left,t.startPoint[1]-t.offsetRect.top],offsetRect:t.offsetRect,trail:[]});case"end":return _(_({},e),{},{start:null,negate:!1,trail:null,rect:null});case"drag":return _(_({},e),{},{rect:J(e,t),trail:Q(e,t)});default:throw new Error('Unknown action "'.concat(t.type,'"'))}}function J(e,t){var n=e.start,r=e.offsetRect,o=t.clientX,i=t.clientY,u=U(n,2),a=u[0],c=u[1],l=P()(o,r.left,r.right)-r.left,s=P()(i,r.top,r.bottom)-r.top;return[[Math.min(l,a),Math.min(s,c)],[Math.max(l,a),Math.max(s,c)]]}function Q(e,t){var n,r=e.trail,o=e.offsetRect,i=t.clientX,u=t.clientY,a=[i-o.left,u-o.top];return[].concat(function(e){if(Array.isArray(e))return q(e)}(n=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||K(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[a])}var ee=n(85893);function te(e){return te="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},te(e)}function ne(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,u,a=[],c=!0,l=!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)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(e,t)||re(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 re(e,t){if(e){if("string"==typeof e)return oe(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)?oe(e,t):void 0}}function oe(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 ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==te(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==te(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===te(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e){var t=e.style,n=e.selecting,r=e.children,o=e.onMouseDown,i=e.mode,u=e.intersections;return(0,ee.jsx)("div",{style:{position:"relative"},children:(0,ee.jsx)("div",{onMouseDown:o,className:y()(x.container,ae({},x.selecting,n)),children:(0,ee.jsxs)(G.Provider,{value:{dragMode:i,intersections:u},children:[r,n&&t===X&&(0,ee.jsx)(le,ue({},e)),n&&t===Y&&(0,ee.jsx)(se,ue({},e))]})})})}function le(e){var t=e.mode,n=ne(e.rect,2),r=n[0],o=n[1],i=Math.abs(r[0]-o[0])+"px",u=Math.abs(r[1]-o[1])+"px";return(0,ee.jsx)("div",{className:y()(x.overlay,ae({},x.negate,t===V)),style:{position:"absolute",top:r[1]+"px",left:r[0]+"px",width:i,height:u}})}function se(e){var t,n=e.start,r=e.trail,o=e.boundingBox,i=["M ".concat(n[0]," ").concat(n[1])].concat((t=r.map((function(e){var t=ne(e,2),n=t[0],r=t[1];return"L ".concat(n," ").concat(r)})),function(e){if(Array.isArray(e))return oe(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||re(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("\n"),u="0 0 ".concat(o.max.x," ").concat(o.max.y);return(0,ee.jsx)("div",{style:{position:"absolute",pointerEvents:"none",top:0,left:0,width:"100%",height:"100%"},children:(0,ee.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:u,children:(0,ee.jsx)("path",{fill:"none",stroke:"royalblue",strokeWidth:"2",strokeDasharray:"4 2",d:i})})})}var fe=n(48118),ye=n(2062),be=n(20817);function pe(e){return pe="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},pe(e)}function de(e){return function(e){if(Array.isArray(e))return je(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ae(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 me(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?me(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==pe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===pe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ae(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,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function Ae(e,t){if(e){if("string"==typeof e)return je(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)?je(e,t):void 0}}function je(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 Oe=.2,we=function(e){var t,n=(0,c.eG)(e,{scale:Oe}),r=ge(n);try{for(r.s();!(t=r.n()).done;){var o,i=ge(t.value);try{for(i.s();!(o=i.n()).done;){var u=o.value;u.x*=Oe,u.y*=Oe}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}return n};function Se(e){var t,n,r,u,a,c,f,y,b,p=e.value,d=e.prompt,m=e.onUpdate,v=(0,i.useContext)(be.V).layout,h=(0,i.useMemo)((function(){return we(v)}),[v]),g=(y=(0,i.useReducer)((function(e,t){switch(t){case"INCREMENT_MANUAL_SELECTION":return ve(ve({},e),{},{manualSelectionCount:e.manualSelectionCount+1});case"INCREMENT_MANUAL_DESELECTION":return ve(ve({},e),{},{manualDeSelectionCount:e.manualDeSelectionCount+1});case"TRACK_DRAG_SELECTION":return ve(ve({},e),{},{usedDragSelection:!0});case"TRACK_DRAG_DESELECTION":return ve(ve({},e),{},{usedDragDeSelection:!0});default:throw new Error("Unrecognized action type in ".concat(t))}}),{manualSelectionCount:0,manualDeSelectionCount:0,usedDragSelection:!1,usedDragDeSelection:!1}),b=2,n=(t=function(e){if(Array.isArray(e))return e}(y)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,l=!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)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}(y,b)||Ae(y,b)||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],r=t[1],u=(0,i.useCallback)((function(){return r("INCREMENT_MANUAL_SELECTION")}),[r]),a=(0,i.useCallback)((function(){return r("INCREMENT_MANUAL_DESELECTION")}),[r]),c=(0,i.useCallback)((function(){return r("TRACK_DRAG_SELECTION")}),[r]),f=(0,i.useCallback)((function(){return r("TRACK_DRAG_DESELECTION")}),[r]),{showSelectTip:!n.usedDragSelection&&n.manualSelectionCount>3,showDeSelectTip:!n.usedDragDeSelection&&n.manualDeSelectionCount>3,actions:{manualSelection:u,manualDeSelection:a,dragSelection:c,dragDeSelection:f}}),A=g.showSelectTip,j=g.showDeSelectTip,O=g.actions,w=(0,i.useCallback)((function(e){var t=e.mode,n=e.intersections,r=t===V;r?O.dragDeSelection():O.dragSelection(),m(r?p.filter((function(e){return!n.includes(e)})):[].concat(de(p),de(n)))}),[p,m,O]),S=(0,i.useCallback)((function(e){var t=p.includes(e);t?O.manualDeSelection():O.manualSelection(),m(t?p.filter((function(t){return t!==e})):[].concat(de(p),[e]))}),[p,m,O]),C=H(h,w),E=C.intersections,x=C.mode,k=p,P=x===V?[]:E.filter((function(e){return!k.includes(e)})),D=x===V?E.filter((function(e){return k.includes(e)})):[];return(0,ee.jsxs)(ce,ve(ve({},C),{},{children:[(0,ee.jsx)(l.Z,{layout:v,bindings:[],scale:Oe,renderKey:function(e){var t=e.index;return(0,ee.jsx)(s.Z,{onClick:function(){return S(t)},themeClass:o()([fe.Z.key,k.includes(t)&&fe.Z.highlight,P.includes(t)&&fe.Z.previewAdd,D.includes(t)&&fe.Z.previewRemove]).join(" ")})}}),d&&(0,ee.jsx)("prompt",{}),A&&(0,ee.jsx)(ye.Z,{className:fe.Z.tip,children:(0,ee.jsx)("span",{children:"Drag to select a region"})}),j&&(0,ee.jsx)(ye.Z,{className:fe.Z.tip,children:(0,ee.jsx)("span",{children:"Shift+Drag to de-select a region"})})]}))}Se.propTypes={onUpdate:a().func.isRequired,value:a().arrayOf(a().number).isRequired,prompt:a().node}},32732:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(45697),o=n.n(r),i=n(67294),u=n(78718),a=n.n(u),c=n(39316),l=n(95872);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 f(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={x:o().number.isRequired,y:o().number.isRequired},d={a:o().number,rx:o().number,ry:o().number},m={u:o().number,h:o().number},v=o().shape(y(y(y({},p),d),m)),h=o().arrayOf(v),g=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 j=["keyLayout","renderOptions","children"];function O(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?O(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(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 C=function(e){return a()(e,["x","y"])},E=function(e){return{x:e.rx,y:e.ry,a:e.r}},x=function(e){var t=e.w,n=void 0===t?1:t,r=e.u,o=void 0===r?n:r,i=e.h;return{u:o,h:void 0===i?1:i}};function k(e){var t=e.keyLayout,n=e.renderOptions,r=e.children,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,j),i=C(t),u=E(t),a=x(t),s=(0,c.Pi)(i,a,u,n);return(0,g.jsx)("div",w(w({className:l.Z.placer,style:s,"data-u":a.u,"data-h":a.h},o),{},{children:r}))}k.propTypes={scale:o().number,keyLayout:v.isRequired},k.defaultProps={scale:1};var P=k,D=n(20817),T=n(26417);function M(e){var t=e.layout,n=e.renderKey,r=e.scale,o=e.renderOptions,u=(0,i.useContext)(D.V),a=u.layout,c=u.wrapperDimensions,l=t||a,s=(0,i.useMemo)((function(){return(0,T.fI)(c,{scale:r,overrides:{position:"relative",padding:0,margin:0}})}),[r,c]),f=(0,i.useMemo)((function(){return{transform:"scale(".concat(r,")"),transformOrigin:0}}),[r]);return(0,g.jsx)("div",{style:s,children:(0,g.jsx)("div",{style:f,children:l.map((function(e,t){return(0,g.jsx)(P,{keyLayout:e,renderOptions:o,children:n({index:t,keyLayout:e})},t)}))})})}M.propTypes={layout:h,renderKey:o().func.isRequired,scale:o().number},M.defaultProps={scale:1}},57141:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),u=n.n(i)()(o());u.push([e.id,".beN98YLA7pgetUFERZiy.l89ME8s61u2Ef93va4w0 {\n cursor: crosshair;\n}\n\n.mpuOZiVdjhHzyeC13usG {\n position: relative;\n background-color: hsla(225, 73%, 57%, 0.103);\n border: 3px dotted hsla(225, 73%, 57%, 0.7);\n pointer-events: none;\n box-sizing: border-box;\n}\n\n.mpuOZiVdjhHzyeC13usG.B2x7xPuxYUZ62rCQlDVo {\n background-color: rgba(120, 120, 120, 0.1);\n border-color: rgba(120, 120, 120, 0.25);\n}\n","",{version:3,sources:["webpack://./src/Keyboard/Common/DragSelector/dragSelector.module.css"],names:[],mappings:"AAAA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,4CAA4C;EAC5C,2CAA2C;EAC3C,oBAAoB;EACpB,sBAAsB;AACxB;;AAEA;EACE,0CAA0C;EAC1C,uCAAuC;AACzC",sourcesContent:[".container.selecting {\n cursor: crosshair;\n}\n\n.overlay {\n position: relative;\n background-color: hsla(225, 73%, 57%, 0.103);\n border: 3px dotted hsla(225, 73%, 57%, 0.7);\n pointer-events: none;\n box-sizing: border-box;\n}\n\n.overlay.negate {\n background-color: rgba(120, 120, 120, 0.1);\n border-color: rgba(120, 120, 120, 0.25);\n}\n"],sourceRoot:""}]),u.locals={container:"beN98YLA7pgetUFERZiy",selecting:"l89ME8s61u2Ef93va4w0",overlay:"mpuOZiVdjhHzyeC13usG",negate:"B2x7xPuxYUZ62rCQlDVo"},t.Z=u},49040:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),u=n.n(i)()(o());u.push([e.id,".lD5TsvdIbEAHNdmhfnlb {\n background-color: var(--key-bg-base);\n}\n.yk89E4zK9zlO69OXhKn5:hover {\n cursor: pointer;\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.pzTvsxKjpy6MqcFhxh9j {\n background-color: var(--selection);\n}\n.pzTvsxKjpy6MqcFhxh9j:hover {\n background-color: var(--hover-selection);\n}\n\n.r_Sdklnj57CE2ZjnBDw6 {\n background-color: var(--hover-selection);\n filter: brightness(135%);\n}\n\n.Ich9T1nSzHs1a84insfp {\n background-color: var(--hover-selection);\n filter: brightness(75%);\n}\n\n._3U1zi1J1sXT41AzpAA1j {\n position: absolute;\n bottom: 0;\n right: 50%;\n transform: translate(50%, 100%);\n}\n\n.f38_8PxgThEPWT2hn3qF {\n border-radius: 1px;\n}","",{version:3,sources:["webpack://./src/Keyboard/Common/keyPositionSelectorStyles.module.css"],names:[],mappings:"AAAA;EACE,oCAAoC;AACtC;AACA;EACE,eAAe;EACf,kCAAkC;EAClC,sBAAsB;AACxB;;AAEA;EACE,kCAAkC;AACpC;AACA;EACE,wCAAwC;AAC1C;;AAEA;EACE,wCAAwC;EACxC,wBAAwB;AAC1B;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;AACzB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,UAAU;EACV,+BAA+B;AACjC;;AAEA;EACE,kBAAkB;AACpB",sourcesContent:[".key {\n background-color: var(--key-bg-base);\n}\n.selectable:hover {\n cursor: pointer;\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.highlight {\n background-color: var(--selection);\n}\n.highlight:hover {\n background-color: var(--hover-selection);\n}\n\n.previewAdd {\n background-color: var(--hover-selection);\n filter: brightness(135%);\n}\n\n.previewRemove {\n background-color: var(--hover-selection);\n filter: brightness(75%);\n}\n\n.tip {\n position: absolute;\n bottom: 0;\n right: 50%;\n transform: translate(50%, 100%);\n}\n\n.keyMini {\n border-radius: 1px;\n}"],sourceRoot:""}]),u.locals={key:"lD5TsvdIbEAHNdmhfnlb",selectable:"yk89E4zK9zlO69OXhKn5",highlight:"pzTvsxKjpy6MqcFhxh9j",previewAdd:"r_Sdklnj57CE2ZjnBDw6",previewRemove:"Ich9T1nSzHs1a84insfp",tip:"_3U1zi1J1sXT41AzpAA1j",keyMini:"f38_8PxgThEPWT2hn3qF"},t.Z=u},29750:function(e){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},14259:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},57406:function(e,t,n){var r=n(71811),o=n(10928),i=n(40292),u=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[u(o(t))]}},60696:function(e,t,n){var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},40292:function(e,t,n){var r=n(97786),o=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},74691:function(e,t,n){var r=n(29750),o=n(14841);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=o(n))==n?n:0),void 0!==t&&(t=(t=o(t))==t?t:0),r(o(e),t,n)}},68630:function(e,t,n){var r=n(44239),o=n(85924),i=n(37005),u=Function.prototype,a=Object.prototype,c=u.toString,l=a.hasOwnProperty,s=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==s}},10928:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},57557:function(e,t,n){var r=n(29932),o=n(85990),i=n(57406),u=n(71811),a=n(98363),c=n(60696),l=n(99021),s=n(46904),f=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=u(t,e),l||(l=t.length>1),t})),a(e,s(e),n),l&&(n=o(n,7,c));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},48118:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(7795),u=n.n(i),a=n(90569),c=n.n(a),l=n(3565),s=n.n(l),f=n(19216),y=n.n(f),b=n(44589),p=n.n(b),d=n(49040),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=u(),m.insertStyleElement=y(),o()(d.Z,m),t.Z=d.Z&&d.Z.locals?d.Z.locals:void 0}}]); +//# sourceMappingURL=8205.f073f9f3f61dadad9d21.js.map
\ No newline at end of file diff --git a/BehaviorEditorTab.f5eeafe5b03978652c26.js b/BehaviorEditorTab.f5eeafe5b03978652c26.js new file mode 100644 index 0000000..b6c6167 --- /dev/null +++ b/BehaviorEditorTab.f5eeafe5b03978652c26.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5868],{97494:function(e,r,n){n.d(r,{Z:function(){return S}});var t=n(45697),o=n.n(t),i=n(93379),a=n.n(i),l=n(7795),c=n.n(l),u=n(90569),s=n.n(u),p=n(3565),d=n.n(p),f=n(19216),y=n.n(f),b=n(44589),m=n.n(b),h=n(33988),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=c(),A.insertStyleElement=y(),a()(h.Z,A);var v=h.Z&&h.Z.locals?h.Z.locals:void 0,j=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 x=["validator","required","value"];function C(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function O(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?C(Object(n),!0).forEach((function(r){w(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function w(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==g(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function S(e){var r=e.validator,n=e.required,t=void 0!==n&&n,o=e.value,i=void 0===o?"":o,a=function(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},i=Object.keys(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)n=i[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,x),l=r(i)||!i&&t&&"cannot be empty";return(0,j.jsxs)("span",{className:v.wrapper,children:[(0,j.jsx)("input",O({type:"text",value:i},a)),l&&(0,j.jsx)("span",{className:v.error,children:l})]})}S.propTypes={value:o().any.isRequired,required:o().bool,validator:o().func}},32098:function(e,r,n){n.r(r),n.d(r,{default:function(){return Yr}});var t=n(67294),o=n(95998),i=n(27926),a=n(41051),l=n(50361),c=n.n(l),u=n(57557),s=n.n(u),p=n(96186),d=n(64261),f=n(18311),y=n(49443),b=n(85893);function m(e){return m="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},m(e)}function h(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function A(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?h(Object(n),!0).forEach((function(r){v(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function v(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==m(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==m(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===m(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e){var r=e.node;return(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{children:(0,b.jsx)("code",{children:r.properties.compatible.parsed})}),(0,b.jsx)(y.Z,A({},e))]})}var g=n(93379),x=n.n(g),C=n(7795),O=n.n(C),w=n(90569),S=n.n(w),E=n(3565),P=n.n(E),k=n(19216),B=n.n(k),D=n(44589),Z=n.n(D),U=n(34288),R={};R.styleTagTransform=Z(),R.setAttributes=P(),R.insert=S().bind(null,"head"),R.domAPI=O(),R.insertStyleElement=B(),x()(U.Z,R);var I=U.Z&&U.Z.locals?U.Z.locals:void 0;function N(e){var r=e.property,n=e.schema,t=e.required,o=void 0!==t&&t;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("span",{className:I.propertyName,title:r,children:[r,o&&(0,b.jsx)("span",{className:I.requiredIndicator,children:"*"})]}),n.deprecatedBy&&(0,b.jsx)("sub",{className:I.propertyDeprecation,children:"(deprecated)"})]})}var q=n(45697),T=n.n(q),M=n(15023),V=n(27470),K={};K.styleTagTransform=Z(),K.setAttributes=P(),K.insert=S().bind(null,"head"),K.domAPI=O(),K.insertStyleElement=B(),x()(V.Z,K);var z=V.Z&&V.Z.locals?V.Z.locals:void 0;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 Y(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function G(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Y(Object(n),!0).forEach((function(r){W(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function W(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==F(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==F(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===F(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function X(e){var r=e.prop,n=e.schema,t=e.onUpdate;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(a.Z,{name:"code",title:"Raw property value"})," ",(0,b.jsx)("input",{required:null==n?void 0:n.required,value:null==r?void 0:r.raw,onChange:function(e){return t(G(G({},r),{},{raw:e.target.value,useRaw:!0}))}})]})}function _(e){var r=e.schema;return(0,b.jsx)("span",{className:[z.propertyValue,z.readonly].join(" "),children:r.const})}function Q(e){var r,n=e.prop,t=e.schema,o=e.onUpdate;return(0,b.jsx)("input",{type:"text",className:z.propertyValue,value:null!==(r=null==n?void 0:n.parsed)&&void 0!==r?r:"",placeholder:t.default&&"Default: ".concat(t.default),onChange:function(e){o(G(G({},n),{},{parsed:e.target.value,useRaw:!1}))}})}function L(e){var r,n=e.prop,t=e.schema,o=e.onUpdate;return(0,b.jsx)("input",{type:"number",className:z.propertyValue,value:null!==(r=null==n?void 0:n.parsed)&&void 0!==r?r:"",placeholder:t.default&&"Default: ".concat(t.default),onChange:function(e){o(G(G({},n),{},{parsed:Number(e.target.value),useRaw:!1}))}})}function $(e){var r=e.prop,n=e.onUpdate;return(0,b.jsx)("input",{type:"checkbox",className:z.propertyValue,checked:(null==r?void 0:r.parsed)||!1,onChange:function(e){n({parsed:!!e.target.checked,useRaw:!1})}})}function H(e){var r=e.prop;return(0,b.jsx)("span",{className:z.barePropertyValue,children:r.parsed})}function J(e){var r=e.schema;return(0,b.jsx)("span",{className:z.barePropertyValue,children:r.const})}function ee(e){var r=e.prop;return(0,b.jsx)("span",{className:z.barePropertyValue,children:r.parsed})}function re(e){var r=e.prop;return(0,b.jsx)("span",{className:z.barePropertyValue,children:r.parsed})}function ne(e){var r=e.prop;return(0,b.jsx)("span",{className:z.barePropertyValue,children:(0,b.jsx)("input",{type:"checkbox",checked:r.parsed,disabled:!0})})}var te=n(35161),oe=n.n(te),ie=n(80993);function ae(e){return ae="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},ae(e)}function le(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function ce(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function ue(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?ce(Object(n),!0).forEach((function(r){se(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function se(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==ae(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==ae(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ae(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function pe(e){var r=e.prop,n=void 0===r?{}:r,o=e.schema,i=e.onUpdate,a=o.enum,l=n.parsed,c=(0,t.useCallback)((function(e){i(ue(ue({},n),{},{parsed:a[e.target.value],useRaw:!1}))}),[n,a,i]);return(0,b.jsx)("select",{className:z.propertyValue,onChange:c,value:a.indexOf(l),children:a.map((function(e,r){return(0,b.jsx)("option",{value:r,children:e},r)}))})}function de(e){var r=e.prop,n=void 0===r?{}:r,o=e.schema,i=e.onUpdate,a=function(e){var r=(0,t.useContext)(f.v);return(0,t.useMemo)((function(){if(!e.choices)return[];if(Array.isArray(e.choices))return e.choices;if(!e.choices.$source)throw new Error("Expected schema.choices.$source");var n=r[e.choices.$source];return e.choices.$key?oe()(n,e.choices.$key):n}),[r,e.choices])}(o),l=n.parsed,c=void 0===l?[]:l,u=(0,t.useCallback)((function(e){i(ue(ue({},n),{},{useRaw:!1,parsed:e}))}),[n,i]),s=a.length>20?ye:fe;return(0,b.jsx)(s,{selected:c,choices:a,onUpdate:u})}function fe(e){var r=e.selected,n=e.choices,o=e.onUpdate,i=(0,t.useCallback)((function(e){var n;o(r.includes(e)?r.filter((function(r){return r!==e})):[].concat(function(e){if(Array.isArray(e))return le(e)}(n=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,r){if(e){if("string"==typeof e)return le(e,r);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)?le(e,r):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]))}),[r,o]);return(0,b.jsx)("ol",{className:z.propertyMultiSelect,children:n.map((function(e,n){return(0,b.jsx)("li",{children:(0,b.jsxs)("label",{children:[(0,b.jsx)("input",{type:"checkbox",checked:r.includes(e),onChange:function(r){return i(e)}}),e]})},n)}))})}function ye(e){var r=e.selected,n=e.choices,o=e.onUpdate,i=(0,t.useMemo)((function(){return n.map(be)}),[n]),a=(0,t.useMemo)((function(){return r.map(be)}),[r]);return(0,b.jsx)(ie.Z,{isMulti:!0,isSearchable:!0,options:i,value:a,onChange:function(e){return o(e.map((function(e){return e.value})))}})}function be(e){return{value:e,label:e}}var me=n(39693),he=n.n(me),Ae=n(65919),ve=n(29709),je=n(94184),ge=n.n(je);function xe(e){return xe="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},xe(e)}function Ce(e){return function(e){if(Array.isArray(e))return Pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ee(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 Oe(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function we(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Oe(Object(n),!0).forEach((function(r){Se(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function Se(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==xe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==xe(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===xe(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Ee(e,r){if(e){if("string"==typeof e)return Pe(e,r);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)?Pe(e,r):void 0}}function Pe(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function ke(e){var r,n,o=e.prop,l=void 0===o?{}:o,c=e.schema,u=void 0===c?{}:c,s=e.onUpdate,p=l.parsed,d=void 0===p?[]:p,f=u.length,y=(r=(0,t.useState)(null),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(r,n)||Ee(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],h=y[1],A=void 0===f||f&&d.length<f,v=(0,t.useCallback)((function(){s(we(we({},l),{},{useRaw:!1,parsed:[].concat(Ce(d),[""])})),h(d.length)}),[l,d,s,h]),j=(0,t.useCallback)((function(e){s(we(we({},l),{},{useRaw:!1,parsed:(0,ve.xw)(d,m,e.code)})),h(null)}),[l,d,m,s]),g=(0,t.useCallback)((function(e){s(we(we({},l),{},{useRaw:!1,parsed:(0,ve.f5)(d,e)}))}),[l,d,s]);return(0,b.jsxs)("div",{children:[(0,b.jsx)("ol",{className:he()([z.selectable,z.propertyPhandleSelect,1===f&&z.propertyPhandleSingleton]).join(" "),children:d.map((function(e,r){return(0,b.jsx)("li",{children:(0,b.jsxs)("span",{className:z.behaviorBind,onClick:function(){return h(r)},children:[e,1!==f&&(0,b.jsx)(a.Z,{name:"times",className:z.phandleRemove,onClick:function(e){e.stopPropagation(),g(r)}})]})},r)}))}),null!==m&&(0,b.jsx)(Ae.Z,{node:{value:d[m],params:[],slot:"behaviour"},type:"value",context:"none",behaviour:{code:d[m]},prompt:"Select Behavior",searchKey:"code",onSelect:j,onCancel:function(){return h(null)}}),A&&(0,b.jsxs)(i.Z,{secondary:!0,onClick:v,children:[(0,b.jsx)(a.Z,{name:"plus"})," Add Behavior"]})]})}function Be(e){var r=e.prop,n=void 0===r?{}:r,t=e.schema,o=void 0===t?{}:t,i=n.parsed,a=void 0===i?[]:i,l=o.length;return(0,b.jsx)("ol",{className:ge()(z.propertyPhandleSelect,Se({},z.propertyPhandleSingleton,1===l)),children:a.map((function(e,r){return(0,b.jsx)("li",{children:(0,b.jsx)("span",{className:z.behaviorBind,children:e})},r)}))})}var De=n(82607),Ze=n(91118);function Ue(e){return Ue="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},Ue(e)}function Re(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Ie(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function Ne(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Ie(Object(n),!0).forEach((function(r){qe(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function qe(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==Ue(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==Ue(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ue(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Te(e){var r=e.prop,n=void 0===r?{}:r,o=e.onUpdate,l=n.parsed,c=void 0===l?[]:l,u=(0,t.useCallback)((function(){var e;o(Ne(Ne({},n),{},{useRaw:!1,parsed:[].concat((e=c,function(e){if(Array.isArray(e))return Re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return Re(e,r);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)?Re(e,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[{value:"",params:[]}])}))}),[n,c,o]),s=(0,t.useCallback)((function(e,r){o(Ne(Ne({},n),{},{useRaw:!1,parsed:(0,ve.xw)(c,r,e)}))}),[n,c,o]),p=(0,t.useCallback)((function(e){o(Ne(Ne({},n),{},{useRaw:!1,parsed:(0,ve.f5)(c,e)}))}),[n,c,o]);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("ol",{className:z.propertyBindingsValue,children:c.map((function(e,r){return(0,b.jsx)("li",{children:(0,b.jsxs)(Ze.Z,{children:[(0,b.jsx)(De.Z,{context:"none",value:e.value,params:e.params,onUpdate:function(e){return s(e,r)}}),(0,b.jsx)("div",{className:z.actions,children:(0,b.jsx)(a.Z,{name:"trash",className:z.deleteBind,onClick:function(e){e.stopPropagation(),p(r)}})})]})},r)}))}),(0,b.jsxs)(i.Z,{secondary:!0,onClick:u,children:[(0,b.jsx)(a.Z,{name:"plus"})," Add binding"]})]})}function Me(e){var r=e.prop,n=(void 0===r?{}:r).parsed,t=void 0===n?[]:n;return(0,b.jsx)("ol",{className:z.propertyBindingsValue,children:t.map((function(e,r){return(0,b.jsx)("li",{children:(0,b.jsx)(Ze.Z,{selectable:!1,style:{pointerEvents:"none"},children:(0,b.jsx)(De.Z,{context:"none",value:e.value,params:e.params,onUpdate:function(){}})})},r)}))})}function Ve(e){return Ve="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},Ve(e)}function Ke(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function ze(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Ke(Object(n),!0).forEach((function(r){Fe(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function Fe(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==Ve(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==Ve(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ve(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Ye(e){var r=e.schema,n=void 0===r?{}:r,t=n.type;if("const"in n)return(0,b.jsx)(_,ze({},e));if("enum"in n)return(0,b.jsx)(pe,ze({},e));if("key-position-picker"===n.helper){var o=e.prop,i=void 0===o?{}:o,a=e.onUpdate;return(0,b.jsx)(M.Z,{value:i.parsed||[],onUpdate:function(e){a(ze(ze({},i),{},{useRaw:!1,parsed:e}))}})}if(n.choices)return(0,b.jsx)(de,ze({},e));switch(t){case"string":return(0,b.jsx)(Q,ze({},e));case"int":return(0,b.jsx)(L,ze({},e));case"boolean":return(0,b.jsx)($,ze({},e));case"phandle":case"phandles":return(0,b.jsx)(ke,ze({},e));case"phandle-array":return(0,b.jsx)(Te,ze({},e));default:return(0,b.jsx)(X,ze({},e))}}function Ge(e){var r=e.type;if("const"in e)return e.const;if("enum"in e)return e.enum[0];switch(r){case"string":default:return"";case"int":return 0;case"array":return[];case"boolean":return!1;case"phandle":case"phandles":return["&none"];case"phandle-array":return[{value:"&none",params:[]}]}}Ye.propTypes={schema:T().shape({type:T().oneOf(["string","boolean","int","array","phandle","phandles","phandle-array","integer-union"]),required:T().bool,description:T().string,default:T().any,const:T().any,helper:T().any,choices:T().oneOfType([T().array,T().shape({$source:T().string.isRequired,$key:T().string.isRequired})]),omitIfEmpty:T().bool}),prop:T().shape({parsed:T().any,raw:T().string}),onUpdate:T().func.isRequired};var We=Ye;function Xe(e){return Xe="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},Xe(e)}function _e(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function Qe(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?_e(Object(n),!0).forEach((function(r){Le(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function Le(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==Xe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==Xe(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Xe(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function $e(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var He=function(e){var r,n,o,l=e.node,u=e.onUpdate,y=e.onCancel,m=(0,t.useContext)(f.v).behaviors,h=(n=(0,t.useState)(l),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(n,o)||function(e,r){if(e){if("string"==typeof e)return $e(e,r);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)?$e(e,r):void 0}}(n,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=h[0],v=h[1],g=m[null===(r=l.properties.compatible)||void 0===r?void 0:r.parsed],x=function(e){return function(r){var n=Qe(Qe({},A.properties),{},Le({},e,r));Array.isArray(null==r?void 0:r.parsed)&&0===r.parsed.length&&delete n[e],v(Qe(Qe({},A),{},{properties:n}))}},C=(0,t.useCallback)((function(){u(c()(A))}),[A,u]),O=(null==g?void 0:g.properties)||{},w=(g?Object.keys(O):Object.keys(A.properties)).filter((function(e){var r;return!("label"===e||"const"in O[e]||null!==(r=O[e])&&void 0!==r&&r.deprecatedBy&&!A.properties[e])})),S=Object.keys(O).reduce((function(e,r){var n=O[r].deprecatedBy;return n&&(e[n]=r),e}),{}),E=Object.keys(O).filter((function(e){var r=O[e],n=r.required,t=r.deprecatedBy,o=S[e];return!((t||o)in A.properties)&&n})),P=E.filter((function(e){return!A.properties[e]}));return(0,b.jsx)(d.Z,{onDismiss:y,children:(0,b.jsxs)(p.Z,{dismissText:!1,children:[(0,b.jsxs)("h2",{children:["Edit ",l.name," ",(0,b.jsxs)("code",{children:["(&",l.labels[0],")"]})]}),(0,b.jsx)(j,{node:A,onUpdate:v}),(0,b.jsx)("h3",{children:"Configuration"}),(0,b.jsxs)("table",{className:I.editorForm,children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{children:"Property"}),(0,b.jsx)("th",{children:"Value"}),(0,b.jsx)("th",{})]})}),(0,b.jsx)("tbody",{children:w.map((function(e,r){return(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{className:I.propertyName,children:e in O?(0,b.jsx)(N,{property:e,schema:O[e],required:E.includes(e)}):(0,b.jsx)("input",{value:e,onChange:(n=e,function(e){v(Qe(Qe({},A),{},{properties:Object.keys(A.properties).reduce((function(r,t){var o=A.properties[t];return t===n&&(t=e.target.value),r[t]=o,r}),{})}))})})}),(0,b.jsx)("td",{className:I.propertyValue,children:(0,b.jsx)(We,{name:e,prop:A.properties[e],schema:O[e],onUpdate:x(e)})}),(0,b.jsx)("td",{children:A.properties[e]&&!E.includes(e)&&(0,b.jsx)(a.Z,{name:"trash-can",className:I.action,onClick:function(){return function(e){v(Qe(Qe({},A),{},{properties:s()(A.properties,e)}))}(e)}})})]},r);var n}))})]}),E.length>0&&(0,b.jsx)("p",{children:(0,b.jsxs)("em",{children:[(0,b.jsx)("span",{className:I.requiredIndicator,children:"*"}),"Property is required."]})}),(0,b.jsxs)("div",{style:{textAlign:"center"},children:[(0,b.jsx)(i.Z,{disabled:P.length>0,onClick:C,children:"Okay"}),(0,b.jsx)(i.Z,{onClick:y,secondary:!0,children:"Cancel"})]})]})})},Je=n(95130);function er(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var rr=["zmk,behavior-hold-tap","zmk,behavior-mod-morph","zmk,behavior-tap-dance","zmk,behavior-sticky-key","zmk,behavior-caps-word","zmk,behavior-sensor-rotate","zmk,behavior-sensor-rotate-var"].map((function(e){return{value:e,label:Je.behaviorSchemas[e].description}}));function nr(e){var r,n,o=e.onUpdate,a=e.onCancel,l=(r=(0,t.useState)(""),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(r,n)||function(e,r){if(e){if("string"==typeof e)return er(e,r);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)?er(e,r):void 0}}(r,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.")}()),c=l[0],u=l[1],s=(0,t.useMemo)((function(){return rr.find((function(e){return e.value===c}))}),[c]);return(0,b.jsx)(d.Z,{onDismiss:a,children:(0,b.jsxs)(p.Z,{dismissText:null,children:[(0,b.jsx)("h3",{children:"Add new behavior"}),(0,b.jsx)("label",{children:(0,b.jsx)(ie.Z,{required:!0,placeholder:"Select a behavior type",value:s,options:rr,onChange:function(e){var r=e.value;return u(r)},formatOptionLabel:function(e,r){var n=e.value,t=e.label,o=r.context;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{children:t}),"value"!==o&&(0,b.jsxs)("div",{style:{opacity:"0.6"},children:["(",(0,b.jsx)("em",{children:n}),")"]})]})}})}),(0,b.jsxs)("div",{style:{textAlign:"center",margin:"10px"},children:[(0,b.jsx)(i.Z,{disabled:!c,onClick:function(){return o(c)},children:"Create"}),(0,b.jsx)(i.Z,{onClick:a,secondary:!0,children:"Cancel"})]})]})})}nr.propTypes={onUpdate:T().func.isRequired,onCancel:T().func.isRequired};var tr=nr,or=n(98913),ir=n.n(or);function ar(e){return ar="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},ar(e)}function lr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function cr(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?lr(Object(n),!0).forEach((function(r){ur(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function ur(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==ar(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==ar(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ar(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function sr(e,r){var n=r.name,t=r.labels,o=r.label,i=Je.behaviorSchemas[e];return{name:n,labels:t,properties:cr({compatible:{raw:'"'.concat(e,'"'),parsed:e},label:{raw:'"'.concat(o,'"'),parsed:o}},Object.keys(i.properties).reduce((function(e,r){var n=i.properties[r];return function(e){return["phandle","phandles","phandle-array"].includes(e.type)}(n)&&n.length?e[r]={parsed:ir()(n.length,(function(){return"phandle-array"===n.type?{value:"&none",params:[]}:"&none"}))}:"const"in n&&(e[r]={parsed:n.const,raw:"<".concat(n.const.toString(),">")}),e}),{}))}}var pr=n(28291),dr=n(29520);function fr(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(e,r)||function(e,r){if(e){if("string"==typeof e)return yr(e,r);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)?yr(e,r):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.")}()}function yr(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function br(){var e=fr((0,t.useState)(null),2),r=e[0],n=e[1],l=fr((0,t.useState)(!1),2),c=l[0],u=l[1],s=(0,o.v9)(pr.pR),p=(0,o.I0)(),d=(0,t.useContext)(f.v).behaviors,y=(0,t.useCallback)((function(){u(!0)}),[u]),m=(0,t.useCallback)((function(e){u(!1),n({behaviorIndex:null,behavior:sr(e,{name:"new_behavior",labels:["new_behavior"],label:"NEW_BEHAVIOR"})})}),[u,n]),h=(0,t.useCallback)((function(e){var r=s[e];n({behaviorIndex:e,behavior:r})}),[s,n]),A=(0,t.useCallback)((function(e){var t=r.behaviorIndex,o=r.behavior.labels,i=e.labels,a=null!==t?(0,pr.md)({behaviorIndex:t,behavior:e}):(0,pr.F6)({behavior:e});p(a),p((0,dr.Q)(o,i,[],d)),n(null)}),[p,r,n,d]),v=(0,t.useCallback)((function(e){var r=s[e].labels;window.confirm("Really delete behavior: ".concat(s[e].name,"?"))&&(p((0,pr.tY)({behaviorIndex:e})),p((0,dr.Q)(r,[],[],d)))}),[s,d,p]);return(0,b.jsxs)("div",{className:I.panel,children:[(0,b.jsx)("h3",{children:"Custom Behaviors"}),(0,b.jsx)("p",{children:"Create customized ZMK behaviors that you can use without conflicting with existing bindings."}),(0,b.jsxs)("table",{style:{width:"100%"},children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{children:"Binding"}),(0,b.jsx)("th",{children:"Compatible"}),(0,b.jsx)("th",{children:"Actions"})]})}),(0,b.jsx)("tbody",{children:s.map((function(e,r){return(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{children:(0,b.jsxs)("code",{children:["&",e.labels[0]]})}),(0,b.jsx)("td",{children:e.properties.compatible.raw}),(0,b.jsxs)("td",{children:[(0,b.jsx)(a.Z,{className:I.action,onClick:function(){return h(r)},name:"wrench"}),(0,b.jsx)(a.Z,{className:I.action,onClick:function(){return v(r)},name:"trash-can"})]})]},r)}))})]}),(0,b.jsx)(i.Z,{onClick:y,children:"Add New Behavior"}),c&&(0,b.jsx)(tr,{onUpdate:m,onCancel:function(){return u(!1)}}),null!==r&&(0,b.jsx)(He,{node:r.behavior,onCancel:function(){return n(null)},onUpdate:A})]})}var mr=n(24350),hr=n.n(mr),Ar=n(20058);function vr(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function jr(e){var r,n,a,l,c=e.onSelect,u=e.onCancel,s=(r=(0,o.v9)(Ar.E$),n=(0,t.useMemo)((function(){return Je.behaviorBindings.filter((function(e){var n=Je.behaviorSchemas[e.compatible];return Object.keys(n.properties).filter((function(e){return!["label","#binding-cells","#sensor-binding-cells"].includes(e)})).length>0&&!r.find((function(r){return r.name===e.code}))}))}),[r]),(0,t.useMemo)((function(){return n.map((function(e){return{value:e.code,label:e.name}}))}),[n])),f=(a=(0,t.useState)(""),l=2,function(e){if(Array.isArray(e))return e}(a)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(a,l)||function(e,r){if(e){if("string"==typeof e)return vr(e,r);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)?vr(e,r):void 0}}(a,l)||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.")}()),y=f[0],m=f[1],h=(0,t.useMemo)((function(){return s.find((function(e){return e.value===y}))}),[s,y]);return(0,b.jsx)(d.Z,{onDismiss:u,children:(0,b.jsxs)(p.Z,{dismissText:null,children:[(0,b.jsx)("h3",{children:"Add new reconfiguration"}),(0,b.jsxs)("p",{children:[(0,b.jsx)("strong",{children:"Note:"})," for the moment this is limited to behaviors defined in the core ZMK repo which specify properties that can be overridden. If you're using a fork with un-merged features like mouse inputs, your existing reconfigured behaviors will be affected but won't appear here for editing."]}),(0,b.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,b.jsx)(ie.Z,{required:!0,placeholder:"Select a behavior binding",value:h,options:s,onChange:function(e){var r=e.value;return m(r)},formatOptionLabel:function(e,r){var n=e.value,t=e.label;return r.context,(0,b.jsx)(b.Fragment,{children:(0,b.jsxs)("div",{children:[(0,b.jsx)("code",{children:n})," ",(0,b.jsxs)("span",{style:{opacity:"0.6"},children:["(",(0,b.jsx)("em",{children:t}),")"]})]})})}})}),(0,b.jsxs)("div",{style:{textAlign:"center",margin:"10px"},children:[(0,b.jsx)(i.Z,{disabled:!y,onClick:function(){return c(y)},children:"Create"}),(0,b.jsx)(i.Z,{onClick:u,secondary:!0,children:"Cancel"})]})]})})}jr.propTypes={onSelect:T().func.isRequired,onCancel:T().func.isRequired};var gr=n(82569),xr=n.n(gr),Cr=n(58887);function Or(e){return Or="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},Or(e)}function wr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function Sr(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?wr(Object(n),!0).forEach((function(r){Er(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wr(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function Er(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==Or(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==Or(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Or(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Pr(e){var r=e.schema,n=void 0===r?{}:r,t=n.type;if("const"in n)return(0,b.jsx)(J,Sr({},e));if("key-position-picker"===n.helper){var o=e.prop,i=void 0===o?{}:o;return(0,b.jsx)(Cr.Z,{value:i.parsed||[]})}switch(t){case"array":case"integer-union":return(0,b.jsx)(b.Fragment,{children:e.prop.parsed.map((function(e,r){return(0,b.jsx)("span",{className:z.barePropertyValue,children:e},r)}))});case"string":return(0,b.jsx)(ee,Sr({},e));case"int":return(0,b.jsx)(re,Sr({},e));case"boolean":return(0,b.jsx)(ne,Sr({},e));case"phandle":case"phandles":return(0,b.jsx)(Be,Sr({},e));case"phandle-array":return(0,b.jsx)(Me,Sr({},e));default:return(0,b.jsx)(H,Sr({},e))}}function kr(e){return kr="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},kr(e)}function Br(e){return function(e){if(Array.isArray(e))return Ir(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rr(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 Dr(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function Zr(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Dr(Object(n),!0).forEach((function(r){Ur(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function Ur(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==kr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==kr(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===kr(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function Rr(e,r){if(e){if("string"==typeof e)return Ir(e,r);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)?Ir(e,r):void 0}}function Ir(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}Pr.propTypes={schema:T().shape({type:T().oneOf(["string","boolean","int","array","phandle","phandles","phandle-array","integer-union"]),required:T().bool,description:T().string,default:T().any,const:T().any,helper:T().any,choices:T().array,omitIfEmpty:T().bool}),prop:T().shape({parsed:T().any,raw:T().string})};var Nr=hr()(Je.behaviorBindings,"code");function qr(e){var r,n,o=e.node,a=e.onUpdate,l=e.onCancel,u=(0,t.useContext)(f.v).behaviors,y=(r=(0,t.useState)(o),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(r,n)||Rr(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],h=y[1],A=Nr[o.name],v=u[null==A?void 0:A.compatible],j=Zr(Zr({},v),{},{properties:Object.keys(v.properties).reduce((function(e,r){var n,t;return e[r]=Zr({},v.properties[r]),null!=A&&null!==(n=A.properties)&&void 0!==n&&null!==(t=n[r])&&void 0!==t&&t.parsed&&(e[r].default=A.properties[r].parsed),e}),{})}),g=function(e){return function(r){h(Zr(Zr({},m),{},{properties:Object.keys(m.properties).reduce((function(n,t){var o=m.properties[t];return t===e&&(t=r.target.value),n[t]=o,n}),{})}))}},x=function(e){var r=void 0!==A.properties[e]?c()(A.properties[e]):{parsed:Ge(j.properties[e])};h(Zr(Zr({},m),{},{properties:Zr(Zr({},m.properties),{},Ur({},e,r))}))},C=function(e){return function(r){var n=Zr(Zr({},m.properties),{},Ur({},e,r));Array.isArray(null==r?void 0:r.parsed)&&0===r.parsed.length&&delete n[e],h(Zr(Zr({},m),{},{properties:n}))}},O=function(e){h(Zr(Zr({},m),{},{properties:s()(m.properties,e)}))},w=function(e){console.log("oh yay!",e),h(Zr(Zr({},m),{},{deletedProperties:[].concat(Br(m.deletedProperties),[e]),properties:s()(m.properties,e)}))},S=function(e){h(Zr(Zr({},m),{},{deletedProperties:xr()(m.deletedProperties,e)}))},E=(0,t.useCallback)((function(){a(c()(m))}),[m,a]),P=(null==j?void 0:j.properties)||{},k=(j?Object.keys(P):Object.keys(m.properties)).filter((function(e){var r;return!("label"===e||"const"in P[e]||null!==(r=P[e])&&void 0!==r&&r.deprecatedBy&&!m.properties[e])}));return(0,b.jsx)(d.Z,{onDismiss:l,children:(0,b.jsxs)(p.Z,{dismissText:!1,style:{maxWidth:"none"},children:[(0,b.jsxs)("h2",{children:["Reconfigure ",(0,b.jsx)("code",{children:o.name})]}),(0,b.jsx)("h3",{children:"Configuration"}),(0,b.jsxs)("table",{className:I.editorForm,children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{children:"Property"}),(0,b.jsx)("th",{children:"Default"}),(0,b.jsx)("th",{children:"Custom"}),(0,b.jsx)("th",{})]})}),(0,b.jsx)("tbody",{children:k.map((function(e,r){var n;return(0,b.jsx)(Tr,{name:e,schema:P[e],override:m.properties[e],original:null==A||null===(n=A.properties)||void 0===n?void 0:n[e],originalDeleted:m.deletedProperties.includes(e),handlePropNameChange:g,handleAddPropOverride:x,handleUpdatePropOverride:C,handleDeletePropOverride:O,handleDeleteOriginalProp:w,handleUnDeleteOriginalProp:S},r)}))})]}),(0,b.jsxs)("div",{style:{textAlign:"center"},children:[(0,b.jsx)(i.Z,{onClick:E,children:"Okay"}),(0,b.jsx)(i.Z,{onClick:l,secondary:!0,children:"Cancel"})]})]})})}function Tr(e){var r=e.name,n=e.schema,t=e.override,o=e.original,i=e.originalDeleted,l=e.handlePropNameChange,c=e.handleAddPropOverride,u=e.handleUpdatePropOverride,s=e.handleDeletePropOverride,p=e.handleDeleteOriginalProp,d=e.handleUnDeleteOriginalProp,f="boolean"===n.type,y=i&&f,m=void 0!==(null==t?void 0:t.parsed),h=void 0!==(null==o?void 0:o.parsed),A=f&&!y&&!0===(null==o?void 0:o.parsed);return(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{className:I.propertyName,children:n?(0,b.jsx)(N,{property:r,schema:n}):(0,b.jsx)("input",{value:r,onChange:l(r)})}),(0,b.jsx)("td",{className:ge()(z.propertyValue,Ur({},z.overridden,m)),children:h&&(0,b.jsx)(Pr,{name:r,prop:Zr(Zr({},t),{},{parsed:o.parsed}),schema:n})}),(0,b.jsxs)("td",{className:z.propertyValue,children:[y&&(0,b.jsx)(Mr,{}),m&&(0,b.jsx)(We,{name:r,prop:t,schema:n,onUpdate:u(r)}),!m&&!y&&(0,b.jsx)("button",{onClick:function(){A?p(r):c(r)},children:"Override"})]}),(0,b.jsxs)("td",{children:[m&&(0,b.jsx)(a.Z,{name:"trash-can",className:I.action,onClick:function(){return s(r)}}),y&&(0,b.jsx)(a.Z,{name:"trash-can",className:I.action,onClick:function(){return d(r)}})]})]})}function Mr(){return(0,b.jsx)("input",{title:"Boolean properties set to `true` can only be overridden with `false`. Delete this property override to restore the original value.",type:"checkbox",disabled:!0})}function Vr(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(e,r)||function(e,r){if(e){if("string"==typeof e)return Kr(e,r);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)?Kr(e,r):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.")}()}function Kr(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var zr=hr()(Je.behaviorBindings,"code");function Fr(){var e=(0,o.I0)(),r=(0,o.v9)(Ar.E$),n=Vr((0,t.useState)(null),2),l=n[0],c=n[1],u=Vr((0,d.X)(),3),s=u[0],p=u[1],f=u[2],y=(0,t.useCallback)((function(e){c({index:e,node:r[e]})}),[r,c]),m=(0,t.useCallback)((function(){return c(null)}),[c]),h=(0,t.useCallback)((function(e){c({index:null,node:{name:e,labels:[],properties:{},deletedProperties:[]}}),f()}),[f,c]),A=(0,t.useCallback)((function(r){var n=l.index;e(null===n?(0,Ar.hd)({reconfiguration:r,reconfigurationIndex:n}):(0,Ar.eG)({reconfiguration:r,reconfigurationIndex:n})),m()}),[l,m,e]),v=(0,t.useCallback)((function(n){var t=r[n];window.confirm("Really delete reconfiguration for: ".concat(t.name,"?"))&&e((0,Ar.x5)({reconfigurationIndex:n}))}),[r,e]);return(0,b.jsxs)("div",{className:I.panel,children:[(0,b.jsx)("h3",{children:"Reconfigurations"}),(0,b.jsx)("p",{children:"Update/override configured properties for pre-defined ZMK behaviors."}),(0,b.jsxs)("table",{style:{width:"100%"},children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{children:"Binding"}),(0,b.jsx)("th",{children:"Compatible"}),(0,b.jsx)("th",{children:"Actions"})]})}),(0,b.jsx)("tbody",{children:r.map((function(e,r){var n;return(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{children:(0,b.jsx)("code",{children:e.name})}),(0,b.jsx)("td",{children:null===(n=zr[e.name])||void 0===n?void 0:n.compatible}),(0,b.jsxs)("td",{children:[(0,b.jsx)(a.Z,{className:I.action,onClick:function(){return y(r)},name:"wrench"}),(0,b.jsx)(a.Z,{className:I.action,onClick:function(){return v(r)},name:"trash-can"})]})]},r)}))})]}),(0,b.jsx)(i.Z,{onClick:p,children:"Add Behavior Reconfiguration"}),s&&(0,b.jsx)(jr,{onSelect:h,onCancel:f}),l&&(0,b.jsx)(qr,{onUpdate:A,onCancel:m,node:l.node})]})}var Yr=function(){return(0,b.jsxs)("div",{className:I.main,children:[(0,b.jsx)(br,{}),(0,b.jsx)(Fr,{})]})}},49443:function(e,r,n){n.d(r,{Z:function(){return v}});var t=n(67294),o=n(45697),i=n.n(o),a=n(97494),l={useRaw:i().bool,raw:i().string,parsed:i().any},c={name:i().string.isRequired,labels:i().arrayOf(i().string).isRequired,properties:i().objectOf((function(e,r,n,t,o){try{i().checkPropTypes({propValue:i().shape(l).isRequired},{propValue:e},t,n)}catch(e){return new Error("Invalid prop `"+o+"` supplied to `"+n+"`. Validation failed.")}})).isRequired},u=n(62417),s=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 d(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function f(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?d(Object(n),!0).forEach((function(r){y(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function y(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==p(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function b(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===r){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(l.push(t.value),l.length!==r);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 l}}(e,r)||m(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.")}()}function m(e,r){if(e){if("string"==typeof e)return h(e,r);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)?h(e,r):void 0}}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function A(e){var r=e.name,n=e.labels,t=b(void 0===n?[]:n,1)[0],o=e.properties.label;return r.toLowerCase()===(t||"").toLowerCase()&&r.toLowerCase()===((null==o?void 0:o.parsed)||"").toLowerCase()}function v(e){var r=e.node,n=e.onUpdate,o=b((0,t.useState)(A(r)),2),i=o[0],l=o[1],c=b((0,t.useState)(A(r)),2),p=c[0],d=c[1],y=function(e,r,n,o){return[(0,t.useCallback)((function(n){r(f(f({},e),{},{name:n.target.value}))}),[e,r]),(0,t.useCallback)((function(t){var i,a=t.target.value,l=[a].concat(function(e){if(Array.isArray(e))return h(e)}(i=e.labels.slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||m(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=n?a:e.name,u=o?f(f({},e.properties),{},{label:{parsed:a.toUpperCase(),raw:'"'.concat(a.toUpperCase(),'"'),useRaw:!1}}):e.properties;r(f(f({},e),{},{name:c,labels:l,properties:u}))}),[e,r,n,o]),(0,t.useCallback)((function(n){return r(f(f({},e),{},{properties:f(f({},e.properties),{},{label:f(f({},e.properties.label),{},{parsed:n.target.value,useRaw:!1})})}))}),[e,r])]}(r,n,i,p),v=b(y,3),j=v[0],g=v[1],x=v[2];return(0,s.jsx)("table",{children:(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Bind"}),(0,s.jsx)("td",{children:(0,s.jsx)(a.Z,{type:"text",value:r.labels[0]||"",required:!0,validator:u.zq,onChange:g})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Node"}),(0,s.jsxs)("td",{children:[(0,s.jsx)(a.Z,{value:r.name,required:!0,readOnly:i,disabled:i,validator:u.Gk,onChange:j}),(0,s.jsxs)("label",{title:"Set automatically using bind name",children:[(0,s.jsx)("input",{type:"checkbox",checked:i,onChange:function(e){return l(e.target.checked)}})," Automatic"]})]})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Label"}),(0,s.jsxs)("td",{children:[(0,s.jsx)(a.Z,{type:"text",value:r.properties.label.parsed||"",required:!0,readOnly:p,disabled:p,validator:function(){return null},onChange:x}),(0,s.jsxs)("label",{title:"Set automatically using bind name",children:[(0,s.jsx)("input",{type:"checkbox",checked:p,onChange:function(e){return d(e.target.checked)}})," Automatic"]})]})]})]})})}v.propTypes={node:i().shape(c).isRequired,onUpdate:i().func.isRequired}},58887:function(e,r,n){n.d(r,{Z:function(){return f}});var t=n(94184),o=n.n(t),i=n(67294),a=n(32732),l=n(91118),c=n(48118),u=n(20817),s=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 d(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!==p(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function f(e){var r=e.keyPositions,n=e.scale,t=void 0===n?.2:n,p=(e.styleOverrides,(0,i.useContext)(u.V).layout);return(0,s.jsx)(a.Z,{layout:p,bindings:[],scale:t,renderKey:function(e){var n,t=e.index;return(0,s.jsx)(l.Z,{onClick:function(){},selectable:!1,style:{pointerEvents:"none"},themeClass:o()((n={},d(n,c.Z.key,!0),d(n,c.Z.highlight,r.includes(t)),n),c.Z.keyMini)})}})}},29709:function(e,r,n){function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return o(e,r);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,r):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}n.d(r,{f5:function(){return i},xE:function(){return l},xw:function(){return a}});var i=function(e,r){return[].concat(t(e.slice(0,r)),t(e.slice(r+1)))},a=function(e,r,n){return[].concat(t(e.slice(0,r)),[n],t(e.slice(r+1)))};function l(e,r,n){return-1===n?[].concat(t(e.filter((function(e,n){return n!==r}))),[e[r]]):e.reduce((function(t,o,i){return i===n&&t.push(e[r]),i!==r&&t.push(o),t}),[])}},33988:function(e,r,n){var t=n(87537),o=n.n(t),i=n(23645),a=n.n(i)()(o());a.push([e.id,".OaJISbD1WCmb03at77EG {\n position: relative;\n}\n\n.MUN9De8dUvbPGH9cEDoQ {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.MUN9De8dUvbPGH9cEDoQ::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n","",{version:3,sources:["webpack://./src/Common/input.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,SAAS;EACT,gCAAgC;EAChC,gBAAgB;EAChB,WAAW;;EAEX,kBAAkB;EAClB,gBAAgB;;EAEhB,YAAY;EACZ,wCAAwC;EACxC,cAAc;EACd,uBAAuB;;EAEvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,YAAY;EACZ,WAAW;;EAEX,SAAS;EACT,WAAW;EACX,YAAY;;EAEZ,wCAAwC;EACxC,8CAA8C;AAChD",sourcesContent:[".wrapper {\n position: relative;\n}\n\n.error {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.error::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n"],sourceRoot:""}]),a.locals={wrapper:"OaJISbD1WCmb03at77EG",error:"MUN9De8dUvbPGH9cEDoQ"},r.Z=a},27470:function(e,r,n){var t=n(87537),o=n.n(t),i=n(23645),a=n.n(i)()(o());a.push([e.id,'\n.S3t60CK1JCROFIrRlm4j [readonly] {\n cursor: not-allowed;\n color: gray;\n outline: gray;\n}\n\ninput.S3t60CK1JCROFIrRlm4j[type="text"],\ninput.S3t60CK1JCROFIrRlm4j[type="number"],\nselect.S3t60CK1JCROFIrRlm4j {\n width: 100%;\n}\n\nol.MedG7SPG2ge2h7j2yqrJ {\n list-style-type: none;\n margin-top: 0;\n padding: 0;\n}\n.V50Bekt6td9yQOSiDGdx {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.V50Bekt6td9yQOSiDGdx li {\n display: inline-block;\n line-height: 2rem;\n}\nol.QNg3v6_eJoK7_qV0_y9n {\n margin: 0;\n}\nol.QNg3v6_eJoK7_qV0_y9n li {\n line-height: 2rem;\n}\nol.u65C3Uji7covMUn996dR {\n list-style-type: none;\n padding: 0;\n}\n.xp5u4Uo4X2fxxX9KwwXu {\n margin: 2px;\n padding: 5px;\n font-family: monospace;\n border-radius: 1rem;\n background-color: var(--key-bg-base);\n}\n\n.RdlDHEEEIkX89TwYeKMf {\n margin: 2px;\n padding: 5px;\n font-family: monospace;\n border-radius: 1rem;\n background-color: var(--key-bg-base);\n}\n\n.NoJRqFdqjTh5fdcL9crT .xp5u4Uo4X2fxxX9KwwXu:hover {\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n}\n\n.fLumxf7S6GjkhmQSozuF {\n opacity: 0.5;\n text-decoration: line-through;\n}\n\n.gpFGP00LCwlGjK6yrGWw {\n vertical-align: text-bottom;\n margin: 0 2px;\n}\n.gpFGP00LCwlGjK6yrGWw:hover {\n color: black;\n}\n\n.gsAzkKxnfzTcp5ApwmWS {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n list-style-type: none;\n padding: 0;\n margin: 0;\n}\n\n/* Copied from MacroEditor :( */\n.KrcWDYfRVRfvRhpsBFxs {\n visibility: hidden;\n position: absolute;\n top: 0px;\n right: 0px;\n font-size: 80%;\n\n color: var(--key-color-hover);\n}\n.KrcWDYfRVRfvRhpsBFxs > * {\n margin: 2px;\n opacity: 0.5;\n cursor: pointer;\n}\n.gsAzkKxnfzTcp5ApwmWS li :hover .KrcWDYfRVRfvRhpsBFxs {\n visibility: visible;\n z-index: 10;\n}\n\n.KrcWDYfRVRfvRhpsBFxs :hover {\n opacity: 1;\n}\n',"",{version:3,sources:["webpack://./src/Keyboard/Behaviors/PropertyValue/styles.module.css"],names:[],mappings:";AACA;EACE,mBAAmB;EACnB,WAAW;EACX,aAAa;AACf;;AAEA;;;EAGE,WAAW;AACb;;AAEA;EACE,qBAAqB;EACrB,aAAa;EACb,UAAU;AACZ;AACA;EACE,qBAAqB;EACrB,SAAS;EACT,UAAU;AACZ;AACA;EACE,qBAAqB;EACrB,iBAAiB;AACnB;AACA;EACE,SAAS;AACX;AACA;EACE,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,UAAU;AACZ;AACA;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,mBAAmB;EACnB,oCAAoC;AACtC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;EACtB,mBAAmB;EACnB,oCAAoC;AACtC;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,YAAY;AACd;;AAEA;EACE,YAAY;EACZ,6BAA6B;AAC/B;;AAEA;EACE,2BAA2B;EAC3B,aAAa;AACf;AACA;EACE,YAAY;AACd;;AAEA;EACE,aAAa;EACb,eAAe;EACf,SAAS;EACT,qBAAqB;EACrB,UAAU;EACV,SAAS;AACX;;AAEA,+BAA+B;AAC/B;EACE,kBAAkB;EAClB,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,cAAc;;EAEd,6BAA6B;AAC/B;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,mBAAmB;EACnB,WAAW;AACb;;AAEA;EACE,UAAU;AACZ",sourcesContent:['\n.propertyValue [readonly] {\n cursor: not-allowed;\n color: gray;\n outline: gray;\n}\n\ninput.propertyValue[type="text"],\ninput.propertyValue[type="number"],\nselect.propertyValue {\n width: 100%;\n}\n\nol.propertyMultiSelect {\n list-style-type: none;\n margin-top: 0;\n padding: 0;\n}\n.propertyMultiSelectChips {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.propertyMultiSelectChips li {\n display: inline-block;\n line-height: 2rem;\n}\nol.propertyPhandleSelect {\n margin: 0;\n}\nol.propertyPhandleSelect li {\n line-height: 2rem;\n}\nol.propertyPhandleSingleton {\n list-style-type: none;\n padding: 0;\n}\n.behaviorBind {\n margin: 2px;\n padding: 5px;\n font-family: monospace;\n border-radius: 1rem;\n background-color: var(--key-bg-base);\n}\n\n.barePropertyValue {\n margin: 2px;\n padding: 5px;\n font-family: monospace;\n border-radius: 1rem;\n background-color: var(--key-bg-base);\n}\n\n.selectable .behaviorBind:hover {\n cursor: pointer;\n background-color: var(--hover-selection);\n color: white;\n}\n\n.overridden {\n opacity: 0.5;\n text-decoration: line-through;\n}\n\n.phandleRemove {\n vertical-align: text-bottom;\n margin: 0 2px;\n}\n.phandleRemove:hover {\n color: black;\n}\n\n.propertyBindingsValue {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n list-style-type: none;\n padding: 0;\n margin: 0;\n}\n\n/* Copied from MacroEditor :( */\n.actions {\n visibility: hidden;\n position: absolute;\n top: 0px;\n right: 0px;\n font-size: 80%;\n\n color: var(--key-color-hover);\n}\n.actions > * {\n margin: 2px;\n opacity: 0.5;\n cursor: pointer;\n}\n.propertyBindingsValue li :hover .actions {\n visibility: visible;\n z-index: 10;\n}\n\n.actions :hover {\n opacity: 1;\n}\n'],sourceRoot:""}]),a.locals={propertyValue:"S3t60CK1JCROFIrRlm4j",propertyMultiSelect:"MedG7SPG2ge2h7j2yqrJ",propertyMultiSelectChips:"V50Bekt6td9yQOSiDGdx",propertyPhandleSelect:"QNg3v6_eJoK7_qV0_y9n",propertyPhandleSingleton:"u65C3Uji7covMUn996dR",behaviorBind:"xp5u4Uo4X2fxxX9KwwXu",barePropertyValue:"RdlDHEEEIkX89TwYeKMf",selectable:"NoJRqFdqjTh5fdcL9crT",overridden:"fLumxf7S6GjkhmQSozuF",phandleRemove:"gpFGP00LCwlGjK6yrGWw",propertyBindingsValue:"gsAzkKxnfzTcp5ApwmWS",actions:"KrcWDYfRVRfvRhpsBFxs"},r.Z=a},34288:function(e,r,n){var t=n(87537),o=n.n(t),i=n(23645),a=n.n(i)()(o());a.push([e.id,".kcj881bnLDph62EcKelj {\n padding-bottom: 60px;\n}\n\n.GeuMxQtBvZYr0nOURDHd {\n display: flex;\n width: 190px;\n flex-direction: column;\n padding: 10px;\n gap: 10px;\n position: fixed;\n}\n\n.NqlHG1MKBiOUUFAed3CM {\n max-width: 700px;\n margin: 0 auto;\n padding-bottom: 60px;\n}\n\n.NqlHG1MKBiOUUFAed3CM table {\n border-spacing: 0;\n margin-bottom: 10px;\n}\n.NqlHG1MKBiOUUFAed3CM table thead {\n text-align: left;\n}\n\n.NqlHG1MKBiOUUFAed3CM table tbody tr td {\n padding: 10px;\n margin: 0;\n}\n.NqlHG1MKBiOUUFAed3CM table tbody tr:nth-child(even) {\n background-color: var(--key-bg-base);\n}\n\n.Q3_rmo3XiEVg8qfXgKX_ {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.Q3_rmo3XiEVg8qfXgKX_:hover {\n opacity: 1;\n}\n\ntable.czOKx_t_EDF44pilzyzA { max-height: 80vh; }\ntable.czOKx_t_EDF44pilzyzA th { text-align: left }\ntable.czOKx_t_EDF44pilzyzA input { font-family: monospace }\ntable.czOKx_t_EDF44pilzyzA td {\n padding: 4px;\n vertical-align: top;\n}\ntable.czOKx_t_EDF44pilzyzA .s8rWNi6e8BZ7yQubfDws {\n font-family: monospace;\n}\n.Bux6GxjreGZZkcXqx6kv {\n display: block;\n font-style: italic;\n}\n\n.xvIZYbb8L5QbOLcesQ4T {\n color: red;\n font-style: italic;\n}\n","",{version:3,sources:["webpack://./src/Keyboard/Behaviors/styles.module.css"],names:[],mappings:"AAAA;EACE,oBAAoB;AACtB;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,sBAAsB;EACtB,aAAa;EACb,SAAS;EACT,eAAe;AACjB;;AAEA;EACE,gBAAgB;EAChB,cAAc;EACd,oBAAoB;AACtB;;AAEA;EACE,iBAAiB;EACjB,mBAAmB;AACrB;AACA;EACE,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,SAAS;AACX;AACA;EACE,oCAAoC;AACtC;;AAEA;EACE,eAAe;EACf,YAAY;EACZ,YAAY;AACd;AACA;EACE,UAAU;AACZ;;AAEA,6BAAmB,gBAAgB,EAAE;AACrC,gCAAsB,iBAAiB;AACvC,mCAAyB,uBAAuB;AAChD;EACE,YAAY;EACZ,mBAAmB;AACrB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,kBAAkB;AACpB;;AAEA;EACE,UAAU;EACV,kBAAkB;AACpB",sourcesContent:[".main {\n padding-bottom: 60px;\n}\n\n.sidebar {\n display: flex;\n width: 190px;\n flex-direction: column;\n padding: 10px;\n gap: 10px;\n position: fixed;\n}\n\n.panel {\n max-width: 700px;\n margin: 0 auto;\n padding-bottom: 60px;\n}\n\n.panel table {\n border-spacing: 0;\n margin-bottom: 10px;\n}\n.panel table thead {\n text-align: left;\n}\n\n.panel table tbody tr td {\n padding: 10px;\n margin: 0;\n}\n.panel table tbody tr:nth-child(even) {\n background-color: var(--key-bg-base);\n}\n\n.action {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.action:hover {\n opacity: 1;\n}\n\ntable.editorForm { max-height: 80vh; }\ntable.editorForm th { text-align: left }\ntable.editorForm input { font-family: monospace }\ntable.editorForm td {\n padding: 4px;\n vertical-align: top;\n}\ntable.editorForm .propertyName {\n font-family: monospace;\n}\n.propertyDeprecation {\n display: block;\n font-style: italic;\n}\n\n.requiredIndicator {\n color: red;\n font-style: italic;\n}\n"],sourceRoot:""}]),a.locals={main:"kcj881bnLDph62EcKelj",sidebar:"GeuMxQtBvZYr0nOURDHd",panel:"NqlHG1MKBiOUUFAed3CM",action:"Q3_rmo3XiEVg8qfXgKX_",editorForm:"czOKx_t_EDF44pilzyzA",propertyName:"s8rWNi6e8BZ7yQubfDws",propertyDeprecation:"Bux6GxjreGZZkcXqx6kv",requiredIndicator:"xvIZYbb8L5QbOLcesQ4T"},r.Z=a}}]); +//# sourceMappingURL=BehaviorEditorTab.f5eeafe5b03978652c26.js.map
\ No newline at end of file diff --git a/ComboEditorTab.41d9139f096e01f4dd10.js b/ComboEditorTab.41d9139f096e01f4dd10.js new file mode 100644 index 0000000..3625472 --- /dev/null +++ b/ComboEditorTab.41d9139f096e01f4dd10.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8315],{94062:function(n,e,r){r.d(e,{Z:function(){return a}});var t=r(41051),o=r(2968),i=r(85893);function a(n){var e=n.url,r=n.text;return(0,i.jsxs)(o.Z,{external:!0,href:e,children:[(0,i.jsx)(t.Z,{name:"book"})," ",(0,i.jsx)("span",{children:r})]})}},67691:function(n,e,r){r.r(e),r.d(e,{default:function(){return gn}});var t=r(67294),o=r(95998),i=r(45697),a=r.n(i),c=r(93379),l=r.n(c),s=r(7795),u=r.n(s),A=r(90569),p=r.n(A),d=r(3565),f=r.n(d),b=r(19216),m=r.n(b),y=r(44589),v=r.n(y),C=r(78207),g={};g.styleTagTransform=v(),g.setAttributes=f(),g.insert=p().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=m(),l()(C.Z,g);var h=C.Z&&C.Z.locals?C.Z.locals:void 0,E=r(15023),x=r(85893);function j(){return(0,x.jsx)("p",{className:h.floatingMessage,children:"Click on a key to add it to the combo"})}function B(n){var e=n.keyPositions,r=n.onUpdate;return(0,x.jsxs)("div",{className:h.comboInputMap,children:[(0,x.jsx)(E.Z,{value:e,onUpdate:r}),e.length<2&&(0,x.jsx)(j,{})]})}B.propTypes={onUpdate:a().func.isRequired,keyPositions:a().arrayOf(a().number).isRequired};var w=B,k=r(82607),O=r(27926),S=r(41051),Z=r(94062),P=r(86015),N={};N.styleTagTransform=v(),N.setAttributes=f(),N.insert=p().bind(null,"head"),N.domAPI=u(),N.insertStyleElement=m(),l()(P.Z,N);var I=P.Z&&P.Z.locals?P.Z.locals:void 0,Y=r(56803);function X(n){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},X(n)}function U(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function D(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach((function(e){R(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function R(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==X(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==X(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===X(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function q(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function K(n){var e,r,o=n.value,i=n.validate,a=n.required,c=n.render,l=n.onUpdate,s=(0,t.useRef)(),u=(e=(0,t.useState)({value:o,editing:!1,attemptedEmpty:!1}),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(t=i.call(r)).done)&&(c.push(t.value),c.length!==e);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,r)||function(n,e){if(n){if("string"==typeof n)return q(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=u[0],p=u[1],d=A.attemptedEmpty?"cannot be empty":i&&i(A.value),f=(0,t.useCallback)((function(n){n&&(n.focus(),n.select())}),[]),b=(0,t.useCallback)((function(){p((function(n){return D(D({},n),{},{editing:!1})}))}),[p]),m=(0,t.useCallback)((function(n){s.current&&!s.current.contains(n.target)&&b()}),[s,b]);return(0,t.useEffect)((function(){return document.addEventListener("click",m),function(){return document.removeEventListener("click",m)}}),[m]),A.editing?(0,x.jsxs)("span",{className:I.container,ref:s,children:[(0,x.jsx)("input",{ref:f,value:A.value,onChange:function(n){return p(D(D({},A),{},{attemptedEmpty:!1,value:n.target.value}))},onKeyDown:(0,Y.w)({Enter:function(){A.editing&&(""===A.value&&a?p(D(D({},A),{},{attemptedEmpty:!0})):(d||l(A.value),p(D(D({},A),{},{value:A.value,editing:!1}))))},Escape:b})}),d&&(0,x.jsx)("span",{className:I.error,children:d})]}):c((0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("span",{children:o}),(0,x.jsx)(S.Z,{name:"pencil",className:I.edit,onClick:(0,Y.s)((function(){return p(D(D({},A),{},{editing:!0}))}))})]}))}K.propTypes={value:a().string.isRequired,validate:a().func,required:a().bool.isRequired,render:a().func.isRequired,onUpdate:a().func.isRequired},K.defaultProps={required:!0};var M=K,z=r(64261),T=r(81485),W=r(57557),F=r.n(W),J=r(96186),Q=r(80993),G=r(80736);function L(n){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},L(n)}function V(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function _(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?V(Object(r),!0).forEach((function(e){H(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function H(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==L(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==L(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===L(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function $(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var nn=function(n){var e,r,i,a,c=n.combo,l=n.onUpdate,s=n.onCancel,u=(0,o.v9)(G.vl),A=(i=(0,t.useState)(c),a=2,function(n){if(Array.isArray(n))return n}(i)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(t=i.call(r)).done)&&(c.push(t.value),c.length!==e);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(i,a)||function(n,e){if(n){if("string"==typeof n)return $(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$(n,e):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=A[0],d=A[1],f=(0,t.useMemo)((function(){return u.map((function(n,e){return{id:e,label:(0,G.EI)(n)}}))}),[u]),b=(0,t.useMemo)((function(){var n;return((null===(n=p.properties.layers)||void 0===n?void 0:n.parsed)||[]).map((function(n){return f.find((function(e){return e.id===n}))}))}),[p,f]),m=(0,t.useCallback)((function(n){return d((function(e){return _(_({},e),{},{properties:_(_({},e.properties),{},{layers:{parsed:n.map((function(n){return n.id}))}})})}))}),[d]);return(0,x.jsx)(z.Z,{onDismiss:s,children:(0,x.jsxs)(J.Z,{dismissText:null,children:[(0,x.jsxs)("h2",{children:["Customize ",(0,x.jsx)("code",{children:c.name})]}),(0,x.jsxs)("div",{children:[(0,x.jsxs)("div",{className:h.field,children:[(0,x.jsx)("label",{htmlFor:"customize-combo-timeout",children:"Timeout (ms)"}),(0,x.jsx)("input",{id:"customize-combo-timeout",type:"number",placeholder:"Default",value:(null===(e=p.properties["timeout-ms"])||void 0===e?void 0:e.parsed)||"",onChange:function(n){var e=Number(n.target.value);d((function(r){return _(_({},r),{},{properties:""!==n.target.value?_(_({},r.properties),{},{"timeout-ms":{parsed:e}}):_({},F()(r.properties,"timeout-ms"))})}))}})]}),(0,x.jsxs)("div",{className:h.field,children:[(0,x.jsx)("label",{htmlFor:"customize-combo-slow-release",children:"Slow Release"}),(0,x.jsx)("input",{id:"customize-combo-slow-release",type:"checkbox",checked:(null===(r=p.properties["slow-release"])||void 0===r?void 0:r.parsed)||!1,onChange:function(n){return d((function(e){return _(_({},e),{},{properties:_(_({},e.properties),{},{"slow-release":{parsed:n.target.checked}})})}))}})]}),(0,x.jsxs)("div",{className:h.field,children:[(0,x.jsx)("label",{htmlFor:"pending_layers",children:"Layers"}),(0,x.jsx)(Q.Z,{isMulti:!0,isSearchable:!0,id:"pending_layers",value:b,options:f,onChange:m,getOptionValue:function(n){return n.id}})]}),(0,x.jsxs)("div",{style:{textAlign:"center",marginTop:"10px"},children:[(0,x.jsx)(O.Z,{onClick:function(){l(p)},children:"Okay"}),(0,x.jsx)(O.Z,{onClick:s,secondary:!0,children:"Cancel"})]})]})]})})},en=r(62417);function rn(n){return rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},rn(n)}function tn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function on(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(r),!0).forEach((function(e){an(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function an(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==rn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==rn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===rn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function cn(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(t=i.call(r)).done)&&(c.push(t.value),c.length!==e);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,e)||function(n,e){if(n){if("string"==typeof n)return ln(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ln(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function sn(n){var e,r=n.onSubmit,o=n.onCancel,i=(e=(0,t.useContext)(T.c).identifiers,(0,t.useCallback)((function(n){return(0,en.G3)(n)||(e.includes(n)?'Cannot use existing identifier "'.concat(n,'"'):null)}),[e])),a=cn((0,t.useState)(un),2),c=a[0],l=a[1],s=cn((0,z.X)(),3),u=s[0],A=s[1],p=s[2],d=(0,t.useCallback)((function(n){return l((function(e){return on(on({},e),{},{name:n})}))}),[l]),f=An(l,"bindings"),b=An(l,"key-positions"),m=(0,t.useCallback)((function(n){l(n),p()}),[l,p]),y=(0,t.useCallback)((function(){r(c)}),[c,r]),v=(0,t.useMemo)((function(){return!!c.name&&c.properties["key-positions"].parsed.length>0}),[c]);return(0,x.jsx)(z.Z,{onDismiss:o,children:(0,x.jsxs)(J.Z,{dismissText:!1,classes:[h.comboPanel],children:[u&&(0,x.jsx)(nn,{combo:c,onUpdate:m,onCancel:p}),(0,x.jsx)(Z.Z,{url:"https://zmk.dev/docs/features/combos",text:"ZMK Docs: Combos"}),(0,x.jsxs)("div",{className:h.combo,children:[(0,x.jsxs)("div",{className:h.heading,children:[(0,x.jsx)("div",{children:(0,x.jsx)(M,{value:c.name,validate:i,render:function(n){return(0,x.jsxs)("h5",{children:["Name: ",(0,x.jsx)("code",{children:n}),!c.name&&(0,x.jsx)("span",{style:{color:"red"},children:"*required"})]})},onUpdate:d})}),(0,x.jsx)("div",{className:h.actions,children:(0,x.jsx)(S.Z,{name:"wrench",className:"".concat(h.action),onClick:A})})]}),(0,x.jsxs)("div",{className:h.detail,children:[(0,x.jsx)("div",{className:h.comboOutput,children:(0,x.jsx)(k.Z,on(on({},c.properties.bindings.parsed[0]),{},{onUpdate:function(n){return f([n])}}))}),(0,x.jsx)(w,{keyPositions:c.properties["key-positions"].parsed,onUpdate:b})]})]}),(0,x.jsxs)("div",{style:{textAlign:"center"},children:[(0,x.jsx)(O.Z,{disabled:!v,onClick:y,children:"Create"}),(0,x.jsx)(O.Z,{onClick:o,secondary:!0,children:"Cancel"})]})]})})}var un={name:"",labels:[],properties:{bindings:{parsed:[{value:"&none",params:[]}]},"key-positions":{parsed:[]}}};function An(n,e){return(0,t.useCallback)((function(r){return n((function(n){return on(on({},n),{},{properties:on(on({},n.properties),{},an({},e,{parsed:r}))})}))}),[n,e])}var pn=r(2732);function dn(n){return dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},dn(n)}function fn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function bn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fn(Object(r),!0).forEach((function(e){mn(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):fn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function mn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==dn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==dn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===dn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function yn(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(t=i.call(r)).done)&&(c.push(t.value),c.length!==e);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,e)||function(n,e){if(n){if("string"==typeof n)return vn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vn(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Cn(n){var e=(0,t.useContext)(T.c).identifiers,r=(0,o.v9)(pn.DP),i=(0,o.I0)(),a=yn((0,t.useState)(null),2),c=a[0],l=a[1],s=yn((0,z.X)(),3),u=s[0],A=s[1],p=s[2];function d(n){return(0,en.G3)(n)||(e.includes(n)?'Cannot use existing identifier "'.concat(n,'"'):null)}return(0,x.jsxs)("div",{className:h.main,children:[null!==c&&(0,x.jsx)(nn,{combo:r[c],onUpdate:function(n){return e=c,r=n,l(null),void i((0,pn.SD)({index:e,combo:r}));var e,r},onCancel:function(){return l(null)}}),u&&(0,x.jsx)(sn,{onSubmit:function(n){i((0,pn.CG)(n)),p()},onCancel:p}),(0,x.jsx)("div",{className:h.header,children:(0,x.jsx)(Z.Z,{url:"https://zmk.dev/docs/features/combos",text:"ZMK Docs: Combos"})}),(0,x.jsx)("div",{className:h.comboPanel,children:r.map((function(n,e){return(0,x.jsxs)("div",{className:h.combo,children:[(0,x.jsxs)("div",{className:h.heading,children:[(0,x.jsx)(M,{value:n.name,validate:d,render:function(n){return(0,x.jsx)("h5",{children:(0,x.jsx)("code",{children:n})})},onUpdate:function(n){return function(n,e){i((0,pn.l3)({index:n,name:e}))}(e,n)}}),(0,x.jsxs)("div",{className:h.actions,children:[(0,x.jsx)(S.Z,{name:"wrench",className:"".concat(h.action),onClick:function(){return l(e)}}),(0,x.jsx)(S.Z,{name:"trash-can",className:"".concat(h.action," ").concat(h.remove),onClick:function(){return n=e,void(window.confirm("Really delete combo: ".concat(r[n].name,"?"))&&i((0,pn.pd)({index:n})));var n}})]})]}),(0,x.jsxs)("div",{className:h.detail,children:[(0,x.jsx)("div",{className:h.comboOutput,children:(0,x.jsx)(k.Z,bn(bn({},n.properties.bindings.parsed[0]),{},{onUpdate:function(n){!function(n,e){i((0,pn.ij)({comboIndex:n,bindings:[e]}))}(e,n)}}))}),(0,x.jsx)(w,{keyPositions:n.properties["key-positions"].parsed,onUpdate:function(n){return function(n,e){i((0,pn.nJ)({comboIndex:n,keyPositions:e}))}(e,n)}})]})]},e)}))}),(0,x.jsx)("div",{className:h.footer,children:(0,x.jsx)(O.Z,{onClick:A,children:"Add New Combo"})})]})}Cn.propTypes={};var gn=Cn},56803:function(n,e,r){function t(n){return function(e){e.stopPropagation(),n()}}function o(n){return function(e){n[e.key]&&n[e.key]()}}r.d(e,{s:function(){return t},w:function(){return o}})},86015:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".ho3CuFFjX1VFNZJiAyVs {\n position: relative;\n}\n\n.u9J3v5ZrIbuVICzNBkRw {\n padding: 5px;\n cursor: pointer;\n opacity: 0.5;\n color: var(--key-color-base);\n}\n.u9J3v5ZrIbuVICzNBkRw:hover {\n opacity: 1;\n}\n\n.wmqWaOx7XyKADh7Kv4RZ {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.wmqWaOx7XyKADh7Kv4RZ::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n","",{version:3,sources:["webpack://./src/Common/editablefield.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,4BAA4B;AAC9B;AACA;EACE,UAAU;AACZ;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,SAAS;EACT,gCAAgC;EAChC,gBAAgB;EAChB,WAAW;;EAEX,kBAAkB;EAClB,gBAAgB;;EAEhB,YAAY;EACZ,wCAAwC;EACxC,cAAc;EACd,uBAAuB;;EAEvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,YAAY;EACZ,WAAW;;EAEX,SAAS;EACT,WAAW;EACX,YAAY;;EAEZ,wCAAwC;EACxC,8CAA8C;AAChD",sourcesContent:[".container {\n position: relative;\n}\n\n.edit {\n padding: 5px;\n cursor: pointer;\n opacity: 0.5;\n color: var(--key-color-base);\n}\n.edit:hover {\n opacity: 1;\n}\n\n.error {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.error::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n"],sourceRoot:""}]),a.locals={container:"ho3CuFFjX1VFNZJiAyVs",edit:"u9J3v5ZrIbuVICzNBkRw",error:"wmqWaOx7XyKADh7Kv4RZ"},e.Z=a},78207:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.pwXbGORsYKqyOPBm9_dW {\n padding-bottom: 60px;\n}\n\n.FDsUz791VURN5GgqawOQ, .MhI51kJR50XISY6jcLAw {\n width: 550px;\n margin: 1px auto;\n}\n.MhI51kJR50XISY6jcLAw {\n text-align: center;\n margin-top: 10px;\n padding-top: 20px;\n border-top: 2px solid var(--key-bg-base);\n}\n\n.Gy0KZGCgOeVminAfggFQ {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}\n.Gy0KZGCgOeVminAfggFQ:hover {\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.Ld9cVdtpS_DpbEifyX9Y {\n background-color: var(--selection);\n}\n.Ld9cVdtpS_DpbEifyX9Y:hover {\n background-color: var(--hover-selection);\n}\n\n.mqpJ7uHAMKxvORoOIPFK {\n max-width: 450px;\n margin: 0 auto;\n}\n\n.BVucwy4AZCyl7GyivzMn {\n display: flex;\n justify-content: space-between;\n border-bottom: 2px solid var(--key-bg-base);\n margin: 5px 0;\n}\n\n.U6g0njWjBrtb_I3XhAeV {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.U6g0njWjBrtb_I3XhAeV:hover {\n opacity: 1;\n}\n\n.CROhsBLtunQ2BbfWdkQw {\n margin: 10px 0 40px;\n}\n\n.CROhsBLtunQ2BbfWdkQw .MhA4fXXuaZ1iPvv05w4m {\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n gap: 20px;\n}\n\n.CROhsBLtunQ2BbfWdkQw h5 {\n margin: 0;\n}\n\n.vujYcgQjiN4BGp37FMUH {\n color: var(--key-color-base);\n}\n\n.uh2yPWyfEOZtgXo2_KtU {\n color: var(--delete);\n}\n\n.NAB1EN6_pcYIy5Db9XnC {\n display: none !important;\n}\n.NAB1EN6_pcYIy5Db9XnC:hover {\n color: white;\n cursor: pointer;\n}\n.kYn8brsFgEaf61oQyv4d:hover .NAB1EN6_pcYIy5Db9XnC {\n display: flex !important;\n position: absolute;\n right: -48px;\n transform: scale(0.5);\n}\n\n.NGxnhfSJaJ9FNu3hlBfc.NAB1EN6_pcYIy5Db9XnC,\n.NGxnhfSJaJ9FNu3hlBfc.GXgG_IaQTricqThqzsKe > * {\n background-color: sandybrown;\n color: white;\n}\n.NGxnhfSJaJ9FNu3hlBfc.NAB1EN6_pcYIy5Db9XnC {\n display: flex;\n}\n\n.fljdvcebOv1gbKZpf0vW {\n margin: 10px 0;\n display: flex;\n align-items: center;\n}\n\n.fljdvcebOv1gbKZpf0vW label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.bnN6JCit0RcjdQiqzw8w {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.bnN6JCit0RcjdQiqzw8w li {\n cursor: pointer;\n display: inline-block;\n padding: 5px 10px;\n margin: 5px;\n border-radius: 30px;\n background-color: var(--key-bg-base);\n}\n.bnN6JCit0RcjdQiqzw8w li[data-selected="true"] {\n background-color: var(--selection);\n color: var(--key-color-hover);\n}\n.bnN6JCit0RcjdQiqzw8w li:hover {\n background-color: var(--hover-selection);\n color: var(--key-color-hover);\n}\n\n.NpLEYrC32KQ4rUx9hUFJ {\n background-color: var(--key-bg-base);\n border-radius: 30px;\n color: var(--key-color-base);\n font-size: 80%;\n text-align: center;\n padding: 5px;\n position: absolute;\n bottom: -40px;\n left: 50%;\n transform: translate(-50%, 0);\n width: 110%;\n\n pointer-events: none;\n transition: opacity ease-in-out .5s;\n}\n\n.l2gtE1XKS63R5TM5unip { position: relative }\n.l2gtE1XKS63R5TM5unip:hover .NpLEYrC32KQ4rUx9hUFJ { opacity: 0.25 }\n',"",{version:3,sources:["webpack://./src/Keyboard/Combos/styles.module.css"],names:[],mappings:"AAAA;EACE,oBAAoB;AACtB;;AAEA;EACE,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,iBAAiB;EACjB,wCAAwC;AAC1C;;AAEA;EACE,eAAe;EACf,oCAAoC;AACtC;AACA;EACE,kCAAkC;EAClC,sBAAsB;AACxB;;AAEA;EACE,kCAAkC;AACpC;AACA;EACE,wCAAwC;AAC1C;;AAEA;EACE,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,8BAA8B;EAC9B,2CAA2C;EAC3C,aAAa;AACf;;AAEA;EACE,eAAe;EACf,YAAY;EACZ,YAAY;AACd;AACA;EACE,UAAU;AACZ;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,6BAA6B;EAC7B,mBAAmB;EACnB,SAAS;AACX;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B;AACA;EACE,YAAY;EACZ,eAAe;AACjB;AACA;EACE,wBAAwB;EACxB,kBAAkB;EAClB,YAAY;EACZ,qBAAqB;AACvB;;AAEA;;EAEE,4BAA4B;EAC5B,YAAY;AACd;AACA;EACE,aAAa;AACf;;AAEA;EACE,cAAc;EACd,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,qBAAqB;EACrB,SAAS;EACT,UAAU;AACZ;AACA;EACE,eAAe;EACf,qBAAqB;EACrB,iBAAiB;EACjB,WAAW;EACX,mBAAmB;EACnB,oCAAoC;AACtC;AACA;EACE,kCAAkC;EAClC,6BAA6B;AAC/B;AACA;EACE,wCAAwC;EACxC,6BAA6B;AAC/B;;AAEA;EACE,oCAAoC;EACpC,mBAAmB;EACnB,4BAA4B;EAC5B,cAAc;EACd,kBAAkB;EAClB,YAAY;EACZ,kBAAkB;EAClB,aAAa;EACb,SAAS;EACT,6BAA6B;EAC7B,WAAW;;EAEX,oBAAoB;EACpB,mCAAmC;AACrC;;AAEA,wBAAiB,mBAAmB;AACpC,oDAAwC,cAAc",sourcesContent:['.main {\n padding-bottom: 60px;\n}\n\n.header, .footer {\n width: 550px;\n margin: 1px auto;\n}\n.footer {\n text-align: center;\n margin-top: 10px;\n padding-top: 20px;\n border-top: 2px solid var(--key-bg-base);\n}\n\n.selectable {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}\n.selectable:hover {\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.highlight {\n background-color: var(--selection);\n}\n.highlight:hover {\n background-color: var(--hover-selection);\n}\n\n.comboPanel {\n max-width: 450px;\n margin: 0 auto;\n}\n\n.heading {\n display: flex;\n justify-content: space-between;\n border-bottom: 2px solid var(--key-bg-base);\n margin: 5px 0;\n}\n\n.action {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.action:hover {\n opacity: 1;\n}\n\n.combo {\n margin: 10px 0 40px;\n}\n\n.combo .detail {\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n gap: 20px;\n}\n\n.combo h5 {\n margin: 0;\n}\n\n.edit {\n color: var(--key-color-base);\n}\n\n.remove {\n color: var(--delete);\n}\n\n.addComboInput {\n display: none !important;\n}\n.addComboInput:hover {\n color: white;\n cursor: pointer;\n}\n.comboInputList:hover .addComboInput {\n display: flex !important;\n position: absolute;\n right: -48px;\n transform: scale(0.5);\n}\n\n.active.addComboInput,\n.active.comboInput > * {\n background-color: sandybrown;\n color: white;\n}\n.active.addComboInput {\n display: flex;\n}\n\n.field {\n margin: 10px 0;\n display: flex;\n align-items: center;\n}\n\n.field label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.layerList {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layerList li {\n cursor: pointer;\n display: inline-block;\n padding: 5px 10px;\n margin: 5px;\n border-radius: 30px;\n background-color: var(--key-bg-base);\n}\n.layerList li[data-selected="true"] {\n background-color: var(--selection);\n color: var(--key-color-hover);\n}\n.layerList li:hover {\n background-color: var(--hover-selection);\n color: var(--key-color-hover);\n}\n\n.floatingMessage {\n background-color: var(--key-bg-base);\n border-radius: 30px;\n color: var(--key-color-base);\n font-size: 80%;\n text-align: center;\n padding: 5px;\n position: absolute;\n bottom: -40px;\n left: 50%;\n transform: translate(-50%, 0);\n width: 110%;\n\n pointer-events: none;\n transition: opacity ease-in-out .5s;\n}\n\n.comboInputMap { position: relative }\n.comboInputMap:hover .floatingMessage { opacity: 0.25 }\n'],sourceRoot:""}]),a.locals={main:"pwXbGORsYKqyOPBm9_dW",header:"FDsUz791VURN5GgqawOQ",footer:"MhI51kJR50XISY6jcLAw",selectable:"Gy0KZGCgOeVminAfggFQ",highlight:"Ld9cVdtpS_DpbEifyX9Y",comboPanel:"mqpJ7uHAMKxvORoOIPFK",heading:"BVucwy4AZCyl7GyivzMn",action:"U6g0njWjBrtb_I3XhAeV",combo:"CROhsBLtunQ2BbfWdkQw",detail:"MhA4fXXuaZ1iPvv05w4m",edit:"vujYcgQjiN4BGp37FMUH",remove:"uh2yPWyfEOZtgXo2_KtU",addComboInput:"NAB1EN6_pcYIy5Db9XnC",comboInputList:"kYn8brsFgEaf61oQyv4d",active:"NGxnhfSJaJ9FNu3hlBfc",comboInput:"GXgG_IaQTricqThqzsKe",field:"fljdvcebOv1gbKZpf0vW",layerList:"bnN6JCit0RcjdQiqzw8w",floatingMessage:"NpLEYrC32KQ4rUx9hUFJ",comboInputMap:"l2gtE1XKS63R5TM5unip"},e.Z=a}}]); +//# sourceMappingURL=ComboEditorTab.41d9139f096e01f4dd10.js.map
\ No newline at end of file diff --git a/LayerEditorTab.26e81183548db5ea4da6.js b/LayerEditorTab.26e81183548db5ea4da6.js new file mode 100644 index 0000000..4980b7f --- /dev/null +++ b/LayerEditorTab.26e81183548db5ea4da6.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6793],{72054:function(n,e,r){"use strict";r.d(e,{Z:function(){return O}});var t=r(94184),o=r.n(t),i=r(67294),a=r(45697),l=r.n(a),s=r(93379),c=r.n(s),u=r(7795),d=r.n(u),A=r(90569),p=r.n(A),f=r(3565),y=r.n(f),b=r(19216),g=r.n(b),h=r(44589),m=r.n(h),v=r(56634),x={};x.styleTagTransform=m(),x.setAttributes=y(),x.insert=p().bind(null,"head"),x.domAPI=d(),x.insertStyleElement=g(),c()(v.Z,x);var C=v.Z&&v.Z.locals?v.Z.locals:void 0,E=r(21517),B=r(64261),j=r(62092),k=r(85893);function w(n){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(n)}function S(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function O(n){var e,r,t,a,l,s=n.actions,c=(e=(0,B.X)(),r=4,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return S(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],d=c[2],A=c[3],p=(0,i.useRef)();return(0,E.Z)(p,d),(0,k.jsxs)("div",{ref:p,className:C.wrapper,children:[(0,k.jsx)(j.Z,{className:C.button,onClick:A,icon:"ellipsis"}),(0,k.jsx)("div",{className:o()(C.menu,(t={},a=C.open,l=u,(a=function(n){var e=function(n,e){if("object"!==w(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==w(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===w(e)?e:String(e)}(a))in t?Object.defineProperty(t,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[a]=l,t)),children:(0,k.jsx)("ul",{children:s.map((function(n,e){return(0,k.jsx)("li",{onClick:function(){return function(n){d(),n()}(n.callback)},children:n.content},e)}))})})]})}O.propTypes={actions:l().arrayOf(l().shape({callback:l().func.isRequired,content:l().oneOfType([l().node,l().string]).isRequired})).isRequired}},97494:function(n,e,r){"use strict";r.d(e,{Z:function(){return k}});var t=r(45697),o=r.n(t),i=r(93379),a=r.n(i),l=r(7795),s=r.n(l),c=r(90569),u=r.n(c),d=r(3565),A=r.n(d),p=r(19216),f=r.n(p),y=r(44589),b=r.n(y),g=r(33988),h={};h.styleTagTransform=b(),h.setAttributes=A(),h.insert=u().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=f(),a()(g.Z,h);var m=g.Z&&g.Z.locals?g.Z.locals:void 0,v=r(85893);function x(n){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},x(n)}var C=["validator","required","value"];function E(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function B(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){j(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function j(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==x(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==x(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===x(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function k(n){var e=n.validator,r=n.required,t=void 0!==r&&r,o=n.value,i=void 0===o?"":o,a=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,C),l=e(i)||!i&&t&&"cannot be empty";return(0,v.jsxs)("span",{className:m.wrapper,children:[(0,v.jsx)("input",B({type:"text",value:i},a)),l&&(0,v.jsx)("span",{className:m.error,children:l})]})}k.propTypes={value:o().any.isRequired,required:o().bool,validator:o().func}},58887:function(n,e,r){"use strict";r.d(e,{Z:function(){return p}});var t=r(94184),o=r.n(t),i=r(67294),a=r(32732),l=r(91118),s=r(48118),c=r(20817),u=r(85893);function d(n){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},d(n)}function A(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function p(n){var e=n.keyPositions,r=n.scale,t=void 0===r?.2:r,d=(n.styleOverrides,(0,i.useContext)(c.V).layout);return(0,u.jsx)(a.Z,{layout:d,bindings:[],scale:t,renderKey:function(n){var r,t=n.index;return(0,u.jsx)(l.Z,{onClick:function(){},selectable:!1,style:{pointerEvents:"none"},themeClass:o()((r={},A(r,s.Z.key,!0),A(r,s.Z.highlight,e.includes(t)),r),s.Z.keyMini)})}})}},32732:function(n,e,r){"use strict";r.d(e,{Z:function(){return T}});var t=r(45697),o=r.n(t),i=r(67294),a=r(78718),l=r.n(a),s=r(39316),c=r(95872);function u(n){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u(n)}function d(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function A(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){p(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function p(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==u(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===u(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var f={x:o().number.isRequired,y:o().number.isRequired},y={a:o().number,rx:o().number,ry:o().number},b={u:o().number,h:o().number},g=o().shape(A(A(A({},f),y),b)),h=o().arrayOf(g),m=r(85893);function v(n){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},v(n)}var x=["keyLayout","renderOptions","children"];function C(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function E(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?C(Object(r),!0).forEach((function(e){B(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function B(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==v(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==v(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===v(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var j=function(n){return l()(n,["x","y"])},k=function(n){return{x:n.rx,y:n.ry,a:n.r}},w=function(n){var e=n.w,r=void 0===e?1:e,t=n.u,o=void 0===t?r:t,i=n.h;return{u:o,h:void 0===i?1:i}};function S(n){var e=n.keyLayout,r=n.renderOptions,t=n.children,o=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,x),i=j(e),a=k(e),l=w(e),u=(0,s.Pi)(i,l,a,r);return(0,m.jsx)("div",E(E({className:c.Z.placer,style:u,"data-u":l.u,"data-h":l.h},o),{},{children:t}))}S.propTypes={scale:o().number,keyLayout:g.isRequired},S.defaultProps={scale:1};var O=S,Z=r(20817),I=r(26417);function T(n){var e=n.layout,r=n.renderKey,t=n.scale,o=n.renderOptions,a=(0,i.useContext)(Z.V),l=a.layout,s=a.wrapperDimensions,c=e||l,u=(0,i.useMemo)((function(){return(0,I.fI)(s,{scale:t,overrides:{position:"relative",padding:0,margin:0}})}),[t,s]),d=(0,i.useMemo)((function(){return{transform:"scale(".concat(t,")"),transformOrigin:0}}),[t]);return(0,m.jsx)("div",{style:u,children:(0,m.jsx)("div",{style:d,children:c.map((function(n,e){return(0,m.jsx)(O,{keyLayout:n,renderOptions:o,children:r({index:e,keyLayout:n})},e)}))})})}T.propTypes={layout:h,renderKey:o().func.isRequired,scale:o().number},T.defaultProps={scale:1}},29005:function(n,e,r){"use strict";r.r(e),r.d(e,{default:function(){return se}});var t=r(67294),o=r(95998),i=r(45697),a=r.n(i),l=r(80736),s=r(72054),c=r(85893);function u(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function d(n){var e,r=n.layerIndex,i=n.additionalActions,a=void 0===i?[]:i,d=(0,o.I0)(),A=(0,t.useMemo)((function(){return{transparentToKeypress:function(){return d((0,l.c7)({layerIndex:r}))},transparentToNone:function(){return d((0,l.sT)({layerIndex:r}))},noneToKeypress:function(){return d((0,l.UH)({layerIndex:r}))},noneToTransparent:function(){return d((0,l.v1)({layerIndex:r}))},emptyKeypressToTransparent:function(){return d((0,l.QR)({layerIndex:r}))},emptyKeypressToNone:function(){return d((0,l.En)({layerIndex:r}))}}}),[d,r]);return(0,c.jsx)(s.Z,{actions:[].concat((e=a,function(n){if(Array.isArray(n))return u(n)}(e)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||function(n,e){if(n){if("string"==typeof n)return u(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(n,e):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.")}()),[{callback:A.transparentToKeypress,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&trans"})," to ",(0,c.jsx)("code",{children:"&kp"})]})},{callback:A.transparentToNone,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&trans"})," to ",(0,c.jsx)("code",{children:"&none"})]})},{callback:A.noneToKeypress,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&none"})," to ",(0,c.jsx)("code",{children:"&kp"})]})},{callback:A.noneToTransparent,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&none"})," to ",(0,c.jsx)("code",{children:"&trans"})]})},{callback:A.emptyKeypressToTransparent,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&kp ⦸"})," to ",(0,c.jsx)("code",{children:"&trans"})]})},{callback:A.emptyKeypressToNone,content:(0,c.jsxs)(c.Fragment,{children:["Convert ",(0,c.jsx)("code",{children:"&kp ⦸"})," to ",(0,c.jsx)("code",{children:"&none"})]})}])})}d.propTypes={layerIndex:a().number.isRequired,additionalActions:a().arrayOf(a().shape({callback:a().func.isRequired,content:a().oneOfType([a().node,a().string]).isRequired}))};var A=r(32732),p=r(82607),f=r(94184),y=r.n(f),b=r(18029),g=r.n(b),h=r(27926),m=r(41051),v=r(58887),x=r(2968),C=r(64261),E=r(96186),B=r(27213),j=r(83197),k=r(52156),w=r(55326),S=r(93379),O=r.n(S),Z=r(7795),I=r.n(Z),T=r(90569),U=r.n(T),P=r(3565),Y=r.n(P),K=r(19216),D=r.n(K),q=r(44589),N=r.n(q),R=r(86246),W={};W.styleTagTransform=N(),W.setAttributes=Y(),W.insert=U().bind(null,"head"),W.domAPI=I(),W.insertStyleElement=D(),O()(R.Z,W);var V=R.Z&&R.Z.locals?R.Z.locals:void 0,L=r(91118),_=r(61953),X=r(65919),Q=r(39017);function z(n){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z(n)}function M(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==z(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==z(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===z(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function F(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return G(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var J="https://github.com/nickcoutsos/keymap-editor/discussions/109";function H(n){var e=n.binding,r=n.bindingIndex,o=n.onUpdate,i=n.onCancel,a=n.context,l=void 0===a?"none":a,s=F((0,t.useState)(e),2),u=s[0],d=s[1],A=F((0,w.Z)(u,void 0,d),2),p=A[0],f=p.bindTree,b=p.behavior,g=p.behaviorParams,v=p.editing,B=p.invalid,j=A[1],S=j.clearEditing,O=j.handleChange,Z=j.handleConfirm,I=j.handleUpdateBindValue,T=j.selectNodeForEditing,U=(0,t.useCallback)((function(){o((0,Q.FY)(f))}),[f,o]),P=v&&(0,c.jsx)(X.b,{node:v.node,type:v.type,behaviour:b,context:l,prompt:v.prompt,searchKey:"code",inline:!0,onSelect:I,onConfirm:Z,onChange:O,onCancel:S});return(0,c.jsxs)(C.Z,{onDismiss:i,children:[(0,c.jsx)("div",{className:V.notice,children:(0,c.jsxs)("p",{children:[(0,c.jsx)(m.Z,{name:"bullhorn"})," I'm trying out a new way of editing bindings, if you hate it then ",(0,c.jsx)(x.Z,{href:J,external:!0,children:"please let me know"}),"!"]})}),(0,c.jsxs)(E.Z,{dismissText:null,classes:[V.dialogBox],children:[(0,c.jsxs)("div",{className:V.mainPanel,children:[(0,c.jsx)(en,{bindingIndex:r,bindTree:f,context:l}),(0,c.jsxs)("div",{className:V.bindingSlots,children:[(0,c.jsx)("h2",{children:"Set Key Binding"}),(0,c.jsxs)("h3",{children:["Behavior ",(0,c.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal"},children:(0,c.jsx)("span",{className:y()(_.Z.extracted,M({},_.Z.highlight,0===(null==v?void 0:v.nodeIndex))),children:(0,c.jsx)("span",{className:_.Z.param,children:(0,c.jsx)(k.ZP,{slot:"behaviour",node:f,expanded:!0,onSelect:T})})})})]}),(0,c.jsx)($,{slots:g,node:f,onSelect:T,editing:v})]}),(0,c.jsxs)("div",{className:V.dialogActions,children:[(0,c.jsx)(h.Z,{onClick:U,disabled:B,children:"Okay"}),(0,c.jsx)(h.Z,{onClick:i,secondary:!0,children:"Cancel"})]})]}),P&&(0,c.jsxs)("div",{className:V.editPanel,children:[(0,c.jsx)("button",{onClick:Z,className:V.editPanelClose,children:"Close"}),P]})]})]})}function $(n){var e=n.slots,r=n.node,o=n.editing,i=n.onSelect;return 0===e.length?null:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("h3",{children:"Parameters"}),(0,c.jsx)("ol",{className:V.parameterSlots,"data-slot-count":e.length,children:e.map((function(n,e){return"placeholder"!==n.type&&(0,c.jsx)(t.Fragment,{children:(0,c.jsx)(nn,{slot:n,param:r.params[e],editing:(null==o?void 0:o.nodeIndex)===e+1,onSelect:i},e)},e)}))})]})}function nn(n){var e=n.slot,r=n.param,o=n.editing,i=n.onSelect,a=(0,t.useMemo)((function(){var n=e.raw?"Raw value":e.name||e,r={code:"key-code"}[n]||n;return g()(r)}),[e]);return(0,c.jsxs)("li",{children:[(0,c.jsx)("label",{children:a}),(0,c.jsx)("span",{className:y()(V.param,_.Z.extracted,M({},_.Z.highlight,o)),children:(0,c.jsx)(j.N,{slot:e,node:r,onSelect:i,expanded:!0})})]})}function en(n){var e=n.bindingIndex,r=n.bindTree,t=n.context;return(0,c.jsxs)("div",{className:V.keyBindingHeader,children:[(0,c.jsx)(v.Z,{keyPositions:[e],styleOverrides:{display:"inline-block",padding:"3px",borderRadius:"3px"},scale:.15}),(0,c.jsx)(m.Z,{name:"arrow-right"}),(0,c.jsx)(L.Z,{selectable:!1,style:{pointerEvents:"none"},children:(0,c.jsx)(B.Z,{context:t,value:r.value,params:r.params,onUpdate:function(){}})})]})}H.propTypes={context:a().string,hideBehaviour:a().bool.isRequired,onUpdate:a().func.isRequired},H.defaultProps={hideBehaviour:!1};var rn=r(80031);function tn(){return(0,c.jsxs)("div",{style:{maxWidth:"600px",margin:"0 auto"},children:[(0,c.jsxs)("h3",{children:[(0,c.jsx)(m.Z,{name:"warning"})," ",(0,c.jsx)("span",{children:"No bindings defined"})]}),(0,c.jsxs)("p",{children:["Usually this is a parsing issue; either this layer in your keymap does not have a ",(0,c.jsx)("code",{children:"bindings"})," property, or there's a syntax problem preventing it from being parsed."]}),(0,c.jsxs)("p",{children:["You should go back and verify that the syntax looks correct before attempting to make changes in the app. (Sometimes the bindings array is missing the ",(0,c.jsx)("code",{children:">;"})," at the end)"]}),rn.t6]})}function on(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function an(n){var e,r,i=n.activeLayer,a=(0,o.I0)(),s=(0,o.v9)(l.vl)[i].properties.bindings,u=(e=(0,t.useState)(null),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return on(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?on(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],f=u[1],y=(0,t.useCallback)((function(n,e){a((0,l.V6)({layerIndex:i,bindIndex:n,binding:e}))}),[a,i]);return null!=s&&s.parsed?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(A.Z,{renderKey:function(n){var e,r,t=n.index,o=n.keyLayout;return s.parsed[t]&&(0,c.jsx)(p.Z,{label:o.label,value:null===(e=s.parsed[t])||void 0===e?void 0:e.value,params:null===(r=s.parsed[t])||void 0===r?void 0:r.params,noBindingClick:!0,keyWrapperProps:{className:_.Z.unified,onClick:function(n){n.stopPropagation(),f(t)}},onUpdate:function(n){return y(t,n)}})}}),null!==d&&(0,c.jsx)(H,{binding:s.parsed[d],bindingIndex:d,onCancel:function(){return f(null)},onUpdate:function(n){y(d,n),f(null)}})]}):(0,c.jsx)(tn,{})}var ln=r(67069);function sn(n){var e=n.context,r=n.binding,t=n.onUpdate,o=r.value,i=r.params;return(0,c.jsx)(L.Z,{themeClass:_.Z.encoder2,children:(0,c.jsx)(B.Z,{context:e,value:o,params:i,onUpdate:t})})}sn.propTypes={binding:ln.dH,onUpdate:a().func.isRequired};var cn=sn,un=r(59500),dn={};dn.styleTagTransform=N(),dn.setAttributes=Y(),dn.insert=U().bind(null,"head"),dn.domAPI=I(),dn.insertStyleElement=D(),O()(un.Z,dn);var An=un.Z&&un.Z.locals?un.Z.locals:void 0;function pn(n){var e=n.layerIndex,r=n.layer,t=n.sensors,i=(0,o.I0)(),a=(r.properties["sensor-bindings"]||{}).parsed,s=void 0===a?[]:a;function u(n,r){i((0,l.zi)({layerIndex:e,sensorIndex:n,bindings:r}))}return(0,c.jsxs)("div",{style:{margin:"0 0 30px"},children:[(0,c.jsx)("h3",{children:"Sensor bindings"}),(0,c.jsx)("div",{style:{display:"flex",flexDirection:"row",gap:"25px"},children:t.map((function(n,e){return(0,c.jsx)(fn,{index:e,sensor:n,binding:s[e],canAdd:void 0===s[e]&&s.length===e,canDelete:void 0!==s[e]&&s.length===e+1,onUpdate:u},e)}))})]})}function fn(n){var e=n.sensor,r=n.binding,o=n.index,i=n.onUpdate,a=n.canAdd,l=n.canDelete,s=e.label||e.identifier,u=(null==r?void 0:r.value)||"&inc_dec_kp",d=(null==r?void 0:r.params)||[{value:0,_isPlaceholder:!0,params:[]},{value:0,_isPlaceholder:!0,params:[]}],A=(0,t.useCallback)((function(){i(o,void 0)}),[o,i]),p=(0,t.useCallback)((function(){i(o,{value:"&inc_dec_kp",params:[{value:0,_isPlaceholder:!0,params:[]},{value:0,_isPlaceholder:!0,params:[]}]})}),[o,i]);return(0,c.jsxs)("div",{className:An.sensor,"data-unbound":!r,children:[(0,c.jsxs)("label",{style:{fontVariant:"small-caps",fontSize:"90%"},children:[(0,c.jsx)("code",{children:s}),l&&(0,c.jsx)(m.Z,{name:"trash-can",title:"Remove sensor binding from this layer",className:An.deleteSensorBinding,onClick:A})]}),r&&(0,c.jsx)(cn,{context:"encoders",binding:r||{value:u,params:d},onUpdate:function(n){return i(o,n)}}),a&&(0,c.jsx)(L.Z,{onClick:p,title:"Add sensor binding to this layer",themeClass:y()(_.Z.encoder2,An.addSensorBinding),children:(0,c.jsx)(m.Z,{name:"add"})})]})}var yn=r(97494),bn=r(62417);function gn(n){return gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},gn(n)}function hn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function mn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hn(Object(r),!0).forEach((function(e){vn(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function vn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==gn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==gn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===gn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function xn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var Cn=function(n){var e,r,i,a=n.layerIndex,s=n.onClose,u=(0,o.I0)(),d=(0,o.v9)(l.vl)[a],A=(r=(0,t.useState)({name:d.name,label:(null===(e=d.properties.label)||void 0===e?void 0:e.parsed)||""}),i=2,function(n){if(Array.isArray(n))return n}(r)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(r,i)||function(n,e){if(n){if("string"==typeof n)return xn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xn(n,e):void 0}}(r,i)||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.")}()),p=A[0],f=A[1];return(0,c.jsx)(C.Z,{onDismiss:s,children:(0,c.jsxs)(E.Z,{dismissText:"",children:[(0,c.jsxs)("h2",{children:["Customize Layer ",(0,c.jsx)("code",{children:d.name})]}),(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:An.field,children:[(0,c.jsx)("label",{htmlFor:"customize-layer-name",children:"Name"}),(0,c.jsx)(yn.Z,{id:"customize-layer-name",placeholder:"Default",value:p.name,validator:bn.Gk,onChange:function(n){return f((function(e){return mn(mn({},e),{},{name:n.target.value})}))}})]}),(0,c.jsxs)("div",{className:An.field,children:[(0,c.jsx)("label",{htmlFor:"customize-layer-label",children:"Label"}),(0,c.jsx)("input",{id:"customize-layer-label",placeholder:"Default",value:p.label,onChange:function(n){return f((function(e){return mn(mn({},e),{},{label:n.target.value})}))}})]})]}),(0,c.jsxs)("div",{style:{textAlign:"center",gap:"5px"},children:[(0,c.jsx)(h.Z,{onClick:function(){u((0,l.vc)(mn({layerIndex:a},p))),s()},children:"OK"}),(0,c.jsx)(h.Z,{onClick:s,secondary:!0,children:"Cancel"})]})]})})},En=r(39693),Bn=r.n(En),jn=r(2062),kn=r(62029);function wn(n,e){if(n){if("string"==typeof n)return Sn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sn(n,e):void 0}}function Sn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var On={keysHeld:[],keysHeldBeforeLastRelease:[]};var Zn=r(20817);function In(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return Tn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tn(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var Un={Alt:"ALT",Control:"CTRL",Shift:"SHFT",Meta:"GUI",ArrowUp:"UP",ArrowDown:"DOWN",ArrowLeft:"LEFT",ArrowRight:"RIGHT",Escape:"ESC",Tab:"TAB",Enter:"RET",Home:"HOME",End:"END",PageDown:"PG_DN",PageUp:"PG_UP",Backspace:"BSPC",Delete:"DEL"};function Pn(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=(0,o.I0)(),i=(0,t.useContext)(Zn.V).bindingCount,a=In((0,t.useState)(e),2),s=a[0],c=a[1],u=In((0,t.useState)(0),2),d=u[0],A=u[1],p=(0,t.useCallback)((function(){d===i-1?(A(0),c(!1)):A(d+1)}),[d,A,i,c]);!function(n,e){var r,o,i=(r=(0,t.useReducer)((function(n,e){switch(e.type){case"KEY_DOWN":return function(n,e){return{keysHeld:[].concat((r=n.keysHeld,function(n){if(Array.isArray(n))return Sn(n)}(r)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(r)||wn(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[e.event.key]),keysHeldBeforeLastRelease:[]};var r}(n,e);case"KEY_UP":return function(n,e){return{keysHeld:[],keysHeldBeforeLastRelease:n.keysHeld.filter((function(n){return n!==e.event.key}))}}(n,e);case"RESET":return On;default:return n}}),On),o=2,function(n){if(Array.isArray(n))return n}(r)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(r,o)||wn(r,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],l=i[1],s=(0,t.useCallback)((function(n){n.repeat||(n.preventDefault(),l({type:"KEY_DOWN",event:n}))}),[l]),c=(0,t.useCallback)((function(n){a.keysHeldBeforeLastRelease.includes(n.key)||(n.preventDefault(),e(n),l({type:"KEY_UP",event:n}))}),[a.keysHeldBeforeLastRelease,e,l]);(0,t.useEffect)((function(){if(n)return document.body.addEventListener("keydown",s),document.body.addEventListener("keyup",c),function(){document.body.removeEventListener("keydown",s),document.body.removeEventListener("keyup",c)}}),[n,s,c])}(s,(0,t.useCallback)((function(e){var t=function(n){var e=function(n){return Bn()([n.altKey&&"LA",n.ctrlKey&&"LC",n.metaKey&&"LG",n.shiftKey&&"LS"])}(n),r=(0,kn.mapCharacter)(n.key.toLowerCase())||function(n){var e=Un[n.key],r=function(n){switch(n.location){case 1:return"L";case 2:return"R";default:return""}}(n);return e?{value:"&kp",params:[{value:r+e,params:[]}]}:null}(n);if(r)return{value:r.value,params:e.reduce((function(n,e){return[{value:e,params:n}]}),r.params)}}(e);t&&(r((0,l.V6)({layerIndex:n,bindIndex:d,binding:t})),p())}),[n,d,p,r]));var f=(0,t.useCallback)((function(){c(!0)}),[c]),y=(0,t.useCallback)((function(){c(!1)}),[c]);return[{isActive:s,bindIndex:d},{startQuickAssignment:f,cancelQuickAssignment:y,setBindIndex:A}]}function Yn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Kn(n){var e,r,o=n.layer,i=n.layerIndex,a=n.onClose,l=(e=Pn(i,!0),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return Yn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yn(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],u=l[1];return(0,t.useEffect)((function(){s.isActive||a()}),[s.isActive,a]),(0,c.jsx)(C.Z,{onDismiss:a,children:(0,c.jsxs)(E.Z,{classes:[An.quickAssignDialog],dismissText:"",children:[(0,c.jsx)("h2",{children:"Quick-assign layer keybindings"}),(0,c.jsxs)("p",{children:["Press a key on your keyboard to set a ",(0,c.jsx)("code",{children:"&kp"})," binding at the highlighted position in your keymap."]}),(0,c.jsx)(A.Z,{bindings:o.properties.bindings.parsed,renderKey:function(n){var e,r,t=n.index,i=n.keyLayout;return o.properties.bindings.parsed[t]&&(0,c.jsx)(p.Z,{label:i.label,keyWrapperProps:{selectable:!1,onClick:function(){return u.setBindIndex(t)},className:Bn()([An.quickBindKey,s.bindIndex===t&&An.quickBindKeyHighlight]).join(" ")},value:null===(e=o.properties.bindings.parsed[t])||void 0===e?void 0:e.value,params:null===(r=o.properties.bindings.parsed[t])||void 0===r?void 0:r.params,onUpdate:function(n){}})}}),(0,c.jsxs)("div",{style:{textAlign:"center"},children:[(0,c.jsx)(jn.Z,{children:(0,c.jsx)("span",{children:"Click on a different key to jump ahead or correct a previous binding."})}),(0,c.jsx)("p",{children:(0,c.jsx)(h.Z,{onClick:a,children:"Done"})})]})]})})}var Dn=r(59140),qn=r(46908);function Nn(n){var e=n.layerIndex,r=(0,qn.Q)().setActiveTab,i=(0,o.v9)(Dn.Iu),a=(0,t.useMemo)((function(){return i.filter((function(n){var r,t;return(null===(r=n.properties)||void 0===r||null===(t=r["then-layer"])||void 0===t?void 0:t.parsed)===e}))}),[i,e]),l=(0,t.useCallback)((function(n){n.stopPropagation(),r(1)}),[r]);return 0===a.length?null:(0,c.jsxs)("div",{onClick:l,className:An.layerReferences,children:[(0,c.jsx)(m.Z,{className:"fa-flip-horizontal ".concat(An.icon),name:"arrow-right-to-bracket"}),(0,c.jsxs)("div",{className:An.details,children:[(0,c.jsx)("span",{children:a.length})," ",(0,c.jsx)("span",{children:"conditional layer references"})]})]})}function Rn(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return Wn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wn(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var Vn=function(n){return n.keyboard.sensors};function Ln(n){var e=n.layer,r=n.layerIndex,i=(n.isActiveLayer,(0,o.v9)(Vn)),a=Rn((0,t.useState)(!1),2),l=a[0],s=a[1],u=Rn((0,t.useState)(!1),2),d=u[0],A=u[1],p=(0,t.useCallback)((function(){return s(!0)}),[s]),f=(0,t.useCallback)((function(){return A(!0)}),[A]),y=(0,t.useCallback)((function(){return A(!1)}),[A]),b=(0,t.useMemo)((function(){return[{callback:p,content:"Change Configuration"},{callback:f,content:(0,c.jsxs)(c.Fragment,{children:["Quick ",(0,c.jsx)("code",{children:"&kp"})," Assignment"]})}]}),[p,f]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:An.layerWrapper,children:[(0,c.jsx)(_n,{layer:e,layerIndex:r,additionalActions:b}),(0,c.jsx)(an,{activeLayer:r}),(0,c.jsx)("div",{className:An.sensors,"data-sensor-count":i.length,children:(0,c.jsx)(pn,{sensors:i,layerIndex:r,layer:e})})]}),l&&(0,c.jsx)(Cn,{layerIndex:r,onClose:function(){return s(!1)}}),d&&(0,c.jsx)(Kn,{layer:e,layerIndex:r,onClose:y})]})}function _n(n){var e=n.layer,r=n.layerIndex,t=n.additionalActions;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"5px"},children:[(0,c.jsx)("h3",{children:e.name}),(0,c.jsx)(Nn,{layerIndex:r}),(0,c.jsx)(d,{layerIndex:r,additionalActions:t})]})}var Xn=r(30341),Qn={};Qn.styleTagTransform=N(),Qn.setAttributes=Y(),Qn.insert=U().bind(null,"head"),Qn.domAPI=I(),Qn.insertStyleElement=D(),O()(Xn.Z,Qn);var zn=Xn.Z&&Xn.Z.locals?Xn.Z.locals:void 0,Mn=r(56803),Fn=r(50868),Gn=r(81485),Jn=r(18311);function Hn(n){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Hn(n)}function $n(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function ne(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$n(Object(r),!0).forEach((function(e){ee(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):$n(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function ee(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Hn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Hn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Hn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function re(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return te(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function oe(n){var e=n.activeLayer,r=n.onSelect,i=(0,t.useRef)(null),a=(0,o.I0)(),s=(0,t.useContext)(Zn.V).bindingCount,u=(0,t.useContext)(Gn.c),d=(0,t.useContext)(Jn.v),A=(0,o.v9)(l.vl),p=(0,t.useCallback)((function(n){r(n)}),[r]),f=(0,t.useCallback)((function(){return a((0,l.Xv)({bindingCount:s}))}),[a,s]),y=(0,t.useMemo)((function(){return function(n){var e=A[n].name;window.confirm("Really delete layer: ".concat(e,"?"))&&(a((0,l.Q)({index:n})),a((0,Fn.fD)(n,null,A,u,d)))}}),[A,a,u,d]),b=(0,t.useCallback)((function(n,e){n.stopPropagation();var r=e.dragIndex,t=e.dropIndex;r!==t&&(a((0,l.WF)({currentIndex:r,targetIndex:t})),a((0,Fn.fD)(r,t,A,u,d)))}),[A,a,u,d]),g=function(n){var e=re((0,t.useState)({dragIndex:null,dropIndex:null}),2),r=e[0],o=r.dragIndex,i=r.dropIndex,a=e[1],l=(0,t.useCallback)((function(n){return n.preventDefault()}),[]),s=(0,t.useCallback)((function(n){var e=Number(n.target.dataset.slotIndex);a({dragIndex:e,dropIndex:null})}),[a]),c=(0,t.useCallback)((function(n){a((function(e){return null===e.dropIndex&&n.stopPropagation(),{dragIndex:null,dropIndex:null}}))}),[a]),u=(0,t.useCallback)((function(n){n.preventDefault();var e=Number(n.target.dataset.dropPosition);a((function(n){return ne(ne({},n),{},{dropIndex:e})}))}),[a]),d=(0,t.useCallback)((function(n){var e=Number(n.target.dataset.dropPosition);a((function(n){return ne(ne({},n),{},{dropIndex:n.dropIndex===e?null:n.dropIndex})}))}),[a]),A=(0,t.useCallback)((function(e){n(e,{dragIndex:o,dropIndex:i}),a({dragIndex:null,dropIndex:null})}),[o,i,a,n]);return[{isDragging:null!==o,dragIndex:o,dropIndex:i},{handleDragStart:s,handleDragEnd:c,handleDragEnter:u,handleDragLeave:d,handleDragOver:l,handleDrop:A}]}(b),h=re(g,2),v=h[0],x=h[1];return(0,c.jsx)("div",{className:zn.layerSelector,ref:i,children:(0,c.jsxs)("ul",{"data-dragging":v.isDragging,children:[A.map((function(n,r){return(0,c.jsxs)("li",{className:e===r?zn.active:"","data-slot-index":r,draggable:!0,onDragStart:x.handleDragStart,onDragEnd:x.handleDragEnd,onDrop:x.handleDrop,children:[(0,c.jsx)("div",{className:Bn()([zn.dropper,v.dropIndex===r&&zn.dropTarget]).join(" "),"data-drop-position":r,onDragEnter:x.handleDragEnter,onDragOver:x.handleDragOver,onDragLeave:x.handleDragLeave,onDrop:x.handleDrop}),(0,c.jsxs)("div",{onClick:function(){return p(r)},className:Bn()([zn.layer,v.dragIndex===r&&zn.dragging,v.isDragging&&v.dropIndex!==v.dragIndex&&v.dropIndex!==v.dragIndex+1&&null!==v.dropIndex&&r>=v.dropIndex&&zn.displaced]).join(" "),children:[(0,c.jsx)("span",{className:zn.index,children:r}),(0,c.jsxs)("span",{className:zn.name,children:[n.name,(0,c.jsx)(m.Z,{name:"times-circle",className:zn.delete,onClick:(0,Mn.s)((function(){return y(r)}))})]})]})]},"slot-".concat(r))})),v.isDragging&&v.dragIndex<A.length-1&&(0,c.jsx)("li",{"data-slot-index":A.length,onDragEnd:x.handleDragEnd,onDrop:x.handleDrop,children:(0,c.jsx)("div",{className:Bn()([zn.dropper,v.dropIndex===A.length&&zn.dropTarget]).join(" "),"data-drop-position":A.length,onDragEnter:x.handleDragEnter,onDragOver:x.handleDragOver,onDragLeave:x.handleDragLeave,onDrop:x.handleDrop})},"slot-".concat(A.length)),!v.isDragging&&(0,c.jsx)("li",{onClick:f,children:(0,c.jsxs)("div",{className:zn.layer,children:[(0,c.jsx)(m.Z,{className:zn.index,name:"plus"}),(0,c.jsx)("span",{className:zn.name,children:"Add Layer"})]})})]})})}oe.propTypes={activeLayer:a().number.isRequired,onSelect:a().func.isRequired};var ie=oe;function ae(){var n=(0,o.I0)(),e=(0,t.useContext)(Zn.V).bindingCount;return(0,c.jsxs)("div",{style:{textAlign:"center"},children:[(0,c.jsx)("h3",{children:"No keymap layers defined"}),(0,c.jsx)(h.Z,{onClick:function(){return n((0,l.Xv)({bindingCount:e}))},children:"Add layer"})]})}function le(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var se=function(){var n,e,r=(0,o.v9)(l.vl),i=(n=(0,t.useState)(0),e=2,function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);s=!0);}catch(n){c=!0,o=n}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return le(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?le(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1],u=Math.max(0,Math.min(a,r.length-1));return 0===r.length?(0,c.jsx)(ae,{}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ie,{activeLayer:u,onSelect:s}),(0,c.jsx)(Ln,{layer:r[u],layerIndex:u,isActiveLayer:!0})]})}},56803:function(n,e,r){"use strict";function t(n){return function(e){e.stopPropagation(),n()}}function o(n){return function(e){n[e.key]&&n[e.key]()}}r.d(e,{s:function(){return t},w:function(){return o}})},56634:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".Jzs3iq1rDP5C8GJijmFR {\n position: relative;\n}\n\n.NaSZTgWxjXTcejbI5OvU {\n border: none;\n background: none;\n}\n.NaSZTgWxjXTcejbI5OvU:hover {\n cursor: pointer;;\n}\n\n.jThiLc5_BrUyl71v3rKn {\n display: inline-block;\n position: absolute;\n top: 100%;\n left: 0;\n width: max-content;\n z-index: 1;\n font-size: 70%;\n padding: 5px 10px;\n\n border-radius: 4px;\n}\n\n.jThiLc5_BrUyl71v3rKn p {\n display: inline-block;\n cursor: pointer;\n margin: 0;\n}\n\n.jThiLc5_BrUyl71v3rKn ul {\n display: none;\n}\n.jThiLc5_BrUyl71v3rKn.xG2GKlsc07jLEb2aMC6H {\n background: var(--dialog-bg, var(--bg));\n box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);\n}\n.jThiLc5_BrUyl71v3rKn.xG2GKlsc07jLEb2aMC6H ul {\n display: block;\n padding: 0;\n margin: 0;\n list-style-type: none;\n}\n\n.jThiLc5_BrUyl71v3rKn li {\n cursor: pointer;\n margin: 2px 0;\n line-height: 20px;\n padding: 0 5px;\n border-radius: 10px;\n}\n\n.jThiLc5_BrUyl71v3rKn li:hover {\n background-color: var(--hover-selection);\n color: white;\n}\n","",{version:3,sources:["webpack://./src/Common/action-menu.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,eAAe;AACjB;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,SAAS;EACT,OAAO;EACP,kBAAkB;EAClB,UAAU;EACV,cAAc;EACd,iBAAiB;;EAEjB,kBAAkB;AACpB;;AAEA;EACE,qBAAqB;EACrB,eAAe;EACf,SAAS;AACX;;AAEA;EACE,aAAa;AACf;AACA;EACE,uCAAuC;EACvC,8CAA8C;AAChD;AACA;EACE,cAAc;EACd,UAAU;EACV,SAAS;EACT,qBAAqB;AACvB;;AAEA;EACE,eAAe;EACf,aAAa;EACb,iBAAiB;EACjB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,wCAAwC;EACxC,YAAY;AACd",sourcesContent:[".wrapper {\n position: relative;\n}\n\n.button {\n border: none;\n background: none;\n}\n.button:hover {\n cursor: pointer;;\n}\n\n.menu {\n display: inline-block;\n position: absolute;\n top: 100%;\n left: 0;\n width: max-content;\n z-index: 1;\n font-size: 70%;\n padding: 5px 10px;\n\n border-radius: 4px;\n}\n\n.menu p {\n display: inline-block;\n cursor: pointer;\n margin: 0;\n}\n\n.menu ul {\n display: none;\n}\n.menu.open {\n background: var(--dialog-bg, var(--bg));\n box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);\n}\n.menu.open ul {\n display: block;\n padding: 0;\n margin: 0;\n list-style-type: none;\n}\n\n.menu li {\n cursor: pointer;\n margin: 2px 0;\n line-height: 20px;\n padding: 0 5px;\n border-radius: 10px;\n}\n\n.menu li:hover {\n background-color: var(--hover-selection);\n color: white;\n}\n"],sourceRoot:""}]),a.locals={wrapper:"Jzs3iq1rDP5C8GJijmFR",button:"NaSZTgWxjXTcejbI5OvU",menu:"jThiLc5_BrUyl71v3rKn",open:"xG2GKlsc07jLEb2aMC6H"},e.Z=a},33988:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".OaJISbD1WCmb03at77EG {\n position: relative;\n}\n\n.MUN9De8dUvbPGH9cEDoQ {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.MUN9De8dUvbPGH9cEDoQ::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n","",{version:3,sources:["webpack://./src/Common/input.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,SAAS;EACT,gCAAgC;EAChC,gBAAgB;EAChB,WAAW;;EAEX,kBAAkB;EAClB,gBAAgB;;EAEhB,YAAY;EACZ,wCAAwC;EACxC,cAAc;EACd,uBAAuB;;EAEvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,YAAY;EACZ,WAAW;;EAEX,SAAS;EACT,WAAW;EACX,YAAY;;EAEZ,wCAAwC;EACxC,8CAA8C;AAChD",sourcesContent:[".wrapper {\n position: relative;\n}\n\n.error {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.error::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n"],sourceRoot:""}]),a.locals={wrapper:"OaJISbD1WCmb03at77EG",error:"MUN9De8dUvbPGH9cEDoQ"},e.Z=a},86246:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.Ts1XsulUxBgSoayz6GP_ {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.Ts1XsulUxBgSoayz6GP_ p { margin: 5px 0; }\n\n.HvPN0ksB6oQd4qFmfPPx {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.dev9GEtyVhEyYVIUSvLb {\n text-align: center;\n}\n\n.QBp5dxen3AvfxVVq9dFX {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.vYtmo_mSCpUFrKY4Ze9c {\n margin: 0;\n padding-left: 15px;\n}\n.vYtmo_mSCpUFrKY4Ze9c[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.vYtmo_mSCpUFrKY4Ze9c li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.sfi7oDhjUZx3J3_Xg3UA {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.mbARMb51fkXt7JdPhxjQ {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.K6nQZFo_rNe0mFFLdaRV {\n background-color: var(--selection);\n color: white;\n}\n\n.V4mgWJYUfj1UeMS3VOGp {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.V4mgWJYUfj1UeMS3VOGp:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}',"",{version:3,sources:["webpack://./src/Keyboard/Binding/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,2BAA2B;EAC3B,qBAAqB;EACrB,mBAAmB;EACnB,4CAA4C;EAC5C,cAAc;EACd,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA,0BAAY,aAAa,EAAE;;AAE3B;EACE,aAAa;EACb,UAAU;EACV,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,eAAe;AACjB;AACA;EACE,kBAAkB;EAClB,qBAAqB;AACvB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,2CAA2C;EAC3C,oBAAoB;EACpB,SAAS;AACX;;AAEA;EACE,kBAAkB;;EAElB,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;;EAEjB,aAAa;EACb;AACF;;AAEA;EACE,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,OAAO;EACP,QAAQ;;EAER,cAAc;;EAEd,0BAA0B;EAC1B,+CAA+C;;EAE/C,kCAAkC;EAClC,uBAAuB;EACvB,oCAAoC;EACpC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,oCAAoC;AACtC",sourcesContent:['.notice {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.notice p { margin: 5px 0; }\n\n.dialogBox {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.dialogActions {\n text-align: center;\n}\n\n.mainPanel {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.parameterSlots {\n margin: 0;\n padding-left: 15px;\n}\n.parameterSlots[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.parameterSlots li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.keyBindingHeader {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.editPanel {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.editing {\n background-color: var(--selection);\n color: white;\n}\n\n.editPanelClose {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.editPanelClose:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}'],sourceRoot:""}]),a.locals={notice:"Ts1XsulUxBgSoayz6GP_",dialogBox:"HvPN0ksB6oQd4qFmfPPx",dialogActions:"dev9GEtyVhEyYVIUSvLb",mainPanel:"QBp5dxen3AvfxVVq9dFX",parameterSlots:"vYtmo_mSCpUFrKY4Ze9c",keyBindingHeader:"sfi7oDhjUZx3J3_Xg3UA",editPanel:"mbARMb51fkXt7JdPhxjQ",editing:"K6nQZFo_rNe0mFFLdaRV",editPanelClose:"V4mgWJYUfj1UeMS3VOGp"},e.Z=a},49040:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".lD5TsvdIbEAHNdmhfnlb {\n background-color: var(--key-bg-base);\n}\n.yk89E4zK9zlO69OXhKn5:hover {\n cursor: pointer;\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.pzTvsxKjpy6MqcFhxh9j {\n background-color: var(--selection);\n}\n.pzTvsxKjpy6MqcFhxh9j:hover {\n background-color: var(--hover-selection);\n}\n\n.r_Sdklnj57CE2ZjnBDw6 {\n background-color: var(--hover-selection);\n filter: brightness(135%);\n}\n\n.Ich9T1nSzHs1a84insfp {\n background-color: var(--hover-selection);\n filter: brightness(75%);\n}\n\n._3U1zi1J1sXT41AzpAA1j {\n position: absolute;\n bottom: 0;\n right: 50%;\n transform: translate(50%, 100%);\n}\n\n.f38_8PxgThEPWT2hn3qF {\n border-radius: 1px;\n}","",{version:3,sources:["webpack://./src/Keyboard/Common/keyPositionSelectorStyles.module.css"],names:[],mappings:"AAAA;EACE,oCAAoC;AACtC;AACA;EACE,eAAe;EACf,kCAAkC;EAClC,sBAAsB;AACxB;;AAEA;EACE,kCAAkC;AACpC;AACA;EACE,wCAAwC;AAC1C;;AAEA;EACE,wCAAwC;EACxC,wBAAwB;AAC1B;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;AACzB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,UAAU;EACV,+BAA+B;AACjC;;AAEA;EACE,kBAAkB;AACpB",sourcesContent:[".key {\n background-color: var(--key-bg-base);\n}\n.selectable:hover {\n cursor: pointer;\n border: 4px solid var(--selection);\n box-sizing: border-box;\n}\n\n.highlight {\n background-color: var(--selection);\n}\n.highlight:hover {\n background-color: var(--hover-selection);\n}\n\n.previewAdd {\n background-color: var(--hover-selection);\n filter: brightness(135%);\n}\n\n.previewRemove {\n background-color: var(--hover-selection);\n filter: brightness(75%);\n}\n\n.tip {\n position: absolute;\n bottom: 0;\n right: 50%;\n transform: translate(50%, 100%);\n}\n\n.keyMini {\n border-radius: 1px;\n}"],sourceRoot:""}]),a.locals={key:"lD5TsvdIbEAHNdmhfnlb",selectable:"yk89E4zK9zlO69OXhKn5",highlight:"pzTvsxKjpy6MqcFhxh9j",previewAdd:"r_Sdklnj57CE2ZjnBDw6",previewRemove:"Ich9T1nSzHs1a84insfp",tip:"_3U1zi1J1sXT41AzpAA1j",keyMini:"f38_8PxgThEPWT2hn3qF"},e.Z=a},30341:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.JeRmYfUKXTg9VqWZshKO {\n position: absolute;\n pointer-events: none;\n z-index: 2;\n opacity: 0.75;\n left: 5px;\n}\n.JeRmYfUKXTg9VqWZshKO:hover {\n opacity: initial;\n}\n.JeRmYfUKXTg9VqWZshKO > * {\n pointer-events: all;\n}\n\n.JeRmYfUKXTg9VqWZshKO ul {\n display: flex;\n position: relative;\n flex-direction: column;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.JeRmYfUKXTg9VqWZshKO li {\n position: relative;\n padding: 0;\n margin: 0;\n width: max-content;\n height: 36px;\n cursor: pointer;\n}\n.JeRmYfUKXTg9VqWZshKO .u2LnyyXbhUKWkR8h1WgY {\n cursor: grab;\n}\n.Svi1LYw7uQ_NUkdl_Qqu, .QHkrJNCowEE3i9FocgKe {\n background-color: var(--key-bg-base);\n color: var(--key-color-base);\n /* border-radius: 0 18px 18px 0; */\n height: 36px;\n padding: 0px;\n margin: 2px;\n width: max-content;\n}\n.JeRmYfUKXTg9VqWZshKO li:first-child .Svi1LYw7uQ_NUkdl_Qqu {\n border-radius: 4px 4px 0 0;\n}\n.JeRmYfUKXTg9VqWZshKO li:last-child .Svi1LYw7uQ_NUkdl_Qqu {\n border-radius: 0 0 4px 4px;\n}\n.JeRmYfUKXTg9VqWZshKO li:hover .Svi1LYw7uQ_NUkdl_Qqu {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.JeRmYfUKXTg9VqWZshKO:not([data-dragging="true"]) li:hover .Svi1LYw7uQ_NUkdl_Qqu {\n background-color: rgba(60, 179, 113, 0.85);\n color: white;\n padding-right: 35px;\n}\n[data-dragging="true"] .Svi1LYw7uQ_NUkdl_Qqu {\n padding-right: 35px;\n}\n.JeRmYfUKXTg9VqWZshKO .u2LnyyXbhUKWkR8h1WgY .Svi1LYw7uQ_NUkdl_Qqu {\n background-color: rgb(60, 179, 113);\n color: white;\n}\n\n.JeRmYfUKXTg9VqWZshKO li * {\n display: inline-block;\n}\n.JeRmYfUKXTg9VqWZshKO li .yVeX9ivshCU7PiJfbG2v {\n overflow: auto;\n width: 36px;\n height: 36px;\n line-height: 36px;\n text-align: center;\n}\n.JeRmYfUKXTg9VqWZshKO li .tV7QyJybi_Gy9OnFqX6l {\n overflow: hidden;\n width: 0;\n height: 36px;\n line-height: 36px;\n padding: 0;\n font-variant: small-caps;\n}\n\n.Svi1LYw7uQ_NUkdl_Qqu {\n margin: 4px 2px 4px 0;\n transition: margin-top .15s ease-in;\n}\n.Svi1LYw7uQ_NUkdl_Qqu.pRqaGgm21Psy3msTmiKg {\n cursor: grabbing;\n background-color: royalblue !important;\n color: white;\n opacity: 0.3;\n}\n\n.v7BdtxvE2YVCWNVJlnry {\n position: absolute;\n\n min-width: 200px;\n width: 100%;\n height: 40px;\n /* border: 1px dotted tomato; */\n}\n\n[data-dragging="false"] .v7BdtxvE2YVCWNVJlnry {\n display: none;\n}\n.a4BtINSAm0wAMDfWjTWQ {\n /* position: relative; */\n width: 200px;\n opacity: .3;\n}\n\n.Svi1LYw7uQ_NUkdl_Qqu.RMyVbbtfIDcsWDY7Qb1c {\n margin-top: 34px;\n}\n\n.JeRmYfUKXTg9VqWZshKO ul :hover .Svi1LYw7uQ_NUkdl_Qqu .tV7QyJybi_Gy9OnFqX6l,\n[data-dragging="true"] .Svi1LYw7uQ_NUkdl_Qqu .tV7QyJybi_Gy9OnFqX6l {\n transition: .15s ease-in;\n width: auto;\n padding: 0 0 0 10px;\n}\n\n.JeRmYfUKXTg9VqWZshKO button {\n width: 30px;\n height: 36px;\n line-height: 36px;\n padding: 0;\n text-align: center;\n border-radius: 18px;\n}\n\n.JeRmYfUKXTg9VqWZshKO .htA0l4uMnWt9050_zphf {\n cursor: pointer;\n position: absolute;\n right: 10px;\n visibility: hidden;\n\n height: 36px;\n line-height: 36px;\n}\n.JeRmYfUKXTg9VqWZshKO li:hover .htA0l4uMnWt9050_zphf {\n visibility: visible;\n}\n',"",{version:3,sources:["webpack://./src/Keyboard/Layers/layer-switcher.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,oBAAoB;EACpB,UAAU;EACV,aAAa;EACb,SAAS;AACX;AACA;EACE,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,kBAAkB;EAClB,sBAAsB;EACtB,qBAAqB;EACrB,SAAS;EACT,UAAU;AACZ;AACA;EACE,kBAAkB;EAClB,UAAU;EACV,SAAS;EACT,kBAAkB;EAClB,YAAY;EACZ,eAAe;AACjB;AACA;EACE,YAAY;AACd;AACA;EACE,oCAAoC;EACpC,4BAA4B;EAC5B,kCAAkC;EAClC,YAAY;EACZ,YAAY;EACZ,WAAW;EACX,kBAAkB;AACpB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,4BAA4B;EAC5B,+BAA+B;AACjC;AACA;EACE,0CAA0C;EAC1C,YAAY;EACZ,mBAAmB;AACrB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,mCAAmC;EACnC,YAAY;AACd;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,cAAc;EACd,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,gBAAgB;EAChB,QAAQ;EACR,YAAY;EACZ,iBAAiB;EACjB,UAAU;EACV,wBAAwB;AAC1B;;AAEA;EACE,qBAAqB;EACrB,mCAAmC;AACrC;AACA;EACE,gBAAgB;EAChB,sCAAsC;EACtC,YAAY;EACZ,YAAY;AACd;;AAEA;EACE,kBAAkB;;EAElB,gBAAgB;EAChB,WAAW;EACX,YAAY;EACZ,+BAA+B;AACjC;;AAEA;EACE,aAAa;AACf;AACA;EACE,wBAAwB;EACxB,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,gBAAgB;AAClB;;AAEA;;EAEE,wBAAwB;EACxB,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,UAAU;EACV,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,eAAe;EACf,kBAAkB;EAClB,WAAW;EACX,kBAAkB;;EAElB,YAAY;EACZ,iBAAiB;AACnB;AACA;EACE,mBAAmB;AACrB",sourcesContent:['.layerSelector {\n position: absolute;\n pointer-events: none;\n z-index: 2;\n opacity: 0.75;\n left: 5px;\n}\n.layerSelector:hover {\n opacity: initial;\n}\n.layerSelector > * {\n pointer-events: all;\n}\n\n.layerSelector ul {\n display: flex;\n position: relative;\n flex-direction: column;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layerSelector li {\n position: relative;\n padding: 0;\n margin: 0;\n width: max-content;\n height: 36px;\n cursor: pointer;\n}\n.layerSelector .active {\n cursor: grab;\n}\n.layer, .addLayer {\n background-color: var(--key-bg-base);\n color: var(--key-color-base);\n /* border-radius: 0 18px 18px 0; */\n height: 36px;\n padding: 0px;\n margin: 2px;\n width: max-content;\n}\n.layerSelector li:first-child .layer {\n border-radius: 4px 4px 0 0;\n}\n.layerSelector li:last-child .layer {\n border-radius: 0 0 4px 4px;\n}\n.layerSelector li:hover .layer {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.layerSelector:not([data-dragging="true"]) li:hover .layer {\n background-color: rgba(60, 179, 113, 0.85);\n color: white;\n padding-right: 35px;\n}\n[data-dragging="true"] .layer {\n padding-right: 35px;\n}\n.layerSelector .active .layer {\n background-color: rgb(60, 179, 113);\n color: white;\n}\n\n.layerSelector li * {\n display: inline-block;\n}\n.layerSelector li .index {\n overflow: auto;\n width: 36px;\n height: 36px;\n line-height: 36px;\n text-align: center;\n}\n.layerSelector li .name {\n overflow: hidden;\n width: 0;\n height: 36px;\n line-height: 36px;\n padding: 0;\n font-variant: small-caps;\n}\n\n.layer {\n margin: 4px 2px 4px 0;\n transition: margin-top .15s ease-in;\n}\n.layer.dragging {\n cursor: grabbing;\n background-color: royalblue !important;\n color: white;\n opacity: 0.3;\n}\n\n.dropper {\n position: absolute;\n\n min-width: 200px;\n width: 100%;\n height: 40px;\n /* border: 1px dotted tomato; */\n}\n\n[data-dragging="false"] .dropper {\n display: none;\n}\n.dropTarget {\n /* position: relative; */\n width: 200px;\n opacity: .3;\n}\n\n.layer.displaced {\n margin-top: 34px;\n}\n\n.layerSelector ul :hover .layer .name,\n[data-dragging="true"] .layer .name {\n transition: .15s ease-in;\n width: auto;\n padding: 0 0 0 10px;\n}\n\n.layerSelector button {\n width: 30px;\n height: 36px;\n line-height: 36px;\n padding: 0;\n text-align: center;\n border-radius: 18px;\n}\n\n.layerSelector .delete {\n cursor: pointer;\n position: absolute;\n right: 10px;\n visibility: hidden;\n\n height: 36px;\n line-height: 36px;\n}\n.layerSelector li:hover .delete {\n visibility: visible;\n}\n'],sourceRoot:""}]),a.locals={layerSelector:"JeRmYfUKXTg9VqWZshKO",active:"u2LnyyXbhUKWkR8h1WgY",layer:"Svi1LYw7uQ_NUkdl_Qqu",addLayer:"QHkrJNCowEE3i9FocgKe",index:"yVeX9ivshCU7PiJfbG2v",name:"tV7QyJybi_Gy9OnFqX6l",dragging:"pRqaGgm21Psy3msTmiKg",dropper:"v7BdtxvE2YVCWNVJlnry",dropTarget:"a4BtINSAm0wAMDfWjTWQ",displaced:"RMyVbbtfIDcsWDY7Qb1c",delete:"htA0l4uMnWt9050_zphf"},e.Z=a},59500:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.ULm7RKJYCZDRV0HmcA7C {\n position: absolute;\n top: 0;\n width: 100vw;\n height: 100vh;\n overflow: auto;\n scroll-snap-stop: normal;\n scroll-snap-type: y proximity;\n}\n\n.XWq43GGa2yCVXqY4Syw3 {\n width: fit-content;\n scroll-snap-align: start;\n margin: 0 auto;\n padding: 0 40px 40px;\n}\n\n.EwvVNY6vlf7HwYmXTbzi {\n margin: 10px 0;\n display: flex;\n}\n\n.EwvVNY6vlf7HwYmXTbzi label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.uhiC_7TzN7eCNbm5C6a8[data-sensor-count="0"] {\n display: none;\n}\n\n.ztwqyyB2FFS4oWgcCyZC label {\n display: inline-block;\n margin-bottom: 10px;\n}\n.ztwqyyB2FFS4oWgcCyZC[data-unbound="true"] label code {\n opacity: 0.5;\n}\n\n.N98b5r9XUT9yotsaxhB7 {\n cursor: pointer;\n margin-left: 5px;\n}\n\n.QZ1jUOy1FEDFG3IrI5JM { cursor: pointer; }\n.QZ1jUOy1FEDFG3IrI5JM:hover {\n color: white;\n}\n\n.raNkhxmGTqtKQI9X2gVA:not(.y7y6ypMwmSafQKgt7oBw) {\n cursor: pointer;\n}\n.raNkhxmGTqtKQI9X2gVA > * {\n pointer-events: none;\n}\n.raNkhxmGTqtKQI9X2gVA:hover, .y7y6ypMwmSafQKgt7oBw {\n color: var(--key-color-hover);\n background-color: var(--selection);\n}\n.raNkhxmGTqtKQI9X2gVA:hover {\n background-color: var(--hover-selection);\n}\n\n.sahMSNIG_94Hn9tEEZ8q {\n max-width: 80vw;\n overflow-x: scroll;\n}\n\n.c0VeuZmivZMxEPK_3OQZ {\n position: relative;\n font-weight: normal;\n font-size: 0.75em;\n color: var(--key-color-base);\n padding: 5px;\n background-color: var(--dialog-bg);\n border-radius: 1rem;\n cursor: pointer;\n}\n\n.c0VeuZmivZMxEPK_3OQZ .ZZ1YEtKhAc2ew68XlWlU {\n display: block;\n font-size: 1rem;\n}\n.c0VeuZmivZMxEPK_3OQZ:hover {\n color: royalblue;\n}\n\n.c0VeuZmivZMxEPK_3OQZ .khHtvu4X2wwOnAF6CQ3Y {\n display: none;\n position: absolute;\n top: 50%;\n right: 5px;\n z-index: 2;\n transform: translate(100%, -50%);\n width: max-content;\n line-height: 1rem;\n padding: 5px 10px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.c0VeuZmivZMxEPK_3OQZ:hover .khHtvu4X2wwOnAF6CQ3Y {\n display: block;\n background-color: var(--dialog-bg);\n}',"",{version:3,sources:["webpack://./src/Keyboard/Layers/style.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,YAAY;EACZ,aAAa;EACb,cAAc;EACd,wBAAwB;EACxB,6BAA6B;AAC/B;;AAEA;EACE,kBAAkB;EAClB,wBAAwB;EACxB,cAAc;EACd,oBAAoB;AACtB;;AAEA;EACE,cAAc;EACd,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,YAAY;AACd;;AAEA;EACE,eAAe;EACf,gBAAgB;AAClB;;AAEA,wBAAoB,eAAe,EAAE;AACrC;EACE,YAAY;AACd;;AAEA;EACE,eAAe;AACjB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,6BAA6B;EAC7B,kCAAkC;AACpC;AACA;EACE,wCAAwC;AAC1C;;AAEA;EACE,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,iBAAiB;EACjB,4BAA4B;EAC5B,YAAY;EACZ,kCAAkC;EAClC,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,cAAc;EACd,eAAe;AACjB;AACA;EACE,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,UAAU;EACV,gCAAgC;EAChC,kBAAkB;EAClB,iBAAiB;EACjB,iBAAiB;EACjB,yBAAyB;EACzB,4BAA4B;AAC9B;AACA;EACE,cAAc;EACd,kCAAkC;AACpC",sourcesContent:['.layerScrollContainer {\n position: absolute;\n top: 0;\n width: 100vw;\n height: 100vh;\n overflow: auto;\n scroll-snap-stop: normal;\n scroll-snap-type: y proximity;\n}\n\n.layerWrapper {\n width: fit-content;\n scroll-snap-align: start;\n margin: 0 auto;\n padding: 0 40px 40px;\n}\n\n.field {\n margin: 10px 0;\n display: flex;\n}\n\n.field label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.sensors[data-sensor-count="0"] {\n display: none;\n}\n\n.sensor label {\n display: inline-block;\n margin-bottom: 10px;\n}\n.sensor[data-unbound="true"] label code {\n opacity: 0.5;\n}\n\n.deleteSensorBinding {\n cursor: pointer;\n margin-left: 5px;\n}\n\n.addSensorBinding { cursor: pointer; }\n.addSensorBinding:hover {\n color: white;\n}\n\n.quickBindKey:not(.quickBindKeyHighlight) {\n cursor: pointer;\n}\n.quickBindKey > * {\n pointer-events: none;\n}\n.quickBindKey:hover, .quickBindKeyHighlight {\n color: var(--key-color-hover);\n background-color: var(--selection);\n}\n.quickBindKey:hover {\n background-color: var(--hover-selection);\n}\n\n.quickAssignDialog {\n max-width: 80vw;\n overflow-x: scroll;\n}\n\n.layerReferences {\n position: relative;\n font-weight: normal;\n font-size: 0.75em;\n color: var(--key-color-base);\n padding: 5px;\n background-color: var(--dialog-bg);\n border-radius: 1rem;\n cursor: pointer;\n}\n\n.layerReferences .icon {\n display: block;\n font-size: 1rem;\n}\n.layerReferences:hover {\n color: royalblue;\n}\n\n.layerReferences .details {\n display: none;\n position: absolute;\n top: 50%;\n right: 5px;\n z-index: 2;\n transform: translate(100%, -50%);\n width: max-content;\n line-height: 1rem;\n padding: 5px 10px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.layerReferences:hover .details {\n display: block;\n background-color: var(--dialog-bg);\n}'],sourceRoot:""}]),a.locals={layerScrollContainer:"ULm7RKJYCZDRV0HmcA7C",layerWrapper:"XWq43GGa2yCVXqY4Syw3",field:"EwvVNY6vlf7HwYmXTbzi",sensors:"uhiC_7TzN7eCNbm5C6a8",sensor:"ztwqyyB2FFS4oWgcCyZC",deleteSensorBinding:"N98b5r9XUT9yotsaxhB7",addSensorBinding:"QZ1jUOy1FEDFG3IrI5JM",quickBindKey:"raNkhxmGTqtKQI9X2gVA",quickBindKeyHighlight:"y7y6ypMwmSafQKgt7oBw",quickAssignDialog:"sahMSNIG_94Hn9tEEZ8q",layerReferences:"c0VeuZmivZMxEPK_3OQZ",icon:"ZZ1YEtKhAc2ew68XlWlU",details:"khHtvu4X2wwOnAF6CQ3Y"},e.Z=a},62663:function(n){n.exports=function(n,e,r,t){var o=-1,i=null==n?0:n.length;for(t&&i&&(r=n[++o]);++o<i;)r=e(r,n[o],o,n);return r}},44286:function(n){n.exports=function(n){return n.split("")}},49029:function(n){var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;n.exports=function(n){return n.match(e)||[]}},18674:function(n){n.exports=function(n){return function(e){return null==n?void 0:n[e]}}},14259:function(n){n.exports=function(n,e,r){var t=-1,o=n.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++t<o;)i[t]=n[t+e];return i}},40180:function(n,e,r){var t=r(14259);n.exports=function(n,e,r){var o=n.length;return r=void 0===r?o:r,!e&&r>=o?n:t(n,e,r)}},98805:function(n,e,r){var t=r(40180),o=r(62689),i=r(83140),a=r(79833);n.exports=function(n){return function(e){e=a(e);var r=o(e)?i(e):void 0,l=r?r[0]:e.charAt(0),s=r?t(r,1).join(""):e.slice(1);return l[n]()+s}}},35393:function(n,e,r){var t=r(62663),o=r(53816),i=r(58748),a=RegExp("['’]","g");n.exports=function(n){return function(e){return t(i(o(e).replace(a,"")),n,"")}}},69389:function(n,e,r){var t=r(18674)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});n.exports=t},62689:function(n){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");n.exports=function(n){return e.test(n)}},93157:function(n){var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;n.exports=function(n){return e.test(n)}},83140:function(n,e,r){var t=r(44286),o=r(62689),i=r(676);n.exports=function(n){return o(n)?i(n):t(n)}},676:function(n){var e="\\ud800-\\udfff",r="["+e+"]",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+t+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+s+"(?:\\u200d(?:"+[i,a,l].join("|")+")"+c+s+")*",d="(?:"+[i+t+"?",t,a,l,r].join("|")+")",A=RegExp(o+"(?="+o+")|"+d+u,"g");n.exports=function(n){return n.match(A)||[]}},2757:function(n){var e="\\ud800-\\udfff",r="\\u2700-\\u27bf",t="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",l="\\d+",s="["+r+"]",c="["+t+"]",u="[^"+e+i+l+r+t+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",f="(?:"+c+"|"+u+")",y="(?:"+p+"|"+u+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?",v=m+h+"(?:\\u200d(?:"+["[^"+e+"]",d,A].join("|")+")"+m+h+")*",x="(?:"+[s,d,A].join("|")+")"+v,C=RegExp([p+"?"+c+"+"+b+"(?="+[a,p,"$"].join("|")+")",y+"+"+g+"(?="+[a,p+f,"$"].join("|")+")",p+"?"+f+"+"+b,p+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,x].join("|"),"g");n.exports=function(n){return n.match(C)||[]}},53816:function(n,e,r){var t=r(69389),o=r(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");n.exports=function(n){return(n=o(n))&&n.replace(i,t).replace(a,"")}},18029:function(n,e,r){var t=r(35393),o=r(11700),i=t((function(n,e,r){return n+(r?" ":"")+o(e)}));n.exports=i},11700:function(n,e,r){var t=r(98805)("toUpperCase");n.exports=t},58748:function(n,e,r){var t=r(49029),o=r(93157),i=r(79833),a=r(2757);n.exports=function(n,e,r){return n=i(n),void 0===(e=r?void 0:e)?o(n)?a(n):t(n):n.match(e)||[]}},48118:function(n,e,r){"use strict";var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),s=r.n(l),c=r(3565),u=r.n(c),d=r(19216),A=r.n(d),p=r(44589),f=r.n(p),y=r(49040),b={};b.styleTagTransform=f(),b.setAttributes=u(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=A(),o()(y.Z,b),e.Z=y.Z&&y.Z.locals?y.Z.locals:void 0}}]); +//# sourceMappingURL=LayerEditorTab.26e81183548db5ea4da6.js.map
\ 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"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.e8f3f8fd7f00549e3f93.js"></script><script defer="defer" src="shared.dd74b99750ffc2d2a22b.js"></script><script defer="defer" src="vendors.4c92e9e0c4737245ebd4.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.8bedce6e56e82d212b15.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html>
\ No newline at end of file +<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.0dcbcd76591860b1976a.js"></script><script defer="defer" src="shared.d86d4fb68aba6e9ecb92.js"></script><script defer="defer" src="vendors.4c92e9e0c4737245ebd4.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.87a8989853b569492fef.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html>
\ No newline at end of file diff --git a/main.87a8989853b569492fef.js b/main.87a8989853b569492fef.js new file mode 100644 index 0000000..71d63bf --- /dev/null +++ b/main.87a8989853b569492fef.js @@ -0,0 +1,3 @@ +/*! For license information please see main.87a8989853b569492fef.js.LICENSE.txt */ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{96186:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),c=n.n(s),u=n(3565),l=n.n(u),f=n(19216),y=n.n(f),p=n(44589),h=n.n(p),d=n(49502),m={};m.styleTagTransform=h(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=y(),o()(d.Z,m);var v=d.Z&&d.Z.locals?d.Z.locals:void 0,b=n(85893);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var k=["dismissText","classes","onDismiss","children"];function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e){var t,n=e.dismissText,r=void 0===n?"Ok":n,o=e.classes,i=void 0===o?[]:o,a=e.onDismiss,s=e.children,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,k);return(0,b.jsxs)("div",j(j({className:[v.dialog].concat((t=i,function(e){if(Array.isArray(e))return w(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).join(" ")},c),{},{children:[s,r&&(0,b.jsx)("button",{className:v.button,onClick:a,children:r})]}))}},41051:function(e,t,n){"use strict";var r=n(45697),o=n.n(r),i=n(85893);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["name","className","collection"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={brands:"fab",default:"fa",regular:"fa-regular",light:"fa-light",solid:"fas",round:"far"};function f(e){var t=e.name,n=e.className,r=e.collection,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s),a=l[r],f="fa-".concat(t);return(0,i.jsx)("span",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:[n,a,f].join(" ")},o))}f.propTypes={name:o().string.isRequired,className:o().string,collection:o().string},f.defaultProps={collection:"default",className:""},t.Z=f},62092:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(41051),o=n(85893);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=["collection","icon","text","children","onClick"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=e.collection,n=e.icon,i=e.text,s=e.children,u=e.onClick,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a);return(0,o.jsxs)("button",c(c({onClick:u},l),{},{children:[(0,o.jsx)(r.Z,{collection:t,name:n})," ",i?(0,o.jsx)("span",{children:i}):s]}))}},2968:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(45697),o=n.n(r),i=n(41051),a=n(93379),s=n.n(a),c=n(7795),u=n.n(c),l=n(90569),f=n.n(l),y=n(3565),p=n.n(y),h=n(19216),d=n.n(h),m=n(44589),v=n.n(m),b=n(87617),g={};g.styleTagTransform=v(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(b.Z,g);var k=b.Z&&b.Z.locals?b.Z.locals:void 0,_=n(85893);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}var x=["href","children","external","showExternal"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===j(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){var t=e.href,n=e.children,r=e.external,o=e.showExternal,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,x),s=Object.assign({href:t},a,r&&{rel:"noreferrer",target:"_blank"});return(0,_.jsxs)("a",A(A({},s),{},{children:[n,(0,_.jsx)("span",{children:r&&o&&(0,_.jsx)(i.Z,{className:k.icon,name:"arrow-up-right-from-square"})})]}))}E.propTypes={href:o().string.isRequired,children:o().oneOfType([o().arrayOf(o().node),o().node]).isRequired,external:o().bool.isRequired,showExternal:o().bool},E.defaultProps={external:!1,showExternal:!0};var S=E},64261:function(e,t,n){"use strict";n.d(t,{X:function(){return d},Z:function(){return h}});var r=n(73935),o=n(67294),i=n(45697),a=n.n(i),s=n(85893);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={wrapper:{position:"absolute",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"rgba(104, 123, 162, 0.39)",backdropFilter:"blur(20px)",zIndex:"50",display:"flex",flexDirection:"column",justifyContent:"safe center",alignItems:"center",overflow:"auto"},centerOnly:{background:"transparent",backdropFilter:"none",pointerEvents:"none"},content:{display:"block",pointerEvents:"all",margin:"40px"}};function h(e){var t=e.onDismiss,n=e.centerOnly,i=void 0!==n&&n,a=e.children,c=(0,o.useRef)(),u=(0,o.useCallback)((function(e){t&&c.current&&e.target.contains(c.current)&&(e.stopPropagation(),t())}),[c,t]),l=i?f(f({},p.wrapper),p.centerOnly):p.wrapper;return r.createPortal((0,s.jsx)("div",{onClick:u,style:l,children:(0,s.jsx)("div",{ref:c,style:p.content,children:a})}),document.getElementById("modal-root"))}function d(e){var t,n,r=(t=(0,o.useState)(e),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],a=r[1],s=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a(!0)}),[a]),c=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a(!1)}),[a]),l=(0,o.useCallback)((function(e){(null==e?void 0:e.stopPropagation)&&e.stopPropagation(),a((function(e){return!e}))}),[a]);return[i,s,c,l]}h.propTypes={onDismiss:a().func}},80993:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(58119),o=n(19617),i=n(67294),a=n(95998);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=window.matchMedia("(prefers-color-scheme: dark)"),u=function(e){return e.theme},l=n(85893),f=["label","children"],y=["children"];function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=e.children;return(0,l.jsx)("label",{style:{display:"block",width:"100%",fontSize:"120%",color:"var(--fg)"},children:t})}var g=[0,5,10,20,30,40,50,60,70,80,90].reduce((function(e,t){return m(m({},e),{},v({},"neutral".concat(t),"hsl(210, 33%, ".concat(t+15,"%)")))}),{});function k(e){var t,n,p,d,v,k,_=e.label,j=e.children,x=h(e,f),w=(t=(0,a.v9)(u),v=(0,i.useState)(c.matches),k=2,p=(n=function(e){if(Array.isArray(e))return e}(v)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(v,k)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(v,k)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],d=n[1],(0,i.useEffect)((function(){function e(e){d(e.matches)}return c.addEventListener("change",e),function(){return c.removeEventListener("change",e)}})),"dark"===t||"system"===t&&p);return(0,l.jsxs)("div",{style:{display:"inline-block",width:"auto"},children:[(0,l.jsx)(b,{children:_}),(0,l.jsx)(o.ZP,m({styles:{container:function(e,t){return m(m({},e),{},{display:"inline-block"})},control:function(e){return m(m({},e),{},{transition:"none"})},menu:function(e){return m(m({},e),{},{width:"max-content",zIndex:10})}},components:{MenuList:function(e){var t=e.children,n=h(e,y);return(0,l.jsxs)(r.c.MenuList,m(m({},n),{},{children:[t,j]}))}},theme:function(e){return m(m({},e),{},{colors:m(m({},e.colors),w?g:{})})},isSearchable:!1},x))]})}g.primary25="hsl(214, 100%, 40%)"},21517:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,r.useEffect)((function(){if(n){var r=function(n){var r=document.body.contains(n.target),o=e.current.contains(n.target);r&&!o&&t()};return document.body.addEventListener("click",r),function(){return document.body.removeEventListener("click",r)}}}),[e,n,t])}},91829:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t,n,i=(t=(0,r.useState)(e),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1];return[a,(0,r.useCallback)((function(){return s((function(e){return!e}))}),[s]),(0,r.useCallback)((function(){return s(!0)}),[s]),(0,r.useCallback)((function(){return s(!1)}),[s])]}},18311:function(e,t,n){"use strict";n.d(t,{Z:function(){return _},v:function(){return g}});var r=n(50361),o=n.n(r),i=n(63105),a=n.n(i),s=n(24350),c=n.n(s),u=n(67294),l=n(95998),f=n(2596),y=n(85893);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){h=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function d(){}function m(){}var v={};c(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=y.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==p(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=c(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),c(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),c(k,s,"Generator"),c(k,i,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}var g=(0,u.createContext)({keycodes:[],behaviours:[],behaviors:{},behaviorBinds:[],glyphs:[]}),k=function(e){return e.definitions};function _(e){var t=e.children,n=(0,l.v9)(k),r=(0,l.I0)();if((0,u.useEffect)((function(){b(h().mark((function e(){var t,i,s,u,l,f,y,p;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Promise.all([w(),j()]);case 4:t=e.sent,i=d(t,2),s=d(i[0],2),u=s[0],l=s[1],f=i[1],y=o()(f.behaviors),p=o()(f.bindings),u.indexed=c()(u,"code"),p.indexed=c()(p,"code"),p.context={none:p.filter((function(e){return!e.context})),macros:a()(p,{context:"macros"}),encoders:a()(p,{context:"encoders"})},p.byContext={none:c()(p.context.none,"code"),macros:c()(p.context.macros,"code"),encoders:c()(p.context.encoders,"code")},r({type:"DEFINITIONS_SET",definitions:{keycodes:u,behaviours:p,behaviors:y,behaviorBinds:p,glyphs:l}});case 17:case"end":return e.stop()}}),e)})))()}),[n,r]),n)return(0,y.jsx)(g.Provider,{value:n,children:t})}function j(){return x.apply(this,arguments)}function x(){return(x=b(h().mark((function e(){var t,r,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.t.bind(n,95130,23));case 2:return t=e.sent,r=t.behaviorSchemas,o=t.behaviorBindings,e.abrupt("return",{behaviors:r,bindings:o});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return A.apply(this,arguments)}function A(){return(A=b(h().mark((function e(){var t,r,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(3712).then(n.t.bind(n,52779,23));case 2:return t=e.sent,r=t.keycodes,o=t.keycodeGlyphs,e.abrupt("return",[(0,f.G)(r),o]);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},20817:function(e,t,n){"use strict";n.d(t,{S:function(){return s},V:function(){return a}});var r=n(67294),o=n(26417),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,"."]})},20058:function(e,t,n){"use strict";n.d(t,{E$:function(){return o},eG:function(){return c},hd:function(){return s},x5:function(){return u}});var r=n(97168),o=function(e){return e.keyboard.keymap.behaviorReconfigurations},i=(0,r.oM)({name:"behaviorReconfigurations",initialState:[],reducers:{addReconfiguration:function(e,t){e.push(t.payload.reconfiguration)},updateReconfiguration:function(e,t){e[t.payload.reconfigurationIndex]=t.payload.reconfiguration},deleteReconfiguration:function(e,t){e.splice(t.payload.reconfigurationIndex,1)}}}),a=i.actions,s=a.addReconfiguration,c=a.updateReconfiguration,u=a.deleteReconfiguration;t.ZP=i.reducer},29520:function(e,t,n){"use strict";n.d(t,{Q:function(){return y},V:function(){return p}});var r=n(97168);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,s,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,s)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function i(r,a,s,c){var u=y(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,c)}),(function(e){i("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return i("throw",e,s,c)}))}c(u.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,u,"Generator"),l(k,s,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}var a=i().mark(h);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=(0,r.PH)("behaviors/labelChanged",(function(e,t,n,r){var o=t[t.length-1],i=e.reduce((function(e,n){return l(l({},e),{},f({},n,t.includes(n)?n:o))}),{});return{payload:{currentLabels:e,targetLabels:t,labelMapping:i,behaviors:n,behaviorSchemas:r}}}));function p(e,t){return function(n,r){var o,i=r.payload,a=i.currentLabels,c=i.labelMapping,u=s(h(n,i.behaviors,i.behaviorSchemas,e,t));try{for(u.s();!(o=u.n()).done;){var l=o.value,f=l.type,y=l.collection,p=l.key,d=y[p].slice(1);if(a.includes(d)){var m=c[d];y[p]=m?"&".concat(m):"&none",m||"phandle-array"!==f||(y.params=[],y._isPlaceholder=!0)}}}catch(e){u.e(e)}finally{u.f()}}}function h(e,t,n,r,o){var c,u,l,f,y,p,h,d,m,v,b,g,k,_,j;return i().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:c=s(e),i.prev=1,c.s();case 3:if((u=c.n()).done){i.next=63;break}l=u.value,f=r(l,t,n),y=s(f),i.prev=7,y.s();case 9:if((p=y.n()).done){i.next=20;break}h=p.value,d=0;case 12:if(!(d<h.length)){i.next=18;break}return i.next=15,{type:"phandles",collection:h,key:d};case 15:d++,i.next=12;break;case 18:i.next=9;break;case 20:i.next=25;break;case 22:i.prev=22,i.t0=i.catch(7),y.e(i.t0);case 25:return i.prev=25,y.f(),i.finish(25);case 28:m=o(l,t,n),v=s(m),i.prev=30,v.s();case 32:if((b=v.n()).done){i.next=53;break}g=b.value,k=s(g),i.prev=35,k.s();case 37:if((_=k.n()).done){i.next=43;break}return j=_.value,i.next=41,{type:"phandle-array",collection:j,key:"value"};case 41:i.next=37;break;case 43:i.next=48;break;case 45:i.prev=45,i.t1=i.catch(35),k.e(i.t1);case 48:return i.prev=48,k.f(),i.finish(48);case 51:i.next=32;break;case 53:i.next=58;break;case 55:i.prev=55,i.t2=i.catch(30),v.e(i.t2);case 58:return i.prev=58,v.f(),i.finish(58);case 61:i.next=3;break;case 63:i.next=68;break;case 65:i.prev=65,i.t3=i.catch(1),c.e(i.t3);case 68:return i.prev=68,c.f(),i.finish(68);case 71:case"end":return i.stop()}}),a,null,[[1,65,68,71],[7,22,25,28],[30,55,58,61],[35,45,48,51]])}},28291:function(e,t,n){"use strict";n.d(t,{F6:function(){return y},md:function(){return p},pR:function(){return a},tY:function(){return h}});var r=n(97168),o=n(50868),i=n(29520),a=function(e){return e.keyboard.keymap.behaviors},s=function(e){return function(t,n,r){var o=function(e){var t,n,r;return(null===(t=e.properties.compatible)||void 0===t?void 0:t.parsed)||(null===(n=e.properties.compatible)||void 0===n||null===(r=n.raw)||void 0===r?void 0:r.replace(/"/g,""))}(t),i=r[o];return i?Object.keys(i.properties).reduce((function(n,r){var o=i.properties[r],a=t.properties[r];return o.type===e&&a&&n.push(a.parsed),n}),[]):[]}},c=s("phandles"),u=s("phandle-array"),l=(0,r.oM)({name:"behaviors",initialState:[],reducers:{addBehavior:function(e,t){e.push(t.payload.behavior)},updateBehavior:function(e,t){e[t.payload.behaviorIndex]=t.payload.behavior},deleteBehavior:function(e,t){e.splice(t.payload.behaviorIndex,1)}},extraReducers:function(e){e.addCase(o.fD,(0,o.Ie)(u)),e.addCase(i.Q,(0,i.V)(c,u))}}),f=l.actions,y=f.addBehavior,p=f.updateBehavior,h=f.deleteBehavior;t.ZP=l.reducer},2732:function(e,t,n){"use strict";n.d(t,{CG:function(){return h},DP:function(){return u},SD:function(){return v},ij:function(){return y},l3:function(){return d},nJ:function(){return p},pd:function(){return m}});var r=n(27361),o=n.n(r),i=n(97168),a=n(50868),s=n(29520);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(e){return e.keyboard.keymap.combos},l=(0,i.oM)({name:"combos",initialState:[],reducers:{updateComboBinding:function(e,t){e[t.payload.comboIndex].properties.bindings={parsed:t.payload.bindings}},updateComboKeypositions:function(e,t){e[t.payload.comboIndex].properties["key-positions"]={parsed:t.payload.keyPositions}},createCombo:function(e,t){e.push(t.payload)},renameCombo:function(e,t){e[t.payload.index].name=t.payload.name},deleteCombo:function(e,t){e.splice(t.payload.index,1)},customizeCombo:function(e,t){var n=t.payload,r=n.index,o=n.combo;e[r]=o}},extraReducers:function(e){var t=(0,a.Ie)();e.addCase(a.fD,(function(e,n){var r=n.payload,i=r.positionMapping,a=r.sources.defines;t(e,n);var s,u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(u.s();!(s=u.n()).done;){var l,f,y=s.value.properties;null!==(l=y.layers)&&void 0!==l&&null!==(f=l.parsed)&&void 0!==f&&f.length&&(y.layers.parsed=y.layers.parsed.reduce((function(e,t){t=o()(a,t,t);var n=i[t];return null!==n&&e.push(n),e}),[]))}}catch(e){u.e(e)}finally{u.f()}})),e.addCase(s.Q,(0,s.V)((function(){return[]}),(function(e){return[e.properties.bindings.parsed]})))}}),f=l.actions,y=f.updateComboBinding,p=f.updateComboKeypositions,h=f.createCombo,d=f.renameCombo,m=f.deleteCombo,v=f.customizeCombo;t.ZP=l.reducer},59140:function(e,t,n){"use strict";n.d(t,{Iu:function(){return c},YA:function(){return y},Zp:function(){return f},h8:function(){return p}});var r=n(27361),o=n.n(r),i=n(97168),a=n(50868);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e){return e.keyboard.keymap.conditionalLayers},u=(0,i.oM)({name:"conditionalLayers",initialState:[],reducers:{addConditionalLayer:function(e,t){e.push(t.payload.node)},updateConditionalLayer:function(e,t){e[t.payload.index]=t.payload.node},deleteConditionalLayer:function(e,t){e.splice(t.payload.index,1)}},extraReducers:function(e){e.addCase(a.fD,(function(e,t){var n=t.payload,r=n.positionMapping,i=n.sources.defines;function a(e){return e=o()(i,e,e),r[e]}var c,u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(u.s();!(c=u.n()).done;){var l,f,y,p=c.value.properties;void 0!==(null===(l=p["then-layer"])||void 0===l?void 0:l.parsed)&&(p["then-layer"].parsed=a(p["then-layer"].parsed)),null!==(f=p["if-layers"])&&void 0!==f&&null!==(y=f.parsed)&&void 0!==y&&y.length&&(p["if-layers"].parsed=p["if-layers"].parsed.reduce((function(e,t){var n=a(t);return null!==n&&e.push(n),e}),[]))}}catch(e){u.e(e)}finally{u.f()}}))}}),l=u.actions,f=l.addConditionalLayer,y=l.updateConditionalLayer,p=l.deleteConditionalLayer;t.ZP=u.reducer},50868:function(e,t,n){"use strict";n.d(t,{Ie:function(){return m},fD:function(){return h}});var r=n(27361),o=n.n(r),i=n(97168),a=n(41696);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(){c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,c){var u=y(e[r],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,u,"Generator"),l(k,i,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}var u=c().mark(v);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){return(0,a.L)(e,t).reduce((function(t,n,r){return"layer"===n&&t.push(e.params[r]),t}),[])}var h=(0,i.PH)("layers/indexChanged",(function(e,t,n,r,o){var i=function(e,t,n){var r,o=function(e){if(Array.isArray(e))return y(e)}(r=n.keys())||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||f(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return null===t?o.map((function(t){return t===e?null:t>e?t-1:t})):o.map((function(r){var o=r>e&&r>t,i=r<e&&r<t,a=e<r&&r<t;return r===e?t===n.length?t-1:t:o||i?r:a?r-1:r+1}))}(e,t,n),a=r.sources,s=r.behaviorParameters;return{payload:{currentIndex:e,targetIndex:t,sources:a,behaviorSchemas:o.behaviors,behaviorParameters:s,positionMapping:i}}})),d=function(e){return[e.properties.bindings.parsed]};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;return function(t,n){var r,i=n.payload,a=i.sources,s=i.behaviorSchemas,c=i.behaviorParameters,u=i.positionMapping,f=a.behaviours,y=a.defines,p=l(v(t,f,s,c,e));try{for(p.s();!(r=p.n()).done;){var h,d=r.value,m=o()(y,d.value,d.value);Number.isNaN(Number(m))||(m=Number(m)),d.value=null===(h=u[m])||void 0===h?void 0:h.toString(),void 0===d.value&&(d.value="0",d._isPlaceholder=!0)}}catch(e){p.e(e)}finally{p.f()}}}function v(e,t,n,r,o){var i,a,s,f,y,h,d,m,v,b,g,k;return c().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:i=l(e),c.prev=1,i.s();case 3:if((a=i.n()).done){c.next=54;break}s=a.value,f=l(o(s,t,n)),c.prev=6,f.s();case 8:if((y=f.n()).done){c.next=44;break}h=y.value,d=l(h),c.prev=11,d.s();case 13:if((m=d.n()).done){c.next=34;break}v=m.value,b=l(p(v,r)),c.prev=16,b.s();case 18:if((g=b.n()).done){c.next=24;break}return k=g.value,c.next=22,k;case 22:c.next=18;break;case 24:c.next=29;break;case 26:c.prev=26,c.t0=c.catch(16),b.e(c.t0);case 29:return c.prev=29,b.f(),c.finish(29);case 32:c.next=13;break;case 34:c.next=39;break;case 36:c.prev=36,c.t1=c.catch(11),d.e(c.t1);case 39:return c.prev=39,d.f(),c.finish(39);case 42:c.next=8;break;case 44:c.next=49;break;case 46:c.prev=46,c.t2=c.catch(6),f.e(c.t2);case 49:return c.prev=49,f.f(),c.finish(49);case 52:c.next=3;break;case 54:c.next=59;break;case 56:c.prev=56,c.t3=c.catch(1),i.e(c.t3);case 59:return c.prev=59,i.f(),c.finish(59);case 62:case"end":return c.stop()}}),u,null,[[1,56,59,62],[6,46,49,52],[11,36,39,42],[16,26,29,32]])}},80736:function(e,t,n){"use strict";n.d(t,{EI:function(){return y},En:function(){return O},Q:function(){return v},QR:function(){return A},UH:function(){return x},V6:function(){return g},WF:function(){return m},Xv:function(){return d},c7:function(){return _},sT:function(){return j},v1:function(){return w},vc:function(){return b},vl:function(){return f},zi:function(){return k}});var r=n(98913),o=n.n(r),i=n(97168),a=n(50868),s=n(29520);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l="&trans",f=function(e){return e.keyboard.keymap.layers};function y(e){var t,n;return(null==e||null===(t=e.properties)||void 0===t||null===(n=t.label)||void 0===n?void 0:n.parsed)||(null==e?void 0:e.name)}var p=(0,i.oM)({name:"layers",initialState:[],reducers:{createLayer:function(e,t){e.push({name:"layer_".concat(e.length),labels:[],properties:{bindings:{parsed:o()(t.payload.bindingCount,(function(){return function(){return{value:arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,params:[]}}()}))}}})},updateLayerMetadata:function(e,t){var n=t.payload,r=n.layerIndex,o=n.name,i=n.label;o&&(e[r].name=o),void 0!==i&&(e[r].properties.label={parsed:i})},renameLayer:function(e,t){e[t.payload.index].name=t.payload.name},repositionLayer:function(e,t){var n=t.payload,r=n.currentIndex,o=n.targetIndex;if(r!==o){var i=e[r],a=o>r?o-1:o;e.splice(r,1),e.splice(a,0,i)}},deleteLayer:function(e,t){e.splice(t.payload.index,1)},updateKeyBinding:function(e,t){e[t.payload.layerIndex].properties.bindings.parsed[t.payload.bindIndex]=t.payload.binding},updateSensorBindings:function(e,t){var n=t.payload,r=n.layerIndex,o=n.sensorIndex,i=n.bindings,a=e[r].properties;a["sensor-bindings"]=a["sensor-bindings"]||{parsed:[]};var s=a["sensor-bindings"].parsed;s[o]=i;for(var c=0;c<o;c++)s[c]=s[c]||{value:"&inc_dec_kp",params:[{value:0,_isPlaceholder:!0,params:[]},{value:0,_isPlaceholder:!0,params:[]}]};var u=s.indexOf(void 0);-1!==u&&s.splice(u,s.length-u)},rebindTransparentToKeyPress:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&trans"===o.value&&(o.value="&kp",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindTransparentToNone:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&trans"===o.value&&(o.value="&none",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindNoneToKeypress:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&none"===o.value&&(o.value="&kp",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindNoneToTransparent:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o=n.value;"&none"===o.value&&(o.value="&trans",o.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindEmptyKeypressToTransparent:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o,i=n.value;"&kp"!==i.value||null!==(o=i.params[0])&&void 0!==o&&o.value||(i.value="&trans",i.params=[])}}catch(e){r.e(e)}finally{r.f()}},rebindEmptyKeypressToNone:function(e,t){var n,r=c(e[t.payload.layerIndex].properties.bindings.parsed);try{for(r.s();!(n=r.n()).done;){var o,i=n.value;"&kp"!==i.value||null!==(o=i.params[0])&&void 0!==o&&o.value||(i.value="&none",i.params=[])}}catch(e){r.e(e)}finally{r.f()}}},extraReducers:function(e){e.addCase(a.fD,(0,a.Ie)((function(e){var t;return[e.properties.bindings.parsed,(null===(t=e.properties["sensor-bindings"])||void 0===t?void 0:t.parsed)||[]]}))),e.addCase(s.Q,(0,s.V)((function(){return[]}),(function(e){var t;return[e.properties.bindings.parsed,(null===(t=e.properties["sensor-bindings"])||void 0===t?void 0:t.parsed)||[]]})))}}),h=p.actions,d=h.createLayer,m=(h.renameLayer,h.repositionLayer),v=h.deleteLayer,b=h.updateLayerMetadata,g=h.updateKeyBinding,k=h.updateSensorBindings,_=h.rebindTransparentToKeyPress,j=h.rebindTransparentToNone,x=h.rebindNoneToKeypress,w=h.rebindNoneToTransparent,A=h.rebindEmptyKeypressToTransparent,O=h.rebindEmptyKeypressToNone;t.ZP=p.reducer},12736:function(e,t,n){"use strict";n.d(t,{F0:function(){return f},I2:function(){return l},bU:function(){return a},vo:function(){return y},xd:function(){return u}});var r=n(97168),o=n(50868),i=n(29520),a=function(e){return e.keyboard.keymap.macros},s=(0,r.oM)({name:"macros",initialState:[],reducers:{addMacro:function(e,t){e.push(t.payload)},deleteMacro:function(e,t){e.splice(t.payload.index,1)},updateMacroBindings:function(e,t){var n=t.payload,r=n.index,o=n.bindings;e[r].properties.bindings.parsed=o},customizeMacroOptions:function(e,t){Object.assign(e[t.payload.macroIndex],t.payload.options)}},extraReducers:function(e){e.addCase(o.fD,(0,o.Ie)()),e.addCase(i.Q,(0,i.V)((function(){return[]}),(function(e){return[e.properties.bindings.parsed]})))}}),c=s.actions,u=c.addMacro,l=c.deleteMacro,f=c.updateMacroBindings,y=c.customizeMacroOptions;t.ZP=s.reducer},26417:function(e,t,n){"use strict";n.d(t,{eG:function(){return p},mY:function(){return h},fI:function(){return d}});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,n){var r=function(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}}(e,t,n),o=r.x,i=r.y,a=r.u,u=r.h,l=r.a,f=r.rx,y=r.ry;return[{x:0,y:0},{x:a,y:0},{x:a,y:u},{x:0,y:u}].map((function(e){var t=e.x-f,n=e.y-y,r=Math.PI*l/180;return{x:f+t*Math.cos(r)-n*Math.sin(r),y:y+n*Math.cos(r)+t*Math.sin(r)}})).map((function(e){return{x:e.x+o,y:e.y+i}}))}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){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 y(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 p(e,t){return t.scale,e.map((function(e){return u({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 h(e){return e.map((function(e){return t=u({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}),n=o()(t,"x"),r=o()(t,"y"),{min:{x:Math.min.apply(Math,i(n)),y:Math.min.apply(Math,i(r))},max:{x:Math.max.apply(Math,i(n)),y:Math.max.apply(Math,i(r))}};var t,n,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 d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.scale,r=void 0===n?1:n,o=t.overrides,i=void 0===o?{}:o,a=Array.isArray(e)?h(e):e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:"".concat(a.x*r,"px"),height:"".concat(a.y*r,"px"),margin:"0 auto",padding:"0 40px 40px"},i)}},46908:function(e,t,n){"use strict";n.d(t,{Q:function(){return p},m:function(){return y}});var r=n(94184),o=n.n(r),i=n(67294),a=n(85893);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=(0,i.createContext)({});function y(e){var t,n,r=e.tabs,l=e.children,y=e.tabsClassName,p=e.activeTabClassName,d=(t=(0,i.useState)(h),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,n)||u(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=d[0],v=m.activeTab,b=m.context,g=d[1],k=(0,i.useCallback)((function(e,t){g((function(n){return{activeTab:e,context:void 0===t?n.context:t}}))}),[g]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ul",{className:y,children:r.map((function(e,t){var n,r,i,u=e.name,l=e.tabClasses,f=void 0===l?[]:l;return(0,a.jsx)("li",{onClick:function(e){e.stopPropagation(),k(t)},className:o().apply(void 0,c(f).concat([(n={},r=p,i=v===t,(r=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(r))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n)])),children:u},t)}))}),(0,a.jsx)(f.Provider,{value:{context:b,setActiveTab:k},children:(0,a.jsx)(i.Suspense,{children:l[v]})})]})}function p(){return(0,i.useContext)(f)}function h(){return{activeTab:0,context:null}}},69247:function(e,t,n){"use strict";n.d(t,{__:function(){return f},oT:function(){return u},zx:function(){return l}}),n(95998);var r=n(85893),o=["children","style"];function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=e.style,n=void 0===t?{}:t,o=e.children;return(0,r.jsx)("div",{style:s(s({},{height:"38px",lineHeight:"38px"}),n),children:o})}function l(e){var t=e.children,n=e.style,i=void 0===n?{}:n,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,o);return(0,r.jsx)(u,{style:i,children:(0,r.jsx)("button",s(s({style:{height:"100%"}},a),{},{children:t}))})}function f(e){var t=e.children;return(0,r.jsx)("label",{style:{display:"block",width:"100%",fontSize:"120%",color:"var(--fg)"},children:t})}window.matchMedia("(prefers-color-scheme: dark)"),[0,5,10,20,30,40,50,60,70,80,90].reduce((function(e,t){return e["neutral".concat(t)]="hsl(210, 33%, ".concat(t+15,"%)"),e}),{}).primary25="hsl(214, 100%, 40%)"},93965:function(e,t,n){"use strict";var r=n(9669),o=n.n(r),i=n(26729),a=n.n(i),s=n(28962);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new E(o||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function d(){}function m(){}var v={};l(v,i,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==t&&n.call(g,i)&&(v=g);var k=m.prototype=h.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(r,i,a,s){var u=y(e[r],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=m,r(k,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(j.prototype),l(j.prototype,a,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(k),l(k,s,"Generator"),l(k,i,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,s,"next",e)}function s(e){l(i,r,o,a,s,"throw",e)}a(void 0)}))}}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}var b="".concat(s.ny.replace("http","ws"),"/github/events"),g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(x,e);var t,n,r,i,a,l,v,g,k,_,j=(k=x,_=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(k);if(_){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,e)});function x(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=j.call.apply(j,[this].concat(n))),"token",null),m(h(e),"initializing",!1),m(h(e),"installations",null),m(h(e),"repositories",null),m(h(e),"repoInstallationMap",null),m(h(e),"features",null),m(h(e),"socket",null),e}return t=x,n=[{key:"_request",value:(g=f(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"string"==typeof t&&(t={url:t}),t.url.startsWith("/")&&(t.url="".concat(s.ny).concat(t.url)),t.headers=Object.assign({},t.headers),this.token&&!t.headers.Authorization&&(t.headers.Authorization="Bearer ".concat(this.token)),e.prev=4,e.next=7,o()(t);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(4),401===(null===(n=e.t0.response)||void 0===n?void 0:n.status)&&(console.error("Authentication failed."),this.emit("authentication-failed",e.t0.response)),e.t0;case 14:case"end":return e.stop()}}),e,this,[[4,10]])}))),function(e){return g.apply(this,arguments)})},{key:"init",value:function(){var e=this;return this.initializing||(this.initializing=f(u().mark((function t(){var n,r,o,i,a,c;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.initEvents(),n="".concat(s.ny,"/github/installation"),(r=new URLSearchParams(window.location.search)).get("setup_action")&&r.get("installation_id")&&e.beginLoginFlow(),!r.get("blocked")){t.next=7;break}return setTimeout((function(){return e.emit("blocked")})),t.abrupt("return");case 7:if(o=r.get("token"),!window.localStorage.auth_token&&o&&(window.history.replaceState({},null,window.location.pathname),window.localStorage.auth_token=o),!window.localStorage.auth_token){t.next=22;break}return e.token=window.localStorage.auth_token,t.next=13,e._request(n);case 13:i=t.sent,a=i.data,c=a.installations.filter((function(e){return e.suspended_at})),a.installations.length===c.length&&(console.warn("No GitHub app installation found for authenticated user."),e.emit("app-not-installed")),e.username=a.username,e.installations=a.installations,e.repositories=a.repositories,e.repoInstallationMap=a.repoInstallationMap,e.emit("authenticated");case 22:case"end":return t.stop()}}),t)})))()),this.initializing}},{key:"initEvents",value:function(){var e=this,t=[],n=function(n){e.socket.readyState!==window.WebSocket.OPEN?(t.push(n),console.log("buffering websocket message",{readyState:e.socket.readyState},n)):e.socket.send(n)};this.socket=new window.WebSocket(b),this.socket.onopen=function(){console.log(new Date,"connected to console"),function(){for(var n;n=t.shift();)console.log("sending buffered websocket message",n),e.socket.send(n)}(),setInterval((function(){n(JSON.stringify({message:"ping"}))}),2e4)},this.socket.onclose=function(){return console.log(new Date,"disconnected from server")},this.socket.onerror=function(e){return console.error(new Date,e)},this.socket.onmessage=function(t){var n=JSON.parse(t.data);"workflow_run"===n.event&&e.emit("build-update",n.workflow_run)},this.on("authenticated",(function(){var t;null!==(t=e.installations)&&void 0!==t&&t.length&&(e.fetchAvailableFeatures(),n(JSON.stringify({message:"authorize",data:e.token})))}))}},{key:"beginLoginFlow",value:function(){window.localStorage.removeItem("auth_token"),window.location.href="".concat(s.ny,"/github/authorize")}},{key:"beginInstallAppFlow",value:function(){window.location.href="https://github.com/apps/".concat(s.cO,"/installations/new")}},{key:"logout",value:function(){window.localStorage.removeItem("auth_token"),window.location.href=s.AX}},{key:"manageInstallationRepos",value:function(e){var t=this.installations.find((function(t){return t.id===e}));window.location.href=t.html_url}},{key:"isGitHubAuthorized",value:function(){return!!this.token}},{key:"isAppSuspendedForRepoSelection",value:function(){var e,t,n;return(null===(e=this.installations)||void 0===e?void 0:e.length)>0&&(null===(t=this.installations)||void 0===t?void 0:t.every((function(e){return e.suspended_at})))&&(null===(n=this.installations)||void 0===n?void 0:n.some((function(e){return"all"===e.repository_selection})))}},{key:"isAppInstalled",value:function(){var e,t;return(null===(e=this.installations)||void 0===e?void 0:e.length)&&(null===(t=this.repositories)||void 0===t?void 0:t.length)}},{key:"fetchRepoBranches",value:(v=f(u().mark((function e(t){var n,r,o,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=encodeURIComponent(this.repoInstallationMap[t.full_name]),r=encodeURIComponent(t.full_name),e.next=4,this._request("/github/installation/".concat(n,"/").concat(r,"/branches"));case 4:return o=e.sent,i=o.data,e.abrupt("return",i);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"fetchBranchKeyboards",value:(l=f(u().mark((function e(t,n){var r,o,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=encodeURIComponent(this.repoInstallationMap[t.full_name]),o=encodeURIComponent(t.full_name),e.next=4,this._request("/github/installation/".concat(r,"/").concat(o,"/keyboards/").concat(n));case 4:return i=e.sent,a=i.data,e.abrupt("return",a);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return l.apply(this,arguments)})},{key:"fetchLayoutAndKeymap",value:(a=f(u().mark((function e(t,n){var r,o,i,a,c,l,f,y,p,h,d,m,v,b,g,k,_=arguments;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(_.length>2&&void 0!==_[2]?_[2]:{}).keyboard,o=encodeURIComponent(this.repoInstallationMap[t]),i=encodeURIComponent(t),a=new URL("".concat(s.ny,"/github/keyboard-files/").concat(o,"/").concat(i)),c=new URLSearchParams,n&&c.set("branch",n),r&&c.set("keyboard",r),a.search=c.toString(),e.prev=8,e.next=11,this._request(a.toString());case 11:return l=e.sent,f=l.data,y=f.info.layouts,p=f.keymap,h=f.keymapRaw,d=Object.keys(f.info.layouts)[0],m=p.chosen["zmk,matrix_transform"]?p.chosen["zmk,matrix_transform"].replace(/^&/,""):null,v=y[m]||y[d],b=v.layout,e.abrupt("return",{layoutMetadata:v,layout:b,keymap:p,keymapRaw:h,keyboards:f.keyboards,default:f.defaultKeymap,sensors:f.sensors,gitInfo:f.gitInfo});case 21:throw e.prev=21,e.t0=e.catch(8),400===(null===(g=e.t0.response)||void 0===g?void 0:g.status)?(console.error("Failed to load keymap and layout from github",e.t0.response.data),this.emit("repo-validation-error",e.t0.response.data)):500===(null===(k=e.t0.response)||void 0===k?void 0:k.status)&&"LayoutGenerationError"===e.t0.response.data.name&&this.emit("layout-generation-failed",e.t0.response.data),e.t0;case 25:case"end":return e.stop()}}),e,this,[[8,21]])}))),function(e,t){return a.apply(this,arguments)})},{key:"fetchAvailableFeatures",value:(i=f(u().mark((function e(){var t,n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isGitHubAuthorized()){e.next=2;break}return e.abrupt("return",{betaFeatures:[]});case 2:return this.features||(this.features=this._request("".concat(s.ny,"/github/features"))),e.next=5,this.features;case 5:return t=e.sent,n=t.data,e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fetchBuildStatus",value:(r=f(u().mark((function e(t,n){var r,o,i,a,c;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=encodeURIComponent(this.repoInstallationMap[t]),o=encodeURIComponent(t),i=new URL("".concat(s.ny,"/github/latest-run/").concat(r,"/").concat(o,"/").concat(encodeURIComponent(n))),e.next=5,this._request(i.toString());case 5:return a=e.sent,c=a.data,e.abrupt("return",c);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"createBranch",value:function(e,t,n){var r=this.repositories.find((function(t){return t.id===e})),o=encodeURIComponent(this.repoInstallationMap[r.full_name]),i=encodeURIComponent(r.full_name),a=new URL("".concat(s.ny,"/github/installation/").concat(o,"/").concat(i,"/branches")),c=new URLSearchParams({branch:t});return a.search=c.toString(),this._request({url:a.toString(),method:"POST",headers:{"Content-Type":"application/json"},data:{name:n}})}},{key:"commitChanges",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=o.message,a=void 0===i?null:i,c=o.keyboard,u=o.loadedGitInfo,l=encodeURIComponent(this.repoInstallationMap[e]),f=encodeURIComponent(e),y=new URL("".concat(s.ny,"/github/keyboard-files/").concat(l,"/").concat(f,"/").concat(encodeURIComponent(t))),p=new URLSearchParams({enableBehaviorEditing:!0});return c&&p.set("keyboard",c),y.search=p.toString(),this._request({url:y.toString(),method:"POST",headers:{"Content-Type":"application/json"},data:{keyboard:c,keymap:r,message:a,loadedGitInfo:u}})}}],n&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),x}(a()),k=new g;t.Z=k},28962:function(e,t,n){"use strict";function r(e){return e&&["1","on","yes","true"].includes(e.toString().toLowerCase())}n.d(t,{AX:function(){return i},IX:function(){return u},XG:function(){return f},cO:function(){return a},k0:function(){return s},mC:function(){return l},ny:function(){return o},qo:function(){return c}});var o="https://zmk-keymap-editor.fly.dev",i="https://nickcoutsos.github.io/keymap-editor",a="keymap-editor",s=r("true"),c=r("false"),u=r("true"),l=r("true"),f=r("true")},58538:function(e,t,n){"use strict";var r=n(67294),o=n(20745),i=n(95998),a=n(93379),s=n.n(a),c=n(7795),u=n.n(c),l=n(90569),f=n.n(l),y=n(3565),p=n.n(y),h=n(19216),d=n.n(h),m=n(44589),v=n.n(m),b=n(51424),g={};g.styleTagTransform=v(),g.setAttributes=p(),g.insert=f().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=d(),s()(b.Z,g),b.Z&&b.Z.locals&&b.Z.locals,n(81802);var k=n(81485),_=n(62092),j=n(39693),x=n.n(j),w=n(50361),A=n.n(w),O=n(63105),E=n.n(O),S=n(27361),C=n.n(S),P=n(41609),L=n.n(P),I=n(24350),T=n.n(I),B=n(95130),D=n(51785),N=n(18311),M=n(2596),R=n(62412),G=n(85893),Z=["children"];function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){U(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===q(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(){Y=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==q(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function K(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=V(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function H(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function V(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function J(e){var t,o,i=(t=(0,r.useState)([]),o=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,o)||V(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1],c=(0,r.useMemo)((function(){return e.headers.reduce((function(e,t){return t in D&&e.push(D[t]),e}),[])}),[e.headers]);return(0,r.useEffect)((function(){var e,t;(e=Y().mark((function e(){var t,r,o,i,a;return Y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Q(c),e.prev=2,r.s();case 4:if((o=r.n()).done){e.next=12;break}return i=o.value,e.next=8,n(34366)("./".concat(i.filename));case 8:a=e.sent,t.push.apply(t,K((0,M.G)(a.keys)));case 10:e.next=4;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),r.e(e.t0);case 17:return e.prev=17,r.f(),e.finish(17);case 20:s(t);case 21:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})),t=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){H(i,r,o,a,s,"next",e)}function s(e){H(i,r,o,a,s,"throw",e)}a(void 0)}))},function(){return t.apply(this,arguments)})()}),[c]),a}var X=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Z).keymap,o=(0,r.useContext)(N.v),i=o.keycodes,a=o.behaviours,s=o.glyphs,c=(0,r.useContext)(k.J).settings,u=J(n),l=(0,r.useMemo)((function(){var e=window.navigator.platform.startsWith("Mac"),t=window.navigator.platform.startsWith("Win"),n=e?"mac":t&&"win";return(0,M.j)(s,{unicode:C()(c,"unicodeGlyphs",!0),platform:"auto"!==C()(c,"platformGlyphs","auto")?c.platformGlyphs:n})}),[s,c]),f=(0,r.useMemo)((function(){var e=n.behaviors.map((function(e){return(e=A()(e)).code="&".concat(e.labels[0]),e.compatible=e.properties.compatible.parsed,e}));(0,B.mergeBehaviorOverlays)(e,B.behaviorOverlays);var t=[].concat(K(a.map((function(e){var t;return F(F({},e),{},{description:e.description||(null===(t=e.schema)||void 0===t?void 0:t.description)})}))),K((e||[]).map((function(e){var t,n;return{code:"&".concat(e.labels[0]),bind:"&".concat(e.labels[0]),name:e.name,displayName:(null===(t=e.properties.label)||void 0===t?void 0:t.raw)||e.name,description:"Custom behavior: ".concat((null===(n=e.properties.label)||void 0===n?void 0:n.raw)||e.name),context:e.context}}))),K(n.macros.map((function(e){var t;return{code:"&".concat(e.labels[0]),name:e.name,description:"Custom macro ".concat((null===(t=e.properties.label)||void 0===t?void 0:t.raw)||e.name)}}))));return t.indexed=T()(t,"code"),t.context={none:t.filter((function(e){return!e.context})),macros:E()(t,{context:"macros"}),encoders:E()(t,{context:"encoders"})},t.byContext={none:T()(t.context.none,"code"),macros:T()(t.context.macros,"code"),encoders:T()(t.context.encoders,"code")},t}),[a,n.behaviors,n.macros]),y=(0,r.useMemo)((function(){return(0,R.resolveBehaviorParams)([].concat(K(a),K(n.behaviors),K(n.macros)))}),[a,n.behaviors,n.macros]),p=(0,r.useMemo)((function(){return L()(n)?[]:n.layers.map((function(e,t){return{code:t,description:e.name||"Layer ".concat(t)}}))}),[n]),h=(0,r.useMemo)((function(){return[].concat(K(i.map((function(e){return A()(e)}))),K(u.map((function(e){return A()(e)}))))}),[i,u]),d=(0,r.useMemo)((function(){var e=T()(h,"code");for(var t in l){var n,r=l[t],o=Q(e[t].aliases);try{for(o.s();!(n=o.n()).done;){var i=n.value;e[i].symbol=r.symbol||e[i].symbol,e[i].faIcon=r.faIcon||e[i].faIcon}}catch(e){o.e(e)}finally{o.f()}}for(var a=0,s=["EXCL","AT","HASH","DLLR","PRCNT","CARET","AMPS","STAR","UNDER","PLUS","PIPE","TILDE2","COLON","TILDE","LT","QMARK","CLEAR2","PIPE2","LPAR","RPAR","LBRC","RBRC","DQT","GT"];a<s.length;a++)e[s[a]].modifiers=["LS"];return e}),[h,l]),m=(0,r.useMemo)((function(){return{code:d,behaviours:f.indexed,behavioursByContext:f.byContext,layer:T()(p,"code"),defines:n.defines}}),[d,f,p,n.defines]),v=(0,r.useMemo)((function(){return{behaviour:f,code:h}}),[f,h]),b=(0,r.useMemo)((function(){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none";return e.enum?e.enum.map((function(e){return"object"===q(e)?e:{code:e}})):e.raw?[]:(v[e]||console.error("cannot find target for",e),"behaviour"===e?v.behaviour.context[n]:v[e])}}),[v]),g=(0,r.useMemo)((function(){return[].concat(K(Object.keys(d)),K(Object.keys(n.defines||{})))}),[d,n.defines]);return(0,G.jsx)(k.c.Provider,{value:{behaviorParameters:y,getSearchTargets:b,mergedGlyphs:l,sources:m,identifiers:g},children:t})},$=n(45697),ee=n.n($),te={},ne=ee().string.isRequired,re=ee().arrayOf(ee().shape(te));te.value=ne,te.params=re;var oe=ee().shape(te),ie=ee().shape({index:ee().number,name:ee().string,properties:ee().shape({bindings:ee().shape({parsed:ee().arrayOf(oe).isRequired}).isRequired,"key-positions":ee().shape({parsed:ee().arrayOf(ee().number).isRequired}).isRequired})}),ae=ee().shape({index:ee().number,name:ee().string,properties:ee().shape({bindings:ee().shape({parsed:ee().arrayOf(oe).isRequired}).isRequired,"sensor-bindings":ee().shape({parsed:ee().arrayOf(oe).isRequired})})}),se=ee().shape({layers:ee().arrayOf(ae).isRequired,combos:ee().arrayOf(ie)}),ce=n(95872),ue=n(7739),le=n.n(ue);function fe(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 ye=n(2024);function pe(e){return pe="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},pe(e)}function he(e){return function(e){if(Array.isArray(e))return de(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 de(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)?de(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 de(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 me(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,t,n){return(t=function(e){var t=function(e,t){if("object"!==pe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===pe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be=function(e){return e.name},ge=function(e){return e.labels[0]},ke=function(e){var t;return null===(t=e.properties.label)||void 0===t?void 0:t.parsed};function _e(e,t){var n=le()(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:be(e)}})),n=e.conditionalLayers.map((function(e,t){return{location:"Keymap - Conditional Layer #".concat(t," (").concat(e.name,")"),path:"keymap.conditionalLayers[".concat(t,"]"),name:be(e)}})),r=e.combos.map((function(e,t){return{location:"Combos - Combo #".concat(t," (").concat(e.name,")"),path:"combos[".concat(t,"].name"),name:e.name}})),o=e.macros.map((function(e,t){return{location:"Macros - Macro #".concat(t," (").concat(be(e),")"),path:"macros[".concat(t,"].name"),name:be(e)}})),i=function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(ge(e),") - Name"),path:"behaviors[".concat(t,"].name"),name:be(e)}}))}(e.behaviors),a=[].concat(he(_e(t,"name")),he(_e(n,"name")),he(_e(r,"name")),he(_e(o,"name")),he(_e(i,"name"))),s=[].concat(he(t.filter((function(e){return ye.includes(e.name)}))),he(n.filter((function(e){return ye.includes(e.name)}))),he(r.filter((function(e){return ye.includes(e.name)}))),he(o.filter((function(e){return ye.includes(e.name)}))),he(i.filter((function(e){return ye.includes(e.name)}))));return{duplicates:a,redefined:s,passwordMacros:he(o.filter((function(e){return t=e.name,[/(^|[\b_])pass(word)?([\b_]|$)/].some((function(e){return t.match(e)}));var t})))}}function xe(e){var t=_e([].concat(e.layers.reduce((function(e,t,n){var r=ke(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(ke(t),") - Label"),path:"macros[".concat(n,"].label"),label:ke(t)}),e}),[]),function(e){return e.reduce((function(e,t,n){var r=ke(t),o=ge(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 we(e){var t=le()([].concat(e.macros.map((function(e,t){return{location:"Macros > Macro #".concat(t," (").concat(ge(e),")"),path:"macros[".concat(t,"].name"),ref:ge(e)}})),function(e){return e.map((function(e,t){return{location:"Behaviors - Behavior #".concat(t," (").concat(ge(e),") - Bind"),path:"behaviors[".concat(t,"].bind"),ref:ge(e)}}))}(e.behaviors)),"ref");return{duplicates:Object.values(t).reduce((function(e,t){return t.length>1&&e.push(t),e}),[])}}function Ae(e){var t=[].concat(he(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}),[])),he(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}),[])),he(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}),[])),he(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 Oe=n(20817),Ee=n(46908),Se=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1040),n.e(8573),n.e(8205),n.e(5868)]).then(n.bind(n,32098))})),Ce=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1040),n.e(8573),n.e(8205),n.e(8315)]).then(n.bind(n,67691))})),Pe=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1040),n.e(8573),n.e(6793)]).then(n.bind(n,29005))})),Le=(0,r.lazy)((function(){return n.e(1803).then(n.bind(n,11937))})),Ie=(0,r.lazy)((function(){return Promise.all([n.e(1040),n.e(8573),n.e(5819)]).then(n.bind(n,35634))})),Te=(0,r.lazy)((function(){return n.e(5074).then(n.bind(n,727))})),Be=function(e){return e.keyboard.keymap};function De(){var e=(0,i.v9)(Be),t=(0,r.useContext)(Oe.V).layout,n=(0,r.useMemo)((function(){return function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({nodeNames:je(e),nodeLabels:xe(e),nodeReferences:we(e),deprecations:Ae(e)},function(e){return{layoutMissingPositions:fe(e)}}(t))}(e,t)}),[e,t]),o=(0,r.useMemo)((function(){var e=n.nodeNames,t=n.nodeLabels,r=n.nodeReferences,o=n.deprecations,i=n.layoutMissingPositions;return e.duplicates.length+e.redefined.length+e.passwordMacros.length+t.duplicates.length+r.duplicates.length+o.resetBindings.length+i.length}),[n]),a=x()([{name:"layers",component:(0,G.jsx)(Pe,{})},{name:"conditional layers",component:(0,G.jsx)(Le,{})},{name:"combos",component:(0,G.jsx)(Ce,{})},{name:"macros",component:(0,G.jsx)(Ie,{})},{name:"behaviors",component:(0,G.jsx)(Se,{})},o>0&&{name:"warnings (".concat(o,")"),tabClasses:[ce.Z.warningTab],component:(0,G.jsx)(Te,{sanityChecks:n})}]);return(0,G.jsx)(X,{keymap:e,children:(0,G.jsx)(Ee.m,{tabs:a,tabsClassName:ce.Z.editorModeTabs,activeTabClassName:ce.Z.activeEditTab,children:a.map((function(e,t){return(0,G.jsx)(r.Fragment,{children:e.component},t)}))})})}De.propTypes={keymap:se};var Ne=De,Me=n(41051),Re=n(2746),Ge={};Ge.styleTagTransform=v(),Ge.setAttributes=p(),Ge.insert=f().bind(null,"head"),Ge.domAPI=u(),Ge.insertStyleElement=d(),s()(Re.Z,Ge);var Ze=Re.Z&&Re.Z.locals?Re.Z.locals:void 0,qe="https://github.com/nickcoutsos/keymap-editor";function ze(){return(0,G.jsxs)("div",{className:Ze.wrapper,children:[(0,G.jsx)("label",{children:"Need help? Open an issue:"}),(0,G.jsxs)("a",{className:Ze.githubLink,target:"_blank",rel:"noreferrer",href:qe,children:[(0,G.jsx)(Me.Z,{collection:"brands",name:"github"}),"/nickcoutsos/keymap-editor"]})]})}var Fe=n(96186),Ue=n(64261);function Ye(e){return Ye="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},Ye(e)}function Ke(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 Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function He(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Ye(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ye(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ve={description:{fontStyle:"italic",fontSize:"90%"}};function We(e){var t=e.settings,n=e.onUpdate,r=e.onClose;function o(e,r){n(Qe(Qe({},t),{},He({},e,r)))}return(0,G.jsx)(Ue.Z,{onDismiss:r,children:(0,G.jsxs)(Fe.Z,{onDismiss:r,children:[(0,G.jsx)("h1",{children:"Settings"}),(0,G.jsx)("h2",{children:"Keycode glyphs"}),(0,G.jsx)("h3",{children:(0,G.jsxs)("label",{htmlFor:"enable-unicode-glyphs",children:[(0,G.jsx)("input",{id:"enable-unicode-glyphs",type:"checkbox",checked:t.unicodeGlyphs,onChange:function(e){return o("unicodeGlyphs",e.target.checked)}})," Use Unicode Glyphs"]})}),(0,G.jsxs)("p",{style:Ve.description,children:["Use unicode glyphs for visual representations of keycodes like ",(0,G.jsx)("code",{children:"Enter"})," (⮐), ",(0,G.jsx)("code",{children:"Right Arrow"})," (⏵), etc. You can disable this if the symbols don't render correctly."]}),(0,G.jsx)("h3",{children:(0,G.jsxs)("label",{htmlFor:"platform-specific-glyphs",children:["Platform specific glyphs ",(0,G.jsxs)("select",{id:"platform-specific-glyphs",value:t.platformGlyphs||"auto",onChange:function(e){return o("platformGlyphs",e.target.value)},children:[(0,G.jsx)("option",{value:"auto",children:"Automatic"}),(0,G.jsx)("option",{value:"win",children:"Windows"}),(0,G.jsx)("option",{value:"mac",children:"macOS"})]})]})}),(0,G.jsxs)("p",{style:Ve.description,children:["Render symbols specific to your platform. E.g., render left/right meta key as ",(0,G.jsx)(Me.Z,{name:"windows fa-brands"})," for Windows, or ⌘ for macOS."]})]})})}We.propTypes={settings:ee().object.isRequired,onUpdate:ee().func.isRequired,onClose:ee().func.isRequired},We.defaultProps={settings:{}};var Je=We,Xe=n(94184),$e=n.n(Xe),et=n(13311),tt=n.n(et),nt=n(21517),rt=n(91829),ot=n(80993),it=n(80031);function at(e){return at="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},at(e)}function st(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 ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==at(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==at(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===at(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lt(e){return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,ct(ct({},e),{},{children:[(0,G.jsx)("h2",{children:"This layout was Auto-Generated"}),(0,G.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,G.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,G.jsx)("code",{children:"info.json"})," file."]}),it.Yo]}))})}lt.propTypes={};var ft=lt,yt=n(69247),pt=n(27621);function ht(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.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,G.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."}),it.t6]})})}ht.propTypes={onDismiss:ee().func.isRequired};var dt=ht,mt=n(2968),vt=(0,G.jsx)(mt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/wiki/Autoshift-using-ZMK-behaviors",children:"Autoshift using ZMK behaviors"});function bt(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.jsxs)("p",{children:["It looks like you're using a custom pre-processor macro to implement",(0,G.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,G.jsxs)("p",{children:["Please see ",vt," for a guide."]}),it.t6]})})}bt.propTypes={onDismiss:ee().func.isRequired};var gt=bt;function kt(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.jsxs)("p",{children:[(0,G.jsx)("code",{children:"keymap"})," is a top-level node."]}),(0,G.jsxs)("p",{children:["Your devicetree ",(0,G.jsx)("code",{children:"keymap"})," node wasn't found in the expected location. Usually this is the result of an incorrectly formatted tree and can introduce more errors if not fixed."]}),(0,G.jsxs)("p",{children:["Feel free to reach out for support at ",it.qM,"."]})]})})}function _t(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.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,G.jsx)("p",{children:"A common occurrence here is keymaps using a variety of pre-processor macros to define layers/combos/etc."}),it.t6]})})}kt.propTypes={onDismiss:ee().func.isRequired},_t.propTypes={onDismiss:ee().func.isRequired};var jt=_t;function xt(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse Miryoku keymap"}),(0,G.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,G.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:ee().func.isRequired};var wt=xt;function At(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.jsx)("p",{children:"Missing devicetree root node."}),(0,G.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,G.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 ",it.qM,"."]})]})})}At.propTypes={onDismiss:ee().func.isRequired};var Ot=At;function Et(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Could not parse keymap"}),(0,G.jsxs)("p",{children:["Detected use of ",(0,G.jsx)("code",{children:"zmk-nodefree-config"})]}),(0,G.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,G.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."})]})})}Et.propTypes={onDismiss:ee().func.isRequired};var St=Et,Ct=n(28962),Pt=x()([Ct.IX&&{id:"demo",name:"Demo Keyboard",icon:"keyboard",shortDescription:"Play around with a sample keymap",description:"Take the keymap editor for a spin with a sample Corne keymap, no setup necessary."},Ct.qo&&{id:"local",name:"Local",icon:"home",shortDescription:"Hello, me",collapsible:!1},Ct.k0&&{id:"github",name:"GitHub",icon:"github",iconCollection:"brands",shortDescription:"Integrate with a GitHub repo, leveraging GitHub actions to compile firmware",description:"Have a zmk-config repository in GitHub? Integrate with it and use the app to make changes to your keymaps directly.",collapsible:!0},Ct.mC&&{id:"clipboard",name:"Clipboard",icon:"clipboard",shortDescription:"Read and write keymap data directly from your clipboard",description:"Prefer to work locally? Paste the contents of your keymaps into the app for graphical editing and copy changes to your clipboard with the click of a button.",isBeta:!0},Ct.XG&&window.showOpenFilePicker&&{id:"filesystem",name:"File System",icon:"file-code",shortDescription:"Read and write keymap files on your local filesystem",description:"Prefer to work locally? Locate keymaps on your filesystem and write changes directly.",isBeta:!0}]),Lt=localStorage.getItem("selectedSource"),It=(1===Pt.length?Pt[0].id:null)||(Pt.find((function(e){return e.id===Lt}))?Lt:null),Tt=n(58723),Bt={};Bt.styleTagTransform=v(),Bt.setAttributes=p(),Bt.insert=f().bind(null,"head"),Bt.domAPI=u(),Bt.insertStyleElement=d(),s()(Tt.Z,Bt);var Dt=Tt.Z&&Tt.Z.locals?Tt.Z.locals:void 0;function Nt(e){var t=e.onSelect;return(0,G.jsxs)("div",{className:Dt.initialSelectionPage,children:[(0,G.jsxs)("div",{className:Dt.heading,children:[(0,G.jsx)("h1",{children:"Welcome!"}),(0,G.jsx)("p",{children:"This application allows you to load ZMK keymap code and manage it with a graphical presentation of your keyboard. To begin, select a source from which to load some keymap data. (You can switch between sources at any time)"})]}),(0,G.jsx)("div",{className:Dt.initialSelectionChoices,children:Pt.map((function(e,n){return(0,G.jsxs)("div",{className:Dt.choice,children:[(0,G.jsxs)("div",{onClick:function(){t(e)},children:[(0,G.jsx)(Me.Z,{name:e.icon,collection:e.iconCollection,className:Dt.sourceIcon}),(0,G.jsx)("h2",{children:e.name})]}),(0,G.jsx)("div",{className:Dt.sourceDescription,children:e.description})]},n)}))})]})}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 Rt(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 Gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){Zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zt(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 qt(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 zt(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)?zt(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 zt(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 Ft=(0,r.lazy)((function(){return n.e(3983).then(n.bind(n,67553))})),Ut=(0,r.lazy)((function(){return n.e(4733).then(n.bind(n,2946))})),Yt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1066),n.e(3203)]).then(n.bind(n,12160))})),Kt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1066),n.e(5708)]).then(n.bind(n,91436))})),Qt=(0,r.lazy)((function(){return Promise.all([n.e(3712),n.e(2243),n.e(1066),n.e(4218)]).then(n.bind(n,8101))})),Ht=function(e){return e.keyboard};function Vt(e){var t=e.onSelect,n=(0,r.useRef)(),o=(0,i.v9)(Ht),a=qt((0,r.useState)(It),2),s=a[0],c=a[1],u=qt((0,r.useState)({autoGenerated:!1}),2),l=u[0].autoGenerated,f=u[1],y=qt((0,r.useState)(null),2),p=y[0],h=y[1],d=(0,r.useCallback)((function(){return h(null)}),[h]),m=qt((0,rt.Z)(!0),4),v=m[0],b=m[2],g=m[3],k=(0,r.useCallback)((function(){h({component:ft,onClose:d})}),[h,d]),_=tt()(Pt,{id:s});(0,nt.Z)(n,g,!0===(null==_?void 0:_.collapsible)&&o&&v);var j=(0,r.useCallback)((function(e){t({source:e.id,keyboard:null}),c(e.id)}),[c,t]),x=(0,r.useCallback)((function(e){var n=e.keymap.warningFlags,r=void 0===n?[]:n,o=(e.layoutMetadata||{}).autoGenerated,i=void 0!==o&&o,a=function(e){switch(e[0]){case"USING_ZMK_NODEFREE_MACROS":return St;case"USING_MIRYOKU_DTSI":return wt;case"USING_NON_ZMK_MACRO":return dt;case"USING_AUTOSHIFT_MACRO":return gt;case"KEYMAP_PARSING_FAILED":return jt;case"MISSING_ROOT_NODE":return Ot;case pt.warningFlags.USING_TOP_LEVEL_KEYMAP_NODE:return kt;default:return null}}(r);if(a)return h({component:a,onClose:d}),void t({source:s,keyboard:null});f({autoGenerated:i}),t(Gt({source:s},e))}),[t,s,h,d]),w=(0,r.useCallback)((function(e){var n=e.dialog,r=e.dialogProps;h({component:n,dialogProps:r,onClose:d}),t({source:s,keyboard:null})}),[h,d,t,s]);return(0,r.useEffect)((function(){localStorage.setItem("selectedSource",s)}),[s]),s?(0,G.jsxs)("div",{ref:n,className:$e()(Dt.wrapper,Zt({},Dt.compact,!v)),children:[v&&(0,G.jsx)(ot.Z,{label:"Source",value:_,options:Pt,onChange:j,getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.id},formatOptionLabel:function(e,t){return"value"===t.context?e.name:(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)("div",{children:[e.name,e.isBeta&&(0,G.jsx)(Wt,{})]}),(0,G.jsx)("div",{className:Dt.sourceDescription,children:(0,G.jsx)("sub",{children:e.shortDescription})})]})}}),(null==p?void 0:p.component)&&(0,G.jsx)(p.component,Gt(Gt({},p.dialogProps||{}),{},{onDismiss:p.onClose})),(0,G.jsxs)(r.Suspense,{children:["local"===s&&(0,G.jsx)(Ft,{onError:w,onSelect:x}),"demo"===s&&(0,G.jsx)(Ut,{onSelect:x}),"github"===s&&(0,G.jsx)(Yt,{expanded:v,onSelect:x,onError:w,onExpand:b}),"clipboard"===s&&(0,G.jsx)(Kt,{onSelect:x,onError:w}),"filesystem"===s&&(0,G.jsx)(Qt,{onSelect:x,onError:w})]}),l&&(0,G.jsxs)(yt.zx,{onClick:k,children:[(0,G.jsx)(Me.Z,{name:"warning"})," Layout wrong?"]})]}):(0,G.jsx)(Nt,{onSelect:j})}function Wt(){return(0,G.jsx)("span",{style:{color:"white",backgroundColor:"var(--error-highlight)",fontSize:"12px",fontWeight:"bold",padding:"1px 3px",margin:"2px",borderRadius:"6px",verticalAlign:"top"},children:"beta"})}Vt.propTypes={onSelect:ee().func.isRequired};var Jt=n(93965),Xt=n(14084),$t={};$t.styleTagTransform=v(),$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 A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==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=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function 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,G.jsx)(mt.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/issues/new",children:"new issue"});function ln(e,t,n){return fn.apply(this,arguments)}function fn(){return fn=sn(nn().mark((function e(t,n,r){var o,i,a;return nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(Ct.ny,"/v2/events/client-errors"),i=JSON.stringify({error:t.toString(),stacktrace:n,info:r}),e.next=4,fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:i});case 4:(a=e.sent).ok||console.error("Failed to submit error report",a);case 6:case"end":return e.stop()}}),e)}))),fn.apply(this,arguments)}function yn(e){var t=e.error,o=e.info,i=rn((0,r.useState)([]),2),a=i[0],s=i[1],c=rn((0,r.useState)(""),2),u=c[0],l=c[1],f=rn((0,r.useState)(!1),2),y=f[0],p=f[1];return(0,r.useEffect)((function(){function e(){return(e=sn(nn().mark((function e(){var r,i;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:i=e.sent,s(i),ln(t,i,o);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[s,t,o]),(0,r.useEffect)((function(){l(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"\n".concat(e.name,"\n\n").concat(e.message,"\n\n").concat(t.map(cn).join("\n"),"\n").trim()}(t,a))}),[t,a]),(0,r.useEffect)((function(){y&&setTimeout((function(){p(!1)}),3e3)}),[y,p]),(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{dismissText:!1,style:{maxWidth:"700px"},children:[(0,G.jsx)("h2",{children:"Unexpected error"}),(0,G.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,G.jsxs)("div",{className:en.stackTrace,children:[(0,G.jsx)("pre",{children:u}),(0,G.jsx)(_.Z,{icon:"copy",title:"Copy error text",className:en.button,onClick:function(){var e="".concat("```","\n").concat(u,"\n").concat("```");navigator.clipboard.writeText(e).then((function(){return p(!0)}))}}),y&&(0,G.jsx)("div",{className:en.copyMessage,children:"Copied!"})]})]})})}yn.propTypes={error:ee().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 vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(e)}var bn=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)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=vn(r);if(o){var n=vn(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 a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={error:null,info:null},t}return t=a,(n=[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?(0,G.jsx)(pn,{error:n,info:r}):e}}])&&dn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Component);function gn(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Failed to save keymap changes"}),(0,G.jsx)("p",{children:"Sorry, an unexpected error occurred while trying to save your keymap."}),(0,G.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,G.jsx)("p",{children:it.qM})]})})}gn.propTypes={onDismiss:ee().func.isRequired};var kn=gn;function _n(e){var t=e.onDismiss;return(0,G.jsx)(Ue.Z,{children:(0,G.jsxs)(Fe.Z,{onDismiss:t,children:[(0,G.jsx)("h2",{children:"Keymap save failed: version mismatch"}),(0,G.jsx)("p",{children:"An error occurred while trying to save your keymap."}),(0,G.jsx)("p",{children:"The keymap in your GitHub repository doesn't match the keymap that was loaded in the app. This can happen if you make changes to the repo after loading it here, and can cause errors and failures while attempting to merge the two."}),(0,G.jsx)("p",{children:"You may need to reload the keymap and repeat your changes in the app."}),it.t6]})})}_n.propTypes={onDismiss:ee().func.isRequired};var jn=_n,xn=n(9669),wn=n.n(xn);function An(e){return An="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},An(e)}function On(){On=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==An(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function En(e,t,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){En(i,r,o,a,s,"next",e)}function s(e){En(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Cn(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 Pn="https://www.githubstatus.com/api/v2/components.json",Ln=3e5,In=["brv1bkgrwx7q","4230lsnqdsld","br0l2tvcx85d"];function Tn(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 Cn(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)?Cn(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)(Sn(On().mark((function e(){var t,n,r,o;return On().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,wn()({url:Pn});case 3:t=e.sent,n=t.data.components,r=Date.now(),o=n.filter((function(e){return In.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()-Ln&&u();var t=setTimeout(u,Ln);return function(){return clearTimeout(t)}}}),[u,e,a]),s}(t);return t&&0!==n.length?(0,G.jsxs)("div",{style:{position:"absolute",bottom:"10px",left:"50%",transform:"translateX(-50%)"},children:[(0,G.jsx)(Me.Z,{name:"warning",style:{color:"gold",backgroundColor:"#555",padding:"6px",margin:"5px",borderRadius:"100%"}}),(0,G.jsx)(mt.Z,{external:!0,href:"https://www.githubstatus.com/",children:"Note: Experiencing GitHub API issues, keymap loading/saving may fail"})]}):null}function Bn(e){return Bn="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},Bn(e)}var Dn=["source","layout","keymap","sensors"];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 A(o||[]);return r(a,"_invoke",{value:_(e,n,s)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function y(){}function p(){}function h(){}var d={};c(d,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==t&&n.call(v,i)&&(d=v);var b=h.prototype=y.prototype=Object.create(d);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,s){var c=l(e[r],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Bn(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function j(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Mn(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 Rn=function(){var e=(0,i.v9)((function(e){return e})),t=(0,i.I0)(),n=e.sourceOther,o=e.keyboard,a=e.saveError,s=e.saveErrorDetails,c=e.theme,u=e.settingsVisible,l=e.experimentalSettings;(0,r.useEffect)((function(){var e;if(null!=n&&n.github)return(e=Nn().mark((function e(){var t,o,i;return Nn().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,Jt.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){Mn(i,r,o,a,s,"next",e)}function s(e){Mn(i,r,o,a,s,"throw",e)}a(void 0)}))})(),Jt.Z.on("build-update",r),function(){return Jt.Z.off("build-update",r)};function r(e){e.head_branch===n.github.branch&&t({type:"GITHUB_BUILD_UPDATE",build:e})}t({type:"GITHUB_BUILD_UPDATE",build:null})}),[n,t]);var f=(0,r.useCallback)((function(e){var n=e.source,r=e.layout,o=e.keymap,i=e.sensors,a=void 0===i?[]:i,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Dn);t(o?{type:"SELECT_KEYBOARD",source:n,sourceOther:s,layout:r,keymap:o,sensors:a}:{type:"CLEAR_KEYBOARD_SELECTION"})}),[t]),y=(0,r.useCallback)((function(e){t({type:"SETTINGS_UPDATE",settings:e})}),[t]),p=(0,r.useCallback)((function(){return t({type:"SETTINGS_OPEN"})}),[t]);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(bn,{children:(0,G.jsxs)(k.J.Provider,{value:{settings:l,openSettingsDialog:p},children:[(0,G.jsx)(Vt,{onSelect:f}),(0,G.jsxs)("div",{id:"settings-bar",children:[(0,G.jsx)(_.Z,{id:"light-mode",title:"Toggle theme",icon:{light:"sun",dark:"moon",system:"circle-half-stroke"}[c]||"circle-half-stroke",onClick:function(){return t({type:"CYCLE_THEME"})}}),(0,G.jsx)(_.Z,{id:"settings-button",icon:"cog",onClick:p}),u&&(0,G.jsx)(Je,{settings:l,onUpdate:y,onClose:function(){return t({type:"SETTINGS_CLOSE"})}})]}),(0,G.jsxs)(N.Z,{children:[o&&(0,G.jsx)(Oe.S,{layout:o.layout,children:(0,G.jsx)(Ne,{keymap:o.keymap,sensors:o.sensors})}),(null==s?void 0:s.commitMismatch)&&(0,G.jsx)(jn,{onDismiss:function(){return t({type:"CLEAR_SAVE_ERROR"})}}),!(null!=s&&s.commitMismatch)&&a&&(0,G.jsx)(kn,{onDismiss:function(){return t({type:"CLEAR_SAVE_ERROR"})}})]})]})}),(0,G.jsx)(ze,{}),(0,G.jsx)(Tn,{enabled:!(null==n||!n.github)})]})},Gn=n(78718),Zn=n.n(Gn),qn=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 Fn(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 Un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fn(Object(n),!0).forEach((function(t){Yn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yn(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 Kn(){var e=JSON.parse(localStorage.getItem("experimental-settings")||"{}");return{definitions:null,source:null,sourceOther:null,keyboard:null,_unmodifiedKeymap:null,saving:null,saveError:null,saveErrorDetails:null,settingsVisible:null,commitDialogOpen:!1,theme:JSON.parse(localStorage.getItem("theme")),experimentalSettings:{unicodeGlyphs:C()(e,"unicodeGlyphs",!0),platformGlyphs:C()(e,"platformGlyphs","auto")},latestBuild:null}}var Qn=Kn();var Hn=n(14890),Vn=n(97168),Wn=n(80736),Jn=n(59140),Xn=n(2732),$n=n(12736),er=n(28291),tr=n(20058);function nr(e){return nr="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},nr(e)}function rr(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 or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(n),!0).forEach((function(t){ir(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ir(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==nr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==nr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===nr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ar=(0,Hn.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,Hn.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:er.ZP,behaviorReconfigurations:tr.ZP,layers:Wn.ZP,combos:Xn.ZP,macros:$n.ZP,conditionalLayers:Jn.ZP})}),sr=(0,Vn.xC)({reducer:function(e,t){var n=function(e,t){switch(t.type){case"INITIALIZE":return Kn();case"DEFINITIONS_SET":return Un(Un({},e),{},{definitions:t.definitions});case"CLEAR_KEYBOARD_SELECTION":return Un(Un({},e),{},{keyboard:null});case"SELECT_KEYBOARD":return function(e,t){var n=e.keyboard,r=Zn()(t,["layout","keymap","sensors"]);return(0,qn.u)(r.keymap),Un(Un({},e),{},{source:t.source,sourceOther:t.sourceOther,keyboard:Un(Un({},n),r),_unmodifiedKeymap:A()(r.keymap)})}(e,t);case"COMMIT_DIALOG_OPEN":return Un(Un({},e),{},{commitDialogOpen:!0});case"COMMIT_DIALOG_CLOSE":return Un(Un({},e),{},{commitDialogOpen:!1});case"GITHUB_BUILD_UPDATE":return Un(Un({},e),{},{latestBuild:t.build});case"KEYMAP_SAVE_START":return Un(Un({},e),{},{saving:!0,saveError:!1,saveErrorDetails:null});case"KEYMAP_SAVE_SUCCESS":return function(e,t){var n=Un({},t.keymap);return(0,qn.u)(n),Un(Un({},e),{},{saving:!1,unsaved:!1,keyboard:Un(Un({},e.keyboard),{},{keymap:n}),_unmodifiedKeymap:n})}(e,t);case"KEYMAP_SAVE_FAILURE":return Un(Un({},e),{},{saving:!1,saveError:!0,saveErrorDetails:t.details||{}});case"CLEAR_SAVE_ERROR":return Un(Un({},e),{},{saveError:null,saveErrorDetails:null});case"SETTINGS_OPEN":return Un(Un({},e),{},{settingsVisible:!0});case"SETTINGS_CLOSE":return Un(Un({},e),{},{settingsVisible:!1});case"SETTINGS_UPDATE":return localStorage.setItem("experimental-settings",JSON.stringify(t.settings)),Un(Un({},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,Un(Un({},e),{},{theme:o})}(e);default:return e}}(e,t);return or(or({},n),{},{keyboard:n.keyboard&&or(or({},n.keyboard),ar(n.keyboard,t))})},preloadedState:Qn});document.body.dataset.theme=Qn.theme,o.createRoot(document.getElementById("app-root")).render((0,G.jsx)(r.StrictMode,{children:(0,G.jsx)(i.zt,{store:sr,children:(0,G.jsx)(Rn,{})})}))},2596:function(e,t,n){"use strict";n.d(t,{G:function(){return l},j:function(){return f}});var r=n(39693),o=n.n(r);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(t=e,function(e){if(Array.isArray(e))return s(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort((function(e,t){return e.length-t.length}))[0];var t}var u=/^(.+?)\((code)\)$/;function l(e){return e.reduce((function(e,t){var n,r=t.description,o=t.context,a=t.symbol,s=t.faIcon,l=t.modifiers,f=void 0===l?[]:l,y=t.names.filter((function(e){return!e.match(u)})),p=c(y),h=t.names.map((function(e){return e.match(u)})).filter((function(e){return!!e}))[0],d={name:p,aliases:y,description:r,context:o,faIcon:s,symbol:a||p,modifiers:f,params:[]},m=i(y);try{for(m.s();!(n=m.n()).done;){var v=n.value;e.push(Object.assign({},d,{code:v,isModifier:!!h}))}}catch(e){m.e(e)}finally{m.f()}return h&&e.push(Object.assign({},d,{code:h[1],params:h[2].split(",")})),e}),[])}function f(e,t){return o()([e.basic,t.unicode&&e.unicode,"mac"===t.platform&&e.platforms.mac,"win"===t.platform&&e.platforms.win]).reduce((function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,a=o.names.filter((function(e){return!e.match(u)})),s=c(a);e[s]||(e[s]={}),e[s].symbol=e[s].symbol||o.symbol,e[s].faIcon=e[s].faIcon||o.faIcon}}catch(e){r.e(e)}finally{r.f()}return e}),{})}},41696:function(e,t,n){"use strict";n.d(t,{L:function(){return y},u:function(){return f}});var r=n(13311),o=n.n(r),i=n(27361),a=n.n(i),s=n(78718),c=n.n(s);function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){e.layers=e.layers.map((function(e){return c()(e,["index","name","labels","properties"])})),e.combos=e.combos.map((function(e){return c()(e,["index","name","labels","properties"])})),e.behaviors=e.behaviors.map((function(e){return c()(e,["index","name","labels","properties","params"])})),e.macros=e.macros.map((function(e){return c()(e,["index","name","labels","properties"])}))}function y(e,t){var n=e.value,r=e.params,i=t[n]||[],s=function(e,t){var n=a()(e,"[0]",{}),r=a()(t,"[0]");if(null!=r&&r.enum){var i={code:n.value},s=o()(r.enum,i);if(null!=s&&s.additionalParams)return s.additionalParams}return[]}(r,i);return[].concat(u(i),u(s))}},81485:function(e,t,n){"use strict";n.d(t,{J:function(){return i},c:function(){return o}});var r=n(67294),o=(0,r.createContext)({getSearchTargets:null}),i=(0,r.createContext)({settings:null,openSettingsDialog:null})},51424:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"body {\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n","",{version:3,sources:["webpack://./src/index.css"],names:[],mappings:"AAAA;EACE,SAAS;EACT,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE;aACW;AACb",sourcesContent:["body {\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n"],sourceRoot:""}]),t.Z=a},49502:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".ZpdcqlK42OntJos3eGw0 {\n background-color: var(--dialog-bg, var(--bg));\n padding: 20px 40px;\n max-width: 500px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n border-radius: 3px;\n border: 0.25px solid rgba(0, 0, 0, 0.4);\n}\n\n.ZpdcqlK42OntJos3eGw0 > h2:first-child {\n margin-top: 0;\n}\n\n.ZpdcqlK42OntJos3eGw0 p, .ZpdcqlK42OntJos3eGw0 ul {\n font-family: sans-serif;\n line-height: 1.3rem;\n}\n\n.Mywg1Gw3bKMc9Kd9qcEO {\n display: block;\n margin: 0 auto;\n}\n","",{version:3,sources:["webpack://./src/Common/dialog-box.module.css"],names:[],mappings:"AAAA;EACE,6CAA6C;EAC7C,kBAAkB;EAClB,gBAAgB;EAChB,4CAA4C;EAC5C,kBAAkB;EAClB,uCAAuC;AACzC;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,cAAc;AAChB",sourcesContent:[".dialog {\n background-color: var(--dialog-bg, var(--bg));\n padding: 20px 40px;\n max-width: 500px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n border-radius: 3px;\n border: 0.25px solid rgba(0, 0, 0, 0.4);\n}\n\n.dialog > h2:first-child {\n margin-top: 0;\n}\n\n.dialog p, .dialog ul {\n font-family: sans-serif;\n line-height: 1.3rem;\n}\n\n.button {\n display: block;\n margin: 0 auto;\n}\n"],sourceRoot:""}]),a.locals={dialog:"ZpdcqlK42OntJos3eGw0",button:"Mywg1Gw3bKMc9Kd9qcEO"},t.Z=a},87617:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".J2R67AQeCK_aC1DKFCMJ {\n margin: 4px;\n}","",{version:3,sources:["webpack://./src/Common/link.module.css"],names:[],mappings:"AAAA;EACE,WAAW;AACb",sourcesContent:[".icon {\n margin: 4px;\n}"],sourceRoot:""}]),a.locals={icon:"J2R67AQeCK_aC1DKFCMJ"},t.Z=a},14084:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".Q5veln3l3laVkuNPs5dQ {\n position: relative;\n}\n\n.Q5veln3l3laVkuNPs5dQ pre {\n white-space: pre;\n background-color: var(--code-bg);\n color: var(--key-color-base);\n padding: 10px;\n max-height: 320px;\n overflow: scroll;\n}\n\n.dqzgBwJ1Rq0XgMqeAKe7 {\n position: absolute;\n top: 15px;\n right: 15px;\n padding: 4px 7px;\n color: var(--key-color-base);\n background-color: var(--key-bg-base);\n border: 1px solid var(--key-color-base);\n border-radius: 3px;\n}\n.dqzgBwJ1Rq0XgMqeAKe7:hover {\n cursor: pointer;\n background-color: var(--selection);\n border: var(--selection);\n color: white;\n}\n\n.YV2lKA9hbJpP4Vs4udw8 {\n position: absolute;\n top: 5px;\n right: 0px;\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 2px;\n cursor: none;\n}\n","",{version:3,sources:["webpack://./src/Dialogs/unexpected-error.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,iBAAiB;EACjB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,WAAW;EACX,gBAAgB;EAChB,4BAA4B;EAC5B,oCAAoC;EACpC,uCAAuC;EACvC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kCAAkC;EAClC,wBAAwB;EACxB,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,kCAAkC;EAClC,YAAY;EACZ,aAAa;EACb,kBAAkB;EAClB,YAAY;AACd",sourcesContent:[".stackTrace {\n position: relative;\n}\n\n.stackTrace pre {\n white-space: pre;\n background-color: var(--code-bg);\n color: var(--key-color-base);\n padding: 10px;\n max-height: 320px;\n overflow: scroll;\n}\n\n.button {\n position: absolute;\n top: 15px;\n right: 15px;\n padding: 4px 7px;\n color: var(--key-color-base);\n background-color: var(--key-bg-base);\n border: 1px solid var(--key-color-base);\n border-radius: 3px;\n}\n.button:hover {\n cursor: pointer;\n background-color: var(--selection);\n border: var(--selection);\n color: white;\n}\n\n.copyMessage {\n position: absolute;\n top: 5px;\n right: 0px;\n background-color: var(--selection);\n color: white;\n padding: 10px;\n border-radius: 2px;\n cursor: none;\n}\n"],sourceRoot:""}]),a.locals={stackTrace:"Q5veln3l3laVkuNPs5dQ",button:"dqzgBwJ1Rq0XgMqeAKe7",copyMessage:"YV2lKA9hbJpP4Vs4udw8"},t.Z=a},87995:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".D0BH39_6wwiclW8aKuoi {\n display: inline-flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.D0BH39_6wwiclW8aKuoi li {\n cursor: pointer;\n padding: 5px;\n margin: 5px;\n border-radius: 4px;\n font-variant: small-caps;\n}\n.D0BH39_6wwiclW8aKuoi li.xwo6V7AWCmy8CDvuTwRg {\n background-color: var(--selection);\n color: white;\n cursor: default;\n}\n\n.nVbskEoaGxWf96qEgtxz {\n position: absolute;\n}\n.nVbskEoaGxWf96qEgtxz > * {\n width: 100% !important;\n height: 100% !important;\n}\n\n.Ae2s0eqIVhebTEcJGc3F {\n position: relative\n}\n.Ae2s0eqIVhebTEcJGc3F::after {\n content: 'beta';\n background-color: var(--error-highlight);\n color: white;\n font-size: 12px;\n font-weight: bold;\n padding: 1px 3px;\n border-radius: 6px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(60%, -60%) rotate(13deg);\n}\n.xwo6V7AWCmy8CDvuTwRg .Ae2s0eqIVhebTEcJGc3F::after {\n background-color: white;\n color: var(--selection);\n border: 1px solid var(--selection);\n}\n.sQQ0qFjHptJbQ8qvuXGa {\n color: var(--error-highlight);\n}\n.D0BH39_6wwiclW8aKuoi li.xwo6V7AWCmy8CDvuTwRg.sQQ0qFjHptJbQ8qvuXGa {\n background-color: var(--error-highlight);\n color: white;\n}","",{version:3,sources:["webpack://./src/Keyboard/styles.module.css"],names:[],mappings:"AAAA;EACE,oBAAoB;EACpB,qBAAqB;EACrB,SAAS;EACT,UAAU;AACZ;AACA;EACE,eAAe;EACf,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,wBAAwB;AAC1B;AACA;EACE,kCAAkC;EAClC,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE;AACF;AACA;EACE,eAAe;EACf,wCAAwC;EACxC,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,6CAA6C;AAC/C;AACA;EACE,uBAAuB;EACvB,uBAAuB;EACvB,kCAAkC;AACpC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,wCAAwC;EACxC,YAAY;AACd",sourcesContent:[".editorModeTabs {\n display: inline-flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.editorModeTabs li {\n cursor: pointer;\n padding: 5px;\n margin: 5px;\n border-radius: 4px;\n font-variant: small-caps;\n}\n.editorModeTabs li.activeEditTab {\n background-color: var(--selection);\n color: white;\n cursor: default;\n}\n\n.placer {\n position: absolute;\n}\n.placer > * {\n width: 100% !important;\n height: 100% !important;\n}\n\n.beta {\n position: relative\n}\n.beta::after {\n content: 'beta';\n background-color: var(--error-highlight);\n color: white;\n font-size: 12px;\n font-weight: bold;\n padding: 1px 3px;\n border-radius: 6px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(60%, -60%) rotate(13deg);\n}\n.activeEditTab .beta::after {\n background-color: white;\n color: var(--selection);\n border: 1px solid var(--selection);\n}\n.warningTab {\n color: var(--error-highlight);\n}\n.editorModeTabs li.activeEditTab.warningTab {\n background-color: var(--error-highlight);\n color: white;\n}"],sourceRoot:""}]),a.locals={editorModeTabs:"D0BH39_6wwiclW8aKuoi",activeEditTab:"xwo6V7AWCmy8CDvuTwRg",placer:"nVbskEoaGxWf96qEgtxz",beta:"Ae2s0eqIVhebTEcJGc3F",warningTab:"sQQ0qFjHptJbQ8qvuXGa"},t.Z=a},58723:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,".hY07j_e1kQx0WX5BwG6I {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\n z-index: 5;\n}\n\n._0h266lacmB1N_qDdQcy {\n align-items: center;\n}\n\n.hY07j_e1kQx0WX5BwG6I button {\n height: 38px;\n}\n\n.xwu_0RR7bcAhL2xRBstH {\n font-style: italic;\n max-width: 250px;\n opacity: 0.6;\n}\n\n.CbI1DmyecYVc2ntWR2cA {\n margin: 50px;\n}\n\n.CbI1DmyecYVc2ntWR2cA .d9uc4wYR0zIgucKJPHlF {\n margin-bottom: 80px;\n max-width: 600px;\n}\n\n.nQoX73HeicZto3zGCV22 {\n display: flex;\n flex-direction: row;\n gap: 25px;\n justify-content: space-between;\n}\n\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o {\n width: 200px;\n}\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o h2 {\n text-align: center;\n}\n\n.nQoX73HeicZto3zGCV22 .iOrNsHYczpUov9QyN2qm {\n display: block;\n font-size: 120px;\n text-align: center;\n color: var(--key-color-base);\n}\n\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o:hover h2,\n.nQoX73HeicZto3zGCV22 .cPeyM58B0L2GlSIiLq4o:hover .iOrNsHYczpUov9QyN2qm {\n color: royalblue;\n cursor: pointer;\n}\n\n.nQoX73HeicZto3zGCV22 .xwu_0RR7bcAhL2xRBstH {\n background-color: var(--key-bg-base);\n padding: 10px;\n border-radius: 10px;\n}","",{version:3,sources:["webpack://./src/Sources/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,QAAQ;EACR,WAAW;EACX,YAAY;EACZ,UAAU;AACZ;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,mBAAmB;EACnB,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,SAAS;EACT,8BAA8B;AAChC;;AAEA;EACE,YAAY;AACd;AACA;EACE,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,kBAAkB;EAClB,4BAA4B;AAC9B;;AAEA;;EAEE,gBAAgB;EAChB,eAAe;AACjB;;AAEA;EACE,oCAAoC;EACpC,aAAa;EACb,mBAAmB;AACrB",sourcesContent:[".wrapper {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: end;\n gap: 5px;\n margin: 5px;\n height: 58px;\n z-index: 5;\n}\n\n.compact {\n align-items: center;\n}\n\n.wrapper button {\n height: 38px;\n}\n\n.sourceDescription {\n font-style: italic;\n max-width: 250px;\n opacity: 0.6;\n}\n\n.initialSelectionPage {\n margin: 50px;\n}\n\n.initialSelectionPage .heading {\n margin-bottom: 80px;\n max-width: 600px;\n}\n\n.initialSelectionChoices {\n display: flex;\n flex-direction: row;\n gap: 25px;\n justify-content: space-between;\n}\n\n.initialSelectionChoices .choice {\n width: 200px;\n}\n.initialSelectionChoices .choice h2 {\n text-align: center;\n}\n\n.initialSelectionChoices .sourceIcon {\n display: block;\n font-size: 120px;\n text-align: center;\n color: var(--key-color-base);\n}\n\n.initialSelectionChoices .choice:hover h2,\n.initialSelectionChoices .choice:hover .sourceIcon {\n color: royalblue;\n cursor: pointer;\n}\n\n.initialSelectionChoices .sourceDescription {\n background-color: var(--key-bg-base);\n padding: 10px;\n border-radius: 10px;\n}"],sourceRoot:""}]),a.locals={wrapper:"hY07j_e1kQx0WX5BwG6I",compact:"_0h266lacmB1N_qDdQcy",sourceDescription:"xwu_0RR7bcAhL2xRBstH",initialSelectionPage:"CbI1DmyecYVc2ntWR2cA",heading:"d9uc4wYR0zIgucKJPHlF",initialSelectionChoices:"nQoX73HeicZto3zGCV22",choice:"cPeyM58B0L2GlSIiLq4o",sourceIcon:"iOrNsHYczpUov9QyN2qm"},t.Z=a},2746:function(e,t,n){"use strict";var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n._vWNIXMkemQax9rkCJQh {\n display: inline-block;\n position: absolute;\n z-index: 100;\n bottom: 5px;\n left: 5px;\n}\n\n._vWNIXMkemQax9rkCJQh label {\n font-size: 75%;\n font-style: italic;\n display: block;\n padding: 0 10px;\n}\n\n.qiC2NrujE4ebqmHjzq0_ {\n display: inline-block;\n font-size: 110%;\n font-style: italic;\n background-color: var(--code-bg);\n border-radius: 20px;\n padding: 5px 10px;\n text-decoration: none;\n\n color: royalblue;\n}\n.qiC2NrujE4ebqmHjzq0_:hover {\n background-color: royalblue;\n color: white;\n}","",{version:3,sources:["webpack://./src/styles.module.css"],names:[],mappings:";AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,SAAS;AACX;;AAEA;EACE,cAAc;EACd,kBAAkB;EAClB,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,qBAAqB;EACrB,eAAe;EACf,kBAAkB;EAClB,gCAAgC;EAChC,mBAAmB;EACnB,iBAAiB;EACjB,qBAAqB;;EAErB,gBAAgB;AAClB;AACA;EACE,2BAA2B;EAC3B,YAAY;AACd",sourcesContent:["\n.wrapper {\n display: inline-block;\n position: absolute;\n z-index: 100;\n bottom: 5px;\n left: 5px;\n}\n\n.wrapper label {\n font-size: 75%;\n font-style: italic;\n display: block;\n padding: 0 10px;\n}\n\n.githubLink {\n display: inline-block;\n font-size: 110%;\n font-style: italic;\n background-color: var(--code-bg);\n border-radius: 20px;\n padding: 5px 10px;\n text-decoration: none;\n\n color: royalblue;\n}\n.githubLink:hover {\n background-color: royalblue;\n color: white;\n}"],sourceRoot:""}]),a.locals={wrapper:"_vWNIXMkemQax9rkCJQh",githubLink:"qiC2NrujE4ebqmHjzq0_"},t.Z=a},95872:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),c=n.n(s),u=n(3565),l=n.n(u),f=n(19216),y=n.n(f),p=n(44589),h=n.n(p),d=n(87995),m={};m.styleTagTransform=h(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=y(),o()(d.Z,m),t.Z=d.Z&&d.Z.locals?d.Z.locals:void 0},34366:function(e,t,n){var r={"./catalog":[51785],"./catalog.json":[51785],"./keys_ar":[73810,6392],"./keys_ar.json":[73810,6392],"./keys_ar_102":[78381,8017],"./keys_ar_102.json":[78381,8017],"./keys_ar_azerty":[56724,2650],"./keys_ar_azerty.json":[56724,2650],"./keys_as":[68045,9082],"./keys_as.json":[68045,9082],"./keys_az":[21708,8070],"./keys_az.json":[21708,8070],"./keys_az_cyrillic":[7200,8242],"./keys_az_cyrillic.json":[7200,8242],"./keys_az_standard":[2498,3647],"./keys_az_standard.json":[2498,3647],"./keys_ba":[24745,5332],"./keys_ba.json":[24745,5332],"./keys_be":[80468,308],"./keys_be.json":[80468,308],"./keys_bg":[87317,2408],"./keys_bg.json":[87317,2408],"./keys_bg_latin":[80885,421],"./keys_bg_latin.json":[80885,421],"./keys_bg_phonetic":[10220,4595],"./keys_bg_phonetic.json":[10220,4595],"./keys_bm":[71350,8956],"./keys_bm.json":[71350,8956],"./keys_bn":[99691,1480],"./keys_bn.json":[99691,1480],"./keys_bn_inscript":[31658,9142],"./keys_bn_inscript.json":[31658,9142],"./keys_bo":[29692,3282],"./keys_bo.json":[29692,3282],"./keys_bs":[5396,1315],"./keys_bs.json":[5396,1315],"./keys_bug":[15317,4443],"./keys_bug.json":[15317,4443],"./keys_chr":[8250,6943],"./keys_chr.json":[8250,6943],"./keys_chr_phonetic":[6221,4688],"./keys_chr_phonetic.json":[6221,4688],"./keys_ckb":[29448,1936],"./keys_ckb.json":[29448,1936],"./keys_cs":[98019,8207],"./keys_cs.json":[98019,8207],"./keys_cs_programmers":[7578,3735],"./keys_cs_programmers.json":[7578,3735],"./keys_cs_qwerty":[58733,2659],"./keys_cs_qwerty.json":[58733,2659],"./keys_da":[81460,6691],"./keys_da.json":[81460,6691],"./keys_de":[68013,3359],"./keys_de.json":[68013,3359],"./keys_de_belgian":[69798,9619],"./keys_de_belgian.json":[69798,9619],"./keys_de_belgian_period":[12991,1808],"./keys_de_belgian_period.json":[12991,1808],"./keys_de_ibm":[85155,1507],"./keys_de_ibm.json":[85155,1507],"./keys_de_swiss":[57153,6184],"./keys_de_swiss.json":[57153,6184],"./keys_dsb":[93859,9616],"./keys_dsb.json":[93859,9616],"./keys_dsb_extended":[45816,7686],"./keys_dsb_extended.json":[45816,7686],"./keys_dv":[60573,5485],"./keys_dv.json":[60573,5485],"./keys_dvorak":[17499,6157],"./keys_dvorak.json":[17499,6157],"./keys_dvorak_left":[5085,8793],"./keys_dvorak_left.json":[5085,8793],"./keys_dvorak_right":[43474,3362],"./keys_dvorak_right.json":[43474,3362],"./keys_dyu":[56817,749],"./keys_dyu.json":[56817,749],"./keys_dz":[3461,3893],"./keys_dz.json":[3461,3893],"./keys_el":[82182,1545],"./keys_el.json":[82182,1545],"./keys_el_220":[74695,3743],"./keys_el_220.json":[74695,3743],"./keys_el_319":[43615,4263],"./keys_el_319.json":[43615,4263],"./keys_el_latin":[61897,8971],"./keys_el_latin.json":[61897,8971],"./keys_el_latin_220":[52401,7603],"./keys_el_latin_220.json":[52401,7603],"./keys_el_latin_319":[70286,5821],"./keys_el_latin_319.json":[70286,5821],"./keys_el_polytonic":[19430,4296],"./keys_el_polytonic.json":[19430,4296],"./keys_en_gb":[85702,7495],"./keys_en_gb.json":[85702,7495],"./keys_en_gb_extended":[30206,1343],"./keys_en_gb_extended.json":[30206,1343],"./keys_en_india":[28440,8302],"./keys_en_india.json":[28440,8302],"./keys_es":[68633,771],"./keys_es.json":[68633,771],"./keys_es_latin_american":[67356,6429],"./keys_es_latin_american.json":[67356,6429],"./keys_es_variation":[73173,3033],"./keys_es_variation.json":[73173,3033],"./keys_et":[76498,7022],"./keys_et.json":[76498,7022],"./keys_fa":[76451,8599],"./keys_fa.json":[76451,8599],"./keys_fa_standard":[79355,819],"./keys_fa_standard.json":[79355,819],"./keys_fi":[36863,8706],"./keys_fi.json":[36863,8706],"./keys_fi_sami":[58592,9866],"./keys_fi_sami.json":[58592,9866],"./keys_fo":[48622,9586],"./keys_fo.json":[48622,9586],"./keys_fr":[50955,7554],"./keys_fr.json":[50955,7554],"./keys_fr_belgian":[39330,8855],"./keys_fr_belgian.json":[39330,8855],"./keys_fr_belgian_period":[17494,7950],"./keys_fr_belgian_period.json":[17494,7950],"./keys_fr_canadian_french":[74301,4491],"./keys_fr_canadian_french.json":[74301,4491],"./keys_fr_canadian_standard":[76297,8251],"./keys_fr_canadian_standard.json":[76297,8251],"./keys_fr_swiss":[41417,1514],"./keys_fr_swiss.json":[41417,1514],"./keys_ga":[47467,8185],"./keys_ga.json":[47467,8185],"./keys_gd":[50596,6457],"./keys_gd.json":[50596,6457],"./keys_gn":[78996,4289],"./keys_gn.json":[78996,4289],"./keys_got":[45327,9893],"./keys_got.json":[45327,9893],"./keys_gu":[21372,2787],"./keys_gu.json":[21372,2787],"./keys_ha":[28061,2982],"./keys_ha.json":[28061,2982],"./keys_haw":[63525,3618],"./keys_haw.json":[63525,3618],"./keys_he":[2357,7446],"./keys_he.json":[2357,7446],"./keys_he_standard":[58311,7108],"./keys_he_standard.json":[58311,7108],"./keys_hi":[55225,6688],"./keys_hi.json":[55225,6688],"./keys_hi_traditional":[48923,8119],"./keys_hi_traditional.json":[48923,8119],"./keys_hu":[4526,8796],"./keys_hu.json":[4526,8796],"./keys_hu_101":[3013,3322],"./keys_hu_101.json":[3013,3322],"./keys_hy":[15584,2015],"./keys_hy.json":[15584,2015],"./keys_hy_phonetic":[28860,9136],"./keys_hy_phonetic.json":[28860,9136],"./keys_ig":[4055,7892],"./keys_ig.json":[4055,7892],"./keys_is":[87591,5604],"./keys_is.json":[87591,5604],"./keys_it":[24277,4465],"./keys_it.json":[24277,4465],"./keys_it_142":[83333,833],"./keys_it_142.json":[83333,833],"./keys_iu":[79407,5840],"./keys_iu.json":[79407,5840],"./keys_iu_latin":[90290,9176],"./keys_iu_latin.json":[90290,9176],"./keys_jv":[83271,6710],"./keys_jv.json":[83271,6710],"./keys_ka":[36196,3687],"./keys_ka.json":[36196,3687],"./keys_ka_ergonomic":[76892,9698],"./keys_ka_ergonomic.json":[76892,9698],"./keys_ka_qwerty":[84211,2621],"./keys_ka_qwerty.json":[84211,2621],"./keys_khb":[93128,5842],"./keys_khb.json":[93128,5842],"./keys_khb_tai_le":[16011,539],"./keys_khb_tai_le.json":[16011,539],"./keys_kk":[81713,951],"./keys_kk.json":[81713,951],"./keys_kl":[87006,7303],"./keys_kl.json":[87006,7303],"./keys_km":[86151,6794],"./keys_km.json":[86151,6794],"./keys_km_nida":[91831,3268],"./keys_km_nida.json":[91831,3268],"./keys_kn":[88868,8709],"./keys_kn.json":[88868,8709],"./keys_ko":[96130,8427],"./keys_ko.json":[96130,8427],"./keys_ky":[49911,9244],"./keys_ky.json":[49911,9244],"./keys_la_old_italic":[72596,8438],"./keys_la_old_italic.json":[72596,8438],"./keys_lb":[6012,5606],"./keys_lb.json":[6012,5606],"./keys_lis":[86353,8945],"./keys_lis.json":[86353,8945],"./keys_lis_standard":[70912,4887],"./keys_lis_standard.json":[70912,4887],"./keys_lo":[34659,398],"./keys_lo.json":[34659,398],"./keys_lt":[92979,7771],"./keys_lt.json":[92979,7771],"./keys_lt_ibm":[90075,129],"./keys_lt_ibm.json":[90075,129],"./keys_lt_standard":[70040,3746],"./keys_lt_standard.json":[70040,3746],"./keys_lv":[25622,1671],"./keys_lv.json":[25622,1671],"./keys_lv_qwerty":[70689,6777],"./keys_lv_qwerty.json":[70689,6777],"./keys_lv_standard":[68148,9081],"./keys_lv_standard.json":[68148,9081],"./keys_man":[95287,1156],"./keys_man.json":[95287,1156],"./keys_mi":[97585,9512],"./keys_mi.json":[97585,9512],"./keys_mk":[8069,8041],"./keys_mk.json":[8069,8041],"./keys_ml":[79302,1547],"./keys_ml.json":[79302,1547],"./keys_mn":[78647,389],"./keys_mn.json":[78647,389],"./keys_mn_phags_pa":[94641,3194],"./keys_mn_phags_pa.json":[94641,3194],"./keys_mn_traditional":[1301,8568],"./keys_mn_traditional.json":[1301,8568],"./keys_mr":[28928,2247],"./keys_mr.json":[28928,2247],"./keys_mt":[5848,7568],"./keys_mt.json":[5848,7568],"./keys_mt_101":[10244,3880],"./keys_mt_101.json":[10244,3880],"./keys_my":[14052,5015],"./keys_my.json":[14052,5015],"./keys_nb":[56360,4919],"./keys_nb.json":[56360,4919],"./keys_nb_sami":[96408,8636],"./keys_nb_sami.json":[96408,8636],"./keys_ne":[97192,4892],"./keys_ne.json":[97192,4892],"./keys_nl":[37853,6415],"./keys_nl.json":[37853,6415],"./keys_nl_period":[80045,2271],"./keys_nl_period.json":[80045,2271],"./keys_non":[50248,5991],"./keys_non.json":[50248,5991],"./keys_nso":[34757,8307],"./keys_nso.json":[34757,8307],"./keys_or":[40914,2383],"./keys_or.json":[40914,2383],"./keys_pa":[51095,9989],"./keys_pa.json":[51095,9989],"./keys_pl":[91654,8391],"./keys_pl.json":[91654,8391],"./keys_pl_programmers":[188,920],"./keys_pl_programmers.json":[188,920],"./keys_ps":[65138,6049],"./keys_ps.json":[65138,6049],"./keys_pt":[33474,4821],"./keys_pt.json":[33474,4821],"./keys_pt_abnt":[84986,1872],"./keys_pt_abnt.json":[84986,1872],"./keys_pt_abnt2":[50167,9112],"./keys_pt_abnt2.json":[50167,9112],"./keys_ro":[35695,68],"./keys_ro.json":[35695,68],"./keys_ro_programmers":[53693,4795],"./keys_ro_programmers.json":[53693,4795],"./keys_ru":[62672,8986],"./keys_ru.json":[62672,8986],"./keys_ru_phonetic":[48927,7292],"./keys_ru_phonetic.json":[48927,7292],"./keys_sah":[75234,7289],"./keys_sah.json":[75234,7289],"./keys_sat":[767,9414],"./keys_sat.json":[767,9414],"./keys_se":[31828,8019],"./keys_se.json":[31828,8019],"./keys_se_finland_sweden":[44292,8699],"./keys_se_finland_sweden.json":[44292,8699],"./keys_si":[39915,9061],"./keys_si.json":[39915,9061],"./keys_sk":[49999,7803],"./keys_sk.json":[49999,7803],"./keys_sk_qwerty":[92153,1720],"./keys_sk_qwerty.json":[92153,1720],"./keys_sl":[11998,5715],"./keys_sl.json":[11998,5715],"./keys_so":[32727,9193],"./keys_so.json":[32727,9193],"./keys_sq":[93752,8173],"./keys_sq.json":[93752,8173],"./keys_sr":[45358,2231],"./keys_sr.json":[45358,2231],"./keys_sr_latin":[80121,578],"./keys_sr_latin.json":[80121,578],"./keys_srb":[929,5354],"./keys_srb.json":[929,5354],"./keys_sv":[74243,8649],"./keys_sv.json":[74243,8649],"./keys_sv_sami":[26330,4717],"./keys_sv_sami.json":[26330,4717],"./keys_syr":[20591,4777],"./keys_syr.json":[20591,4777],"./keys_syr_phonetic":[85609,2619],"./keys_syr_phonetic.json":[85609,2619],"./keys_ta":[17843,4036],"./keys_ta.json":[17843,4036],"./keys_te":[69130,4824],"./keys_te.json":[69130,4824],"./keys_tg":[79797,3393],"./keys_tg.json":[79797,3393],"./keys_th":[70732,6684],"./keys_th.json":[70732,6684],"./keys_th_pattachote":[85219,422],"./keys_th_pattachote.json":[85219,422],"./keys_tk":[31794,2275],"./keys_tk.json":[31794,2275],"./keys_tmh":[89416,2835],"./keys_tmh.json":[89416,2835],"./keys_tmh_extended":[33866,8110],"./keys_tmh_extended.json":[33866,8110],"./keys_tn":[79848,4257],"./keys_tn.json":[79848,4257],"./keys_tr":[32066,5303],"./keys_tr.json":[32066,5303],"./keys_tr_f":[77176,4670],"./keys_tr_f.json":[77176,4670],"./keys_tt":[13069,7305],"./keys_tt.json":[13069,7305],"./keys_tzm":[93917,814],"./keys_tzm.json":[93917,814],"./keys_ug":[29436,3474],"./keys_ug.json":[29436,3474],"./keys_uk":[18936,2602],"./keys_uk.json":[18936,2602],"./keys_uk_enhanced":[60895,7228],"./keys_uk_enhanced.json":[60895,7228],"./keys_ur":[48883,8216],"./keys_ur.json":[48883,8216],"./keys_us_international":[61141,2947],"./keys_us_international.json":[61141,2947],"./keys_uz":[8196,7080],"./keys_uz.json":[8196,7080],"./keys_vi":[88305,7994],"./keys_vi.json":[88305,7994],"./keys_wo":[97528,7069],"./keys_wo.json":[97528,7069],"./keys_yo":[8962,5998],"./keys_yo.json":[8962,5998]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n.t(o,19)}))}o.keys=function(){return Object.keys(r)},o.id=34366,e.exports=o},51785:function(e){"use strict";e.exports=JSON.parse('{"keys_ar.h":{"filename":"keys_ar.json","prefix":"ar"},"keys_ar_azerty.h":{"filename":"keys_ar_azerty.json","prefix":"ar"},"keys_ar_102.h":{"filename":"keys_ar_102.json","prefix":"ar"},"keys_as.h":{"filename":"keys_as.json","prefix":"as"},"keys_az.h":{"filename":"keys_az.json","prefix":"az"},"keys_az_standard.h":{"filename":"keys_az_standard.json","prefix":"az"},"keys_az_cyrillic.h":{"filename":"keys_az_cyrillic.json","prefix":"az"},"keys_ba.h":{"filename":"keys_ba.json","prefix":"ba"},"keys_be.h":{"filename":"keys_be.json","prefix":"be"},"keys_bg.h":{"filename":"keys_bg.json","prefix":"bg"},"keys_bg_phonetic.h":{"filename":"keys_bg_phonetic.json","prefix":"bg"},"keys_bg_latin.h":{"filename":"keys_bg_latin.json","prefix":"bg"},"keys_bm.h":{"filename":"keys_bm.json","prefix":"bm"},"keys_dyu.h":{"filename":"keys_dyu.json","prefix":"dyu"},"keys_man.h":{"filename":"keys_man.json","prefix":"man"},"keys_bn.h":{"filename":"keys_bn.json","prefix":"bn"},"keys_bn_inscript.h":{"filename":"keys_bn_inscript.json","prefix":"bn"},"keys_bo.h":{"filename":"keys_bo.json","prefix":"bo"},"keys_bs.h":{"filename":"keys_bs.json","prefix":"bs"},"keys_bug.h":{"filename":"keys_bug.json","prefix":"bug"},"keys_chr.h":{"filename":"keys_chr.json","prefix":"chr"},"keys_chr_phonetic.h":{"filename":"keys_chr_phonetic.json","prefix":"chr"},"keys_ckb.h":{"filename":"keys_ckb.json","prefix":"ckb"},"keys_cs.h":{"filename":"keys_cs.json","prefix":"cs"},"keys_cs_programmers.h":{"filename":"keys_cs_programmers.json","prefix":"cs"},"keys_cs_qwerty.h":{"filename":"keys_cs_qwerty.json","prefix":"cs"},"keys_da.h":{"filename":"keys_da.json","prefix":"da"},"keys_de.h":{"filename":"keys_de.json","prefix":"de"},"keys_de_ibm.h":{"filename":"keys_de_ibm.json","prefix":"de"},"keys_de_belgian.h":{"filename":"keys_de_belgian.json","prefix":"de"},"keys_de_belgian_period.h":{"filename":"keys_de_belgian_period.json","prefix":"de"},"keys_de_swiss.h":{"filename":"keys_de_swiss.json","prefix":"de"},"keys_dsb.h":{"filename":"keys_dsb.json","prefix":"dsb"},"keys_dsb_extended.h":{"filename":"keys_dsb_extended.json","prefix":"dsb"},"keys_dv.h":{"filename":"keys_dv.json","prefix":"dv"},"keys_dz.h":{"filename":"keys_dz.json","prefix":"dz"},"keys_el.h":{"filename":"keys_el.json","prefix":"el"},"keys_el_220.h":{"filename":"keys_el_220.json","prefix":"el"},"keys_el_319.h":{"filename":"keys_el_319.json","prefix":"el"},"keys_el_latin.h":{"filename":"keys_el_latin.json","prefix":"el"},"keys_el_latin_220.h":{"filename":"keys_el_latin_220.json","prefix":"el"},"keys_el_latin_319.h":{"filename":"keys_el_latin_319.json","prefix":"el"},"keys_el_polytonic.h":{"filename":"keys_el_polytonic.json","prefix":"el"},"keys_en_gb.h":{"filename":"keys_en_gb.json","prefix":"en"},"keys_en_gb_extended.h":{"filename":"keys_en_gb_extended.json","prefix":"en"},"keys_en_india.h":{"filename":"keys_en_india.json","prefix":"en"},"keys_us_international.h":{"filename":"keys_us_international.json","prefix":"usx"},"keys_dvorak.h":{"filename":"keys_dvorak.json","prefix":"en"},"keys_dvorak_left.h":{"filename":"keys_dvorak_left.json","prefix":"en"},"keys_dvorak_right.h":{"filename":"keys_dvorak_right.json","prefix":"en"},"keys_es.h":{"filename":"keys_es.json","prefix":"es"},"keys_es_variation.h":{"filename":"keys_es_variation.json","prefix":"es"},"keys_es_latin_american.h":{"filename":"keys_es_latin_american.json","prefix":"es"},"keys_et.h":{"filename":"keys_et.json","prefix":"et"},"keys_fa.h":{"filename":"keys_fa.json","prefix":"fa"},"keys_fa_standard.h":{"filename":"keys_fa_standard.json","prefix":"fa"},"keys_fi.h":{"filename":"keys_fi.json","prefix":"fi"},"keys_fi_sami.h":{"filename":"keys_fi_sami.json","prefix":"fi"},"keys_fo.h":{"filename":"keys_fo.json","prefix":"fo"},"keys_fr.h":{"filename":"keys_fr.json","prefix":"fr"},"keys_fr_belgian.h":{"filename":"keys_fr_belgian.json","prefix":"fr"},"keys_fr_belgian_period.h":{"filename":"keys_fr_belgian_period.json","prefix":"fr"},"keys_fr_canadian_standard.h":{"filename":"keys_fr_canadian_standard.json","prefix":"fr"},"keys_fr_canadian_french.h":{"filename":"keys_fr_canadian_french.json","prefix":"fr"},"keys_fr_swiss.h":{"filename":"keys_fr_swiss.json","prefix":"fr"},"keys_ga.h":{"filename":"keys_ga.json","prefix":"ga"},"keys_gd.h":{"filename":"keys_gd.json","prefix":"gd"},"keys_gn.h":{"filename":"keys_gn.json","prefix":"gn"},"keys_got.h":{"filename":"keys_got.json","prefix":"got"},"keys_gu.h":{"filename":"keys_gu.json","prefix":"gu"},"keys_ha.h":{"filename":"keys_ha.json","prefix":"ha"},"keys_haw.h":{"filename":"keys_haw.json","prefix":"haw"},"keys_he.h":{"filename":"keys_he.json","prefix":"he"},"keys_he_standard.h":{"filename":"keys_he_standard.json","prefix":"he"},"keys_hi.h":{"filename":"keys_hi.json","prefix":"hi"},"keys_hi_traditional.h":{"filename":"keys_hi_traditional.json","prefix":"hi"},"keys_hu.h":{"filename":"keys_hu.json","prefix":"hu"},"keys_hu_101.h":{"filename":"keys_hu_101.json","prefix":"hu"},"keys_hy.h":{"filename":"keys_hy.json","prefix":"hy"},"keys_hy_phonetic.h":{"filename":"keys_hy_phonetic.json","prefix":"hy"},"keys_ig.h":{"filename":"keys_ig.json","prefix":"ig"},"keys_is.h":{"filename":"keys_is.json","prefix":"is"},"keys_it.h":{"filename":"keys_it.json","prefix":"it"},"keys_it_142.h":{"filename":"keys_it_142.json","prefix":"it"},"keys_iu.h":{"filename":"keys_iu.json","prefix":"iu"},"keys_iu_latin.h":{"filename":"keys_iu_latin.json","prefix":"iu"},"keys_jv.h":{"filename":"keys_jv.json","prefix":"jv"},"keys_ka.h":{"filename":"keys_ka.json","prefix":"ka"},"keys_ka_ergonomic.h":{"filename":"keys_ka_ergonomic.json","prefix":"ka"},"keys_ka_qwerty.h":{"filename":"keys_ka_qwerty.json","prefix":"ka"},"keys_khb.h":{"filename":"keys_khb.json","prefix":"khb"},"keys_khb_tai_le.h":{"filename":"keys_khb_tai_le.json","prefix":"khb"},"keys_kk.h":{"filename":"keys_kk.json","prefix":"kk"},"keys_kl.h":{"filename":"keys_kl.json","prefix":"kl"},"keys_km.h":{"filename":"keys_km.json","prefix":"km"},"keys_km_nida.h":{"filename":"keys_km_nida.json","prefix":"km"},"keys_kn.h":{"filename":"keys_kn.json","prefix":"kn"},"keys_ko.h":{"filename":"keys_ko.json","prefix":"ko"},"keys_ky.h":{"filename":"keys_ky.json","prefix":"ky"},"keys_la_old_italic.h":{"filename":"keys_la_old_italic.json","prefix":"la"},"keys_lb.h":{"filename":"keys_lb.json","prefix":"lb"},"keys_lis.h":{"filename":"keys_lis.json","prefix":"lis"},"keys_lis_standard.h":{"filename":"keys_lis_standard.json","prefix":"lis"},"keys_lo.h":{"filename":"keys_lo.json","prefix":"lo"},"keys_lt.h":{"filename":"keys_lt.json","prefix":"lt"},"keys_lt_ibm.h":{"filename":"keys_lt_ibm.json","prefix":"lt"},"keys_lt_standard.h":{"filename":"keys_lt_standard.json","prefix":"lt"},"keys_lv.h":{"filename":"keys_lv.json","prefix":"lv"},"keys_lv_qwerty.h":{"filename":"keys_lv_qwerty.json","prefix":"lv"},"keys_lv_standard.h":{"filename":"keys_lv_standard.json","prefix":"lv"},"keys_mi.h":{"filename":"keys_mi.json","prefix":"mi"},"keys_mk.h":{"filename":"keys_mk.json","prefix":"mk"},"keys_ml.h":{"filename":"keys_ml.json","prefix":"ml"},"keys_mn.h":{"filename":"keys_mn.json","prefix":"mn"},"keys_mn_traditional.h":{"filename":"keys_mn_traditional.json","prefix":"mn"},"keys_mn_phags_pa.h":{"filename":"keys_mn_phags_pa.json","prefix":"mn"},"keys_mr.h":{"filename":"keys_mr.json","prefix":"mr"},"keys_mt.h":{"filename":"keys_mt.json","prefix":"mt"},"keys_mt_101.h":{"filename":"keys_mt_101.json","prefix":"mt"},"keys_my.h":{"filename":"keys_my.json","prefix":"my"},"keys_nb.h":{"filename":"keys_nb.json","prefix":"nb"},"keys_nb_sami.h":{"filename":"keys_nb_sami.json","prefix":"nb"},"keys_ne.h":{"filename":"keys_ne.json","prefix":"ne"},"keys_nl.h":{"filename":"keys_nl.json","prefix":"nl"},"keys_nl_period.h":{"filename":"keys_nl_period.json","prefix":"nl"},"keys_non.h":{"filename":"keys_non.json","prefix":"non"},"keys_nso.h":{"filename":"keys_nso.json","prefix":"nso"},"keys_or.h":{"filename":"keys_or.json","prefix":"or"},"keys_pa.h":{"filename":"keys_pa.json","prefix":"pa"},"keys_pl.h":{"filename":"keys_pl.json","prefix":"pl"},"keys_pl_programmers.h":{"filename":"keys_pl_programmers.json","prefix":"pl"},"keys_ps.h":{"filename":"keys_ps.json","prefix":"ps"},"keys_pt.h":{"filename":"keys_pt.json","prefix":"pt"},"keys_pt_abnt.h":{"filename":"keys_pt_abnt.json","prefix":"pt"},"keys_pt_abnt2.h":{"filename":"keys_pt_abnt2.json","prefix":"pt"},"keys_ro.h":{"filename":"keys_ro.json","prefix":"ro"},"keys_ro_programmers.h":{"filename":"keys_ro_programmers.json","prefix":"ro"},"keys_ru.h":{"filename":"keys_ru.json","prefix":"ru"},"keys_ru_phonetic.h":{"filename":"keys_ru_phonetic.json","prefix":"ru"},"keys_sah.h":{"filename":"keys_sah.json","prefix":"sah"},"keys_sat.h":{"filename":"keys_sat.json","prefix":"sat"},"keys_se.h":{"filename":"keys_se.json","prefix":"se"},"keys_se_finland_sweden.h":{"filename":"keys_se_finland_sweden.json","prefix":"se"},"keys_si.h":{"filename":"keys_si.json","prefix":"si"},"keys_sk.h":{"filename":"keys_sk.json","prefix":"sk"},"keys_sk_qwerty.h":{"filename":"keys_sk_qwerty.json","prefix":"sk"},"keys_sl.h":{"filename":"keys_sl.json","prefix":"sl"},"keys_so.h":{"filename":"keys_so.json","prefix":"so"},"keys_sq.h":{"filename":"keys_sq.json","prefix":"sq"},"keys_sr.h":{"filename":"keys_sr.json","prefix":"sr"},"keys_sr_latin.h":{"filename":"keys_sr_latin.json","prefix":"sr"},"keys_srb.h":{"filename":"keys_srb.json","prefix":"srb"},"keys_sv.h":{"filename":"keys_sv.json","prefix":"sv"},"keys_sv_sami.h":{"filename":"keys_sv_sami.json","prefix":"sv"},"keys_syr.h":{"filename":"keys_syr.json","prefix":"syr"},"keys_syr_phonetic.h":{"filename":"keys_syr_phonetic.json","prefix":"syr"},"keys_ta.h":{"filename":"keys_ta.json","prefix":"ta"},"keys_te.h":{"filename":"keys_te.json","prefix":"te"},"keys_tg.h":{"filename":"keys_tg.json","prefix":"tg"},"keys_th.h":{"filename":"keys_th.json","prefix":"th"},"keys_th_pattachote.h":{"filename":"keys_th_pattachote.json","prefix":"th"},"keys_tk.h":{"filename":"keys_tk.json","prefix":"tk"},"keys_tmh.h":{"filename":"keys_tmh.json","prefix":"tmh"},"keys_tmh_extended.h":{"filename":"keys_tmh_extended.json","prefix":"tmh"},"keys_tn.h":{"filename":"keys_tn.json","prefix":"tn"},"keys_tr.h":{"filename":"keys_tr.json","prefix":"tr"},"keys_tr_f.h":{"filename":"keys_tr_f.json","prefix":"tr"},"keys_tt.h":{"filename":"keys_tt.json","prefix":"tt"},"keys_tzm.h":{"filename":"keys_tzm.json","prefix":"tzm"},"keys_ug.h":{"filename":"keys_ug.json","prefix":"ug"},"keys_uk.h":{"filename":"keys_uk.json","prefix":"uk"},"keys_uk_enhanced.h":{"filename":"keys_uk_enhanced.json","prefix":"uk"},"keys_ur.h":{"filename":"keys_ur.json","prefix":"ur"},"keys_uz.h":{"filename":"keys_uz.json","prefix":"uz"},"keys_vi.h":{"filename":"keys_vi.json","prefix":"vi"},"keys_wo.h":{"filename":"keys_wo.json","prefix":"wo"},"keys_yo.h":{"filename":"keys_yo.json","prefix":"yo"}}')}},function(e){e.O(0,[3712,1216,5514],(function(){return 58538,e(e.s=58538)})),e.O()}]); +//# sourceMappingURL=main.87a8989853b569492fef.js.map
\ No newline at end of file diff --git a/main.87a8989853b569492fef.js.LICENSE.txt b/main.87a8989853b569492fef.js.LICENSE.txt new file mode 100644 index 0000000..ae386fb --- /dev/null +++ b/main.87a8989853b569492fef.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/runtime.0dcbcd76591860b1976a.js b/runtime.0dcbcd76591860b1976a.js new file mode 100644 index 0000000..e8e5dbc --- /dev/null +++ b/runtime.0dcbcd76591860b1976a.js @@ -0,0 +1,2 @@ +!function(){"use strict";var e,a,c,d,s,o={},t={};function l(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return o[e].call(c.exports,c,c.exports,l),c.loaded=!0,c.exports}l.m=o,e=[],l.O=function(a,c,d,s){if(!c){var o=1/0;for(b=0;b<e.length;b++){c=e[b][0],d=e[b][1],s=e[b][2];for(var t=!0,f=0;f<c.length;f++)(!1&s||o>=s)&&Object.keys(l.O).every((function(e){return l.O[e](c[f])}))?c.splice(f--,1):(t=!1,s<o&&(o=s));if(t){e.splice(b--,1);var k=d();void 0!==k&&(a=k)}}return a}s=s||0;for(var b=e.length;b>0&&e[b-1][2]>s;b--)e[b]=e[b-1];e[b]=[c,d,s]},l.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(a,{a:a}),a},c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var s=Object.create(null);l.r(s);var o={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((function(a){o[a]=function(){return e[a]}}));return o.default=function(){return e},l.d(s,o),s},l.d=function(e,a){for(var c in a)l.o(a,c)&&!l.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(a,c){return l.f[c](e,a),a}),[]))},l.u=function(e){return({5:"keyboard-data/lotus58-json-metadata",47:"keyboard-data/ergodash-json-metadata",68:"locales/keys_ro-keycodes",129:"locales/keys_lt_ibm-keycodes",308:"locales/keys_be-keycodes",320:"keyboard-data/kbdfans_tofu65_v2-json-metadata",327:"keyboard-data/reviung41-json-metadata",389:"locales/keys_mn-keycodes",398:"locales/keys_lo-keycodes",421:"locales/keys_bg_latin-keycodes",422:"locales/keys_th_pattachote-keycodes",504:"keyboard-data/bt60_v2-json-metadata",539:"locales/keys_khb_tai_le-keycodes",578:"locales/keys_sr_latin-keycodes",630:"keyboard-data/pancake-json-metadata",639:"keyboard-data/splitkb_aurora_sofle-json-metadata",749:"locales/keys_dyu-keycodes",771:"locales/keys_es-keycodes",814:"locales/keys_tzm-keycodes",819:"locales/keys_fa_standard-keycodes",833:"locales/keys_it_142-keycodes",920:"locales/keys_pl_programmers-keycodes",944:"keyboard-data/jian-json-metadata",951:"locales/keys_kk-keycodes",1038:"keyboard-data/bat43-json-metadata",1081:"keyboard-data/splitreus62-json-metadata",1145:"keyboard-data/ferris_rev02-json-metadata",1156:"locales/keys_man-keycodes",1315:"locales/keys_bs-keycodes",1319:"keyboard-data/zmk_uno-json-metadata",1325:"keyboard-data/ergodox-json-metadata",1343:"locales/keys_en_gb_extended-keycodes",1480:"locales/keys_bn-keycodes",1507:"locales/keys_de_ibm-keycodes",1514:"locales/keys_fr_swiss-keycodes",1522:"keyboard-data/bdn9_rev2-json-metadata",1545:"locales/keys_el-keycodes",1547:"locales/keys_ml-keycodes",1616:"keyboard-data/redox-json-metadata",1671:"locales/keys_lv-keycodes",1718:"keyboard-data/reviung5-json-metadata",1720:"locales/keys_sk_qwerty-keycodes",1803:"ConditionalLayerEditorTab",1808:"locales/keys_de_belgian_period-keycodes",1872:"locales/keys_pt_abnt-keycodes",1936:"locales/keys_ckb-keycodes",2015:"locales/keys_hy-keycodes",2124:"keyboard-data/two_percent_milk-json-metadata",2135:"keyboard-data/romac-json-metadata",2169:"keyboard-data/clog-json-metadata",2231:"locales/keys_sr-keycodes",2247:"locales/keys_mr-keycodes",2271:"locales/keys_nl_period-keycodes",2275:"locales/keys_tk-keycodes",2284:"keyboard-data/eternal_keypad_lefty-json-metadata",2308:"keyboard-data/jorne-json-metadata",2383:"locales/keys_or-keycodes",2408:"locales/keys_bg-keycodes",2602:"locales/keys_uk-keycodes",2619:"locales/keys_syr_phonetic-keycodes",2621:"locales/keys_ka_qwerty-keycodes",2650:"locales/keys_ar_azerty-keycodes",2659:"locales/keys_cs_qwerty-keycodes",2757:"keyboard-data/eek-json-metadata",2787:"locales/keys_gu-keycodes",2835:"locales/keys_tmh-keycodes",2838:"keyboard-data/bt60_v1_hs-json-metadata",2921:"keyboard-data/bt75_v1-json-metadata",2939:"keyboard-data/nibble-json-metadata",2947:"locales/keys_us_international-keycodes",2982:"locales/keys_ha-keycodes",3033:"locales/keys_es_variation-keycodes",3039:"keyboard-data/romac_plus-json-metadata",3194:"locales/keys_mn_phags_pa-keycodes",3197:"keyboard-data/s40nc-json-metadata",3203:"GithubPicker",3268:"locales/keys_km_nida-keycodes",3282:"locales/keys_bo-keycodes",3322:"locales/keys_hu_101-keycodes",3359:"locales/keys_de-keycodes",3362:"locales/keys_dvorak_right-keycodes",3393:"locales/keys_tg-keycodes",3394:"keyboard-data/hummingbird-json-metadata",3474:"locales/keys_ug-keycodes",3618:"locales/keys_haw-keycodes",3647:"locales/keys_az_standard-keycodes",3687:"locales/keys_ka-keycodes",3735:"locales/keys_cs_programmers-keycodes",3743:"locales/keys_el_220-keycodes",3746:"locales/keys_lt_standard-keycodes",3826:"keyboard-data/bt60_v1-json-metadata",3880:"locales/keys_mt_101-keycodes",3893:"locales/keys_dz-keycodes",3895:"keyboard-data/kyria_rev3-json-metadata",3983:"LocalPicker",4013:"keyboard-data/totem-json-metadata",4036:"locales/keys_ta-keycodes",4070:"keyboard-data/m60-json-metadata",4156:"keyboard-data/kyria_rev2-json-metadata",4213:"keyboard-data/corneish_zen-json-metadata",4218:"FileSystemPicker",4257:"locales/keys_tn-keycodes",4260:"keyboard-data/boardsource3x4-json-metadata",4263:"locales/keys_el_319-keycodes",4289:"locales/keys_gn-keycodes",4296:"locales/keys_el_polytonic-keycodes",4415:"keyboard-data/eternal_keypad-json-metadata",4443:"locales/keys_bug-keycodes",4465:"locales/keys_it-keycodes",4491:"locales/keys_fr_canadian_french-keycodes",4595:"locales/keys_bg_phonetic-keycodes",4670:"locales/keys_tr_f-keycodes",4688:"locales/keys_chr_phonetic-keycodes",4717:"locales/keys_sv_sami-keycodes",4733:"DemoPicker",4777:"locales/keys_syr-keycodes",4795:"locales/keys_ro_programmers-keycodes",4821:"locales/keys_pt-keycodes",4824:"locales/keys_te-keycodes",4830:"keyboard-data/chalice-json-metadata",4843:"keyboard-data/a_dux-json-metadata",4887:"locales/keys_lis_standard-keycodes",4892:"locales/keys_ne-keycodes",4919:"locales/keys_nb-keycodes",4959:"keyboard-data/crbn-json-metadata",4962:"keyboard-data/bfo9000-json-metadata",5015:"locales/keys_my-keycodes",5074:"WarningsTab",5272:"keyboard-data/quefrency-json-metadata",5303:"locales/keys_tr-keycodes",5332:"locales/keys_ba-keycodes",5354:"locales/keys_srb-keycodes",5356:"keyboard-data/boardsource5x12-json-metadata",5422:"keyboard-data/bt65_v1-json-metadata",5485:"locales/keys_dv-keycodes",5533:"keyboard-data/preonic_rev3-json-metadata",5604:"locales/keys_is-keycodes",5606:"locales/keys_lb-keycodes",5634:"keyboard-data/splitkb_aurora_lily58-json-metadata",5708:"ClipboardPicker",5715:"locales/keys_sl-keycodes",5810:"keyboard-data/naked60-json-metadata",5819:"MacroEditorTab",5821:"locales/keys_el_latin_319-keycodes",5840:"locales/keys_iu-keycodes",5842:"locales/keys_khb-keycodes",5868:"BehaviorEditorTab",5891:"keyboard-data/splitkb_aurora_sweep-json-metadata",5991:"locales/keys_non-keycodes",5998:"locales/keys_yo-keycodes",6019:"keyboard-data/tg4x-json-metadata",6049:"locales/keys_ps-keycodes",6157:"locales/keys_dvorak-keycodes",6158:"keyboard-data/leeloo-json-metadata",6184:"locales/keys_de_swiss-keycodes",6274:"keyboard-data/leeloo_micro-json-metadata",6324:"keyboard-data/lily58-json-metadata",6360:"keyboard-data/qaz-json-metadata",6392:"locales/keys_ar-keycodes",6415:"locales/keys_nl-keycodes",6429:"locales/keys_es_latin_american-keycodes",6457:"locales/keys_gd-keycodes",6528:"keyboard-data/knob_goblin-json-metadata",6684:"locales/keys_th-keycodes",6688:"locales/keys_hi-keycodes",6691:"locales/keys_da-keycodes",6710:"locales/keys_jv-keycodes",6777:"locales/keys_lv_qwerty-keycodes",6793:"LayerEditorTab",6794:"locales/keys_km-keycodes",6943:"locales/keys_chr-keycodes",7022:"locales/keys_et-keycodes",7038:"keyboard-data/corne-json-metadata",7069:"locales/keys_wo-keycodes",7080:"locales/keys_uz-keycodes",7108:"locales/keys_he_standard-keycodes",7110:"keyboard-data/osprette-json-metadata",7190:"keyboard-data/waterfowl-json-metadata",7218:"keyboard-data/nice60-json-metadata",7228:"locales/keys_uk_enhanced-keycodes",7266:"keyboard-data/zodiark-json-metadata",7289:"locales/keys_sah-keycodes",7292:"locales/keys_ru_phonetic-keycodes",7303:"locales/keys_kl-keycodes",7305:"locales/keys_tt-keycodes",7316:"keyboard-data/helix-json-metadata",7446:"locales/keys_he-keycodes",7495:"locales/keys_en_gb-keycodes",7554:"locales/keys_fr-keycodes",7568:"locales/keys_mt-keycodes",7603:"locales/keys_el_latin_220-keycodes",7686:"locales/keys_dsb_extended-keycodes",7771:"locales/keys_lt-keycodes",7803:"locales/keys_sk-keycodes",7892:"locales/keys_ig-keycodes",7905:"keyboard-data/fourier-json-metadata",7950:"locales/keys_fr_belgian_period-keycodes",7961:"keyboard-data/tidbit-json-metadata",7994:"locales/keys_vi-keycodes",7997:"keyboard-data/elephant42-json-metadata",8017:"locales/keys_ar_102-keycodes",8019:"locales/keys_se-keycodes",8041:"locales/keys_mk-keycodes",8070:"locales/keys_az-keycodes",8110:"locales/keys_tmh_extended-keycodes",8119:"locales/keys_hi_traditional-keycodes",8173:"locales/keys_sq-keycodes",8185:"locales/keys_ga-keycodes",8207:"locales/keys_cs-keycodes",8216:"locales/keys_ur-keycodes",8242:"locales/keys_az_cyrillic-keycodes",8251:"locales/keys_fr_canadian_standard-keycodes",8284:"keyboard-data/planck_rev6-json-metadata",8301:"keyboard-data/leeloo_rev2-json-metadata",8302:"locales/keys_en_india-keycodes",8307:"locales/keys_nso-keycodes",8315:"ComboEditorTab",8374:"keyboard-data/murphpad-json-metadata",8391:"locales/keys_pl-keycodes",8409:"keyboard-data/contra-json-metadata",8415:"keyboard-data/snap-json-metadata",8427:"locales/keys_ko-keycodes",8438:"locales/keys_la_old_italic-keycodes",8451:"keyboard-data/cradio-json-metadata",8568:"locales/keys_mn_traditional-keycodes",8599:"locales/keys_fa-keycodes",8636:"locales/keys_nb_sami-keycodes",8642:"keyboard-data/kyria-json-metadata",8649:"locales/keys_sv-keycodes",8699:"locales/keys_se_finland_sweden-keycodes",8706:"locales/keys_fi-keycodes",8709:"locales/keys_kn-keycodes",8729:"keyboard-data/sofle-json-metadata",8793:"locales/keys_dvorak_left-keycodes",8796:"locales/keys_hu-keycodes",8813:"keyboard-data/microdox-json-metadata",8855:"locales/keys_fr_belgian-keycodes",8945:"locales/keys_lis-keycodes",8956:"locales/keys_bm-keycodes",8971:"locales/keys_el_latin-keycodes",8986:"locales/keys_ru-keycodes",9061:"locales/keys_si-keycodes",9081:"locales/keys_lv_standard-keycodes",9082:"locales/keys_as-keycodes",9112:"locales/keys_pt_abnt2-keycodes",9134:"keyboard-data/iris-json-metadata",9136:"locales/keys_hy_phonetic-keycodes",9142:"locales/keys_bn_inscript-keycodes",9176:"locales/keys_iu_latin-keycodes",9193:"locales/keys_so-keycodes",9244:"locales/keys_ky-keycodes",9351:"keyboard-data/splitkb_aurora_corne-json-metadata",9414:"locales/keys_sat-keycodes",9512:"locales/keys_mi-keycodes",9586:"locales/keys_fo-keycodes",9616:"locales/keys_dsb-keycodes",9619:"locales/keys_de_belgian-keycodes",9698:"locales/keys_ka_ergonomic-keycodes",9707:"keyboard-data/jiran-json-metadata",9866:"locales/keys_fi_sami-keycodes",9893:"locales/keys_got-keycodes",9989:"locales/keys_pa-keycodes"}[e]||e)+"."+{5:"e4e4ffd65cbc4c65ecf1",47:"68ec143ed38bce6cbea4",68:"7b17882894d827d4a691",129:"93e9e7b55ff4db1b45f4",308:"e7d0c13e3ecc92b49444",320:"e0e22f0d3ac8f761ce0c",327:"dead44ee607261367451",389:"606dc039dbee5e7de1d4",398:"c8c541aaf844eeda8149",401:"bdae6943931998cef4fd",421:"dbb2c1733f9a7579098e",422:"666bd3a0ce35c4a274ff",504:"08471cae2d972b76b0db",539:"f13efc888eac2aa8e903",578:"04d1220d52840040f60b",630:"6b46117b424a7c066032",639:"ed35220caee82d9a98c9",749:"76b287374b8ae5f7a06c",771:"476e9ba05219d84921f3",814:"4764231c07fa0d0a04f6",819:"0795ba54cbc82dd190cf",833:"46444cf657dcf1bb1593",920:"dc595b5183e9c47ff557",944:"1d97a367f9bc03bebc24",951:"f0042702141cbb2ccabf",1038:"0dd9fa3315bf40184cef",1040:"668a24817c3f3941bb2c",1066:"81b49a8822b54303f72b",1081:"b7803c34bd0bfa5dafc5",1145:"eb22ba2cdea48aa2d95d",1156:"bb15c7631776a604bdb7",1315:"0db48f03173200e045f2",1319:"235d28f92c3ebf9de6a7",1325:"2f0b419e92ee75a38e38",1343:"8f70c7bbb298f625412f",1480:"dd1c948a8c44aac28b53",1507:"8cada04b0e43007bb4be",1514:"649b8ed65f356fa690ac",1522:"51261fedb8ec11fb688b",1545:"b152a1976be0001bfb43",1547:"c246a45983470f77e595",1616:"1f9bec7c4bfb7844f4b5",1671:"6bdbbb20361914659d30",1718:"48c9ef74da6b481e09e7",1720:"3328c6b7c20fbf918852",1803:"db97dd49c33ce73ea69e",1808:"abb32a6fe65c55952158",1872:"719fd6d2cfbc98065faa",1936:"8e41309b9c19de95960a",2015:"1189ea9050bf52385110",2124:"3a4b66bbd69961c6d5c2",2135:"525d812350d5ced6043f",2169:"63ac13cc199c3dc1a8f3",2231:"5080f1cbf58c1317f585",2243:"3f8df9113303624a0a72",2247:"3459beb60f5e45f7a659",2271:"b737428706ade1ab91ed",2275:"6c3d70cbc0a2a960dede",2284:"88dbffa6a51dab15b0fe",2308:"3dcb94a43fdc92f06e92",2383:"45d4631f706b18beb2d9",2408:"49d33aa415e8f4992f21",2602:"d7b17cf5cd894ba30b64",2619:"5153da3fbe85b2f1f7f8",2621:"bd9a8dabd0cd755853b5",2650:"a829372aef4170ca51a4",2659:"c36d1660242da4a6482d",2757:"7bb49d3d556b1d93c064",2787:"23f639d1d9e06f080ea7",2835:"551ed1eddb65a0855ec0",2838:"84c69ef5c8dc271afe1d",2921:"377227f7d5e348eafa81",2939:"7a308a62c65bc646f73f",2947:"2b19227a71dd755ae4b6",2982:"36e9273f2ce6ff4f4673",3033:"b26fcf2e16e386fb33b1",3039:"af983ffea98d132ceba4",3194:"8a08d0da753f48f7f95e",3197:"c76645f1783dc0be1e59",3203:"9471f4dd90ae812fee8d",3268:"f3f0e12f35d6ede0f40f",3282:"01584f37d4d33ad63efb",3322:"7ebaf8ec7ac148f4669d",3359:"2b1b7a00d5f5a3f3d4d7",3362:"4b171d128973788c904e",3393:"2b68325532554cc8d8ba",3394:"b0af5ee288c25da5c283",3474:"d8e51748742a2c676e34",3618:"d8420dbaf5d768e5d2d4",3647:"6703ed839e825c8771d3",3687:"e750c133ca55d5c6e548",3735:"c9d93c92c6c0423a5416",3743:"ebb2429d5bbde92909c4",3746:"a4deb37dc8a93b498757",3826:"97699fa9c0a1372dedb5",3880:"fcaa03e1df43df95ab97",3893:"c7df98614033002329af",3895:"132914156c62a82b3268",3983:"c8e99eda7fd1909627b2",4013:"cb89f5091aba0e288065",4036:"909dd7500874d97524c9",4070:"f616dcb60b78533d6bf0",4156:"3ac284a21e7e7924f35f",4213:"6f4898d50b5338d7300e",4218:"0eedff4a492c354899f6",4257:"f5fd10e05ad3d0536453",4260:"7cf189c757bde6655415",4263:"931dcb76dcb966d4c80f",4289:"fa48da5f908e2f1c31fc",4296:"6398e9a1092dbd966cd4",4415:"39fdfb3dfabfb49c9f35",4443:"3d9b42bc9254f6af0784",4465:"f4574a240d1cc776a64d",4491:"85813c1f613b510d8c53",4595:"32f60188d0eaea679456",4670:"c00667ffdde3a68622ab",4688:"31df1ae6ad5f78bd01fc",4717:"abfe395f6284ad19bfcd",4733:"a2951cd308f401b65312",4777:"2224cbda2741be9da336",4795:"ed0ccd39951359fbbbca",4821:"ddd40fd58db42a579031",4824:"0a6f4db1962949f69a35",4830:"e201d6b24b9cb1e2ad99",4843:"fd9113741beefa00f0b5",4887:"f052ae8bfdfdb1d513db",4892:"960290e8d85e0b47f102",4919:"4a12c76edfa94312b0ea",4959:"808a01eda41b51d14bcb",4962:"69a545b5fcc0f7130c05",5015:"0f3a2242ea9f9a42c4f9",5074:"b219616848293106abf3",5272:"c7e0af70b0a8c39034f3",5303:"a4497d24307a9897e5b5",5332:"777b50e4b114b352d258",5354:"2e00aaedbbdc1642bb92",5356:"1fba1c8cde51e25e2627",5422:"2ffe628e4ca4ccaccd22",5485:"55a0ec07c8abbfe214b4",5533:"c45da345e0fb10fa3770",5604:"f11c3e2dd4430602f243",5606:"8cfe7dc5f09ec96ea95e",5634:"d4e880ef4bc1bdca79dd",5708:"d808c396258d15cd3ff7",5715:"4ef9b548b6cfc7c605f9",5810:"637b457fc2054bcead5a",5819:"51dc5c3e9a87ed2414e9",5821:"a4f5e6f31f799696cdaf",5840:"7e4e574c1214010c07dc",5842:"f7c89fd7bf3602a3399e",5868:"f5eeafe5b03978652c26",5891:"3076456f65d49468799e",5991:"512b59c58af9c82a47d5",5998:"91c971fb3f5767c3d295",6019:"9b8b15f0b8ce84f82156",6049:"a62bb2191cc0eecda711",6157:"8b93a87cbbec10359b5d",6158:"889d4299cca613161f97",6184:"732ddeb1a32a40e2fc3a",6274:"5630298fa575b0640e66",6324:"1c52c22287b2cac5bded",6360:"13927c112e935b8e10f6",6392:"fa88aea6ab27afd6da50",6415:"627e38aee29608a5d6d2",6429:"b9b3578a604e51fa3455",6457:"ba688263a9c85e9843e1",6528:"b29141f3be2170066ee6",6684:"1274b7cfa9914c7663c9",6688:"5d24e1f96d6a6cfefcb0",6691:"b6cb655f0aa7dcd8787b",6710:"69f4ed313d19455e88f9",6777:"dab38c8f01434d45eb86",6793:"26e81183548db5ea4da6",6794:"aa4330a831430380f7ca",6943:"9c0653724d1cbfa9ed86",7022:"9ece5bc0d21090bf91ad",7038:"29dbf79e59714992be0e",7069:"9929a74e7e92648a0f87",7080:"f083c93705b5e80e4a4e",7108:"906eeacc617750894b22",7110:"a4955e02f5ec94c45697",7190:"c0df8d5fa12d9a44ddb6",7218:"5b518329a6b8d1f99ef2",7228:"0a7f301444940610aa3a",7266:"b1ddb085343413bd0f2f",7289:"2fcc4bbd19c8e23bcfd9",7292:"364542469a1dd2fd041b",7303:"8f0ef5a9295943353ecf",7305:"ac74249c913980666520",7316:"c9818170d7ea30748c18",7446:"f26521f672e3d94f3c62",7495:"cb22512c8cea97bbcf19",7554:"bdf065db03088c4a4a5d",7568:"d9f3ad26c7b8b70fc1ec",7603:"d2d72bb470a9b2e1ede0",7686:"940990bf96e9413b2e9b",7771:"9942586e9e23d5059127",7803:"8760edf191caa0f69869",7892:"86c938c7b27b9a67ef50",7905:"23f278887548ad32dabd",7950:"6fb177a4414f9a190484",7961:"9a89555a7017f8c7c979",7994:"c160e150f1431807c681",7997:"ec7498e85efc36524556",8017:"837d18f3c4fcf868010b",8019:"02f2f252639bb1d459b6",8041:"dae4eea51cfd6e1fbef3",8070:"27f10e0739c78ab95d16",8110:"c132517c950a214d5731",8119:"58eb56bfeb45579c084c",8173:"1776ba2cbbdeb9918f9c",8185:"ece0dc278594eee67cb1",8205:"f073f9f3f61dadad9d21",8207:"7e346d396cf1e067b94f",8216:"bd2ef62dab7ca40f6d44",8242:"3891fea81cc045034ad4",8251:"7bcdee9a73a0eb39baaa",8284:"6555a3d99bf8aa4a85ee",8301:"1b5acae3cec5d2b351b3",8302:"6b483d8d7739ff515b8f",8307:"e12dd0aad5e6a036ed3b",8315:"41d9139f096e01f4dd10",8374:"36097a9be925aa82182c",8391:"eb08511c704d549f8237",8409:"f43f0bce73bf9b6a9c36",8415:"1a17db797b8c7966d730",8427:"409e29315cd91dfb038b",8438:"41a503f1b2737d035a74",8451:"ee4fc77b506ae42c350d",8568:"bf0989c363612ba74ac9",8573:"cd4468b19759e767bbc1",8599:"1c088737758fa51d0a0a",8636:"48c3cab70569554b8655",8642:"18f07547d3f5ddbc5c3b",8649:"519f8992d7c5b42bf4e1",8699:"6d4b2f405c48cf71aa4b",8706:"db5988f190774b8ecd7e",8709:"edbea20e0b917271d7a2",8729:"5e7f233ca2746206478d",8793:"9639129fefdac959af3a",8796:"594621d4b7b51b6c639b",8813:"1008878cec3cb3882209",8855:"38f81f640e33d713ea2c",8873:"75782887b6b9e72b1dc9",8945:"d5a920b4e65ee30d8356",8956:"b025b7e50cad64b75370",8971:"f906bba2b2b7e87a8ae0",8986:"4ad17334f3ef911b6b0b",9061:"df8e5e2756a89a473ac0",9081:"b6c8611601548f3554f7",9082:"35cb59b22a293243df26",9112:"7ebcaf2caf566e7902b8",9134:"ff4f0180e5079649f561",9136:"3249d48fcb94ad9e44a1",9142:"8933a018c2a618e987a4",9176:"2557b40f7b4fcef345a9",9193:"e2b545b8ea15c0016312",9244:"0e4e64562de0635942ff",9351:"937871a659c22427a634",9414:"b9aecaa9ab601ffcc6b4",9512:"dc6d783fb73d92e5a7fb",9586:"01151d539dca32e61272",9616:"0a4f102b3e946346e2d6",9619:"b044962c66577434486e",9698:"41ef3f798533a2b1c7cf",9707:"7d9b702ab7a66f9882c9",9866:"110121669330cd9e737c",9893:"4ff6eee70cdc1c6e3325",9989:"e7d2ba9eda5b0ac31cac"}[e]+".js"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d={},s="app:",l.l=function(e,a,c,o){if(d[e])d[e].push(a);else{var t,f;if(void 0!==c)for(var k=document.getElementsByTagName("script"),b=0;b<k.length;b++){var y=k[b];if(y.getAttribute("src")==e||y.getAttribute("data-webpack")==s+c){t=y;break}}t||(f=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,l.nc&&t.setAttribute("nonce",l.nc),t.setAttribute("data-webpack",s+c),t.src=e),d[e]=[a];var r=function(a,c){t.onerror=t.onload=null,clearTimeout(n);var s=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),s&&s.forEach((function(e){return e(c)})),a)return a(c)},n=setTimeout(r.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=r.bind(null,t.onerror),t.onload=r.bind(null,t.onload),f&&document.head.appendChild(t)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var a=l.g.document;if(!e&&a&&(a.currentScript&&(e=a.currentScript.src),!e)){var c=a.getElementsByTagName("script");c.length&&(e=c[c.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),function(){l.b=document.baseURI||self.location.href;var e={3666:0};l.f.j=function(a,c){var d=l.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(3666!=a){var s=new Promise((function(c,s){d=e[a]=[c,s]}));c.push(d[2]=s);var o=l.p+l.u(a),t=new Error;l.l(o,(function(c){if(l.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var s=c&&("load"===c.type?"missing":c.type),o=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+s+": "+o+")",t.name="ChunkLoadError",t.type=s,t.request=o,d[1](t)}}),"chunk-"+a,a)}else e[a]=0},l.O.j=function(a){return 0===e[a]};var a=function(a,c){var d,s,o=c[0],t=c[1],f=c[2],k=0;if(o.some((function(a){return 0!==e[a]}))){for(d in t)l.o(t,d)&&(l.m[d]=t[d]);if(f)var b=f(l)}for(a&&a(c);k<o.length;k++)s=o[k],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(b)},c=self.webpackChunkapp=self.webpackChunkapp||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))}(),l.nc=void 0}(); +//# sourceMappingURL=runtime.0dcbcd76591860b1976a.js.map
\ No newline at end of file diff --git a/shared.d86d4fb68aba6e9ecb92.js b/shared.d86d4fb68aba6e9ecb92.js new file mode 100644 index 0000000..9ec95f2 --- /dev/null +++ b/shared.d86d4fb68aba6e9ecb92.js @@ -0,0 +1,2 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3712],{66767:function(_,e,E){_.exports=E(92908)},59857:function(_,e,E){const{removeStartingWhitespace:t,removeTrailingWhitespace:o,reindent:s,dedent:i}=E(3769),{getLabeledItem:S,getNodeLabels:a}=E(35125),n=" ",A="keep";function r(_){return-1!==_.text.indexOf("\n")}function I(_){return"comment"===_.type&&_.previousSibling&&"preproc_def"!==_.previousSibling.type&&"preproc_function_def"!==_.previousSibling.type&&"preproc_include"!==_.previousSibling.type&&_.previousSibling.endPosition.row===_.startPosition.row}function D(_,e){return e.repeat(l(_))}function l(_){let e=_,E=0;const t=_.tree.rootNode;for(;(e=e.parent)&&e&&e.id!==t.id;)"labeled_item"!==e.type&&E++;return E}function u(_,e){if(!e)return!1;const E=_.type===e.type;return E&&"node"===_.type||"property"===(t=_)?.type&&(t.namedChildren.length>2||t.namedChildren.slice(1).some(r))||!E&&!I(e);var t}function R(_){return!!_.childForFieldName("address")}function O(_){return R(_)?`@${_.namedChildren[1].text}`:""}function d(_){return _.map((_=>`${_}: `)).join("")}_.exports={formatNode:function _(e,E={}){const{indent:l=n}=E;"labeled_item"===e.type&&(e=S(e));const[T,...N]=e.namedChildren,U=D(e,l);function c(e){return e.reduce(((t,o,s,i)=>I(o)?(t[t.length-1]+=o.text,t):(t.push(..._(o,E)),u(o,e[s+1])&&t.push(""),t)),[])}switch(e.type){case"document":return[...c(e.namedChildren),""];case"node":return[U+`${d(a(e))}${T.text}${O(e)} {`,...c(R(e)?e.namedChildren.slice(2):N),U+"};"];case"property":return function(e,E={}){const{indent:S=n,multilineIntegerCellsIndent:I=A}=E,[l,...u]=e.namedChildren,R=D(e,S),O=0===u.length,T=1===u.length&&!r(u[0]),N=1===u.length&&"integer_cells"===u[0].type,U=d(a(e));if(O)return[R+e.text];if(T)return[R+`${U}${l.text} = ${u[0].text};`];if(N){let _=t(o(u[0].text.slice(1,-2)));switch(I){case"reindent":_=s(_,R+S);break;case"dedent":_=i(_)}return[R+`${U}${l.text} = <`,..._.split("\n"),R+">;"]}return[R+`${l.text} =`,...[].concat(...u.map((e=>_(e,E)))).map(((_,e,E)=>[_,e===E.length-1?";":","].join("")))]}(e,E);case"preproc_include":case"preproc_def":case"preproc_function_def":return[e.text.trimEnd()];default:return[U+e.text]}},getModelineConfiguration:function(_){return _.rootNode.namedChildren.reduce(((_,e)=>{if("comment"===e.type){const E=e.text.startsWith("//")?e.text.slice(2).trim():e.text.slice(2,-2).trim();for(const e of E.split("\n")){const E=e.match(/dt-formatter:\s*(\w+)\s*=\s*(.+)$/);if(E){const[e,t]=E.slice(1);try{const E=JSON.parse(t);_[e]=E}catch{}}}}return _}),{})},getNodeDepth:l,isInlineComment:I,shouldIncludeBlank:u}},1530:function(_,e,E){_.exports=Object.assign({},E(35125),E(46933),E(31960),E(95147))},35125:function(_,e,E){const t=E(69282),o=E(49766);function s(_){return i(_.parent,"label")}function i(_,e){const E=[],t=_.walk();t.gotoFirstChild();do{const _=t.currentNode().isNamed(),o=t.currentFieldName()===e;_&&o&&E.push(t.currentNode())}while(t.gotoNextSibling());return t.delete(),E}function S(_,e){const E="string"==typeof e?_=>_===e:e;return _.namedChildren.filter((_=>"node"===_.type&&_.children.find((_=>"identifier"===_.type&&E(_.text)))))}_.exports={nodesAreConsecutive:function(_){return _.every(((e,E)=>!(E<_.length-1)||e.nextSibling.id===_[E+1].id))},getNodeLabels:function(_){return s(_).map((_=>_.text))},getNodeLabelNodes:s,getLabeledItem:function(_){return t("labeled_item"===_.type),_.childForFieldName("item")},getNodeChildrenByFieldName:i,findChildByIdentifier:function(_,e){_=[].concat(_);for(const E of o(_)){const _=S(E,e)[0];if(_)return _}},findChildrenByIdentifier:S,listNodes:function(_,e={}){const{stripNewlines:E=!0,limit:t=50}=e;for(const e of _){let _=e.text;E&&(_=_.replace(/\n/g,"")),t&&(_=_.slice(0,t)),console.log(e.id,`[${e.type}]`,"->",_)}}}},46933:function(_,e,E){const{getNodeChildrenByFieldName:t}=E(35125),{parseStringLiteral:o,parseIntegerCells:s,parseIntegerArray:i,parsePhandles:S,parsePhandle:a,parsePhandleArray:n,parseIntegerUnion:A,serializeIntValue:r,serializeArrayValue:I}=E(95147);function D(_,e){return _.children.find((_=>"property"===_.type&&_.children[0].text===e))}function l(_,e){return _.namedChildren.find((_=>"property"===_.type&&_.childForFieldName("name")?.text===e))}function u(_,e){const E=l(_,e);return E&&t(E,"value")}function R(_,e,E){const t=D(_,e),r=u(_,e);switch(E.type){case"string":return o(r?.[0]);case"boolean":return!!t;case"int":return s(r)?.[0];case"array":return i(r);case"phandle":return a(r);case"phandles":return S(r);case"phandle-array":return n(r);case"integer-union":return A(r)}}_.exports={findNodeProperty:D,getProperty:function(_,e){const E=_.children.find((_=>"property"===_.type&&_.children[0].text===e));return E&&{syntaxNode:E,name:e,value:E.children[2]?.text}},getPropertyNode:l,getPropertyValue:function(_,e){return(e="string"==typeof e?l(_,e):e)?.childForFieldName("value")},getPropertyValues:u,parsePropertiesFromSchema:function(_,e){return Object.keys(e).reduce(((E,t)=>{const o=e[t],s=R(_,t,o);return void 0!==s&&(E[t]={parsed:s}),E}),{})},parsePropertyFromSchema:R,serializePropertyFromSchema:function(_,e){switch(e.type){case"string":return`"${_.parsed}"`;case"boolean":return _.parsed;case"int":return r(_.parsed);case"array":return I(_.parsed);case"phandle":return _.parsed.map((_=>`<${_}>`)).join(", ");case"phandles":case"phandle-array":return _.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>`<${_.join(" ")}>`)).join(", ");case"integer-union":return _.parsed.length>0&&`<(${_.parsed.map((_=>_.toString())).join("|")})>`}}}},31960:function(_){function e(_,e={}){const{maxDepth:E=-1}=e,t=[{depth:0,node:_.rootNode||_}];return function(){const _=t.shift();return _&&(-1===E||_.depth<E)&&t.push(..._.node.namedChildren.map((e=>({node:e,depth:_.depth+1})))),_?.node}}function E(_,e={}){const{maxDepth:E=-1}=e,t=[{depth:0,node:_.rootNode||_}];return function(){const _=t.shift();return _&&(-1===E||_.depth<E)&&t.unshift(..._.node.namedChildren.map((e=>({node:e,depth:_.depth+1})))),_?.node}}function t(_,t,o={}){const{single:s=!1,maxDepth:i=-1,depthFirst:S=!1}=o,a=S?E(_,{maxDepth:i}):e(_,{maxDepth:i}),n=[];let A;for(;A=a();)if(t(A)){if(s)return A;n.push(A)}if(!s)return n}function o(_){let e;if(_ instanceof RegExp)e=e=>_.test(e);else if("string"==typeof _)e=e=>e===`"${_}"`;else{if("function"!=typeof _)throw new TypeError("Unexpected type "+typeof _);e=_}return _=>"property"===_.type&&"compatible"===_.childForFieldName("name").text&&e(_.childForFieldName("value").text)}_.exports={BreadthFirstIterator:e,DepthFirstIterator:E,searchTree:t,findLabeledItem:function(_,e){let E=t(_,(_=>"labeled_item"===_.type&&"identifier"===_.children[0].type&&_.children[0].text===e),{single:!0});if(!E)return null;do{E=E.childForFieldName("item")}while("labeled_item"===E.type);return E},findNodeByIdentifier:function(_,e){return t(_,(_=>"node"===_.type&&_.childForFieldName("name").text===e),{single:!0})},findNodeWithCompatible:function(_,e){return t(_,o(e),{single:!0})?.parent},findNodesWithCompatible:function(_,e){return t(_,o(e)).map((_=>_.parent))}}},95147:function(_,e,E){const{searchTree:t}=E(31960),o=_=>"unary_expression"===_.type&&"-"===_.childForFieldName("operator").type&&"integer_literal"===_.childForFieldName("argument").type,s=_=>["identifier","integer_literal"].includes(_.type)||o(_),i=_=>["identifier","integer_literal","reference","call_expression"].includes(_.type),S=_=>"reference"===_.type,a=_=>"integer_literal"===_.type||o(_)?Number(_.text):_.text;function n(_){return _?.flatMap((_=>_.namedChildren.filter(s).map(a)))}function A(_){return _?.flatMap((_=>_.namedChildren.filter(S).map((_=>_.text))))}function r(_){return(_=_.toString()).match(/-\d+/)&&(_=`(${_})`),_}_.exports={parseStringLiteral:function(_){return _?.text?.slice(1,-1)},parseIntegerCells:function(_){return n(_)},parseIntegerArray:n,parsePhandle:function(_){return A(_)[0]},parsePhandleArray:function(_){return _?.flatMap((_=>_.namedChildren.filter(i).map((_=>_.text))))},parsePhandles:A,parseIntegerUnion:function(_){return _?.flatMap((_=>t(_,s,{depthFirst:!0}))).map(a)},sanitizeIdentifier:function(_){return _.replace(/[^a-zA-Z0-9,._+-]/g,"_").slice(0,31)},serializeIntValue:function(_){return`<${r(_)}>`},serializeArrayValue:function(_){return`<${_.map(r).join(" ")}>`}}},89361:function(_,e,E){const t=E(69282),{ReferenceError:o}=t,s=E(66039),i=E(42148),S=E(33610),a=E(72243),n=E(84060),A=E(49766),{getNodeLabels:r,getLabeledItem:I}=E(35125),{getPropertyValues:D}=E(46933),{sanitizeIdentifier:l}=E(95147);_.exports={NodeCollection:class{managedProperties=[];_cached_container_node=null;_cached_container_tree_version=0;_cached_collection_nodes=null;_cached_collection_tree_version=0;constructor(_,e={}){this.document=_,e.managedProperties&&(this.managedProperties=e.managedProperties),e.lookupContainerNode&&(this.lookupContainerNode=e.lookupContainerNode.bind(this)),e.injectContainerNode&&(this.injectContainerNode=e.injectContainerNode.bind(this)),e.lookupNodes&&(this.lookupNodes=e.lookupNodes.bind(this)),e.injectNode&&(this.injectNode=e.injectNode.bind(this))}lookupContainerNode(){throw new o("Provide `lookupContainerNode` in constructor or override this method")}injectContainerNode(){throw new o("Provide `injectContainerNode` in constructor or override this method")}lookupNodes(){throw new o("Provide `lookupNodes` in constructor or override this method")}injectNode(){throw new o("Provide `injectNode` in constructor or override this method")}get container(){return this._cached_container_tree_version!==this.document._parse_version&&delete this._cached_container_node,this._cached_container_node||(this._cached_container_node=this.lookupContainerNode(this.document),this._cached_container_tree_version=this.document._parse_version),this._cached_container_node}get nodes(){return this._cached_collection_tree_version!==this.document._parse_version&&delete this._cached_collection_nodes,this._cached_collection_nodes||(this._cached_collection_nodes=this.lookupNodes(this.document),this._cached_collection_tree_version=this.document._parse_version),this._cached_collection_nodes}updateCollection(_){_.length&&!this.container&&(this.injectContainerNode(this),this.document.flushChanges());const e=[...this.nodes.keys()],E=i(a(_,"index"),(_=>this.nodes[_])),t=s(e,E),[o,S]=n(_,(_=>this.nodes[_.index]));for(const _ of o)this.updateNode(_.index,_);for(const _ of A(t))this.document.removeNode(this.nodes[_]);for(const _ of S)this.injectNode(this,_),this.document.flushChanges(),this.updateNode(this.nodes.length-1,_)}updateNode(_,e){const E=this.extractNode(this.nodes[_]);this.updateNodeName(_,e,E),this.updateNodeLabels(_,e,E),this.updateNodeProperties(_,e,E),this.cleanupNodeProperties(_,e,E)}updateNodeName(_,e,E){if(E.name!==e.name){const E=this.nodes[_].childForFieldName("name");this.document.replaceNode(E,l(e.name),{removeStartingWhitespace:!1})}}updateNodeLabels(_,e,E){S(E.labels,e.labels)||this.document.replaceNodeLabels(this.nodes[_],e.labels)}updateNodeProperties(_,e,E){const{properties:t}=e;for(const e in t){const o=t[e];S(o,E.properties[e])||this.document.setProperty(this.nodes[_],e,o)}}cleanupNodeProperties(_,e,E){const{properties:t}=e;for(const e of this.managedProperties)e in E.properties&&!(e in t)&&this.document.deleteProperty(this.nodes[_],e)}extractNode(_){t("node"===_.type);const e=_.childForFieldName("name").text,E=r(_),o=_.namedChildren.reduce(((e,E)=>{if("labeled_item"===E.type&&(E=I(E)),"property"===E.type){const t=E.childForFieldName("name").text,o=D(_,t),s=a(o,"text"),i=s.join(", ");e[t]={parsed:s,raw:i}}return e}),{});return{name:e,labels:E,properties:o}}extractCollection(){return this.nodes.map(((_,e)=>({index:e,...this.extractNode(_)})))}}}},92908:function(_,e,E){const t=E(69282),{sortBy:o}=E(59553),s=E(96912),{getPosition:i}=E(3769),{getNodeLabelNodes:S}=E(35125),{getProperty:a}=E(46933);let n;_.exports={getParser:async function(){if(!n){await s.init();const _=await s.Language.load(E.g.window?E(34886):"//../data/tree-sitter-devicetree.wasm");n=new s,n.setLanguage(_)}return n},DevicetreeDocument:class{constructor(_,e){this.parser=_,this._parse_version=0,this._enableChangeBuffering=!1,this._bufferedChanges=[],this.update(e)}cleanup(){this.tree.delete()}update(_,e=null){if(e&&this.tree&&this._enableChangeBuffering){const E=_.slice(e.startIndex,e.newEndIndex);this._bufferedChanges.push({startIndex:e.startIndex,update:e,replacementText:E})}else this.text=_,this._reparse()}_reparse(){this.tree&&this.tree.delete(),this.tree=this.parser.parse(this.text),this._parse_version++}flushChanges(){if(0===this._bufferedChanges.length)return;const _=o(this._bufferedChanges,"startIndex"),e=_.reduce(((e,{update:E,replacementText:t},o)=>{const s=_[o+1],i=o>0?_[o-1].update.oldEndIndex:0,S=this.text.slice(i,E.startIndex),a=t;return e.push(S),e.push(a),s||e.push(this.text.slice(E.oldEndIndex)),e}),[]);this.text=e.join(""),this._reparse(),this._bufferedChanges=[]}removeNode(_){this.replaceNode(_,"")}replaceNode(_,e,E={}){const{removeStartingWhitespace:t=!0}=E,{text:o}=this,s=o.lastIndexOf("\n",_.startIndex),S=-1!==s&&o.slice(s+1,_.startIndex).match(/\s+/)&&t?s:_.startIndex,a=[o.slice(0,S),e,o.slice(_.endIndex)].join(""),n={startIndex:S,startPosition:i(e,S),oldEndIndex:_.endIndex,oldEndPosition:_.endPosition,newEndIndex:S+e.length,newEndPosition:i(a,S+e.length)};this.update(a,n)}replaceRange(_,e,E){const{text:t}=this,o=[t.slice(0,_),E,t.slice(e)].join(""),s=_+E.length,S={startIndex:_,startPosition:i(t,_),oldEndIndex:e,oldEndPosition:i(t,e),newEndIndex:s,newEndPosition:i(o,s)};return this.update(o,S)}replaceNodeLabels(_,e){const E=S(_),t=o(E,"startIndex"),s=e.map((_=>`${_}:`)).join(" "),i=t[0]&&t[0].parent||_;this.replaceRange(i.startIndex,_.startIndex,s)}insertTextBeforeNode(_,e){this.replaceRange(_.startIndex,_.startIndex,e)}insertTextAfterNode(_,e){this.replaceRange(_.endIndex,_.endIndex,e)}addChildNode(_,e){t("node"===_.type);const E=_.children.find((_=>"}"===_.type));return this.replaceRange(E.startIndex,E.startIndex,e)}setProperty(_,e,E){const t=a(_,e);if("boolean"==typeof E&&!E)return void(t&&this.deleteProperty(_,e));const o=E.length?`${e} = ${E};`:`${e};`;return t?this.replaceNode(t.syntaxNode,o,{removeStartingWhitespace:!1}):this.addChildNode(_,`\n ${o}`)}deleteProperty(_,e){const E=a(_,e);E&&this.replaceNode(E.syntaxNode,"")}}}},83858:function(_,e,E){const t=E(26069),o=E(22469),s=E(41953),i=E(50501),S=E(72243),a=E(54600),n=E(22834),{getParser:A}=E(66767),{formatNode:r,getModelineConfiguration:I}=E(59857),{behaviorBindings:D}=E(95130),l=E(87325),{encodeKeyBinding:u}=E(69663),R=E(22443),O=i(D,"code");function d(_){const e=[...o(t(S(_.layers,"properties.bindings.parsed"))),...o(t(S(_.layers,"properties.sensor-bindings.parsed"))),...o(t(S(_.combos,"properties.bindings.parsed"))),...o(t(S(_.macros,"properties.bindings.parsed"))),...o(t(S(_.behaviors,"properties.bindings.parsed")))].map((_=>"object"==typeof _?_.value:_));return n(e)}_.exports=async function(_,e,E,t={}){!function(_,e){for(const E of _.layers){if(E.properties.bindings?.parsed){const{parsed:_}=E.properties.bindings;E.properties.bindings={parsed:_,useRaw:!0,raw:`<\n${l(e,_.map(u))}\n>`}}E.properties.label&&!E.properties.label.parsed&&delete E.properties.label,E.properties=a(E.properties,(_=>!_))}}(e,_);const i=o(d(e).map((_=>s(O,[_,"includes"],[])))),S=new R(await A(),E);S._enableChangeBuffering=!0,S.mergeUpdated(e,t),S.replaceBehaviourIncludes(i),S.flushChanges();try{const _=I(S.tree);return r(S.tree.rootNode,_).join("\n")}catch(_){return console.error("Failed to format devictree",_),S.text}finally{S.cleanup()}},_.exports.getBehaviorsUsed=d},69663:function(_,e,E){const t=E(42148),o=E(41953),{parsePropertyFromSchema:s}=E(46933);function i(_){return _.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")))}const S=["¯o_tap","¯o_press","¯o_release","¯o_tap_time","¯o_wait_time","¯o_pause_for_release"];function a(_){const e=(_.params||[]).map(a),E=e.length>0?`(${e.join(",")})`:"";return _.value+E}_.exports={parseBindings:function(_,e="bindings"){const E=s(_,e,{type:"phandle-array"});return E?i([].concat(...E)):void 0},parseKeyBinding:function(_,e){const E=/\((.+)\)/,s=_.match(/^(&.+?)\b/)[1],i=t(_.replace(/^&.+?\b\s*/,"").split(" ")).map((function _(t){const s=t.replace(E,""),i=o(t.match(E),"[1]","").split(",").map((_=>_.trim())).filter((_=>_.length>0)).map(_);return{value:o(e.defines,s,s),params:i}}));return{value:s,params:i}},groupMacroBindings:function(_){return _.reduce(((_,e,E,t)=>{const o=e.split(" ")[0];return S.includes(o)?(_.at(-1).length>0&&_.push([]),_.at(-1).push(e),E<t.length-1&&_.push([])):_.at(-1).push(e),_}),[[]])},groupPhandleArrayBindings:i,encodeKeyBinding:function(_){const{value:e,params:E}=_;return`${e} ${E.map(a).join(" ")}`.trim()}}},30051:function(_,e,E){const t=E(33610),o=E(50501),s=E(72243),{NodeCollection:i}=E(89361),{findChildByIdentifier:S,parsePropertyFromSchema:a,searchTree:n,serializePropertyFromSchema:A}=E(1530),{behaviorBindings:r,behaviorSchemas:I}=E(95130),{encodeKeyBinding:D,parseKeyBinding:l}=E(69663),u=s(r,"code"),R=o(r,"code");_.exports=class extends i{lookupContainerNode(){}injectContainerNode(){}lookupNodes(){return n(this.document.tree.rootNode,(_=>"node"===_.type&&"reference"===_.childForFieldName("name").type&&u.includes(_.childForFieldName("name").text)))}injectNode(_,e){const E=`${e.name} {};`,t=this.nodes.at(-1),o=S(this.document.tree.rootNode,"/");t?this.document.insertTextAfterNode(t,E):this.document.insertTextBeforeNode(o,E)}extractNode(_){const e=super.extractNode(_),{name:E}=e,{compatible:t}=R[E],o=I[t];if(o)for(const E in o.properties){const t=o.properties[E],s=e.properties[E];if(s&&(s.parsed=a(_,E,t),"phandle-array"===t.type)){const _=s.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")));s.parsed=_.map((_=>l(_,{})))}}return e.properties.label&&!o?.properties?.label&&(e.properties.label.parsed=a(_,"label",{type:"string"})),e.properties["#binding-cells"]&&!o?.properties?.["#binding-cells"]&&(e.properties["#binding-cells"].parsed=a(_,"#binding-cells",{type:"int"})),e.properties["#sensor-binding-cells"]&&!o?.properties?.["#sensor-binding-cells"]&&(e.properties["#sensor-binding-cells"].parsed=a(_,"#sensor-binding-cells",{type:"int"})),e.deletedProperties=this.extractDeletedProperties(_),e}extractDeletedProperties(_){return _.namedChildren.slice(1).filter((_=>"delete_property"===_.type)).map((_=>_.namedChildren[0].text))}updateNodeProperties(_,e,E){const{name:o,properties:s}=e,{compatible:i}=R[o],S=I[i];for(const e in s){const o=s[e],i=S?.properties?.[e];if(!t(o,E.properties[e])){const E=i&&void 0!==o.parsed&&!o.useRaw?"phandle-array"!==i.type?A(o,i):o.parsed.map((_=>D(_))).map((_=>`<${_}>`)).join(", "):o.raw;this.document.setProperty(this.nodes[_],e,E)}}}cleanupNodeProperties(_,e,E){for(const t in E.properties)t in e.properties||this.document.deleteProperty(this.nodes[_],t);const t=e.deletedProperties.filter((_=>!E.deletedProperties.includes(_))),o=E.deletedProperties.filter((_=>!e.deletedProperties.includes(_)));for(const e of o){const E=this.nodes[_].namedChildren.find((_=>"delete_property"===_.type&&_.namedChildren[0].text===e));this.document.replaceNode(E,"")}for(const e of t)this.document.addChildNode(this.nodes[_],`/delete-property/ ${e};`)}}},65403:function(_,e,E){const t=E(33610),{findChildByIdentifier:o,findChildrenByIdentifier:s,findNodesWithCompatible:i,findNodeProperty:S,getPropertyValues:a,parsePropertyFromSchema:n,sanitizeIdentifier:A,serializePropertyFromSchema:r}=E(1530),{NodeCollection:I}=E(89361),{behaviorSchemas:D}=E(95130),{parseKeyBinding:l,encodeKeyBinding:u}=E(69663);_.exports=class extends I{lookupContainerNode(){const _=s(this.document.tree.rootNode,"/");return o(_,"behaviors")}injectContainerNode(){const _=i(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,"\nbehaviors {};\n")}lookupNodes(){return i(this.document.tree.rootNode,(_=>_.startsWith('"zmk,behavior-')&&!_.startsWith('"zmk,behavior-macro')))}injectNode(_,e){const E=A(e.name),t=this.nodes.at(-1),o=`${e.labels[0]}: ${E} {\n compatible = ${e.properties.compatible.raw};\n };`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}extractNode(_){const e=S(_,"compatible")?.namedChildren[1].text.slice(1,-1),E=D[e],t=super.extractNode(_);if(t.properties.compatible.parsed=e,E)for(const e in E.properties){const o=E.properties[e],s=t.properties[e];if(s&&(s.parsed=n(_,e,o),"phandle-array"===o.type)){const _=s.parsed.reduce(((_,e)=>(e.startsWith("&")?_.push([e]):_[_.length-1].push(e),_)),[]).map((_=>_.join(" ")));s.parsed=_.map((_=>l(_,{})))}}return t.properties.label&&!E?.properties?.label&&(t.properties.label.parsed=n(_,"label",{type:"string"})),t.properties["#binding-cells"]&&!E?.properties?.["#binding-cells"]&&(t.properties["#binding-cells"].parsed=n(_,"#binding-cells",{type:"int"})),t.properties["#sensor-binding-cells"]&&!E?.properties?.["#sensor-binding-cells"]&&(t.properties["#sensor-binding-cells"].parsed=n(_,"#sensor-binding-cells",{type:"int"})),(a(_,"bindings")||[]).flatMap((_=>_.namedChildren.flatMap((_=>_.text)))),t}updateNodeProperties(_,e,E){const{properties:o}=e,s=S(this.nodes[_],"compatible")?.namedChildren[1].text.slice(1,-1),i=D[s]||{properties:{compatible:{type:"string"},label:{type:"string"},"#binding-cells":{type:"int"},"#sensor-binding-cells":{type:"int"}}};for(const e in o){const s=o[e],S=i?.properties?.[e];if(!t(s,E.properties[e])){const E=S&&void 0!==s.parsed&&!s.useRaw?"phandle-array"!==S.type?r(s,S):s.parsed.map((_=>u(_))).map((_=>`<${_}>`)).join(", "):s.raw;this.document.setProperty(this.nodes[_],e,E)}}}cleanupNodeProperties(_,e,E){for(const t in E.properties)t in e.properties||this.document.deleteProperty(this.nodes[_],t)}}},84477:function(_,e,E){const t=E(33610),{findNodeWithCompatible:o,findNodesWithCompatible:s,getLabeledItem:i,getNodeLabels:S,parsePropertiesFromSchema:a,serializePropertyFromSchema:n}=E(1530),{NodeCollection:A}=E(89361),{groupPhandleArrayBindings:r,parseKeyBinding:I,encodeKeyBinding:D}=E(69663),l={bindings:{type:"phandle-array"},"key-positions":{type:"array"},"timeout-ms":{type:"int"},"slow-release":{type:"boolean"},layers:{type:"array"}};_.exports=class extends A{managedProperties=["bindings","key-positions","timeout-ms","layers","slow-release"];lookupContainerNode(){return o(this.document.tree.rootNode,"zmk,combos")}injectContainerNode(){const _=s(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,'\n combos {\n compatible = "zmk,combos";\n };\n ')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=i(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=e.name.replace(/[^a-zA-Z0-9_]/g,"_"),t=this.nodes.at(-1),o=`${E} {};`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}updateNodeProperties(_,e,E){const{properties:o}=e;for(const e in o){const s=o[e],i=l[e];if(!t(s,E.properties[e])){const E=i&&!s.useRaw?"phandle-array"!==i.type?n(s,i):s.parsed.map((_=>D(_))).map((_=>`<${_}>`)).join(", "):s.raw;this.document.setProperty(this.nodes[_],e,E)}}e.properties.layers?.parsed?.length||this.document.deleteProperty(this.nodes[_],"layers")}extractNode(_){const e=_.childForFieldName("name").text,E=S(_),t=a(_,l);return t.bindings&&(t.bindings.parsed=r(t.bindings.parsed).map(I)),{name:e,labels:E,properties:t}}legacyParse(_){const{name:e,labels:E,properties:o}=this.extractNode(_),s={name:e,labels:E,properties:o,identifier:e},i={bindings:"bindings","timeout-ms":"timeoutMs","key-positions":"keyPositions","slow-release":"slowRelease",layers:"layers"};for(const _ of Object.keys(i))o[_]&&(s[i[_]]=o[_].parsed);return(0===s.layers?.length||t(s.layers,[-1]))&&delete s.layers,s}legacyParseNodes(){return this.nodes.map((_=>this.legacyParse(_)))}}},60141:function(_,e,E){const t=E(33610),{findChildrenByIdentifier:o,findNodesWithCompatible:s,getLabeledItem:i,getNodeLabels:S,parsePropertiesFromSchema:a,serializePropertyFromSchema:n}=E(1530),{NodeCollection:A}=E(89361),r={"if-layers":{type:"array"},"then-layer":{type:"int"}};_.exports=class extends A{managedProperties=["if-layers","then-layer"];lookupContainerNode(){return s(this.document.tree.rootNode,"zmk,conditional-layers").at(-1)}injectContainerNode(){const _=o(this.document.tree.rootNode,"/");this.document.addChildNode(_.at(-1),'\nconditional_layers { compatible = "zmk,conditional-layers"; };\n')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=i(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=this.nodes.at(-1),t=`${(e.name||"new_conditional_layer").replace(/[^a-zA-Z0-9_]/g,"_")} {};`;E?this.document.insertTextAfterNode(E,t):this.document.addChildNode(this.container,t)}updateNodeProperties(_,e,E){const{properties:o}=e;for(const e in o){const s=o[e],i=r[e];if(!t(s,E.properties[e])){const E=i&&!s.useRaw?n(s,i):s.raw;this.document.setProperty(this.nodes[_],e,E)}}}extractNode(_){return{name:_.childForFieldName("name").text,labels:S(_),properties:a(_,r)}}}},21207:function(_,e,E){const t=E(66039),o=E(42148),s=E(33610),i=E(72243),{findChildrenByIdentifier:S,findNodesWithCompatible:a,getLabeledItem:n,getNodeLabels:A,parsePropertiesFromSchema:r,serializePropertyFromSchema:I}=E(1530),{NodeCollection:D}=E(89361),{groupPhandleArrayBindings:l,parseKeyBinding:u,encodeKeyBinding:R}=E(69663),O={label:{type:"string"},bindings:{type:"phandle-array"},"sensor-bindings":{type:"phandle-array"}};_.exports=class extends D{managedProperties=["label","bindings","sensor-bindings"];lookupContainerNode(){return a(this.document.tree.rootNode,"zmk,keymap").at(-1)}injectContainerNode(){const _=S(this.document.tree.rootNode,"/");this.document.addChildNode(_.at(-1),'\nkeymap { compatible = "zmk,keymap"; };\n')}lookupNodes(){return this.container?this.container.namedChildren.reduce(((_,e)=>("labeled_item"===e.type&&(e=n(e)),"node"===e.type&&_.push(e),_)),[]):[]}injectNode(_,e){const E=this.nodes.at(-1),t=`${(e.name||"new_layer").replace(/[^a-zA-Z0-9_]/g,"_")} {};`;E?this.document.insertTextAfterNode(E,t):this.document.addChildNode(this.container,t)}updateCollection(_){const e=[...this.nodes.keys()];super.updateCollection(_),this.updateLayerPositions(_,e)}updateLayerPositions(_,e){const E=o(i(_,"index"),(_=>this.nodes[_])),s=t(e,E),S=[...e];for(const E in _){const t=_[E],o=S.length;void 0!==t.index&&e.includes(t.index)||(t.index=o,S[o]=o)}for(let _=s.length-1;_>=0;--_){const e=s[_];S[e]=null;for(let _=e+1;_<S.length;_++)null!==S[_]&&(S[_]-=1)}const a=i(_,"index");a.length>0&&!a.every(((_,e,E)=>e===E.length-1||E[e]<E[e+1]))&&(this.document.flushChanges(),this.document.replaceRange(this.nodes[0].startIndex,this.nodes.at(-1).endIndex,a.map((_=>S[_])).map((_=>this.nodes[_].text)).join("\n")))}updateNodeProperties(_,e,E){const{properties:t}=e;for(const e in t){const o=t[e],i=O[e];if(!s(o,E.properties[e])){const E=i&&!o.useRaw?"phandle-array"!==i.type?I(o,i):0!==o.parsed.length&&o.parsed.map((_=>R(_))).map((_=>`<${_}>`)).join(", "):o.raw;this.document.setProperty(this.nodes[_],e,E)}}}extractNode(_){const e=_.childForFieldName("name").text,E=A(_),t=r(_,O);return t.bindings&&(t.bindings.parsed=l(t.bindings.parsed).map(u)),t["sensor-bindings"]&&(t["sensor-bindings"].parsed=l(t["sensor-bindings"].parsed).map(u)),{name:e,labels:E,properties:t}}}},67199:function(_,e,E){const t=E(64988),{findChildByIdentifier:o,findChildrenByIdentifier:s,findNodesWithCompatible:i}=E(1530),{NodeCollection:S}=E(89361),a=E(65403),{groupMacroBindings:n,encodeKeyBinding:A}=E(69663);_.exports=class extends a{managedProperties=["label","tap-ms","wait-ms"];lookupContainerNode(){const _=s(this.document.tree.rootNode,"/");return o(_,"macros")}injectContainerNode(){const _=i(this.document.tree.rootNode,"zmk,keymap").at(-1);this.document.insertTextBeforeNode(_,"\nmacros {};\n")}lookupNodes(){return i(this.document.tree.rootNode,(_=>_.startsWith('"zmk,behavior-macro')))}injectNode(_,e){const E=e.name.replace(/[^a-zA-Z0-9_]/g,"_"),t=this.nodes.at(-1),o=`${E}: ${E} {\n compatible = "zmk,behavior-macro";\n };`;t?this.document.insertTextAfterNode(t,o):this.document.addChildNode(this.container,o)}updateNode(_,e){const E=function(_){const e=n(_.map(A)).map((_=>_.join(" ")));return 1===e.length?[`<${e[0]}>`]:e.map((_=>`<${_}>`))}(e.properties.bindings?.parsed||[]);e.properties.bindings={useRaw:!0,raw:E},super.updateNode(_,e)}legacyParse(_){return t(this.extractNode(_),["name","labels","properties"])}legacyParseNodes(){return this.nodes.map((_=>this.legacyParse(_)))}cleanupNodeProperties(_,e,E){const{cleanupNodeProperties:t}=S.prototype;return t.call(this,_,e,E)}}},22443:function(_,e,E){const t=E(42148),o=E(96070),s=E(49766),{DevicetreeDocument:i}=E(66767),{nodesAreConsecutive:S,findChildByIdentifier:a,findChildrenByIdentifier:n,getLabeledItem:A}=E(1530),{standardBehaviorIncludeFiles:r}=E(95130),I=E(67199),D=E(84477),l=E(21207),u=E(65403),R=E(30051),O=E(60141);_.exports=class extends i{constructor(..._){super(..._),this.macroCollection=new I(this),this.comboCollection=new D(this),this.layerCollection=new l(this),this.behaviorCollection=new u(this),this.behaviorReconfigurationCollection=new R(this),this.conditionalLayerCollection=new O(this)}cleanup(){super.cleanup(),delete this.layerCollection,delete this.comboCollection,delete this.macroCollection,delete this.behaviorCollection,delete this.behaviorReconfigurationCollection,delete this.conditionalLayerCollection}getChosenProperties(){const _=n(this.tree.rootNode,"/"),e=a(_,"chosen");return e?e.namedChildren.reduce(((_,e)=>{if("labeled_item"===e.type&&(e=A(e)),"property"===e.type){const E=e.childForFieldName("name").text,t=e.childForFieldName("value").text;_[E]=t}return _}),{}):{}}mergeUpdated(_,e={}){this.layerCollection.updateCollection(_.layers),this.comboCollection.updateCollection(_.combos),this.macroCollection.updateCollection(_.macros),this.conditionalLayerCollection.updateCollection(_.conditionalLayers),this.behaviorCollection.updateCollection(_.behaviors),"behaviorReconfigurations"in _&&this.behaviorReconfigurationCollection.updateCollection(_.behaviorReconfigurations)}replaceBehaviourIncludes(_){const e=_.sort().join("\n")+"\n",E=this.tree.rootNode.namedChildren.filter((_=>"preproc_include"===_.type&&r.some((e=>_.text.startsWith(e)))));if(E.length)if(S(E))this.replaceRange(E[0].startIndex,E.at(-1).endIndex,"");else{const _=E.map((_=>[_.startIndex,_.endIndex]));for(const[e,E]of s(_))this.replaceRange(e,E,"\n")}const i=o(t(this.tree.rootNode.children,{type:"preproc_include"})),a=this.tree.rootNode.children.find((_=>"preproc_def"===_.type)),n=this.tree.rootNode.children.find((_=>"node"===_.type));i?this.insertTextAfterNode(i,e):(a||n)&&this.insertTextBeforeNode(a||n,e)}}},27621:function(_,e,E){const{findNodesWithCompatible:t}=E(31960),{getPropertyValues:o}=E(46933),s="MISSING_ROOT_NODE",i="USING_ZMK_NODEFREE_MACROS",S="USING_TOP_LEVEL_KEYMAP_NODE",a="USING_MULTIPLE_ROOT_NODES",n="USING_MIRYOKU_DTSI",A="USING_NON_ZMK_MACRO",r="USING_AUTOSHIFT_MACRO";_.exports={keymapHasNoRootNodes:function(_){for(let e of _.tree.rootNode.namedChildren)if("labeled_item"===e.type&&(e=e.childForFieldName("item")),"node"===e.type&&"/"===e.childForFieldName("name").text)return;return s},keymapUsesNodefreeConfigHelpers:function(_){const e=["ZMK_BEHAVIOR","ZMK_COMBO","ZMK_CONDITIONAL_LAYER","ZMK_LAYER","UC_MACRO"];for(const E of _.tree.rootNode.namedChildren)if("ERROR"===E.type){const{text:_}=E;if(e.some((e=>_.startsWith(e))))return i}},keymapUsesMiryoku:function(_){for(const e of _.tree.rootNode.namedChildren)if("preproc_include"===e.type&&e.childForFieldName("path").text.includes("miryoku.dtsi"))return n},keymapBindingsUsePreprocessorMacros:function(_){let e=!1;const E=["LA","LC","LG","LS","RA","RC","RG","RS","RGB_COLOR_HSB"];for(const t of _.layerCollection.nodes){const[_]=o(t,"bindings")||[];if(_)for(const t of _.namedChildren)if("call_expression"===t.type){const _=t.childForFieldName("function").text;if(_.match(/^_?AS$/i))e=!0;else if(!E.includes(_))return A}}if(e)return r},keymapHasTopLevelKeymapNode:function(_){const e=t(_.tree.rootNode,"zmk,keymap").at(-1);if(e&&"document"===e.parent?.type)return S},keymapHasMultipleRootNodes:function(_){let e=null;for(let E of _.tree.rootNode.namedChildren)if("labeled_item"===E.type&&(E=E.childForFieldName("item")),"node"===E.type&&"/"===E.childForFieldName("name").text){if(null!==e)return a;e=E}},keymapHasLayerBindingsWithNonBehaviorStarter:function(_){return _.layerCollection.nodes.some((_=>{const e=o(_,"bindings")||[],E=[].concat(...e).flatMap((_=>_.namedChildren))[0]?.type;return E&&"reference"!==E}))},warningFlags:{MISSING_ROOT_NODE:s,USING_ZMK_NODEFREE_MACROS:i,USING_ZMK_MACRO_MACRO:"USING_ZMK_MACRO_MACRO",USING_TOP_LEVEL_KEYMAP_NODE:S,USING_MULTIPLE_ROOT_NODES:a,USING_MIRYOKU_DTSI:n,USING_NON_ZMK_MACRO:A,USING_AUTOSHIFT_MACRO:r}}},33295:function(_,e,E){const t=E(26069),{getParser:o}=E(66767),s=E(22443),{keymapUsesNodefreeConfigHelpers:i,keymapUsesMiryoku:S,keymapBindingsUsePreprocessorMacros:a,keymapHasNoRootNodes:n,keymapHasLayerBindingsWithNonBehaviorStarter:A,warningFlags:{USING_NON_ZMK_MACRO:r},keymapHasTopLevelKeymapNode:I}=E(27621),{parseStringLiteral:D}=E(95147);function l(_){return t([n(_),I(_),i(_),S(_),a(_)])}function u(_){return _.tree.rootNode.namedChildren.reduce(((_,e)=>{if("preproc_def"===e.type){const E=e.childForFieldName("name").text,t=e.childForFieldName("value")?.text.trim();_[E]=t}return _}),{})}function R(_){return _.tree.rootNode.namedChildren.reduce(((_,e)=>{if("preproc_include"===e.type){const E=e.childForFieldName("path");"string_literal"===E.type&&_.push(D(E))}return _}),[])}_.exports=async function(_){const e=await o(),E=new s(e,_);try{return{warningFlags:l(E),defines:u(E),headers:R(E),chosen:E.getChosenProperties(),behaviors:E.behaviorCollection.extractCollection(),behaviorReconfigurations:E.behaviorReconfigurationCollection.extractCollection(),layers:E.layerCollection.extractCollection(),combos:E.comboCollection.extractCollection(),macros:E.macroCollection.extractCollection(),conditionalLayers:E.conditionalLayerCollection.extractCollection()}}catch(_){return A(E)?{warningFlags:[r],defines:{},headers:[],chosen:{},behaviors:[],behaviorReconfigurations:[],layers:[],combos:[],macros:[],conditionalLayers:[]}:(console.error(_),{warningFlags:["KEYMAP_PARSING_FAILED"],defines:{},headers:[],chosen:{},behaviors:[],behaviorReconfigurations:[],layers:[],combos:[],macros:[],conditionalLayers:[]})}finally{E.cleanup()}}},39316:function(_,e,E){"use strict";E.d(e,{FP:function(){return n},Pi:function(){return S},VW:function(){return a}});var t=E(72243),o=E.n(t);const s=70,i=5;function S(_,e,E){const{x:t,y:o,u:S,h:a,a:n,rx:A,ry:r}=function(_,e,E={}){return{x:_.x*s,y:_.y*s,u:e.u*s-i,h:e.h*s-i,rx:(_.x-(E.x??_.x))*-s,ry:(_.y-(E.y??_.y))*-s,a:E.a||0}}(_,e,E);return{top:`${o}px`,left:`${t}px`,width:`${S}px`,height:`${a}px`,transformOrigin:`${A}px ${r}px`,transform:`rotate(${n||0}deg)`}}function a(_){const e=o()(_,"x"),E=o()(_,"y");return{min:{x:Math.min(...e),y:Math.min(...E)},max:{x:Math.max(...e),y:Math.max(...E)}}}function n(_,e){return{min:{x:Math.min(_.min.x,e.min.x),y:Math.min(_.min.y,e.min.y)},max:{x:Math.max(_.max.x,e.max.x),y:Math.max(_.max.y,e.max.y)}}}},87325:function(_,e,E){const t=E(45223);_.exports=function(_,e,E={}){const{margin:o=2}=E,s=e.reduce(((e,E,t)=>{if(_[t]){const{row:o=0,col:s}=_[t];e[o]=e[o]||[],e[o][s||e[o].length]=E}return e}),[]),i=Object.keys(s),S=Math.max(...i.map((_=>s[_].length))),a=t(S,(_=>_)),n=a.map((_=>Math.max(...i.map((e=>s[e][_]?.length||0)))));return s.map(((_,e)=>a.map((e=>{const E=_.slice(e).every((_=>void 0===_)),t=n[e]+(e===_.length-1?"":o);return E?"":_[e]?_[e].padEnd(t):" ".repeat(t)})).join("").replace(/\s+$/,""))).join("\n")}},62608:function(_,e,E){const t=E(80460);class o extends Error{constructor(_){super(),this.name="InfoValidationError",this.errors=_}}function s(_,e){let E=-1/0;const t=[];for(const o of e.keys()){const{row:s}=e[o];if(void 0!==s)if(s<E){const e=`layouts[${_}].layout[${o}]`;t.push(`Row index at ${e} is not sequential`)}else E=s}return t}function i(_,e){let E=0,t=-1/0;const o=[];for(const s of e.keys()){const{row:i,col:S}=e[s];if(void 0!==i&&void 0!==S)if(E!==i&&(E=i,t=-1/0),S<t){const e=`layouts[${_}].layout[${s}]`;o.push(`Column index at ${e} is not sequential`)}else t=S}return o}_.exports={InfoValidationError:o,validateInfoJson:function(_){const e=[];if("object"!=typeof _||null===_)e.push("info.json root must be an object");else if(_.layouts)if("object"!=typeof _.layouts||null===_.layouts)e.push("layouts must be an object");else if(0===Object.values(_.layouts).length)e.push("layouts must define at least one layout");else for(const E in _.layouts){const o=_.layouts[E];if("object"!=typeof o||null===o)e.push(`layout ${E} must be an object`);else if(Array.isArray(o.layout)){const _=o.layout.some((_=>void 0!==_?.row||void 0!==_?.col));for(const s in o.layout){const i=o.layout[s],S=`layouts[${E}].layout[${s}]`;if("object"!=typeof i||null===i)e.push(`Key definition at ${S} must be an object`);else{const E=["u","h","r","rx","ry"];t(i.x)||e.push(`Key definition at ${S} must include "x" position`),t(i.y)||e.push(`Key definition at ${S} must include "y" position`);for(const _ of E)_ in i&&!t(i[_])&&e.push(`Key definition at ${S} optional "${_}" must be number`);for(const E of["row","col"])_&&!(E in i)?e.push(`Key definition at ${S} is missing property "${E}"`):E in i&&(!Number.isInteger(i[E])||i[E]<0)&&e.push(`Key definition at ${S} "${E}" must be a non-negative integer`)}}const S=o.layout.reduce(((_,e,E)=>{const{row:t,col:o}=e,s=`(${t},${o})`;return void 0!==t&&void 0!==o&&(_[s]=[..._[s]||[],E]),_}),{});for(const _ of Object.values(S)){if(_.length<=1)continue;const{row:t,col:s}=o.layout[_[0]],i=`{row: ${t}, col: ${s}}`;for(const t of _){const _=`layouts[${E}].layout[${t}]`;e.push(`Key definition at ${_} has overlapping position ${i}`)}}e.push(...s(E,o.layout)),e.push(...i(E,o.layout))}else e.push(`layout ${E} must define "layout" array`)}else e.push('info must define "layouts"');if(e.length)throw new o(e)}}},3769:function(_){function e(_){const e=_.split("\n"),E=e.reduce(((_,e)=>{const E=e.match(/^(\s*)\S/);return E?Math.min(_,E[1].length):_}),1/0);return e.map((_=>_.slice(0,E).match(/^\s+$/)?_.slice(E):_))}_.exports={dedent:function(_){return e(_).join("\n")},reindent:function(_,E){return e(_).map((_=>E+_)).join("\n")},getPosition:function(_,e){let E,t;for(E=0,t=0;-1!==t;E++,t=_.indexOf("\n",t+1));return{row:E,col:e-t}},removeStartingWhitespace:function(_){return _.split("\n").reduce(((_,e)=>((_.length>0||e.match(/\S/))&&_.push(e),_)),[]).join("\n")},removeTrailingWhitespace:function(_){return _.split("\n").reverse().reduce(((_,e)=>((_.length>0||e.match(/\S/))&&_.push(e),_)),[]).reverse().join("\n")}}},95130:function(_,e,E){const t=E(41536),o=E(1286),s=E(22834),i=E(24234),S=E(31742),a=E(61443),n=E(80012),A=E(43003),r=E(92914);function I(_,e){const E=Array.isArray(_)?_:Object.values(_);for(const _ of E)for(const{match:E,...s}of e)o(_,E)&&t(_,s)}Object.assign(i,S),a.push(...n),I(i,A),I(a,r);const D=s(r.flatMap((_=>_.includes||[])));for(const _ of a){const e=i[_.compatible];t(_,{schema:e})}_.exports={behaviorSchemas:i,behaviorBindings:a,behaviorOverlays:r,behaviorSchemaOverlays:A,standardBehaviorIncludeFiles:D,mergeBehaviorOverlays:I}},62029:function(_){const e=_=>({value:"&kp",params:[{value:_,params:[]}]}),E=[{pattern:/^[0-9]$/,convert:_=>e(`N${_}`)},{pattern:/^[a-z]$/,convert:_=>e(_.toUpperCase())},{pattern:/^[A-Z]$/,convert:_=>({value:"&kp",params:[{value:"LS",params:[{value:_.toUpperCase(),params:[]}]}]})}],t={"!":e("EXCL"),"@":e("AT"),"#":e("POUND"),$:e("DLLR"),"%":e("PRCNT"),"^":e("CARET"),"&":e("AMPS"),"*":e("STAR"),"(":e("LPAR"),")":e("RPAR"),"\n":e("RET")," ":e("SPACE"),"-":e("MINUS"),_:e("UNDER"),"=":e("EQUAL"),"+":e("PLUS"),"[":e("LBKT"),"]":e("LBRC"),"{":e("RBKT"),"}":e("RBRC"),"\\":e("BSLH"),"|":e("PIPE"),"":e("TILDE2"),";":e("SEMI"),":":e("COLON"),"'":e("SQT"),'"':e("DQT"),"`":e("GRAVE"),"~":e("TILDE"),",":e("COMMA"),"<":e("LT"),".":e("DOT"),">":e("GT"),"/":e("FSLH"),"?":e("QMARK")};_.exports={mapCharacter:function(_){if(t[_])return t[_];for(const{pattern:e,convert:t}of E)if(_.match(e))return t(_)}}},52779:function(_,e,E){const t=E(15126),o={basic:E(97107),unicode:E(445),platforms:{mac:E(27112),win:E(27453)}};_.exports={keycodes:t,keycodeGlyphs:o}},62412:function(_,e,E){const t=E(45223),{behaviorSchemas:o,behaviorBindings:s}=E(95130),i=E(30877),S=i.reduce(((_,e)=>(e.match.code&&(_[`&${e.match.code}`]=e),_)),{}),a=i.reduce(((_,e)=>(e.match.compatible&&(_[e.match.compatible]=e),_)),{});function n(_){this.message=_,this.name="BehaviorResolutionError"}function A(_,e="#binding-cells"){const E=_.properties?.[e]?.parsed;if("number"==typeof E)return E;const t=(_.properties?.[e]?.raw||"<>").match(/<(\d+)>/);return t?Number(t[1]):void 0}function r(_,e){for(const E of e.labels)_[`&${E}`]=e;return _}function I(_,e){const E=(_.properties.bindings?.parsed||[]).map((_=>_.value)),t=E.map((_=>e[_]?.properties?.compatible?.parsed))||[],o=D(E,e,t.indexOf("zmk,macro-param-1to1")),s=D(E,e,t.indexOf("zmk,macro-param-1to2")),i=[];if(o?i.push([o,0]):s?i.push([s,1]):i.push(["&none",0]),"zmk,behavior-macro-two-param"===_.properties.compatible.parsed){const _=D(E,e,t.indexOf("zmk,macro-param-2to1")),o=D(E,e,t.indexOf("zmk,macro-param-2to2"));_?i.push([_,0]):o?i.push([o,1]):i.push(["&none",0])}return i}function D(_,e,E=0){if(-1===E)return null;for(let t=Math.min(E,_.length-1);t<_.length;t++){const E=_[t],o=e[E]?.properties?.compatible?.parsed;if(!o?.startsWith?.("zmk,macro-")&&!o?.startsWith?.("zmk,behavior-macro-"))return E}}_.exports={resolveBehaviorParams:function(_){const e=s.reduce(r,{}),E=_.reduce(r,{}),i={...e,...E},D={};function l(_,s=[]){const r=`&${_.labels[0]}`;if(D[r])return D[r];const u=function(_){const e=_.labels.map((_=>`&${_}`)),E=_.properties.compatible?.parsed;for(const _ of e)if(S[_])return S[_];if(a[E])return a[E]}(_);if(u)return u.params;const R=_.properties?.compatible?.parsed,O=o[R],d=function(_,e){const E=e?.properties?.["#binding-cells"]?.const,t=e?.properties?.["#sensor-binding-cells"]?.const;return E??t??A(_)??A(_,"#sensor-binding-cells")}(_,O),T=function(_,e,E){return function(_){return["zmk,behavior-macro-one-param","zmk,behavior-macro-two-param"].includes(_.properties?.compatible?.parsed)}(_)?I(_,E):(_.properties?.bindings?.parsed||[]).map((_=>[_,0]))}(_,0,i);return d?T.length?T.reduce(((t,[o,i])=>{if(!o.startsWith("&"))return t;if(s.includes(o))throw new n(`Circular reference in bindings: "&${_.labels[0]}" -> "${o}".`);if(s.length>3)throw new n("Reference depth limit exceeded.");const S=E[o]||e[o];if(!S)return _.error=`Unrecognized behavior binding "${o}".`,[...t,{raw:!0}];try{const _=l(S,[...s,o]);for(const e of S.labels)D[`&${e}`]=_;t.push(_[i]||{type:"placeholder"})}catch(_){throw _ instanceof n&&(S.error=_.message,D[o]=[]),_}return t}),[]):t(d,(()=>({type:"string",raw:!0}))):[]}for(const e of _)try{const _=l(e);for(const E of e.labels)D[`&${E}`]=_}catch(_){if(!(_ instanceof n))throw _;console.error("Failed to resolve behavior parameters",_),e.error=_.message;const E=t(A(e)||0,(()=>({raw:!0})));for(const _ of e.labels)D[`&${_}`]=E}return D},getParameterizedMacroDependencies:I}},34886:function(_,e,E){"use strict";_.exports=E.p+"2f0cf3405ab1202f0045.wasm"},98553:function(_){"use strict";_.exports=JSON.parse('{"a_dux":{"id":"a_dux","name":"A. Dux"},"bat43":{"id":"bat43","name":"BAT43"},"bdn9_rev2":{"id":"bdn9_rev2","name":"BDN9 Rev2"},"bfo9000":{"id":"bfo9000","name":"BFO-9000"},"boardsource3x4":{"id":"boardsource3x4","name":"Boardsource 3x4 Macropad"},"boardsource5x12":{"id":"boardsource5x12","name":"Boardsource 5x12"},"bt60_v1":{"id":"bt60_v1","name":"BT60 V1 Soldered"},"bt60_v1_hs":{"id":"bt60_v1_hs","name":"BT60 V1 Hotswap"},"bt60_v2":{"id":"bt60_v2","name":"BT60 V2"},"bt65_v1":{"id":"bt65_v1","name":"BT65"},"bt75_v1":{"id":"bt75_v1","name":"BT75_V1"},"chalice":{"id":"chalice","name":"Chalice"},"clog":{"id":"clog","name":"Clog"},"contra":{"id":"contra","name":"Contra"},"corne":{"id":"corne","name":"Corne"},"corneish_zen":{"id":"corneish_zen","name":"Corneish Zen v2"},"cradio":{"id":"cradio","name":"Cradio/Sweep"},"crbn":{"id":"crbn","name":"CRBN Featherlight"},"eek":{"id":"eek","name":"eek!"},"elephant42":{"id":"elephant42","name":"Elephant42"},"ergodash":{"id":"ergodash","name":"Ergodash"},"eternal_keypad":{"id":"eternal_keypad","name":"Eternal Keypad"},"eternal_keypad_lefty":{"id":"eternal_keypad_lefty","name":"Eternal Keypad Lefty"},"ferris_rev02":{"id":"ferris_rev02","name":"Ferris 0.2"},"fourier":{"id":"fourier","name":"Fourier Rev. 1"},"helix":{"id":"helix","name":"Helix"},"hummingbird":{"id":"hummingbird","name":"Hummingbird"},"iris":{"id":"iris","name":"Iris"},"jian":{"id":"jian","name":"Jian"},"jiran":{"id":"jiran","name":"Jiran"},"jorne":{"id":"jorne","name":"Jorne"},"kbdfans_tofu65_v2":{"id":"kbdfans_tofu65_v2","name":"KBDfans Tofu65 2.0"},"knob_goblin":{"id":"knob_goblin","name":"Knob Goblin"},"kyria":{"id":"kyria","name":"Kyria"},"kyria_rev2":{"id":"kyria_rev2","name":"Kyria Rev2"},"kyria_rev3":{"id":"kyria_rev3","name":"Kyria Rev3"},"leeloo":{"id":"leeloo","name":"Leeloo"},"leeloo_micro":{"id":"leeloo_micro","name":"Leeloo-Micro"},"leeloo_rev2":{"id":"leeloo_rev2","name":"Leeloo v2"},"lily58":{"id":"lily58","name":"Lily58"},"lotus58":{"id":"lotus58","name":"Lotus58"},"m60":{"id":"m60","name":"MakerDiary m60"},"microdox":{"id":"microdox","name":"Microdox"},"murphpad":{"id":"murphpad","name":"MurphPad"},"naked60":{"id":"naked60","name":"Naked60"},"nibble":{"id":"nibble","name":"Nibble"},"nice60":{"id":"nice60","name":"nice!60"},"osprette":{"id":"osprette","name":"Osprette"},"pancake":{"id":"pancake","name":"Pancake"},"planck_rev6":{"id":"planck_rev6","name":"Planck Rev6"},"preonic_rev3":{"id":"preonic_rev3","name":"Preonic Rev3"},"qaz":{"id":"qaz","name":"QAZ"},"quefrency":{"id":"quefrency","name":"Quefrency Rev. 1"},"redox":{"id":"redox","name":"Redox"},"reviung41":{"id":"reviung41","name":"REVIUNG41"},"reviung5":{"id":"reviung5","name":"REVIUNG5"},"romac":{"id":"romac","name":"Romac Macropad"},"romac_plus":{"id":"romac_plus","name":"Romac+ Macropad"},"s40nc":{"id":"s40nc","name":"S40NC"},"snap":{"id":"snap","name":"SNAP"},"sofle":{"id":"sofle","name":"Sofle"},"splitkb_aurora_corne":{"id":"splitkb_aurora_corne","name":"splitkb.com Aurora Corne"},"splitkb_aurora_lily58":{"id":"splitkb_aurora_lily58","name":"splitkb.com Aurora Lily58"},"splitkb_aurora_sofle":{"id":"splitkb_aurora_sofle","name":"splitkb.com Aurora Sofle"},"splitkb_aurora_sweep":{"id":"splitkb_aurora_sweep","name":"splitkb.com Aurora Sweep"},"splitreus62":{"id":"splitreus62","name":"Splitreus62"},"tg4x":{"id":"tg4x","name":"TG4x"},"tidbit":{"id":"tidbit","name":"Tidbit Numpad"},"totem":{"id":"totem","name":"Totem"},"two_percent_milk":{"id":"two_percent_milk","name":"2% Milk"},"waterfowl":{"id":"waterfowl","name":"Waterfowl"},"zmk_uno":{"id":"zmk_uno","name":"ZMK Uno"},"zodiark":{"id":"zodiark","name":"Zodiark"}}')},24234:function(_){"use strict";_.exports=JSON.parse('{"zmk,behavior-backlight":{"description":"Backlight behavior","compatible":"zmk,behavior-backlight","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-bluetooth":{"description":"Bluetooth Behavior","compatible":"zmk,behavior-bluetooth","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-caps-word":{"description":"Caps word behavior","compatible":"zmk,behavior-caps-word","include":"zero_param.yaml","properties":{"continue-list":{"type":"array","required":true},"mods":{"type":"int"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-ext-power":{"description":"External power control Behavior","compatible":"zmk,behavior-ext-power","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-hold-tap":{"description":"Hold or Tap behavior","compatible":"zmk,behavior-hold-tap","include":"two_param.yaml","properties":{"bindings":{"type":"phandles","required":true},"tapping-term-ms":{"type":"int"},"tapping_term_ms":{"type":"int"},"quick-tap-ms":{"type":"int","default":-1},"quick_tap_ms":{"type":"int"},"global-quick-tap":{"type":"boolean"},"flavor":{"type":"string","required":false,"default":"hold-preferred","enum":["hold-preferred","balanced","tap-preferred","tap-unless-interrupted"]},"retro-tap":{"type":"boolean"},"hold-trigger-key-positions":{"type":"array","required":false,"default":[]},"hold-trigger-on-release":{"type":"boolean"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-key-press":{"description":"Key press/release behavior","compatible":"zmk,behavior-key-press","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-key-repeat":{"description":"Key repeat behavior","compatible":"zmk,behavior-key-repeat","include":"zero_param.yaml","properties":{"usage-pages":{"type":"array","required":true},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-key-toggle":{"description":"Key toggle behavior","compatible":"zmk,behavior-key-toggle","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-macro-one-param":{"description":"Macro Behavior","compatible":"zmk,behavior-macro-one-param","include":["one_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-macro-two-param":{"description":"Macro Behavior","compatible":"zmk,behavior-macro-two-param","include":["two_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-macro":{"description":"Macro Behavior","compatible":"zmk,behavior-macro","include":["zero_param.yaml","macro_base.yaml"],"properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"wait-ms":{"type":"int","description":"The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list."},"tap-ms":{"type":"int","description":"The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding"}}},"zmk,behavior-mod-morph":{"description":"Mod Morph Behavior","compatible":"zmk,behavior-mod-morph","include":"zero_param.yaml","properties":{"bindings":{"type":"phandle-array","required":true},"mods":{"type":"int","required":true},"keep-mods":{"type":"int","required":false},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-momentary-layer":{"description":"Momentary layer on press/release behavior","compatible":"zmk,behavior-momentary-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-none":{"description":"None Binding Behavior","compatible":"zmk,behavior-none","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-outputs":{"description":"Output Selection Behavior","compatible":"zmk,behavior-outputs","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-reset":{"description":"Keyboard Reset Behavior","compatible":"zmk,behavior-reset","include":"zero_param.yaml","properties":{"type":{"type":"int","default":0},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-rgb-underglow":{"description":"RGB Underglow Action","compatible":"zmk,behavior-rgb-underglow","include":"two_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":2}}},"zmk,behavior-sensor-rotate-var":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate-var","properties":{"label":{"type":"string","required":true},"#sensor-binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandles","required":true},"tap-ms":{"type":"int","default":5}},"sensor-binding-cells":["param1","param2"]},"zmk,behavior-sensor-rotate":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate","properties":{"label":{"type":"string","required":true},"#sensor-binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"tap-ms":{"type":"int","default":5}}},"zmk,behavior-sticky-key":{"description":"Sticky key behavior","compatible":"zmk,behavior-sticky-key","include":"one_param.yaml","properties":{"bindings":{"type":"phandles","required":true},"release-after-ms":{"type":"int","required":true},"quick-release":{"type":"boolean"},"ignore-modifiers":{"type":"boolean"},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-tap-dance":{"description":"Tap Dance Behavior","compatible":"zmk,behavior-tap-dance","include":"zero_param.yaml","properties":{"bindings":{"type":"phandle-array","required":true},"tapping-term-ms":{"type":"int","default":200},"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,behavior-to-layer":{"description":"To Layer","compatible":"zmk,behavior-to-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-toggle-layer":{"description":"Toggle Layer","compatible":"zmk,behavior-toggle-layer","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,behavior-transparent":{"description":"Transparent Binding Behavior","compatible":"zmk,behavior-transparent","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-press":{"description":"Set Macro To Press Mode","compatible":"zmk,macro-control-mode-press","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-release":{"description":"Set Macro To Release Mode","compatible":"zmk,macro-control-mode-release","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-mode-tap":{"description":"Set Macro To Tap Mode","compatible":"zmk,macro-control-mode-tap","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-control-tap-time":{"description":"Set Macro Tap Duration","compatible":"zmk,macro-control-tap-time","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,macro-control-wait-time":{"description":"Set Macro Wait Duration","compatible":"zmk,macro-control-wait-time","include":"one_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":1}}},"zmk,macro-param-1to1":{"description":"Macro Parameter One Substituted Into Next Binding\'s First Parameter","compatible":"zmk,macro-param-1to1","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-1to2":{"description":"Macro Parameter One Substituted Into Next Binding\'s Second Parameter","compatible":"zmk,macro-param-1to2","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-2to1":{"description":"Macro Parameter Two Substituted Into Next Binding\'s First Parameter","compatible":"zmk,macro-param-2to1","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-param-2to2":{"description":"Macro Parameter Two Substituted Into Next Binding\'s Second Parameter","compatible":"zmk,macro-param-2to2","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}},"zmk,macro-pause-for-release":{"description":"Macro Pause Until Release Marker","compatible":"zmk,macro-pause-for-release","include":"zero_param.yaml","properties":{"label":{"type":"string","required":true},"#binding-cells":{"type":"int","required":true,"const":0}}}}')},61443:function(_){"use strict";_.exports=JSON.parse('[{"name":"behavior_backlight","labels":["bl"],"code":"&bl","compatible":"zmk,behavior-backlight","properties":{"compatible":{"raw":"\\"zmk,behavior-backlight\\"","parsed":"zmk,behavior-backlight"},"label":{"raw":"\\"BCKLGHT\\"","parsed":"BCKLGHT"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_bluetooth","labels":["bt"],"code":"&bt","compatible":"zmk,behavior-bluetooth","properties":{"compatible":{"raw":"\\"zmk,behavior-bluetooth\\"","parsed":"zmk,behavior-bluetooth"},"label":{"raw":"\\"BLUETOOTH\\"","parsed":"BLUETOOTH"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_caps_word","labels":["caps_word"],"code":"&caps_word","compatible":"zmk,behavior-caps-word","properties":{"compatible":{"raw":"\\"zmk,behavior-caps-word\\"","parsed":"zmk,behavior-caps-word"},"continue-list":{"raw":"<UNDERSCORE BACKSPACE DELETE>","parsed":["UNDERSCORE","BACKSPACE","DELETE"]},"label":{"raw":"\\"CAPS_WORD\\"","parsed":"CAPS_WORD"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_ext_power","labels":["ext_power"],"code":"&ext_power","compatible":"zmk,behavior-ext-power","properties":{"compatible":{"raw":"\\"zmk,behavior-ext-power\\"","parsed":"zmk,behavior-ext-power"},"label":{"raw":"\\"EXTPOWER\\"","parsed":"EXTPOWER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"grave_escape","labels":["gresc"],"code":"&gresc","compatible":"zmk,behavior-mod-morph","properties":{"compatible":{"raw":"\\"zmk,behavior-mod-morph\\"","parsed":"zmk,behavior-mod-morph"},"bindings":{"raw":"<&kp ESC>, <&kp GRAVE>","parsed":[{"value":"&kp","params":[{"value":"ESC","params":[]}]},{"value":"&kp","params":[{"value":"GRAVE","params":[]}]}]},"mods":{"raw":"<(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>","parsed":["MOD_LGUI","MOD_LSFT","MOD_RGUI","MOD_RSFT"]},"label":{"raw":"\\"GRAVE_ESCAPE\\"","parsed":"GRAVE_ESCAPE"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_key_press","labels":["cp","kp"],"code":"&kp","compatible":"zmk,behavior-key-press","properties":{"compatible":{"raw":"\\"zmk,behavior-key-press\\"","parsed":"zmk,behavior-key-press"},"label":{"raw":"\\"KEY_PRESS\\"","parsed":"KEY_PRESS"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_key_repeat","labels":["key_repeat"],"code":"&key_repeat","compatible":"zmk,behavior-key-repeat","properties":{"compatible":{"raw":"\\"zmk,behavior-key-repeat\\"","parsed":"zmk,behavior-key-repeat"},"usage-pages":{"raw":"<HID_USAGE_KEY>","parsed":["HID_USAGE_KEY"]},"label":{"raw":"\\"KEY_REPEAT\\"","parsed":"KEY_REPEAT"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_key_toggle","labels":["kt"],"code":"&kt","compatible":"zmk,behavior-key-toggle","properties":{"compatible":{"raw":"\\"zmk,behavior-key-toggle\\"","parsed":"zmk,behavior-key-toggle"},"label":{"raw":"\\"KEY_TOGGLE\\"","parsed":"KEY_TOGGLE"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_layer_tap","labels":["lt"],"code":"<","compatible":"zmk,behavior-hold-tap","properties":{"compatible":{"raw":"\\"zmk,behavior-hold-tap\\"","parsed":"zmk,behavior-hold-tap"},"bindings":{"raw":"<&mo>, <&kp>","parsed":["&mo","&kp"]},"tapping-term-ms":{"raw":"<200>","parsed":200},"flavor":{"raw":"\\"tap-preferred\\"","parsed":"tap-preferred"},"label":{"raw":"\\"LAYER_TAP\\"","parsed":"LAYER_TAP"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"macro_control_mode_tap","labels":["macro_tap"],"code":"¯o_tap","compatible":"zmk,macro-control-mode-tap","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-tap\\"","parsed":"zmk,macro-control-mode-tap"},"label":{"raw":"\\"MAC_TAP\\"","parsed":"MAC_TAP"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_mode_press","labels":["macro_press"],"code":"¯o_press","compatible":"zmk,macro-control-mode-press","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-press\\"","parsed":"zmk,macro-control-mode-press"},"label":{"raw":"\\"MAC_PRESS\\"","parsed":"MAC_PRESS"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_mode_release","labels":["macro_release"],"code":"¯o_release","compatible":"zmk,macro-control-mode-release","properties":{"compatible":{"raw":"\\"zmk,macro-control-mode-release\\"","parsed":"zmk,macro-control-mode-release"},"label":{"raw":"\\"MAC_REL\\"","parsed":"MAC_REL"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_control_tap_time","labels":["macro_tap_time"],"code":"¯o_tap_time","compatible":"zmk,macro-control-tap-time","properties":{"compatible":{"raw":"\\"zmk,macro-control-tap-time\\"","parsed":"zmk,macro-control-tap-time"},"label":{"raw":"\\"MAC_TAP_TIME\\"","parsed":"MAC_TAP_TIME"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"macro_control_wait_time","labels":["macro_wait_time"],"code":"¯o_wait_time","compatible":"zmk,macro-control-wait-time","properties":{"compatible":{"raw":"\\"zmk,macro-control-wait-time\\"","parsed":"zmk,macro-control-wait-time"},"label":{"raw":"\\"MAC_WAIT_TIME\\"","parsed":"MAC_WAIT_TIME"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"macro_pause_for_release","labels":["macro_pause_for_release"],"code":"¯o_pause_for_release","compatible":"zmk,macro-pause-for-release","properties":{"compatible":{"raw":"\\"zmk,macro-pause-for-release\\"","parsed":"zmk,macro-pause-for-release"},"label":{"raw":"\\"MAC_WAIT_REL\\"","parsed":"MAC_WAIT_REL"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_1to1","labels":["macro_param_1to1"],"code":"¯o_param_1to1","compatible":"zmk,macro-param-1to1","properties":{"compatible":{"raw":"\\"zmk,macro-param-1to1\\"","parsed":"zmk,macro-param-1to1"},"label":{"raw":"\\"MAC_PARAM_1TO1\\"","parsed":"MAC_PARAM_1TO1"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_1to2","labels":["macro_param_1to2"],"code":"¯o_param_1to2","compatible":"zmk,macro-param-1to2","properties":{"compatible":{"raw":"\\"zmk,macro-param-1to2\\"","parsed":"zmk,macro-param-1to2"},"label":{"raw":"\\"MAC_PARAM_1TO2\\"","parsed":"MAC_PARAM_1TO2"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_2to1","labels":["macro_param_2to1"],"code":"¯o_param_2to1","compatible":"zmk,macro-param-2to1","properties":{"compatible":{"raw":"\\"zmk,macro-param-2to1\\"","parsed":"zmk,macro-param-2to1"},"label":{"raw":"\\"MAC_PARAM_2TO1\\"","parsed":"MAC_PARAM_2TO1"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"macro_param_2to2","labels":["macro_param_2to2"],"code":"¯o_param_2to2","compatible":"zmk,macro-param-2to2","properties":{"compatible":{"raw":"\\"zmk,macro-param-2to2\\"","parsed":"zmk,macro-param-2to2"},"label":{"raw":"\\"MAC_PARAM_2TO2\\"","parsed":"MAC_PARAM_2TO2"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_mod_tap","labels":["mt"],"code":"&mt","compatible":"zmk,behavior-hold-tap","properties":{"compatible":{"raw":"\\"zmk,behavior-hold-tap\\"","parsed":"zmk,behavior-hold-tap"},"bindings":{"raw":"<&kp>, <&kp>","parsed":["&kp","&kp"]},"tapping-term-ms":{"raw":"<200>","parsed":200},"flavor":{"raw":"\\"hold-preferred\\"","parsed":"hold-preferred"},"label":{"raw":"\\"MOD_TAP\\"","parsed":"MOD_TAP"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_momentary_layer","labels":["mo"],"code":"&mo","compatible":"zmk,behavior-momentary-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-momentary-layer\\"","parsed":"zmk,behavior-momentary-layer"},"label":{"raw":"\\"MO\\"","parsed":"MO"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_none","labels":["none"],"code":"&none","compatible":"zmk,behavior-none","properties":{"compatible":{"raw":"\\"zmk,behavior-none\\"","parsed":"zmk,behavior-none"},"label":{"raw":"\\"NONE\\"","parsed":"NONE"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_outputs","labels":["out"],"code":"&out","compatible":"zmk,behavior-outputs","properties":{"compatible":{"raw":"\\"zmk,behavior-outputs\\"","parsed":"zmk,behavior-outputs"},"label":{"raw":"\\"OUTPUTS\\"","parsed":"OUTPUTS"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_reset","labels":["sys_reset"],"code":"&sys_reset","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"label":{"raw":"\\"SYSRESET\\"","parsed":"SYSRESET"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_reset_dfu","labels":["bootloader"],"code":"&bootloader","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"type":{"raw":"<RST_UF2>","parsed":"RST_UF2"},"label":{"raw":"\\"BOOTLOAD\\"","parsed":"BOOTLOAD"},"#binding-cells":{"raw":"<0>","parsed":0}}},{"name":"behavior_rgb_underglow","labels":["rgb_ug"],"code":"&rgb_ug","compatible":"zmk,behavior-rgb-underglow","properties":{"compatible":{"raw":"\\"zmk,behavior-rgb-underglow\\"","parsed":"zmk,behavior-rgb-underglow"},"label":{"raw":"\\"RGB_UG\\"","parsed":"RGB_UG"},"#binding-cells":{"raw":"<2>","parsed":2}}},{"name":"behavior_sensor_rotate_key_press","labels":["inc_dec_cp","inc_dec_kp"],"code":"&inc_dec_kp","compatible":"zmk,behavior-sensor-rotate-var","properties":{"compatible":{"raw":"\\"zmk,behavior-sensor-rotate-var\\"","parsed":"zmk,behavior-sensor-rotate-var"},"#sensor-binding-cells":{"raw":"<2>","parsed":2},"bindings":{"raw":"<&kp>, <&kp>","parsed":["&kp","&kp"]},"label":{"raw":"\\"ENC_KEY_PRESS\\"","parsed":"ENC_KEY_PRESS"}}},{"name":"behavior_sticky_key","labels":["sk"],"code":"&sk","compatible":"zmk,behavior-sticky-key","properties":{"compatible":{"raw":"\\"zmk,behavior-sticky-key\\"","parsed":"zmk,behavior-sticky-key"},"bindings":{"raw":"<&kp>","parsed":["&kp"]},"release-after-ms":{"raw":"<1000>","parsed":1000},"ignore-modifiers":{"raw":"","parsed":true},"label":{"raw":"\\"STICKY_KEY\\"","parsed":"STICKY_KEY"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_sticky_layer","labels":["sl"],"code":"&sl","compatible":"zmk,behavior-sticky-key","properties":{"compatible":{"raw":"\\"zmk,behavior-sticky-key\\"","parsed":"zmk,behavior-sticky-key"},"bindings":{"raw":"<&mo>","parsed":["&mo"]},"release-after-ms":{"raw":"<1000>","parsed":1000},"quick-release":{"raw":"","parsed":true},"label":{"raw":"\\"STICKY_LAYER\\"","parsed":"STICKY_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_to_layer","labels":["to"],"code":"&to","compatible":"zmk,behavior-to-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-to-layer\\"","parsed":"zmk,behavior-to-layer"},"label":{"raw":"\\"TO_LAYER\\"","parsed":"TO_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_toggle_layer","labels":["tog"],"code":"&tog","compatible":"zmk,behavior-toggle-layer","properties":{"compatible":{"raw":"\\"zmk,behavior-toggle-layer\\"","parsed":"zmk,behavior-toggle-layer"},"label":{"raw":"\\"TOGGLE_LAYER\\"","parsed":"TOGGLE_LAYER"},"#binding-cells":{"raw":"<1>","parsed":1}}},{"name":"behavior_transparent","labels":["trans"],"code":"&trans","compatible":"zmk,behavior-transparent","properties":{"compatible":{"raw":"\\"zmk,behavior-transparent\\"","parsed":"zmk,behavior-transparent"},"label":{"raw":"\\"TRANS\\"","parsed":"TRANS"},"#binding-cells":{"raw":"<0>","parsed":0}}}]')},15126:function(_){"use strict";_.exports=JSON.parse('[{"names":["A"],"description":"a and A","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458756}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["B"],"description":"b and B","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458757}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["C"],"description":"c and C","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458758}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["D"],"description":"d and D","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458759}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["E"],"description":"e and E","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458760}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F"],"description":"f and F","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458761}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["G"],"description":"g and G","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458762}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["H"],"description":"h and H","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458763}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["I"],"description":"i and I","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458764}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["J"],"description":"j and J","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458765}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K"],"description":"k and K","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458766}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["L"],"description":"l and L","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458767}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["M"],"description":"m and M","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458768}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["N"],"description":"n and N","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458769}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["O"],"description":"o and O","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458770}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["P"],"description":"p and P","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458771}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Q"],"description":"q and Q","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458772}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["R"],"description":"r and R","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458773}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["S"],"description":"s and S","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458774}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["T"],"description":"t and T","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458775}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["U"],"description":"u and U","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458776}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=83","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["V"],"description":"v and V","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458777}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["W"],"description":"w and W","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458778}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["X"],"description":"x and X","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458779}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Y"],"description":"y and Y","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458780}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["Z"],"description":"z and Z","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458781}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_1","N1"],"description":"1 and ! [Exclamation]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458782}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["EXCLAMATION","EXCL"],"description":"! [Exclamation]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458782},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_2","N2"],"description":"2 and @ [At Sign]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458783}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["AT_SIGN","AT"],"description":"@ [At Sign]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458783},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_3","N3"],"description":"3 and # [Hash / Pound]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458784}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["HASH","POUND"],"description":"# [Hash / Pound]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458784},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_4","N4"],"description":"4 and $ [Dollar]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458785}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOLLAR","DLLR"],"description":"$ [Dollar]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458785},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_5","N5"],"description":"5 and % [Percent]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458786}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PERCENT","PRCNT"],"description":"% [Percent]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458786},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_6","N6"],"description":"6 and ^ [Caret]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458787}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["CARET"],"description":"^ [Caret]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458787},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_7","N7"],"description":"7 and & [Ampersand]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458788}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["AMPERSAND","AMPS"],"description":"& [Ampersand]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458788},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_8","N8"],"description":"8 and * [Asterisk / Star]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458789}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["ASTERISK","ASTRK","STAR"],"description":"* [Asterisk / Star]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458789},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_9","N9"],"description":"9 and ( [Left Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458790}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_PARENTHESIS","LPAR"],"description":"( [Left Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458790},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NUMBER_0","N0"],"description":"0 and ) [Right Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458791}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_PARENTHESIS","RPAR"],"description":") [Right Parenthesis]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458791},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RETURN","ENTER","RET"],"description":"Return (Enter)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458792}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["ESCAPE","ESC"],"description":"Escape","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458793}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["BACKSPACE","BSPC"],"description":"Backspace","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458794}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TAB"],"description":"Tab","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458795}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SPACE"],"description":"Space","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458796}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["MINUS"],"description":"- [Minus] and _ [Underscore]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458797}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["UNDERSCORE","UNDER"],"description":"_ [Underscore]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458797},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["EQUAL"],"description":"= [Equal] and + [Plus]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458798}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PLUS"],"description":"+ [Plus]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458798},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_BRACKET","LBKT"],"description":"[ [Left Bracket] and { [Left Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458799}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_BRACE","LBRC"],"description":"{ [Left Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458799},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_BRACKET","RBKT"],"description":"] [Right Bracket] and } [Right Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458800}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_BRACE","RBRC"],"description":"} [Right Brace]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458800},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["BACKSLASH","BSLH"],"description":"\\\\ [Backslash] and | [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458801}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PIPE"],"description":"| [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458801},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NON_US_HASH","NUHS"],"description":"Non-US # [Hash/Pound] and ~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458802}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TILDE2"],"description":"~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458802},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SEMICOLON","SEMI"],"description":"; [Semicolon] and : [Colon]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458803}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["COLON"],"description":": [Colon]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458803},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SINGLE_QUOTE","SQT","APOSTROPHE","APOS"],"description":"\' [Apostrophe] and \\" [Quote (Double)]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458804}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOUBLE_QUOTES","DQT"],"description":"\\" [Quote (Double)]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458804},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["GRAVE"],"description":"` [Grave Accent] and ~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458805}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["TILDE"],"description":"~ [Tilde]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458805},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["COMMA"],"description":", [Comma] and < [Less Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458806}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LESS_THAN","LT"],"description":"< [Less Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458806},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PERIOD","DOT"],"description":". [Period] and > [Greater Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458807}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["GREATER_THAN","GT"],"description":"> [Greater Than]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458807},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SLASH","FSLH"],"description":"/ [Forward Slash] and ? [Question Mark]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458808}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["QUESTION","QMARK"],"description":"? [Question Mark]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458808},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["CAPSLOCK","CAPS","CLCK"],"description":"Caps Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458809}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F1"],"description":"F1","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458810}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F2"],"description":"F2","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458811}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F3"],"description":"F3","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458812}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F4"],"description":"F4","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458813}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=84","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F5"],"description":"F5","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458814}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F6"],"description":"F6","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458815}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F7"],"description":"F7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458816}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F8"],"description":"F8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458817}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F9"],"description":"F9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458818}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F10"],"description":"F10","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458819}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F11"],"description":"F11","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458820}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["F12"],"description":"F12","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458821}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PRINTSCREEN","PSCRN"],"description":"Print Screen","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458822}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["SCROLLLOCK","SLCK"],"description":"Scroll Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458823}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAUSE_BREAK"],"description":"Pause / Break","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458824}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["INSERT","INS"],"description":"Insert","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458825}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["HOME"],"description":"Home","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458826}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAGE_UP","PG_UP"],"description":"Page Up","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458827}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DELETE","DEL"],"description":"Delete","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458828}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["END"],"description":"End","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458829}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PAGE_DOWN","PG_DN"],"description":"Page Down","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458830}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_ARROW","RIGHT"],"description":"⮕ [Right Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458831}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_ARROW","LEFT"],"description":"⬅ [Left Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458832}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["DOWN_ARROW","DOWN"],"description":"⬇ [Down Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458833}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["UP_ARROW","UP"],"description":"⬆ [Up Arrow]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458834}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMLOCK","KP_NUM","KP_NLCK"],"description":"Numlock and Clear","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458835}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR2"],"description":"Clear","context":"Keypad","clarify":null,"usages":[{"application":65542,"item":458835},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_DIVIDE","KP_SLASH"],"description":"/ [Divide]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458836}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_MULTIPLY","KP_ASTERISK"],"description":"* [Multiply]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458837}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_MINUS","KP_SUBTRACT"],"description":"- [Minus]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458838}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_PLUS"],"description":"+ [Plus]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458839}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_ENTER"],"description":"Enter","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458840}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_1","KP_N1"],"description":"1","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458841}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_2","KP_N2"],"description":"2","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458842}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_3","KP_N3"],"description":"3","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458843}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_4","KP_N4"],"description":"4","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458844}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_5","KP_N5"],"description":"5","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458845}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_6","KP_N6"],"description":"6","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458846}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_7","KP_N7"],"description":"7","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458847}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_8","KP_N8"],"description":"8","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458848}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_9","KP_N9"],"description":"9","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458849}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_NUMBER_0","KP_N0"],"description":"0","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458850}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=85","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["KP_DOT"],"description":". [Dot]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458851}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["NON_US_BACKSLASH","NON_US_BSLH","NUBS"],"description":"Non-US \\\\ [Backslash] and | [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458852}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["PIPE2"],"description":"| [Pipe]","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458852},{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K_APPLICATION","K_APP","K_CONTEXT_MENU","K_CMENU"],"description":"Application (Context Menu)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458853}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{"ios":["iosApplication"]}},{"names":["K_POWER","K_PWR"],"description":"Power","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458854}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":false,"android":true,"macos":true,"ios":true},"footnotes":{"macos":["macosPower"],"ios":["iosPower"]}},{"names":["KP_EQUAL"],"description":"= [Equal]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458855}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":true},"footnotes":{}},{"names":["F13"],"description":"F13","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458856}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F14"],"description":"F14","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458857}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F15"],"description":"F15","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458858}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F16"],"description":"F16","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458859}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F17"],"description":"F17","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458860}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F18"],"description":"F18","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458861}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F19"],"description":"F19","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458862}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F20"],"description":"F20","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458863}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F21"],"description":"F21","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458864}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F22"],"description":"F22","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458865}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F23"],"description":"F23","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458866}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["F24"],"description":"F24","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458867}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{}},{"names":["K_EXECUTE","K_EXEC"],"description":"Execute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458868}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_HELP"],"description":"Help","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458869}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_MENU"],"description":"Menu","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458870}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_SELECT"],"description":"Select","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458871}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_STOP"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458872}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["K_AGAIN","K_REDO"],"description":"Again","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458873}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_UNDO"],"description":"Undo","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458874}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_CUT"],"description":"Cut","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458875}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_COPY"],"description":"Copy","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458876}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_PASTE"],"description":"Paste","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458877}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_FIND"],"description":"Find","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458878}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_MUTE"],"description":"Mute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458879}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["K_VOLUME_UP","K_VOL_UP"],"description":"Volume Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458880}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":null},"footnotes":{}},{"names":["K_VOLUME_DOWN","K_VOL_DN"],"description":"Volume Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458881}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":null},"footnotes":{}},{"names":["LOCKING_CAPS","LCAPS"],"description":"Locking Caps Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458882}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LOCKING_NUM","LNLCK"],"description":"Locking Num Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458883}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LOCKING_SCROLL","LSLCK"],"description":"Locking Scroll Lock","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458884}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":true,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_COMMA"],"description":", [Comma]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458885}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_EQUAL_AS400"],"description":"= [Equal] (AS/400 keyboards)","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458886}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_1","INT1","INT_RO"],"description":"ろ (International 1)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458887}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_2","INT2","INT_KATAKANAHIRAGANA","INT_KANA"],"description":"かな (International 2)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458888}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_3","INT3","INT_YEN"],"description":"¥ (International 3)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458889}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_4","INT4","INT_HENKAN"],"description":"変換 (International 4)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458890}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=86","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_5","INT5","INT_MUHENKAN"],"description":"無変換 (International 5)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458891}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_6","INT6","INT_KPJPCOMMA"],"description":", [カソマ] (International 6)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458892}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_7","INT7"],"description":"International 7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458893}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_8","INT8"],"description":"International 8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458894}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["INTERNATIONAL_9","INT9"],"description":"International 9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458895}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_1","LANG1","LANG_HANGEUL"],"description":"한/영 (Language 1)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458896}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":true,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_2","LANG2","LANG_HANJA"],"description":"한자 (Language 2)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458897}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":true,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_3","LANG3","LANG_KATAKANA"],"description":"カタカナ (Language 3)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458898}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_4","LANG4","LANG_HIRAGANA"],"description":"ひらがな (Language 4)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458899}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_5","LANG5","LANG_ZENKAKUHANKAKU"],"description":"半角/全角 (Language 5)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458900}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_6","LANG6"],"description":"Language 6","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458901}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_7","LANG7"],"description":"Language 7","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458902}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_8","LANG8"],"description":"Language 8","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458903}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["LANGUAGE_9","LANG9"],"description":"Language 9","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458904}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["ALT_ERASE"],"description":"Alternate Erase","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458905}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["SYSREQ","ATTENTION"],"description":"SysReq / Attention","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458906}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["K_CANCEL"],"description":"Cancel","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458907}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR"],"description":"Clear","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458908}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["PRIOR"],"description":"Prior","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458909}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["RETURN2","RET2"],"description":"Return","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458910}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["SEPARATOR"],"description":"Separator","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458911}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["OUT"],"description":"Out","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458912}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["OPER"],"description":"Oper","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458913}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CLEAR_AGAIN"],"description":"Clear / Again","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458914}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["CRSEL"],"description":"CrSel / Props","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458915}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["EXSEL"],"description":"ExSel","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458916}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["KP_LEFT_PARENTHESIS","KP_LPAR"],"description":"( [Left Parenthesis]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458934}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["KP_RIGHT_PARENTHESIS","KP_RPAR"],"description":") [Right Parenthesis]","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458935}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=87","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["KP_CLEAR"],"description":"Clear","context":"Keypad","clarify":false,"usages":[{"application":65542,"item":458968}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["LEFT_CONTROL","LCTRL","LC(code)"],"description":"Left Control","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458976}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_SHIFT","LSHIFT","LSHFT","LS(code)"],"description":"Left Shift ⇧","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_ALT","LALT","LA(code)"],"description":"Left Alt","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458978}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"description":"Left GUI (Windows / Command / Meta)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458979}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_CONTROL","RCTRL","RC(code)"],"description":"Right Control","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458980}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=88","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_SHIFT","RSHIFT","RSHFT","RS(code)"],"description":"Right Shift ⇧","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458981}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_ALT","RALT","RA(code)"],"description":"Right Alt","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458982}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["RIGHT_GUI","RGUI","RG(code)","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA"],"description":"Right GUI (Windows / Command / Meta)","context":"Keyboard","clarify":false,"usages":[{"application":65542,"item":458983}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=89","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":true},"footnotes":{}},{"names":["K_PLAY_PAUSE","K_PP"],"description":"Play / Pause","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458984}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_STOP2"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458985}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_PREVIOUS","K_PREV"],"description":"Previous","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458986}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_NEXT"],"description":"Next","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458987}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_EJECT"],"description":"Eject","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458988}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_VOLUME_UP2","K_VOL_UP2"],"description":"Volume Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458989}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_VOLUME_DOWN2","K_VOL_DN2"],"description":"Volume Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458990}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_MUTE2"],"description":"Mute","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458991}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_WWW"],"description":"Internet Browser","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458992}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_BACK"],"description":"Back","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458993}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_FORWARD"],"description":"Forward","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458994}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_STOP3"],"description":"Stop","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458995}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":false,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_FIND2"],"description":"Find","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458996}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SCROLL_UP"],"description":"Scroll Up","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458997}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SCROLL_DOWN"],"description":"Scroll Down","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458998}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_EDIT"],"description":"Edit","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":458999}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_SLEEP"],"description":"Sleep","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459000}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_LOCK","K_SCREENSAVER","K_COFFEE"],"description":"Lock","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459001}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["K_REFRESH"],"description":"Refresh","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459002}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":false,"macos":false,"ios":false},"footnotes":{}},{"names":["K_CALCULATOR","K_CALC"],"description":"Calculator","context":"Keyboard","clarify":true,"usages":[{"application":65542,"item":459003}],"documentation":"https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07","os":{"windows":null,"linux":true,"android":true,"macos":false,"ios":false},"footnotes":{}},{"names":["C_POWER","C_PWR"],"description":"Power","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786480}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":true,"ios":true},"footnotes":{"macos":["macosPower"],"ios":["iosPower"]}},{"names":["C_RESET"],"description":"Reset","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786481}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLEEP"],"description":"Sleep","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786482}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLEEP_MODE"],"description":"Sleep Mode","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786484}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU"],"description":"Menu","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786496}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_PICK","C_MENU_SELECT"],"description":"Pick","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786497}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_UP"],"description":"Up","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786498}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_DOWN"],"description":"Down","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786499}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_LEFT"],"description":"Left","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786500}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_RIGHT"],"description":"Right","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786501}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_ESCAPE","C_MENU_ESC"],"description":"Escape","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786502}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_INCREASE","C_MENU_INC"],"description":"Value Increase","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786503}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MENU_DECREASE","C_MENU_DEC"],"description":"Value Decrease","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786504}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_DATA_ON_SCREEN"],"description":"Data On Screen","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786528}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CAPTIONS","C_SUBTITLES"],"description":"Closed Caption","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786529}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SNAPSHOT"],"description":"Snapshot","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786533}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PIP"],"description":"Picture-in-Picture Toggle","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786535}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RED_BUTTON","C_RED"],"description":"Red Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786537}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_GREEN_BUTTON","C_GREEN"],"description":"Green Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786538}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BLUE_BUTTON","C_BLUE"],"description":"Blue Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786539}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_YELLOW_BUTTON","C_YELLOW"],"description":"Yellow Button","context":"Consumer Menu","clarify":true,"usages":[{"application":786433,"item":786540}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=133","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_ASPECT"],"description":"Aspect","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786541}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_INC","C_BRI_INC","C_BRI_UP"],"description":"Increase Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786543}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":true,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_DEC","C_BRI_DEC","C_BRI_DN"],"description":"Decrease Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786544}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":true,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_BACKLIGHT_TOGGLE","C_BKLT_TOG"],"description":"Backlight Toggle","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786546}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_MINIMUM","C_BRI_MIN"],"description":"Minimum Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786547}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_MAXIMUM","C_BRI_MAX"],"description":"Maximum Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786548}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BRIGHTNESS_AUTO","C_BRI_AUTO"],"description":"Auto Brightness","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786549}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=134","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_STEP","C_MODE_STEP"],"description":"Mode Step","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786562}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RECALL_LAST","C_CHAN_LAST"],"description":"Recall Last","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786563}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_COMPUTER"],"description":"Computer","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786568}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TV"],"description":"TV","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786569}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_WWW"],"description":"WWW","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786570}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_DVD"],"description":"DVD","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786571}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_PHONE"],"description":"Telephone","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786572}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_GUIDE"],"description":"Program Guide","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786573}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VIDEOPHONE"],"description":"Video Phone","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786574}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_GAMES"],"description":"Games","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786575}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_MESSAGES"],"description":"Messages","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786576}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_CD"],"description":"CD","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786577}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VCR"],"description":"VCR","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786578}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TUNER"],"description":"Tuner","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786579}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_QUIT"],"description":"Quit","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786580}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_HELP"],"description":"Help","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786581}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_TAPE"],"description":"Tape","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786582}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_CABLE"],"description":"Cable","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786583}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_SATELLITE"],"description":"Satellite","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786584}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_HOME"],"description":"Home","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786586}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CHANNEL_INC","C_CHAN_INC"],"description":"Channel Increment","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786588}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_CHANNEL_DEC","C_CHAN_DEC"],"description":"Channel Decrement","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786589}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=136","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MEDIA_VCR_PLUS"],"description":"VCR Plus","context":"Consumer Media","clarify":true,"usages":[{"application":786433,"item":786592}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=135","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PLAY"],"description":"Play","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786608}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PAUSE"],"description":"Pause","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786609}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RECORD","C_REC"],"description":"Record","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786610}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_FAST_FORWARD","C_FF"],"description":"Fast Forward","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786611}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_REWIND","C_RW"],"description":"Rewind","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786612}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_NEXT"],"description":"Next","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786613}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_PREVIOUS","C_PREV"],"description":"Previous","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786614}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_STOP"],"description":"Stop","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786615}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_EJECT"],"description":"Eject","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786616}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_RANDOM_PLAY","C_SHUFFLE"],"description":"Random Play","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786617}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_REPEAT"],"description":"Repeat","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786620}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_SLOW_TRACKING","C_SLOW2"],"description":"Slow Tracking","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786623}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_STOP_EJECT"],"description":"Stop / Eject","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786636}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":null,"linux":false,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_PLAY_PAUSE","C_PP"],"description":"Play / Pause","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786637}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=137","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_VOICE_COMMAND"],"description":"Voice Command","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786639}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=132","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_MUTE"],"description":"Mute","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786658}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_BASS_BOOST"],"description":"Bass Boost","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786661}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_VOLUME_UP","C_VOL_UP"],"description":"Volume Up","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786665}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_VOLUME_DOWN","C_VOL_DN"],"description":"Volume Down","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786666}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=139","os":{"windows":true,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_SLOW"],"description":"Slow","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786677}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=141","os":{"windows":false,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_ALTERNATE_AUDIO_INCREMENT","C_ALT_AUDIO_INC"],"description":"Alternate Audio Increment","context":"Consumer","clarify":true,"usages":[{"application":786433,"item":786803}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf","os":{"windows":null,"linux":false,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CCC"],"description":"Consumer Control Configuration","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786819}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_WORD"],"description":"Word Processor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786820}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_TEXT_EDITOR"],"description":"Text Editor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786821}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SPREADSHEET","C_AL_SHEET"],"description":"Spreadsheet","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786822}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_GRAPHICS_EDITOR"],"description":"Graphics Editor","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786823}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_PRESENTATION"],"description":"Presentation","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786824}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_DATABASE","C_AL_DB"],"description":"Database App","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786825}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_EMAIL","C_AL_MAIL"],"description":"Email Reader","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786826}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NEWS"],"description":"Newsreader","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786827}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_VOICEMAIL"],"description":"Voicemail","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786828}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CONTACTS","C_AL_ADDRESS_BOOK"],"description":"Contacts / Address Book","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786829}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CALENDAR","C_AL_CAL"],"description":"Calendar / Schedule","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786830}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_TASK_MANAGER"],"description":"Task / Project Manager","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786831}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_JOURNAL"],"description":"Log / Journal / Timecard","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786832}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_FINANCE"],"description":"Checkbook / Finance","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786833}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CALCULATOR","C_AL_CALC"],"description":"Calculator","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786834}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_AV_CAPTURE_PLAYBACK"],"description":"A/V Capture / Playback","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786835}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_MY_COMPUTER"],"description":"Local Machine Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786836}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_WWW"],"description":"Internet Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786838}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=147","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NETWORK_CHAT","C_AL_CHAT"],"description":"Network Chat","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786841}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_LOGOFF"],"description":"Logoff","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786844}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_LOCK","C_AL_SCREENSAVER","C_AL_COFFEE"],"description":"Terminal Lock / Screensaver","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786846}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_CONTROL_PANEL"],"description":"Control Panel","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786847}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SELECT_TASK"],"description":"Select Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786850}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_NEXT_TASK"],"description":"Next Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786851}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_PREVIOUS_TASK","C_AL_PREV_TASK"],"description":"Previous Task / Application","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786852}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_HELP"],"description":"Integrated Help Center","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786854}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_DOCUMENTS","C_AL_DOCS"],"description":"Documents","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786855}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SPELLCHECK","C_AL_SPELL"],"description":"Spell Check","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786859}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_KEYBOARD_LAYOUT"],"description":"Keyboard Layout","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786862}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_SCREEN_SAVER"],"description":"Screen Saver","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786865}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_FILE_BROWSER","C_AL_FILES"],"description":"File Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786868}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_IMAGE_BROWSER","C_AL_IMAGES"],"description":"Image Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786870}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_AUDIO_BROWSER","C_AL_AUDIO","C_AL_MUSIC"],"description":"Audio Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786871}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_MOVIE_BROWSER","C_AL_MOVIES"],"description":"Movie Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786872}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=148","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_INSTANT_MESSAGING","C_AL_IM"],"description":"Instant Messaging","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786876}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=149","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AL_OEM_FEATURES","C_AL_TIPS","C_AL_TUTORIAL"],"description":"OEM Features / Tips / Tutorial Browser","context":"Consumer AL","clarify":true,"usages":[{"application":786433,"item":786877}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=149","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_NEW"],"description":"New","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786945}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_OPEN"],"description":"Open","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786946}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CLOSE"],"description":"Close","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786947}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_EXIT"],"description":"Exit","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786948}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SAVE"],"description":"Save","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786951}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PRINT"],"description":"Print","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786952}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PROPERTIES","C_AC_PROPS"],"description":"Properties","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786953}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_UNDO"],"description":"Undo","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786970}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_COPY"],"description":"Copy","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786971}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CUT"],"description":"Cut","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786972}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_PASTE"],"description":"Paste","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786973}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FIND"],"description":"Find","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786975}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SEARCH"],"description":"Search","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786977}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":true,"ios":null},"footnotes":{}},{"names":["C_AC_GOTO"],"description":"Go To","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786978}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_HOME"],"description":"Home","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786979}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_BACK"],"description":"Back","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786980}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FORWARD"],"description":"Forward","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786981}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_STOP"],"description":"Stop","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786982}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REFRESH"],"description":"Refresh","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786983}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_BOOKMARKS","C_AC_FAVORITES","C_AC_FAVOURITES"],"description":"Bookmarks","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786986}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM_IN"],"description":"Zoom In","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786989}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM_OUT"],"description":"Zoom Out","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786990}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_ZOOM"],"description":"Zoom","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786991}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=150","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_VIEW_TOGGLE"],"description":"View Toggle","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786994}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SCROLL_UP"],"description":"Scroll Up","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786995}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SCROLL_DOWN"],"description":"Scroll Down","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":786996}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":true,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_EDIT"],"description":"Edit","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787005}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=151","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_CANCEL"],"description":"Cancel","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787039}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_INSERT","C_AC_INS"],"description":"Insert Mode","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787049}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_DEL"],"description":"Delete","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787050}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REDO"],"description":"Redo / Repeat","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787065}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=152","os":{"windows":false,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_REPLY"],"description":"Reply","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787081}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_FORWARD_MAIL"],"description":"Forward","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787083}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_SEND"],"description":"Send","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787084}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":false,"macos":null,"ios":null},"footnotes":{}},{"names":["C_AC_DESKTOP_SHOW_ALL_WINDOWS"],"description":"Desktop Show All Windows","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787103}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_AC_DESKTOP_SHOW_ALL_APPLICATIONS"],"description":"Desktop Show All Applications","context":"Consumer AC","clarify":true,"usages":[{"application":786433,"item":787106}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=153","os":{"windows":null,"linux":true,"android":null,"macos":true,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_PREVIOUS","C_KBIA_PREV"],"description":"Previous","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787143}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_NEXT","C_KBIA_NEXT"],"description":"Next","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787144}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","C_KBIA_PREV_GRP"],"description":"Previous Group","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787145}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","C_KBIA_NEXT_GRP"],"description":"Next Group","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787146}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_ACCEPT","C_KBIA_ACCEPT"],"description":"Accept","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787147}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}},{"names":["C_KEYBOARD_INPUT_ASSIST_CANCEL","C_KBIA_CANCEL"],"description":"Cancel","context":"Consumer KBIA","clarify":true,"usages":[{"application":786433,"item":787148}],"documentation":"https://usb.org/sites/default/files/hut1_2.pdf#page=157","os":{"windows":null,"linux":true,"android":null,"macos":null,"ios":null},"footnotes":{}}]')},2024:function(_){"use strict";_.exports=JSON.parse('["BL_ON_CMD","BL_OFF_CMD","BL_TOG_CMD","BL_INC_CMD","BL_DEC_CMD","BL_CYCLE_CMD","BL_SET_CMD","BL_ON","BL_OFF","BL_TOG","BL_INC","BL_DEC","BL_CYCLE","BL_SET","BT_CLR_CMD","BT_NXT_CMD","BT_PRV_CMD","BT_SEL_CMD","BT_CLR","BT_NXT","BT_PRV","BT_SEL","EXT_POWER_OFF_CMD","EXT_POWER_ON_CMD","EXT_POWER_TOGGLE_CMD","EP_ON","EP_OFF","EP_TOG","HID_USAGE_GD_UNDEFINED","HID_USAGE_GD_POINTER","HID_USAGE_GD_MOUSE","HID_USAGE_GD_JOYSTICK","HID_USAGE_GD_GAMEPAD","HID_USAGE_GD_KEYBOARD","HID_USAGE_GD_KEYPAD","HID_USAGE_GD_MULTI_AXIS_CONTROLLER","HID_USAGE_GD_TABLET_PC_SYSTEM_CONTROLS","HID_USAGE_GD_WATER_COOLING_DEVICE","HID_USAGE_GD_COMPUTER_CHASSIS_DEVICE","HID_USAGE_GD_WIRELESS_RADIO_CONTROLS","HID_USAGE_GD_PORTABLE_DEVICE_CONTROL","HID_USAGE_GD_SYSTEM_MULTI_AXIS_CONTROLLER","HID_USAGE_GD_SPATIAL_CONTROLLER","HID_USAGE_GD_ASSISTIVE_CONTROL","HID_USAGE_GD_DEVICE_DOCK","HID_USAGE_GD_DOCKABLE_DEVICE","HID_USAGE_GD_X","HID_USAGE_GD_Y","HID_USAGE_GD_Z","HID_USAGE_GD_RX","HID_USAGE_GD_RY","HID_USAGE_GD_RZ","HID_USAGE_GD_SLIDER","HID_USAGE_GD_DIAL","HID_USAGE_GD_WHEEL","HID_USAGE_GD_HAT_SWITCH","HID_USAGE_GD_COUNTED_BUFFER","HID_USAGE_GD_BYTE_COUNT","HID_USAGE_GD_MOTION_WAKEUP","HID_USAGE_GD_START","HID_USAGE_GD_SELECT","HID_USAGE_GD_VX","HID_USAGE_GD_VY","HID_USAGE_GD_VZ","HID_USAGE_GD_VBRX","HID_USAGE_GD_VBRY","HID_USAGE_GD_VBRZ","HID_USAGE_GD_VNO","HID_USAGE_GD_FEATURE_NOTIFICATION","HID_USAGE_GD_RESOLUTION_MULTIPLIER","HID_USAGE_GD_QX","HID_USAGE_GD_QY","HID_USAGE_GD_QZ","HID_USAGE_GD_QW","HID_USAGE_GD_SYSTEM_CONTROL","HID_USAGE_GD_SYSTEM_POWER_DOWN","HID_USAGE_GD_SYSTEM_SLEEP","HID_USAGE_GD_SYSTEM_WAKE_UP","HID_USAGE_GD_SYSTEM_CONTEXT_MENU","HID_USAGE_GD_SYSTEM_MAIN_MENU","HID_USAGE_GD_SYSTEM_APP_MENU","HID_USAGE_GD_SYSTEM_MENU_HELP","HID_USAGE_GD_SYSTEM_MENU_EXIT","HID_USAGE_GD_SYSTEM_MENU_SELECT","HID_USAGE_GD_SYSTEM_MENU_RIGHT","HID_USAGE_GD_SYSTEM_MENU_LEFT","HID_USAGE_GD_SYSTEM_MENU_UP","HID_USAGE_GD_SYSTEM_MENU_DOWN","HID_USAGE_GD_SYSTEM_COLD_RESTART","HID_USAGE_GD_SYSTEM_WARM_RESTART","HID_USAGE_GD_D_PAD_UP","HID_USAGE_GD_D_PAD_DOWN","HID_USAGE_GD_D_PAD_RIGHT","HID_USAGE_GD_D_PAD_LEFT","HID_USAGE_GD_INDEX_TRIGGER","HID_USAGE_GD_PALM_TRIGGER","HID_USAGE_GD_THUMBSTICK","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT_LOCK","HID_USAGE_GD_SYSTEM_FUNCTION_SHIFT_LOCK_INDICATOR","HID_USAGE_GD_SYSTEM_DISMISS_NOTIFICATION","HID_USAGE_GD_SYSTEM_DO_NOT_DISTURB","HID_USAGE_GD_SYSTEM_DOCK","HID_USAGE_GD_SYSTEM_UNDOCK","HID_USAGE_GD_SYSTEM_SETUP","HID_USAGE_GD_SYSTEM_BREAK","HID_USAGE_GD_SYSTEM_DEBUGGER_BREAK","HID_USAGE_GD_APPLICATION_BREAK","HID_USAGE_GD_APPLICATION_DEBUGGER_BREAK","HID_USAGE_GD_SYSTEM_SPEAKER_MUTE","HID_USAGE_GD_SYSTEM_HIBERNATE","HID_USAGE_GD_SYSTEM_DISPLAY_INVERT","HID_USAGE_GD_SYSTEM_DISPLAY_INTERNAL","HID_USAGE_GD_SYSTEM_DISPLAY_EXTERNAL","HID_USAGE_GD_SYSTEM_DISPLAY_BOTH","HID_USAGE_GD_SYSTEM_DISPLAY_DUAL","HID_USAGE_GD_SYSTEM_DISPLAY_TOGGLE_INT_EXT_MODE","HID_USAGE_GD_SYSTEM_DISPLAY_SWAP_PRIMARY_SECONDARY","HID_USAGE_GD_SYSTEM_DISPLAY_TOGGLE_LCD_AUTOSCALE","HID_USAGE_GD_SENSOR_ZONE","HID_USAGE_GD_RPM","HID_USAGE_GD_COOLANT_LEVEL","HID_USAGE_GD_COOLANT_CRITICAL_LEVEL","HID_USAGE_GD_COOLANT_PUMP","HID_USAGE_GD_CHASSIS_ENCLOSURE","HID_USAGE_GD_WIRELESS_RADIO_BUTTON","HID_USAGE_GD_WIRELESS_RADIO_LED","HID_USAGE_GD_WIRELESS_RADIO_SLIDER_SWITCH","HID_USAGE_GD_SYSTEM_DISPLAY_ROTATION_LOCK_BUTTON","HID_USAGE_GD_SYSTEM_DISPLAY_ROTATION_LOCK_SLIDER_SWITCH","HID_USAGE_GD_CONTROL_ENABLE","HID_USAGE_GD_DOCKABLE_DEVICE_UNIQUE_ID","HID_USAGE_GD_DOCKABLE_DEVICE_VENDOR_ID","HID_USAGE_GD_DOCKABLE_DEVICE_PRIMARY_USAGE_PAGE","HID_USAGE_GD_DOCKABLE_DEVICE_PRIMARY_USAGE_ID","HID_USAGE_GD_DOCKABLE_DEVICE_DOCKING_STATE","HID_USAGE_GD_DOCKABLE_DEVICE_DISPLAY_OCCLUSION","HID_USAGE_GD_DOCKABLE_DEVICE_OBJECT_TYPE","HID_USAGE_SIM_UNDEFINED","HID_USAGE_SIM_FLIGHT_SIMULATION_DEVICE","HID_USAGE_SIM_AUTOMOBILE_SIMULATION_DEVICE","HID_USAGE_SIM_TANK_SIMULATION_DEVICE","HID_USAGE_SIM_SPACESHIP_SIMULATION_DEVICE","HID_USAGE_SIM_SUBMARINE_SIMULATION_DEVICE","HID_USAGE_SIM_SAILING_SIMULATION_DEVICE","HID_USAGE_SIM_MOTORCYCLE_SIMULATION_DEVICE","HID_USAGE_SIM_SPORTS_SIMULATION_DEVICE","HID_USAGE_SIM_AIRPLANE_SIMULATION_DEVICE","HID_USAGE_SIM_HELICOPTER_SIMULATION_DEVICE","HID_USAGE_SIM_MAGIC_CARPET_SIMULATION_DEVICE","HID_USAGE_SIM_BICYCLE_SIMULATION_DEVICE","HID_USAGE_SIM_FLIGHT_CONTROL_STICK","HID_USAGE_SIM_FLIGHT_STICK","HID_USAGE_SIM_CYCLIC_CONTROL","HID_USAGE_SIM_CYCLIC_TRIM","HID_USAGE_SIM_FLIGHT_YOKE","HID_USAGE_SIM_TRACK_CONTROL","HID_USAGE_SIM_AILERON","HID_USAGE_SIM_AILERON_TRIM","HID_USAGE_SIM_ANTI_TORQUE_CONTROL","HID_USAGE_SIM_AUTOPILOT_ENABLE","HID_USAGE_SIM_CHAFF_RELEASE","HID_USAGE_SIM_COLLECTIVE_CONTROL","HID_USAGE_SIM_DIVE_BRAKE","HID_USAGE_SIM_ELECTRONIC_COUNTERMEASURES","HID_USAGE_SIM_ELEVATOR","HID_USAGE_SIM_ELEVATOR_TRIM","HID_USAGE_SIM_RUDDER","HID_USAGE_SIM_THROTTLE","HID_USAGE_SIM_FLIGHT_COMMUNICATIONS","HID_USAGE_SIM_FLARE_RELEASE","HID_USAGE_SIM_LANDING_GEAR","HID_USAGE_SIM_TOE_BRAKE","HID_USAGE_SIM_TRIGGER","HID_USAGE_SIM_WEAPONS_ARM","HID_USAGE_SIM_WEAPONS_SELECT","HID_USAGE_SIM_WING_FLAPS","HID_USAGE_SIM_ACCELERATOR","HID_USAGE_SIM_BRAKE","HID_USAGE_SIM_CLUTCH","HID_USAGE_SIM_SHIFTER","HID_USAGE_SIM_STEERING","HID_USAGE_SIM_TURRET_DIRECTION","HID_USAGE_SIM_BARREL_ELEVATION","HID_USAGE_SIM_DIVE_PLANE","HID_USAGE_SIM_BALLAST","HID_USAGE_SIM_BICYCLE_CRANK","HID_USAGE_SIM_HANDLE_BARS","HID_USAGE_SIM_FRONT_BRAKE","HID_USAGE_SIM_REAR_BRAKE","HID_USAGE_VR_UNDEFINED","HID_USAGE_VR_BELT","HID_USAGE_VR_BODY_SUIT","HID_USAGE_VR_FLEXOR","HID_USAGE_VR_GLOVE","HID_USAGE_VR_HEAD_TRACKER","HID_USAGE_VR_HEAD_MOUNTED_DISPLAY","HID_USAGE_VR_HAND_TRACKER","HID_USAGE_VR_OCULOMETER","HID_USAGE_VR_VEST","HID_USAGE_VR_ANIMATRONIC_DEVICE","HID_USAGE_VR_STEREO_ENABLE","HID_USAGE_VR_DISPLAY_ENABLE","HID_USAGE_SPORT_UNDEFINED","HID_USAGE_SPORT_BASEBALL_BAT","HID_USAGE_SPORT_GOLF_CLUB","HID_USAGE_SPORT_ROWING_MACHINE","HID_USAGE_SPORT_TREADMILL","HID_USAGE_SPORT_OAR","HID_USAGE_SPORT_SLOPE","HID_USAGE_SPORT_RATE","HID_USAGE_SPORT_STICK_SPEED","HID_USAGE_SPORT_STICK_FACE_ANGLE","HID_USAGE_SPORT_STICK_HEEL_TOE","HID_USAGE_SPORT_STICK_FOLLOW_THROUGH","HID_USAGE_SPORT_STICK_TEMPO","HID_USAGE_SPORT_STICK_TYPE","HID_USAGE_SPORT_STICK_HEIGHT","HID_USAGE_SPORT_PUTTER","HID_USAGE_SPORT_1_IRON","HID_USAGE_SPORT_2_IRON","HID_USAGE_SPORT_3_IRON","HID_USAGE_SPORT_4_IRON","HID_USAGE_SPORT_5_IRON","HID_USAGE_SPORT_6_IRON","HID_USAGE_SPORT_7_IRON","HID_USAGE_SPORT_8_IRON","HID_USAGE_SPORT_9_IRON","HID_USAGE_SPORT_10_IRON","HID_USAGE_SPORT_11_IRON","HID_USAGE_SPORT_SAND_WEDGE","HID_USAGE_SPORT_LOFT_WEDGE","HID_USAGE_SPORT_POWER_WEDGE","HID_USAGE_SPORT_1_WOOD","HID_USAGE_SPORT_3_WOOD","HID_USAGE_SPORT_5_WOOD","HID_USAGE_SPORT_7_WOOD","HID_USAGE_SPORT_9_WOOD","HID_USAGE_GAME_UNDEFINED","HID_USAGE_GAME_3D_GAME_CONTROLLER","HID_USAGE_GAME_PINBALL_DEVICE","HID_USAGE_GAME_GUN_DEVICE","HID_USAGE_GAME_POINT_OF_VIEW","HID_USAGE_GAME_TURN_RIGHT_LEFT","HID_USAGE_GAME_PITCH_FORWARD_BACKWARD","HID_USAGE_GAME_ROLL_RIGHT_LEFT","HID_USAGE_GAME_MOVE_RIGHT_LEFT","HID_USAGE_GAME_MOVE_FORWARD_BACKWARD","HID_USAGE_GAME_MOVE_UP_DOWN","HID_USAGE_GAME_LEAN_RIGHT_LEFT","HID_USAGE_GAME_LEAN_FORWARD_BACKWARD","HID_USAGE_GAME_HEIGHT_OF_POV","HID_USAGE_GAME_FLIPPER","HID_USAGE_GAME_SECONDARY_FLIPPER","HID_USAGE_GAME_BUMP","HID_USAGE_GAME_NEW_GAME","HID_USAGE_GAME_SHOOT_BALL","HID_USAGE_GAME_PLAYER","HID_USAGE_GAME_GUN_BOLT","HID_USAGE_GAME_GUN_CLIP","HID_USAGE_GAME_GUN_SELECTOR","HID_USAGE_GAME_GUN_SINGLE_SHOT","HID_USAGE_GAME_GUN_BURST","HID_USAGE_GAME_GUN_AUTOMATIC","HID_USAGE_GAME_GUN_SAFETY","HID_USAGE_GAME_GAMEPAD_FIRE_JUMP","HID_USAGE_GAME_GAMEPAD_TRIGGER","HID_USAGE_GAME_FORM_FITTING_GAMEPAD","HID_USAGE_GDV_UNDEFINED","HID_USAGE_GDV_BACKGROUND_NONUSER_CONTROLS","HID_USAGE_GDV_BATTERY_STRENGTH","HID_USAGE_GDV_WIRELESS_CHANNEL","HID_USAGE_GDV_WIRELESS_ID","HID_USAGE_GDV_DISCOVER_WIRELESS_CONTROL","HID_USAGE_GDV_SECURITY_CODE_CHARACTER_ENTERED","HID_USAGE_GDV_SECURITY_CODE_CHARACTER_ERASED","HID_USAGE_GDV_SECURITY_CODE_CLEARED","HID_USAGE_GDV_SEQUENCE_ID","HID_USAGE_GDV_SEQUENCE_ID_RESET","HID_USAGE_GDV_RF_SIGNAL_STRENGTH","HID_USAGE_GDV_SOFTWARE_VERSION","HID_USAGE_GDV_PROTOCOL_VERSION","HID_USAGE_GDV_HARDWARE_VERSION","HID_USAGE_GDV_MAJOR","HID_USAGE_GDV_MINOR","HID_USAGE_GDV_REVISION","HID_USAGE_GDV_HANDEDNESS","HID_USAGE_GDV_EITHER_HAND","HID_USAGE_GDV_LEFT_HAND","HID_USAGE_GDV_RIGHT_HAND","HID_USAGE_GDV_BOTH_HANDS","HID_USAGE_GDV_GRIP_POSE_OFFSET","HID_USAGE_GDV_POINTER_POSE_OFFSET","HID_USAGE_KEY_KEYBOARD_ERRORROLLOVER","HID_USAGE_KEY_KEYBOARD_POSTFAIL","HID_USAGE_KEY_KEYBOARD_ERRORUNDEFINED","HID_USAGE_KEY_KEYBOARD_A","HID_USAGE_KEY_KEYBOARD_B","HID_USAGE_KEY_KEYBOARD_C","HID_USAGE_KEY_KEYBOARD_D","HID_USAGE_KEY_KEYBOARD_E","HID_USAGE_KEY_KEYBOARD_F","HID_USAGE_KEY_KEYBOARD_G","HID_USAGE_KEY_KEYBOARD_H","HID_USAGE_KEY_KEYBOARD_I","HID_USAGE_KEY_KEYBOARD_J","HID_USAGE_KEY_KEYBOARD_K","HID_USAGE_KEY_KEYBOARD_L","HID_USAGE_KEY_KEYBOARD_M","HID_USAGE_KEY_KEYBOARD_N","HID_USAGE_KEY_KEYBOARD_O","HID_USAGE_KEY_KEYBOARD_P","HID_USAGE_KEY_KEYBOARD_Q","HID_USAGE_KEY_KEYBOARD_R","HID_USAGE_KEY_KEYBOARD_S","HID_USAGE_KEY_KEYBOARD_T","HID_USAGE_KEY_KEYBOARD_U","HID_USAGE_KEY_KEYBOARD_V","HID_USAGE_KEY_KEYBOARD_W","HID_USAGE_KEY_KEYBOARD_X","HID_USAGE_KEY_KEYBOARD_Y","HID_USAGE_KEY_KEYBOARD_Z","HID_USAGE_KEY_KEYBOARD_1_AND_EXCLAMATION","HID_USAGE_KEY_KEYBOARD_2_AND_AT","HID_USAGE_KEY_KEYBOARD_3_AND_HASH","HID_USAGE_KEY_KEYBOARD_4_AND_DOLLAR","HID_USAGE_KEY_KEYBOARD_5_AND_PERCENT","HID_USAGE_KEY_KEYBOARD_6_AND_CARET","HID_USAGE_KEY_KEYBOARD_7_AND_AMPERSAND","HID_USAGE_KEY_KEYBOARD_8_AND_ASTERISK","HID_USAGE_KEY_KEYBOARD_9_AND_LEFT_PARENTHESIS","HID_USAGE_KEY_KEYBOARD_0_AND_RIGHT_PARENTHESIS","HID_USAGE_KEY_KEYBOARD_RETURN_ENTER","HID_USAGE_KEY_KEYBOARD_ESCAPE","HID_USAGE_KEY_KEYBOARD_DELETE_BACKSPACE","HID_USAGE_KEY_KEYBOARD_TAB","HID_USAGE_KEY_KEYBOARD_SPACEBAR","HID_USAGE_KEY_KEYBOARD_MINUS_AND_UNDERSCORE","HID_USAGE_KEY_KEYBOARD_EQUAL_AND_PLUS","HID_USAGE_KEY_KEYBOARD_LEFT_BRACKET_AND_LEFT_BRACE","HID_USAGE_KEY_KEYBOARD_RIGHT_BRACKET_AND_RIGHT_BRACE","HID_USAGE_KEY_KEYBOARD_BACKSLASH_AND_PIPE","HID_USAGE_KEY_KEYBOARD_NON_US_HASH_AND_TILDE","HID_USAGE_KEY_KEYBOARD_SEMICOLON_AND_COLON","HID_USAGE_KEY_KEYBOARD_APOSTROPHE_AND_QUOTE","HID_USAGE_KEY_KEYBOARD_GRAVE_ACCENT_AND_TILDE","HID_USAGE_KEY_KEYBOARD_COMMA_AND_LESS_THAN","HID_USAGE_KEY_KEYBOARD_PERIOD_AND_GREATER_THAN","HID_USAGE_KEY_KEYBOARD_SLASH_AND_QUESTION_MARK","HID_USAGE_KEY_KEYBOARD_CAPS_LOCK","HID_USAGE_KEY_KEYBOARD_F1","HID_USAGE_KEY_KEYBOARD_F2","HID_USAGE_KEY_KEYBOARD_F3","HID_USAGE_KEY_KEYBOARD_F4","HID_USAGE_KEY_KEYBOARD_F5","HID_USAGE_KEY_KEYBOARD_F6","HID_USAGE_KEY_KEYBOARD_F7","HID_USAGE_KEY_KEYBOARD_F8","HID_USAGE_KEY_KEYBOARD_F9","HID_USAGE_KEY_KEYBOARD_F10","HID_USAGE_KEY_KEYBOARD_F11","HID_USAGE_KEY_KEYBOARD_F12","HID_USAGE_KEY_KEYBOARD_PRINTSCREEN","HID_USAGE_KEY_KEYBOARD_SCROLL_LOCK","HID_USAGE_KEY_KEYBOARD_PAUSE","HID_USAGE_KEY_KEYBOARD_INSERT","HID_USAGE_KEY_KEYBOARD_HOME","HID_USAGE_KEY_KEYBOARD_PAGEUP","HID_USAGE_KEY_KEYBOARD_DELETE_FORWARD","HID_USAGE_KEY_KEYBOARD_END","HID_USAGE_KEY_KEYBOARD_PAGEDOWN","HID_USAGE_KEY_KEYBOARD_RIGHTARROW","HID_USAGE_KEY_KEYBOARD_LEFTARROW","HID_USAGE_KEY_KEYBOARD_DOWNARROW","HID_USAGE_KEY_KEYBOARD_UPARROW","HID_USAGE_KEY_KEYPAD_NUM_LOCK_AND_CLEAR","HID_USAGE_KEY_KEYPAD_SLASH","HID_USAGE_KEY_KEYPAD_ASTERISK","HID_USAGE_KEY_KEYPAD_MINUS","HID_USAGE_KEY_KEYPAD_PLUS","HID_USAGE_KEY_KEYPAD_ENTER","HID_USAGE_KEY_KEYPAD_1_AND_END","HID_USAGE_KEY_KEYPAD_2_AND_DOWN_ARROW","HID_USAGE_KEY_KEYPAD_3_AND_PAGEDN","HID_USAGE_KEY_KEYPAD_4_AND_LEFT_ARROW","HID_USAGE_KEY_KEYPAD_5","HID_USAGE_KEY_KEYPAD_6_AND_RIGHT_ARROW","HID_USAGE_KEY_KEYPAD_7_AND_HOME","HID_USAGE_KEY_KEYPAD_8_AND_UP_ARROW","HID_USAGE_KEY_KEYPAD_9_AND_PAGEUP","HID_USAGE_KEY_KEYPAD_0_AND_INSERT","HID_USAGE_KEY_KEYPAD_PERIOD_AND_DELETE","HID_USAGE_KEY_KEYBOARD_NON_US_BACKSLASH_AND_PIPE","HID_USAGE_KEY_KEYBOARD_APPLICATION","HID_USAGE_KEY_KEYBOARD_POWER","HID_USAGE_KEY_KEYPAD_EQUAL","HID_USAGE_KEY_KEYBOARD_F13","HID_USAGE_KEY_KEYBOARD_F14","HID_USAGE_KEY_KEYBOARD_F15","HID_USAGE_KEY_KEYBOARD_F16","HID_USAGE_KEY_KEYBOARD_F17","HID_USAGE_KEY_KEYBOARD_F18","HID_USAGE_KEY_KEYBOARD_F19","HID_USAGE_KEY_KEYBOARD_F20","HID_USAGE_KEY_KEYBOARD_F21","HID_USAGE_KEY_KEYBOARD_F22","HID_USAGE_KEY_KEYBOARD_F23","HID_USAGE_KEY_KEYBOARD_F24","HID_USAGE_KEY_KEYBOARD_EXECUTE","HID_USAGE_KEY_KEYBOARD_HELP","HID_USAGE_KEY_KEYBOARD_MENU","HID_USAGE_KEY_KEYBOARD_SELECT","HID_USAGE_KEY_KEYBOARD_STOP","HID_USAGE_KEY_KEYBOARD_AGAIN","HID_USAGE_KEY_KEYBOARD_UNDO","HID_USAGE_KEY_KEYBOARD_CUT","HID_USAGE_KEY_KEYBOARD_COPY","HID_USAGE_KEY_KEYBOARD_PASTE","HID_USAGE_KEY_KEYBOARD_FIND","HID_USAGE_KEY_KEYBOARD_MUTE","HID_USAGE_KEY_KEYBOARD_VOLUME_UP","HID_USAGE_KEY_KEYBOARD_VOLUME_DOWN","HID_USAGE_KEY_KEYBOARD_LOCKING_CAPS_LOCK","HID_USAGE_KEY_KEYBOARD_LOCKING_NUM_LOCK","HID_USAGE_KEY_KEYBOARD_LOCKING_SCROLL_LOCK","HID_USAGE_KEY_KEYPAD_COMMA","HID_USAGE_KEY_KEYPAD_EQUAL_SIGN","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL1","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL2","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL3","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL4","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL5","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL6","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL7","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL8","HID_USAGE_KEY_KEYBOARD_INTERNATIONAL9","HID_USAGE_KEY_KEYBOARD_LANG1","HID_USAGE_KEY_KEYBOARD_LANG2","HID_USAGE_KEY_KEYBOARD_LANG3","HID_USAGE_KEY_KEYBOARD_LANG4","HID_USAGE_KEY_KEYBOARD_LANG5","HID_USAGE_KEY_KEYBOARD_LANG6","HID_USAGE_KEY_KEYBOARD_LANG7","HID_USAGE_KEY_KEYBOARD_LANG8","HID_USAGE_KEY_KEYBOARD_LANG9","HID_USAGE_KEY_KEYBOARD_ALTERNATE_ERASE","HID_USAGE_KEY_KEYBOARD_SYSREQ_ATTENTION","HID_USAGE_KEY_KEYBOARD_CANCEL","HID_USAGE_KEY_KEYBOARD_CLEAR","HID_USAGE_KEY_KEYBOARD_PRIOR","HID_USAGE_KEY_KEYBOARD_RETURN","HID_USAGE_KEY_KEYBOARD_SEPARATOR","HID_USAGE_KEY_KEYBOARD_OUT","HID_USAGE_KEY_KEYBOARD_OPER","HID_USAGE_KEY_KEYBOARD_CLEAR_AGAIN","HID_USAGE_KEY_KEYBOARD_CRSEL_PROPS","HID_USAGE_KEY_KEYBOARD_EXSEL","HID_USAGE_KEY_KEYPAD_00","HID_USAGE_KEY_KEYPAD_000","HID_USAGE_KEY_THOUSANDS_SEPARATOR","HID_USAGE_KEY_DECIMAL_SEPARATOR","HID_USAGE_KEY_CURRENCY_UNIT","HID_USAGE_KEY_CURRENCY_SUB_UNIT","HID_USAGE_KEY_KEYPAD_LEFT_PARENTHESIS","HID_USAGE_KEY_KEYPAD_RIGHT_PARENTHESIS","HID_USAGE_KEY_KEYPAD_LEFT_BRACE","HID_USAGE_KEY_KEYPAD_RIGHT_BRACE","HID_USAGE_KEY_KEYPAD_TAB","HID_USAGE_KEY_KEYPAD_BACKSPACE","HID_USAGE_KEY_KEYPAD_A","HID_USAGE_KEY_KEYPAD_B","HID_USAGE_KEY_KEYPAD_C","HID_USAGE_KEY_KEYPAD_D","HID_USAGE_KEY_KEYPAD_E","HID_USAGE_KEY_KEYPAD_F","HID_USAGE_KEY_KEYPAD_XOR","HID_USAGE_KEY_KEYPAD_CARET","HID_USAGE_KEY_KEYPAD_PERCENT","HID_USAGE_KEY_KEYPAD_LESS_THAN","HID_USAGE_KEY_KEYPAD_GREATER_THAN","HID_USAGE_KEY_KEYPAD_AMPERSAND","HID_USAGE_KEY_KEYPAD_AMPERSAND_AMPERSAND","HID_USAGE_KEY_KEYPAD_PIPE","HID_USAGE_KEY_KEYPAD_PIPE_PIPE","HID_USAGE_KEY_KEYPAD_COLON","HID_USAGE_KEY_KEYPAD_HASH","HID_USAGE_KEY_KEYPAD_SPACE","HID_USAGE_KEY_KEYPAD_AT","HID_USAGE_KEY_KEYPAD_EXCLAMATION","HID_USAGE_KEY_KEYPAD_MEMORY_STORE","HID_USAGE_KEY_KEYPAD_MEMORY_RECALL","HID_USAGE_KEY_KEYPAD_MEMORY_CLEAR","HID_USAGE_KEY_KEYPAD_MEMORY_ADD","HID_USAGE_KEY_KEYPAD_MEMORY_SUBTRACT","HID_USAGE_KEY_KEYPAD_MEMORY_MULTIPLY","HID_USAGE_KEY_KEYPAD_MEMORY_DIVIDE","HID_USAGE_KEY_KEYPAD_PLUS_MINUS","HID_USAGE_KEY_KEYPAD_CLEAR","HID_USAGE_KEY_KEYPAD_CLEAR_ENTRY","HID_USAGE_KEY_KEYPAD_BINARY","HID_USAGE_KEY_KEYPAD_OCTAL","HID_USAGE_KEY_KEYPAD_DECIMAL","HID_USAGE_KEY_KEYPAD_HEXADECIMAL","HID_USAGE_KEY_KEYBOARD_LEFTCONTROL","HID_USAGE_KEY_KEYBOARD_LEFTSHIFT","HID_USAGE_KEY_KEYBOARD_LEFTALT","HID_USAGE_KEY_KEYBOARD_LEFT_GUI","HID_USAGE_KEY_KEYBOARD_RIGHTCONTROL","HID_USAGE_KEY_KEYBOARD_RIGHTSHIFT","HID_USAGE_KEY_KEYBOARD_RIGHTALT","HID_USAGE_KEY_KEYBOARD_RIGHT_GUI","HID_USAGE_LED_UNDEFINED","HID_USAGE_LED_NUM_LOCK","HID_USAGE_LED_CAPS_LOCK","HID_USAGE_LED_SCROLL_LOCK","HID_USAGE_LED_COMPOSE","HID_USAGE_LED_KANA","HID_USAGE_LED_POWER","HID_USAGE_LED_SHIFT","HID_USAGE_LED_DO_NOT_DISTURB","HID_USAGE_LED_MUTE","HID_USAGE_LED_TONE_ENABLE","HID_USAGE_LED_HIGH_CUT_FILTER","HID_USAGE_LED_LOW_CUT_FILTER","HID_USAGE_LED_EQUALIZER_ENABLE","HID_USAGE_LED_SOUND_FIELD_ON","HID_USAGE_LED_SURROUND_ON","HID_USAGE_LED_REPEAT","HID_USAGE_LED_STEREO","HID_USAGE_LED_SAMPLING_RATE_DETECT","HID_USAGE_LED_SPINNING","HID_USAGE_LED_CAV","HID_USAGE_LED_CLV","HID_USAGE_LED_RECORDING_FORMAT_DETECT","HID_USAGE_LED_OFF_HOOK","HID_USAGE_LED_RING","HID_USAGE_LED_MESSAGE_WAITING","HID_USAGE_LED_DATA_MODE","HID_USAGE_LED_BATTERY_OPERATION","HID_USAGE_LED_BATTERY_OK","HID_USAGE_LED_BATTERY_LOW","HID_USAGE_LED_SPEAKER","HID_USAGE_LED_HEAD_SET","HID_USAGE_LED_HOLD","HID_USAGE_LED_MICROPHONE","HID_USAGE_LED_COVERAGE","HID_USAGE_LED_NIGHT_MODE","HID_USAGE_LED_SEND_CALLS","HID_USAGE_LED_CALL_PICKUP","HID_USAGE_LED_CONFERENCE","HID_USAGE_LED_STAND_BY","HID_USAGE_LED_CAMERA_ON","HID_USAGE_LED_CAMERA_OFF","HID_USAGE_LED_ON_LINE","HID_USAGE_LED_OFF_LINE","HID_USAGE_LED_BUSY","HID_USAGE_LED_READY","HID_USAGE_LED_PAPER_OUT","HID_USAGE_LED_PAPER_JAM","HID_USAGE_LED_REMOTE","HID_USAGE_LED_FORWARD","HID_USAGE_LED_REVERSE","HID_USAGE_LED_STOP","HID_USAGE_LED_REWIND","HID_USAGE_LED_FAST_FORWARD","HID_USAGE_LED_PLAY","HID_USAGE_LED_PAUSE","HID_USAGE_LED_RECORD","HID_USAGE_LED_ERROR","HID_USAGE_LED_USAGE_SELECTED_INDICATOR","HID_USAGE_LED_USAGE_IN_USE_INDICATOR","HID_USAGE_LED_USAGE_MULTI_MODE_INDICATOR","HID_USAGE_LED_INDICATOR_ON","HID_USAGE_LED_INDICATOR_FLASH","HID_USAGE_LED_INDICATOR_SLOW_BLINK","HID_USAGE_LED_INDICATOR_FAST_BLINK","HID_USAGE_LED_INDICATOR_OFF","HID_USAGE_LED_FLASH_ON_TIME","HID_USAGE_LED_SLOW_BLINK_ON_TIME","HID_USAGE_LED_SLOW_BLINK_OFF_TIME","HID_USAGE_LED_FAST_BLINK_ON_TIME","HID_USAGE_LED_FAST_BLINK_OFF_TIME","HID_USAGE_LED_USAGE_INDICATOR_COLOR","HID_USAGE_LED_INDICATOR_RED","HID_USAGE_LED_INDICATOR_GREEN","HID_USAGE_LED_INDICATOR_AMBER","HID_USAGE_LED_GENERIC_INDICATOR","HID_USAGE_LED_SYSTEM_SUSPEND","HID_USAGE_LED_EXTERNAL_POWER_CONNECTED","HID_USAGE_LED_INDICATOR_BLUE","HID_USAGE_LED_INDICATOR_ORANGE","HID_USAGE_LED_GOOD_STATUS","HID_USAGE_LED_WARNING_STATUS","HID_USAGE_LED_RGB_LED","HID_USAGE_LED_RED_LED_CHANNEL","HID_USAGE_LED_BLUE_LED_CHANNEL","HID_USAGE_LED_GREEN_LED_CHANNEL","HID_USAGE_LED_LED_INTENSITY","HID_USAGE_LED_PLAYER_INDICATOR","HID_USAGE_LED_PLAYER_1","HID_USAGE_LED_PLAYER_2","HID_USAGE_LED_PLAYER_3","HID_USAGE_LED_PLAYER_4","HID_USAGE_LED_PLAYER_5","HID_USAGE_LED_PLAYER_6","HID_USAGE_LED_PLAYER_7","HID_USAGE_LED_PLAYER_8","HID_USAGE_TELEPHONY_UNDEFINED","HID_USAGE_TELEPHONY_PHONE","HID_USAGE_TELEPHONY_ANSWERING_MACHINE","HID_USAGE_TELEPHONY_MESSAGE_CONTROLS","HID_USAGE_TELEPHONY_HANDSET","HID_USAGE_TELEPHONY_HEADSET","HID_USAGE_TELEPHONY_TELEPHONY_KEY_PAD","HID_USAGE_TELEPHONY_PROGRAMMABLE_BUTTON","HID_USAGE_TELEPHONY_HOOK_SWITCH","HID_USAGE_TELEPHONY_FLASH","HID_USAGE_TELEPHONY_FEATURE","HID_USAGE_TELEPHONY_HOLD","HID_USAGE_TELEPHONY_REDIAL","HID_USAGE_TELEPHONY_TRANSFER","HID_USAGE_TELEPHONY_DROP","HID_USAGE_TELEPHONY_PARK","HID_USAGE_TELEPHONY_FORWARD_CALLS","HID_USAGE_TELEPHONY_ALTERNATE_FUNCTION","HID_USAGE_TELEPHONY_LINE","HID_USAGE_TELEPHONY_SPEAKER_PHONE","HID_USAGE_TELEPHONY_CONFERENCE","HID_USAGE_TELEPHONY_RING_ENABLE","HID_USAGE_TELEPHONY_RING_SELECT","HID_USAGE_TELEPHONY_PHONE_MUTE","HID_USAGE_TELEPHONY_CALLER_ID","HID_USAGE_TELEPHONY_SEND","HID_USAGE_TELEPHONY_SPEED_DIAL","HID_USAGE_TELEPHONY_STORE_NUMBER","HID_USAGE_TELEPHONY_RECALL_NUMBER","HID_USAGE_TELEPHONY_PHONE_DIRECTORY","HID_USAGE_TELEPHONY_VOICE_MAIL","HID_USAGE_TELEPHONY_SCREEN_CALLS","HID_USAGE_TELEPHONY_DO_NOT_DISTURB","HID_USAGE_TELEPHONY_MESSAGE","HID_USAGE_TELEPHONY_ANSWER_ON_OFF","HID_USAGE_TELEPHONY_INSIDE_DIAL_TONE","HID_USAGE_TELEPHONY_OUTSIDE_DIAL_TONE","HID_USAGE_TELEPHONY_INSIDE_RING_TONE","HID_USAGE_TELEPHONY_OUTSIDE_RING_TONE","HID_USAGE_TELEPHONY_PRIORITY_RING_TONE","HID_USAGE_TELEPHONY_INSIDE_RINGBACK","HID_USAGE_TELEPHONY_PRIORITY_RINGBACK","HID_USAGE_TELEPHONY_LINE_BUSY_TONE","HID_USAGE_TELEPHONY_REORDER_TONE","HID_USAGE_TELEPHONY_CALL_WAITING_TONE","HID_USAGE_TELEPHONY_CONFIRMATION_TONE_1","HID_USAGE_TELEPHONY_CONFIRMATION_TONE_2","HID_USAGE_TELEPHONY_TONES_OFF","HID_USAGE_TELEPHONY_OUTSIDE_RINGBACK","HID_USAGE_TELEPHONY_RINGER","HID_USAGE_TELEPHONY_PHONE_KEY_0","HID_USAGE_TELEPHONY_PHONE_KEY_1","HID_USAGE_TELEPHONY_PHONE_KEY_2","HID_USAGE_TELEPHONY_PHONE_KEY_3","HID_USAGE_TELEPHONY_PHONE_KEY_4","HID_USAGE_TELEPHONY_PHONE_KEY_5","HID_USAGE_TELEPHONY_PHONE_KEY_6","HID_USAGE_TELEPHONY_PHONE_KEY_7","HID_USAGE_TELEPHONY_PHONE_KEY_8","HID_USAGE_TELEPHONY_PHONE_KEY_9","HID_USAGE_TELEPHONY_PHONE_KEY_STAR","HID_USAGE_TELEPHONY_PHONE_KEY_POUND","HID_USAGE_TELEPHONY_PHONE_KEY_A","HID_USAGE_TELEPHONY_PHONE_KEY_B","HID_USAGE_TELEPHONY_PHONE_KEY_C","HID_USAGE_TELEPHONY_PHONE_KEY_D","HID_USAGE_TELEPHONY_PHONE_CALL_HISTORY_KEY","HID_USAGE_TELEPHONY_PHONE_CALLER_ID_KEY","HID_USAGE_TELEPHONY_PHONE_SETTINGS_KEY","HID_USAGE_TELEPHONY_HOST_CONTROL","HID_USAGE_TELEPHONY_HOST_AVAILABLE","HID_USAGE_TELEPHONY_HOST_CALL_ACTIVE","HID_USAGE_TELEPHONY_ACTIVATE_HANDSET_AUDIO","HID_USAGE_TELEPHONY_RING_TYPE","HID_USAGE_TELEPHONY_RE_DIALABLE_PHONE_NUMBER","HID_USAGE_TELEPHONY_STOP_RING_TONE","HID_USAGE_TELEPHONY_PSTN_RING_TONE","HID_USAGE_TELEPHONY_HOST_RING_TONE","HID_USAGE_TELEPHONY_ALERT_SOUND_ERROR","HID_USAGE_TELEPHONY_ALERT_SOUND_CONFIRM","HID_USAGE_TELEPHONY_ALERT_SOUND_NOTIFICATION","HID_USAGE_TELEPHONY_SILENT_RING","HID_USAGE_TELEPHONY_EMAIL_MESSAGE_WAITING","HID_USAGE_TELEPHONY_VOICEMAIL_MESSAGE_WAITING","HID_USAGE_TELEPHONY_HOST_HOLD","HID_USAGE_TELEPHONY_INCOMING_CALL_HISTORY_COUNT","HID_USAGE_TELEPHONY_OUTGOING_CALL_HISTORY_COUNT","HID_USAGE_TELEPHONY_INCOMING_CALL_HISTORY","HID_USAGE_TELEPHONY_OUTGOING_CALL_HISTORY","HID_USAGE_TELEPHONY_PHONE_LOCALE","HID_USAGE_TELEPHONY_PHONE_TIME_SECOND","HID_USAGE_TELEPHONY_PHONE_TIME_MINUTE","HID_USAGE_TELEPHONY_PHONE_TIME_HOUR","HID_USAGE_TELEPHONY_PHONE_DATE_DAY","HID_USAGE_TELEPHONY_PHONE_DATE_MONTH","HID_USAGE_TELEPHONY_PHONE_DATE_YEAR","HID_USAGE_TELEPHONY_HANDSET_NICKNAME","HID_USAGE_TELEPHONY_ADDRESS_BOOK_ID","HID_USAGE_TELEPHONY_CALL_DURATION","HID_USAGE_TELEPHONY_DUAL_MODE_PHONE","HID_USAGE_CONSUMER_UNDEFINED","HID_USAGE_CONSUMER_CONSUMER_CONTROL","HID_USAGE_CONSUMER_NUMERIC_KEY_PAD","HID_USAGE_CONSUMER_PROGRAMMABLE_BUTTONS","HID_USAGE_CONSUMER_MICROPHONE","HID_USAGE_CONSUMER_HEADPHONE","HID_USAGE_CONSUMER_GRAPHIC_EQUALIZER","HID_USAGE_CONSUMER_INCREMENT10","HID_USAGE_CONSUMER_INCREMENT100","HID_USAGE_CONSUMER_AM_PM","HID_USAGE_CONSUMER_POWER","HID_USAGE_CONSUMER_RESET","HID_USAGE_CONSUMER_SLEEP","HID_USAGE_CONSUMER_SLEEP_AFTER","HID_USAGE_CONSUMER_SLEEP_MODE","HID_USAGE_CONSUMER_ILLUMINATION","HID_USAGE_CONSUMER_FUNCTION_BUTTONS","HID_USAGE_CONSUMER_MENU","HID_USAGE_CONSUMER_MENU_PICK","HID_USAGE_CONSUMER_MENU_UP","HID_USAGE_CONSUMER_MENU_DOWN","HID_USAGE_CONSUMER_MENU_LEFT","HID_USAGE_CONSUMER_MENU_RIGHT","HID_USAGE_CONSUMER_MENU_ESCAPE","HID_USAGE_CONSUMER_MENU_VALUE_INCREASE","HID_USAGE_CONSUMER_MENU_VALUE_DECREASE","HID_USAGE_CONSUMER_DATA_ON_SCREEN","HID_USAGE_CONSUMER_CLOSED_CAPTION","HID_USAGE_CONSUMER_CLOSED_CAPTION_SELECT","HID_USAGE_CONSUMER_VCR_TV","HID_USAGE_CONSUMER_BROADCAST_MODE","HID_USAGE_CONSUMER_SNAPSHOT","HID_USAGE_CONSUMER_STILL","HID_USAGE_CONSUMER_PICTURE_IN_PICTURE_TOGGLE","HID_USAGE_CONSUMER_PICTURE_IN_PICTURE_SWAP","HID_USAGE_CONSUMER_RED_MENU_BUTTON","HID_USAGE_CONSUMER_GREEN_MENU_BUTTON","HID_USAGE_CONSUMER_BLUE_MENU_BUTTON","HID_USAGE_CONSUMER_YELLOW_MENU_BUTTON","HID_USAGE_CONSUMER_ASPECT","HID_USAGE_CONSUMER_3D_MODE_SELECT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS_INCREMENT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS_DECREMENT","HID_USAGE_CONSUMER_DISPLAY_BRIGHTNESS","HID_USAGE_CONSUMER_DISPLAY_BACKLIGHT_TOGGLE","HID_USAGE_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MINIMUM","HID_USAGE_CONSUMER_DISPLAY_SET_BRIGHTNESS_TO_MAXIMUM","HID_USAGE_CONSUMER_DISPLAY_SET_AUTO_BRIGHTNESS","HID_USAGE_CONSUMER_CAMERA_ACCESS_ENABLED","HID_USAGE_CONSUMER_CAMERA_ACCESS_DISABLED","HID_USAGE_CONSUMER_CAMERA_ACCESS_TOGGLE","HID_USAGE_CONSUMER_KEYBOARD_BRIGHTNESS_INCREMENT","HID_USAGE_CONSUMER_KEYBOARD_BRIGHTNESS_DECREMENT","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_LEVEL","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_OOC","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_MINIMUM","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_SET_MAXIMUM","HID_USAGE_CONSUMER_KEYBOARD_BACKLIGHT_AUTO","HID_USAGE_CONSUMER_SELECTION","HID_USAGE_CONSUMER_ASSIGN_SELECTION","HID_USAGE_CONSUMER_MODE_STEP","HID_USAGE_CONSUMER_RECALL_LAST","HID_USAGE_CONSUMER_ENTER_CHANNEL","HID_USAGE_CONSUMER_ORDER_MOVIE","HID_USAGE_CONSUMER_CHANNEL","HID_USAGE_CONSUMER_MEDIA_SELECTION","HID_USAGE_CONSUMER_MEDIA_SELECT_COMPUTER","HID_USAGE_CONSUMER_MEDIA_SELECT_TV","HID_USAGE_CONSUMER_MEDIA_SELECT_WWW","HID_USAGE_CONSUMER_MEDIA_SELECT_DVD","HID_USAGE_CONSUMER_MEDIA_SELECT_TELEPHONE","HID_USAGE_CONSUMER_MEDIA_SELECT_PROGRAM_GUIDE","HID_USAGE_CONSUMER_MEDIA_SELECT_VIDEO_PHONE","HID_USAGE_CONSUMER_MEDIA_SELECT_GAMES","HID_USAGE_CONSUMER_MEDIA_SELECT_MESSAGES","HID_USAGE_CONSUMER_MEDIA_SELECT_CD","HID_USAGE_CONSUMER_MEDIA_SELECT_VCR","HID_USAGE_CONSUMER_MEDIA_SELECT_TUNER","HID_USAGE_CONSUMER_QUIT","HID_USAGE_CONSUMER_HELP","HID_USAGE_CONSUMER_MEDIA_SELECT_TAPE","HID_USAGE_CONSUMER_MEDIA_SELECT_CABLE","HID_USAGE_CONSUMER_MEDIA_SELECT_SATELLITE","HID_USAGE_CONSUMER_MEDIA_SELECT_SECURITY","HID_USAGE_CONSUMER_MEDIA_SELECT_HOME","HID_USAGE_CONSUMER_MEDIA_SELECT_CALL","HID_USAGE_CONSUMER_CHANNEL_INCREMENT","HID_USAGE_CONSUMER_CHANNEL_DECREMENT","HID_USAGE_CONSUMER_MEDIA_SELECT_SAP","HID_USAGE_CONSUMER_VCR_PLUS","HID_USAGE_CONSUMER_ONCE","HID_USAGE_CONSUMER_DAILY","HID_USAGE_CONSUMER_WEEKLY","HID_USAGE_CONSUMER_MONTHLY","HID_USAGE_CONSUMER_PLAY","HID_USAGE_CONSUMER_PAUSE","HID_USAGE_CONSUMER_RECORD","HID_USAGE_CONSUMER_FAST_FORWARD","HID_USAGE_CONSUMER_REWIND","HID_USAGE_CONSUMER_SCAN_NEXT_TRACK","HID_USAGE_CONSUMER_SCAN_PREVIOUS_TRACK","HID_USAGE_CONSUMER_STOP","HID_USAGE_CONSUMER_EJECT","HID_USAGE_CONSUMER_RANDOM_PLAY","HID_USAGE_CONSUMER_SELECT_DISC","HID_USAGE_CONSUMER_ENTER_DISC","HID_USAGE_CONSUMER_REPEAT","HID_USAGE_CONSUMER_TRACKING","HID_USAGE_CONSUMER_TRACK_NORMAL","HID_USAGE_CONSUMER_SLOW_TRACKING","HID_USAGE_CONSUMER_FRAME_FORWARD","HID_USAGE_CONSUMER_FRAME_BACK","HID_USAGE_CONSUMER_MARK","HID_USAGE_CONSUMER_CLEAR_MARK","HID_USAGE_CONSUMER_REPEAT_FROM_MARK","HID_USAGE_CONSUMER_RETURN_TO_MARK","HID_USAGE_CONSUMER_SEARCH_MARK_FORWARD","HID_USAGE_CONSUMER_SEARCH_MARK_BACKWARDS","HID_USAGE_CONSUMER_COUNTER_RESET","HID_USAGE_CONSUMER_SHOW_COUNTER","HID_USAGE_CONSUMER_TRACKING_INCREMENT","HID_USAGE_CONSUMER_TRACKING_DECREMENT","HID_USAGE_CONSUMER_STOP_EJECT","HID_USAGE_CONSUMER_PLAY_PAUSE","HID_USAGE_CONSUMER_PLAY_SKIP","HID_USAGE_CONSUMER_VOICE_COMMAND","HID_USAGE_CONSUMER_INVOKE_CAPTURE_INTERFACE","HID_USAGE_CONSUMER_START_OR_STOP_GAME_RECORDING","HID_USAGE_CONSUMER_HISTORICAL_GAME_CAPTURE","HID_USAGE_CONSUMER_CAPTURE_GAME_SCREENSHOT","HID_USAGE_CONSUMER_SHOW_OR_HIDE_RECORDING_INDICATOR","HID_USAGE_CONSUMER_START_OR_STOP_MICROPHONE_CAPTURE","HID_USAGE_CONSUMER_START_OR_STOP_CAMERA_CAPTURE","HID_USAGE_CONSUMER_START_OR_STOP_GAME_BROADCAST","HID_USAGE_CONSUMER_VOLUME","HID_USAGE_CONSUMER_BALANCE","HID_USAGE_CONSUMER_MUTE","HID_USAGE_CONSUMER_BASS","HID_USAGE_CONSUMER_TREBLE","HID_USAGE_CONSUMER_BASS_BOOST","HID_USAGE_CONSUMER_SURROUND_MODE","HID_USAGE_CONSUMER_LOUDNESS","HID_USAGE_CONSUMER_MPX","HID_USAGE_CONSUMER_VOLUME_INCREMENT","HID_USAGE_CONSUMER_VOLUME_DECREMENT","HID_USAGE_CONSUMER_SPEED_SELECT","HID_USAGE_CONSUMER_PLAYBACK_SPEED","HID_USAGE_CONSUMER_STANDARD_PLAY","HID_USAGE_CONSUMER_LONG_PLAY","HID_USAGE_CONSUMER_EXTENDED_PLAY","HID_USAGE_CONSUMER_SLOW","HID_USAGE_CONSUMER_FAN_ENABLE","HID_USAGE_CONSUMER_FAN_SPEED","HID_USAGE_CONSUMER_LIGHT_ENABLE","HID_USAGE_CONSUMER_LIGHT_ILLUMINATION_LEVEL","HID_USAGE_CONSUMER_CLIMATE_CONTROL_ENABLE","HID_USAGE_CONSUMER_ROOM_TEMPERATURE","HID_USAGE_CONSUMER_SECURITY_ENABLE","HID_USAGE_CONSUMER_FIRE_ALARM","HID_USAGE_CONSUMER_POLICE_ALARM","HID_USAGE_CONSUMER_PROXIMITY","HID_USAGE_CONSUMER_MOTION","HID_USAGE_CONSUMER_DURESS_ALARM","HID_USAGE_CONSUMER_HOLDUP_ALARM","HID_USAGE_CONSUMER_MEDICAL_ALARM","HID_USAGE_CONSUMER_BALANCE_RIGHT","HID_USAGE_CONSUMER_BALANCE_LEFT","HID_USAGE_CONSUMER_BASS_INCREMENT","HID_USAGE_CONSUMER_BASS_DECREMENT","HID_USAGE_CONSUMER_TREBLE_INCREMENT","HID_USAGE_CONSUMER_TREBLE_DECREMENT","HID_USAGE_CONSUMER_SPEAKER_SYSTEM","HID_USAGE_CONSUMER_CHANNEL_LEFT","HID_USAGE_CONSUMER_CHANNEL_RIGHT","HID_USAGE_CONSUMER_CHANNEL_CENTER","HID_USAGE_CONSUMER_CHANNEL_FRONT","HID_USAGE_CONSUMER_CHANNEL_CENTER_FRONT","HID_USAGE_CONSUMER_CHANNEL_SIDE","HID_USAGE_CONSUMER_CHANNEL_SURROUND","HID_USAGE_CONSUMER_CHANNEL_LOW_FREQUENCY_ENHANCEMENT","HID_USAGE_CONSUMER_CHANNEL_TOP","HID_USAGE_CONSUMER_CHANNEL_UNKNOWN","HID_USAGE_CONSUMER_SUB_CHANNEL","HID_USAGE_CONSUMER_SUB_CHANNEL_INCREMENT","HID_USAGE_CONSUMER_SUB_CHANNEL_DECREMENT","HID_USAGE_CONSUMER_ALTERNATE_AUDIO_INCREMENT","HID_USAGE_CONSUMER_ALTERNATE_AUDIO_DECREMENT","HID_USAGE_CONSUMER_APPLICATION_LAUNCH_BUTTONS","HID_USAGE_CONSUMER_AL_LAUNCH_BUTTON_CONFIGURATION_TOOL","HID_USAGE_CONSUMER_AL_PROGRAMMABLE_BUTTON_CONFIGURATION","HID_USAGE_CONSUMER_AL_CONSUMER_CONTROL_CONFIGURATION","HID_USAGE_CONSUMER_AL_WORD_PROCESSOR","HID_USAGE_CONSUMER_AL_TEXT_EDITOR","HID_USAGE_CONSUMER_AL_SPREADSHEET","HID_USAGE_CONSUMER_AL_GRAPHICS_EDITOR","HID_USAGE_CONSUMER_AL_PRESENTATION_APP","HID_USAGE_CONSUMER_AL_DATABASE_APP","HID_USAGE_CONSUMER_AL_EMAIL_READER","HID_USAGE_CONSUMER_AL_NEWSREADER","HID_USAGE_CONSUMER_AL_VOICEMAIL","HID_USAGE_CONSUMER_AL_CONTACTS_ADDRESS_BOOK","HID_USAGE_CONSUMER_AL_CALENDAR_SCHEDULE","HID_USAGE_CONSUMER_AL_TASK_PROJECT_MANAGER","HID_USAGE_CONSUMER_AL_LOG_JOURNAL_TIMECARD","HID_USAGE_CONSUMER_AL_CHECKBOOK_FINANCE","HID_USAGE_CONSUMER_AL_CALCULATOR","HID_USAGE_CONSUMER_AL_A_V_CAPTURE_PLAYBACK","HID_USAGE_CONSUMER_AL_LOCAL_MACHINE_BROWSER","HID_USAGE_CONSUMER_AL_LAN_WAN_BROWSER","HID_USAGE_CONSUMER_AL_INTERNET_BROWSER","HID_USAGE_CONSUMER_AL_REMOTE_NETWORKING_ISP_CONNECT","HID_USAGE_CONSUMER_AL_NETWORK_CONFERENCE","HID_USAGE_CONSUMER_AL_NETWORK_CHAT","HID_USAGE_CONSUMER_AL_TELEPHONY_DIALER","HID_USAGE_CONSUMER_AL_LOGON","HID_USAGE_CONSUMER_AL_LOGOFF","HID_USAGE_CONSUMER_AL_LOGON_LOGOFF","HID_USAGE_CONSUMER_AL_TERMINAL_LOCK_SCREENSAVER","HID_USAGE_CONSUMER_AL_CONTROL_PANEL","HID_USAGE_CONSUMER_AL_COMMAND_LINE_PROCESSOR_RUN","HID_USAGE_CONSUMER_AL_PROCESS_TASK_MANAGER","HID_USAGE_CONSUMER_AL_SELECT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_NEXT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_PREVIOUS_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_PREEMPTIVE_HALT_TASK_APPLICATION","HID_USAGE_CONSUMER_AL_INTEGRATED_HELP_CENTER","HID_USAGE_CONSUMER_AL_DOCUMENTS","HID_USAGE_CONSUMER_AL_THESAURUS","HID_USAGE_CONSUMER_AL_DICTIONARY","HID_USAGE_CONSUMER_AL_DESKTOP","HID_USAGE_CONSUMER_AL_SPELL_CHECK","HID_USAGE_CONSUMER_AL_GRAMMAR_CHECK","HID_USAGE_CONSUMER_AL_WIRELESS_STATUS","HID_USAGE_CONSUMER_AL_KEYBOARD_LAYOUT","HID_USAGE_CONSUMER_AL_VIRUS_PROTECTION","HID_USAGE_CONSUMER_AL_ENCRYPTION","HID_USAGE_CONSUMER_AL_SCREEN_SAVER","HID_USAGE_CONSUMER_AL_ALARMS","HID_USAGE_CONSUMER_AL_CLOCK","HID_USAGE_CONSUMER_AL_FILE_BROWSER","HID_USAGE_CONSUMER_AL_POWER_STATUS","HID_USAGE_CONSUMER_AL_IMAGE_BROWSER","HID_USAGE_CONSUMER_AL_AUDIO_BROWSER","HID_USAGE_CONSUMER_AL_MOVIE_BROWSER","HID_USAGE_CONSUMER_AL_DIGITAL_RIGHTS_MANAGER","HID_USAGE_CONSUMER_AL_DIGITAL_WALLET","HID_USAGE_CONSUMER_AL_INSTANT_MESSAGING","HID_USAGE_CONSUMER_AL_OEM_FEATURES_TIPS_TUTORIAL_BROWSER","HID_USAGE_CONSUMER_AL_OEM_HELP","HID_USAGE_CONSUMER_AL_ONLINE_COMMUNITY","HID_USAGE_CONSUMER_AL_ENTERTAINMENT_CONTENT_BROWSER","HID_USAGE_CONSUMER_AL_ONLINE_SHOPPING_BROWSER","HID_USAGE_CONSUMER_AL_SMARTCARD_INFORMATION_HELP","HID_USAGE_CONSUMER_AL_MARKET_MONITOR_FINANCE_BROWSER","HID_USAGE_CONSUMER_AL_CUSTOMIZED_CORPORATE_NEWS_BROWSER","HID_USAGE_CONSUMER_AL_ONLINE_ACTIVITY_BROWSER","HID_USAGE_CONSUMER_AL_RESEARCH_SEARCH_BROWSER","HID_USAGE_CONSUMER_AL_AUDIO_PLAYER","HID_USAGE_CONSUMER_AL_MESSAGE_STATUS","HID_USAGE_CONSUMER_AL_CONTACT_SYNC","HID_USAGE_CONSUMER_AL_NAVIGATION","HID_USAGE_CONSUMER_AL_CONTEXT_AWARE_DESKTOP_ASSISTANT","HID_USAGE_CONSUMER_GENERIC_GUI_APPLICATION_CONTROLS","HID_USAGE_CONSUMER_AC_NEW","HID_USAGE_CONSUMER_AC_OPEN","HID_USAGE_CONSUMER_AC_CLOSE","HID_USAGE_CONSUMER_AC_EXIT","HID_USAGE_CONSUMER_AC_MAXIMIZE","HID_USAGE_CONSUMER_AC_MINIMIZE","HID_USAGE_CONSUMER_AC_SAVE","HID_USAGE_CONSUMER_AC_PRINT","HID_USAGE_CONSUMER_AC_PROPERTIES","HID_USAGE_CONSUMER_AC_UNDO","HID_USAGE_CONSUMER_AC_COPY","HID_USAGE_CONSUMER_AC_CUT","HID_USAGE_CONSUMER_AC_PASTE","HID_USAGE_CONSUMER_AC_SELECT_ALL","HID_USAGE_CONSUMER_AC_FIND","HID_USAGE_CONSUMER_AC_FIND_AND_REPLACE","HID_USAGE_CONSUMER_AC_SEARCH","HID_USAGE_CONSUMER_AC_GO_TO","HID_USAGE_CONSUMER_AC_HOME","HID_USAGE_CONSUMER_AC_BACK","HID_USAGE_CONSUMER_AC_FORWARD","HID_USAGE_CONSUMER_AC_STOP","HID_USAGE_CONSUMER_AC_REFRESH","HID_USAGE_CONSUMER_AC_PREVIOUS_LINK","HID_USAGE_CONSUMER_AC_NEXT_LINK","HID_USAGE_CONSUMER_AC_BOOKMARKS","HID_USAGE_CONSUMER_AC_HISTORY","HID_USAGE_CONSUMER_AC_SUBSCRIPTIONS","HID_USAGE_CONSUMER_AC_ZOOM_IN","HID_USAGE_CONSUMER_AC_ZOOM_OUT","HID_USAGE_CONSUMER_AC_ZOOM","HID_USAGE_CONSUMER_AC_FULL_SCREEN_VIEW","HID_USAGE_CONSUMER_AC_NORMAL_VIEW","HID_USAGE_CONSUMER_AC_VIEW_TOGGLE","HID_USAGE_CONSUMER_AC_SCROLL_UP","HID_USAGE_CONSUMER_AC_SCROLL_DOWN","HID_USAGE_CONSUMER_AC_SCROLL","HID_USAGE_CONSUMER_AC_PAN_LEFT","HID_USAGE_CONSUMER_AC_PAN_RIGHT","HID_USAGE_CONSUMER_AC_PAN","HID_USAGE_CONSUMER_AC_NEW_WINDOW","HID_USAGE_CONSUMER_AC_TILE_HORIZONTALLY","HID_USAGE_CONSUMER_AC_TILE_VERTICALLY","HID_USAGE_CONSUMER_AC_FORMAT","HID_USAGE_CONSUMER_AC_EDIT","HID_USAGE_CONSUMER_AC_BOLD","HID_USAGE_CONSUMER_AC_ITALICS","HID_USAGE_CONSUMER_AC_UNDERLINE","HID_USAGE_CONSUMER_AC_STRIKETHROUGH","HID_USAGE_CONSUMER_AC_SUBSCRIPT","HID_USAGE_CONSUMER_AC_SUPERSCRIPT","HID_USAGE_CONSUMER_AC_ALL_CAPS","HID_USAGE_CONSUMER_AC_ROTATE","HID_USAGE_CONSUMER_AC_RESIZE","HID_USAGE_CONSUMER_AC_FLIP_HORIZONTAL","HID_USAGE_CONSUMER_AC_FLIP_VERTICAL","HID_USAGE_CONSUMER_AC_MIRROR_HORIZONTAL","HID_USAGE_CONSUMER_AC_MIRROR_VERTICAL","HID_USAGE_CONSUMER_AC_FONT_SELECT","HID_USAGE_CONSUMER_AC_FONT_COLOR","HID_USAGE_CONSUMER_AC_FONT_SIZE","HID_USAGE_CONSUMER_AC_JUSTIFY_LEFT","HID_USAGE_CONSUMER_AC_JUSTIFY_CENTER_H","HID_USAGE_CONSUMER_AC_JUSTIFY_RIGHT","HID_USAGE_CONSUMER_AC_JUSTIFY_BLOCK_H","HID_USAGE_CONSUMER_AC_JUSTIFY_TOP","HID_USAGE_CONSUMER_AC_JUSTIFY_CENTER_V","HID_USAGE_CONSUMER_AC_JUSTIFY_BOTTOM","HID_USAGE_CONSUMER_AC_JUSTIFY_BLOCK_V","HID_USAGE_CONSUMER_AC_INDENT_DECREASE","HID_USAGE_CONSUMER_AC_INDENT_INCREASE","HID_USAGE_CONSUMER_AC_NUMBERED_LIST","HID_USAGE_CONSUMER_AC_RESTART_NUMBERING","HID_USAGE_CONSUMER_AC_BULLETED_LIST","HID_USAGE_CONSUMER_AC_PROMOTE","HID_USAGE_CONSUMER_AC_DEMOTE","HID_USAGE_CONSUMER_AC_YES","HID_USAGE_CONSUMER_AC_NO","HID_USAGE_CONSUMER_AC_CANCEL","HID_USAGE_CONSUMER_AC_CATALOG","HID_USAGE_CONSUMER_AC_BUY_CHECKOUT","HID_USAGE_CONSUMER_AC_ADD_TO_CART","HID_USAGE_CONSUMER_AC_EXPAND","HID_USAGE_CONSUMER_AC_EXPAND_ALL","HID_USAGE_CONSUMER_AC_COLLAPSE","HID_USAGE_CONSUMER_AC_COLLAPSE_ALL","HID_USAGE_CONSUMER_AC_PRINT_PREVIEW","HID_USAGE_CONSUMER_AC_PASTE_SPECIAL","HID_USAGE_CONSUMER_AC_INSERT_MODE","HID_USAGE_CONSUMER_AC_DELETE","HID_USAGE_CONSUMER_AC_LOCK","HID_USAGE_CONSUMER_AC_UNLOCK","HID_USAGE_CONSUMER_AC_PROTECT","HID_USAGE_CONSUMER_AC_UNPROTECT","HID_USAGE_CONSUMER_AC_ATTACH_COMMENT","HID_USAGE_CONSUMER_AC_DELETE_COMMENT","HID_USAGE_CONSUMER_AC_VIEW_COMMENT","HID_USAGE_CONSUMER_AC_SELECT_WORD","HID_USAGE_CONSUMER_AC_SELECT_SENTENCE","HID_USAGE_CONSUMER_AC_SELECT_PARAGRAPH","HID_USAGE_CONSUMER_AC_SELECT_COLUMN","HID_USAGE_CONSUMER_AC_SELECT_ROW","HID_USAGE_CONSUMER_AC_SELECT_TABLE","HID_USAGE_CONSUMER_AC_SELECT_OBJECT","HID_USAGE_CONSUMER_AC_REDO_REPEAT","HID_USAGE_CONSUMER_AC_SORT","HID_USAGE_CONSUMER_AC_SORT_ASCENDING","HID_USAGE_CONSUMER_AC_SORT_DESCENDING","HID_USAGE_CONSUMER_AC_FILTER","HID_USAGE_CONSUMER_AC_SET_CLOCK","HID_USAGE_CONSUMER_AC_VIEW_CLOCK","HID_USAGE_CONSUMER_AC_SELECT_TIME_ZONE","HID_USAGE_CONSUMER_AC_EDIT_TIME_ZONES","HID_USAGE_CONSUMER_AC_SET_ALARM","HID_USAGE_CONSUMER_AC_CLEAR_ALARM","HID_USAGE_CONSUMER_AC_SNOOZE_ALARM","HID_USAGE_CONSUMER_AC_RESET_ALARM","HID_USAGE_CONSUMER_AC_SYNCHRONIZE","HID_USAGE_CONSUMER_AC_SEND_RECEIVE","HID_USAGE_CONSUMER_AC_SEND_TO","HID_USAGE_CONSUMER_AC_REPLY","HID_USAGE_CONSUMER_AC_REPLY_ALL","HID_USAGE_CONSUMER_AC_FORWARD_MSG","HID_USAGE_CONSUMER_AC_SEND","HID_USAGE_CONSUMER_AC_ATTACH_FILE","HID_USAGE_CONSUMER_AC_UPLOAD","HID_USAGE_CONSUMER_AC_DOWNLOAD_SAVE_TARGET_AS","HID_USAGE_CONSUMER_AC_SET_BORDERS","HID_USAGE_CONSUMER_AC_INSERT_ROW","HID_USAGE_CONSUMER_AC_INSERT_COLUMN","HID_USAGE_CONSUMER_AC_INSERT_FILE","HID_USAGE_CONSUMER_AC_INSERT_PICTURE","HID_USAGE_CONSUMER_AC_INSERT_OBJECT","HID_USAGE_CONSUMER_AC_INSERT_SYMBOL","HID_USAGE_CONSUMER_AC_SAVE_AND_CLOSE","HID_USAGE_CONSUMER_AC_RENAME","HID_USAGE_CONSUMER_AC_MERGE","HID_USAGE_CONSUMER_AC_SPLIT","HID_USAGE_CONSUMER_AC_DISRIBUTE_HORIZONTALLY","HID_USAGE_CONSUMER_AC_DISTRIBUTE_VERTICALLY","HID_USAGE_CONSUMER_AC_NEXT_KEYBOARD_LAYOUT_SELECT","HID_USAGE_CONSUMER_AC_NAVIGATION_GUIDANCE","HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_WINDOWS","HID_USAGE_CONSUMER_AC_SOFT_KEY_LEFT","HID_USAGE_CONSUMER_AC_SOFT_KEY_RIGHT","HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_APPLICATIONS","HID_USAGE_CONSUMER_AC_IDLE_KEEP_ALIVE","HID_USAGE_CONSUMER_EXTENDED_KEYBOARD_ATTRIBUTES_COLLECTION","HID_USAGE_CONSUMER_KEYBOARD_FORM_FACTOR","HID_USAGE_CONSUMER_KEYBOARD_KEY_TYPE","HID_USAGE_CONSUMER_KEYBOARD_PHYSICAL_LAYOUT","HID_USAGE_CONSUMER_VENDOR_SPECIFIC_KEYBOARD_PHYSICAL_LAYOUT","HID_USAGE_CONSUMER_KEYBOARD_IETF_LANGUAGE_TAG_INDEX","HID_USAGE_CONSUMER_IMPLEMENTED_KEYBOARD_INPUT_ASSIST_CONTROLS","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_ACCEPT","HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_CANCEL","HID_USAGE_CONSUMER_PRIVACY_SCREEN_TOGGLE","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_DECREMENT","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_INCREMENT","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_MINIMUM","HID_USAGE_CONSUMER_PRIVACY_SCREEN_LEVEL_MAXIMUM","HID_USAGE_CONSUMER_CONTACT_EDITED","HID_USAGE_CONSUMER_CONTACT_ADDED","HID_USAGE_CONSUMER_CONTACT_RECORD_ACTIVE","HID_USAGE_CONSUMER_CONTACT_INDEX","HID_USAGE_CONSUMER_CONTACT_NICKNAME","HID_USAGE_CONSUMER_CONTACT_FIRST_NAME","HID_USAGE_CONSUMER_CONTACT_LAST_NAME","HID_USAGE_CONSUMER_CONTACT_FULL_NAME","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_PERSONAL","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_BUSINESS","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_MOBILE","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_PAGER","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_FAX","HID_USAGE_CONSUMER_CONTACT_PHONE_NUMBER_OTHER","HID_USAGE_CONSUMER_CONTACT_EMAIL_PERSONAL","HID_USAGE_CONSUMER_CONTACT_EMAIL_BUSINESS","HID_USAGE_CONSUMER_CONTACT_EMAIL_OTHER","HID_USAGE_CONSUMER_CONTACT_EMAIL_MAIN","HID_USAGE_CONSUMER_CONTACT_SPEED_DIAL_NUMBER","HID_USAGE_CONSUMER_CONTACT_STATUS_FLAG","HID_USAGE_CONSUMER_CONTACT_MISC","HID_USAGE_DIGITIZERS_UNDEFINED","HID_USAGE_DIGITIZERS_DIGITIZER","HID_USAGE_DIGITIZERS_PEN","HID_USAGE_DIGITIZERS_LIGHT_PEN","HID_USAGE_DIGITIZERS_TOUCH_SCREEN","HID_USAGE_DIGITIZERS_TOUCH_PAD","HID_USAGE_DIGITIZERS_WHITEBOARD","HID_USAGE_DIGITIZERS_COORDINATE_MEASURING_MACHINE","HID_USAGE_DIGITIZERS_3D_DIGITIZER","HID_USAGE_DIGITIZERS_STEREO_PLOTTER","HID_USAGE_DIGITIZERS_ARTICULATED_ARM","HID_USAGE_DIGITIZERS_ARMATURE","HID_USAGE_DIGITIZERS_MULTIPLE_POINT_DIGITIZER","HID_USAGE_DIGITIZERS_FREE_SPACE_WAND","HID_USAGE_DIGITIZERS_DEVICE_CONFIGURATION","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_DIGITIZER","HID_USAGE_DIGITIZERS_STYLUS","HID_USAGE_DIGITIZERS_PUCK","HID_USAGE_DIGITIZERS_FINGER","HID_USAGE_DIGITIZERS_DEVICE_SETTINGS","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE","HID_USAGE_DIGITIZERS_TIP_PRESSURE","HID_USAGE_DIGITIZERS_BARREL_PRESSURE","HID_USAGE_DIGITIZERS_IN_RANGE","HID_USAGE_DIGITIZERS_TOUCH","HID_USAGE_DIGITIZERS_UNTOUCH","HID_USAGE_DIGITIZERS_TAP","HID_USAGE_DIGITIZERS_QUALITY","HID_USAGE_DIGITIZERS_DATA_VALID","HID_USAGE_DIGITIZERS_TRANSDUCER_INDEX","HID_USAGE_DIGITIZERS_TABLET_FUNCTION_KEYS","HID_USAGE_DIGITIZERS_PROGRAM_CHANGE_KEYS","HID_USAGE_DIGITIZERS_BATTERY_STRENGTH","HID_USAGE_DIGITIZERS_INVERT","HID_USAGE_DIGITIZERS_X_TILT","HID_USAGE_DIGITIZERS_Y_TILT","HID_USAGE_DIGITIZERS_AZIMUTH","HID_USAGE_DIGITIZERS_ALTITUDE","HID_USAGE_DIGITIZERS_TWIST","HID_USAGE_DIGITIZERS_TIP_SWITCH","HID_USAGE_DIGITIZERS_SECONDARY_TIP_SWITCH","HID_USAGE_DIGITIZERS_BARREL_SWITCH","HID_USAGE_DIGITIZERS_ERASER","HID_USAGE_DIGITIZERS_TABLET_PICK","HID_USAGE_DIGITIZERS_TOUCH_VALID","HID_USAGE_DIGITIZERS_WIDTH","HID_USAGE_DIGITIZERS_HEIGHT","HID_USAGE_DIGITIZERS_CONTACT_IDENTIFIER","HID_USAGE_DIGITIZERS_DEVICE_MODE","HID_USAGE_DIGITIZERS_DEVICE_IDENTIFIER","HID_USAGE_DIGITIZERS_CONTACT_COUNT","HID_USAGE_DIGITIZERS_CONTACT_COUNT_MAXIMUM","HID_USAGE_DIGITIZERS_SCAN_TIME","HID_USAGE_DIGITIZERS_SURFACE_SWITCH","HID_USAGE_DIGITIZERS_BUTTON_SWITCH","HID_USAGE_DIGITIZERS_PAD_TYPE","HID_USAGE_DIGITIZERS_SECONDARY_BARREL_SWITCH","HID_USAGE_DIGITIZERS_TRANSDUCER_SERIAL_NUMBER","HID_USAGE_DIGITIZERS_PREFERRED_COLOR","HID_USAGE_DIGITIZERS_PREFERRED_COLOR_IS_LOCKED","HID_USAGE_DIGITIZERS_PREFERRED_LINE_WIDTH","HID_USAGE_DIGITIZERS_PREFERRED_LINE_WIDTH_IS_LOCKED","HID_USAGE_DIGITIZERS_LATENCY_MODE","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_QUALITY","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE_DATA_LENGTH","HID_USAGE_DIGITIZERS_CHARACTER_GESTURE_DATA","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_ENCODING","HID_USAGE_DIGITIZERS_UTF8_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF16_LITTLE_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF16_BIG_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF32_LITTLE_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_UTF32_BIG_ENDIAN_CHARACTER_GESTURE_ENCODING","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_PROTOCOL_VENDOR_ID","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_PROTOCOL_VERSION","HID_USAGE_DIGITIZERS_CAPACITIVE_HEAT_MAP_FRAME_DATA","HID_USAGE_DIGITIZERS_GESTURE_CHARACTER_ENABLE","HID_USAGE_DIGITIZERS_PREFERRED_LINE_STYLE","HID_USAGE_DIGITIZERS_PREFERRED_LINE_STYLE_IS_LOCKED","HID_USAGE_DIGITIZERS_INK","HID_USAGE_DIGITIZERS_PENCIL","HID_USAGE_DIGITIZERS_HIGHLIGHTER","HID_USAGE_DIGITIZERS_CHISEL_MARKER","HID_USAGE_DIGITIZERS_BRUSH","HID_USAGE_DIGITIZERS_NO_PREFERENCE","HID_USAGE_DIGITIZERS_DIGITIZER_DIAGNOSTIC","HID_USAGE_DIGITIZERS_DIGITIZER_ERROR","HID_USAGE_DIGITIZERS_ERR_NORMAL_STATUS","HID_USAGE_DIGITIZERS_ERR_TRANSDUCERS_EXCEEDED","HID_USAGE_DIGITIZERS_ERR_FULL_TRANS_FEATURES_UNAVAILABLE","HID_USAGE_DIGITIZERS_ERR_CHARGE_LOW","HID_USAGE_DIGITIZERS_TRANSDUCER_SOFTWARE_INFO","HID_USAGE_DIGITIZERS_TRANSDUCER_VENDOR_ID","HID_USAGE_DIGITIZERS_TRANSDUCER_PRODUCT_ID","HID_USAGE_DIGITIZERS_DEVICE_SUPPORTED_PROTOCOLS","HID_USAGE_DIGITIZERS_TRANSDUCER_SUPPORTED_PROTOCOLS","HID_USAGE_DIGITIZERS_NO_PROTOCOL","HID_USAGE_DIGITIZERS_WACOM_AES_PROTOCOL","HID_USAGE_DIGITIZERS_USI_PROTOCOL","HID_USAGE_DIGITIZERS_MICROSOFT_PEN_PROTOCOL","HID_USAGE_DIGITIZERS_SUPPORTED_REPORT_RATES","HID_USAGE_DIGITIZERS_REPORT_RATE","HID_USAGE_DIGITIZERS_TRANSDUCER_CONNECTED","HID_USAGE_DIGITIZERS_SWITCH_DISABLED","HID_USAGE_DIGITIZERS_SWITCH_UNIMPLEMENTED","HID_USAGE_DIGITIZERS_TRANSDUCER_SWITCHES","HID_USAGE_HAPTICS_UNDEFINED","HID_USAGE_HAPTICS_SIMPLE_HAPTIC_CONTROLLER","HID_USAGE_HAPTICS_WAVEFORM_LIST","HID_USAGE_HAPTICS_DURATION_LIST","HID_USAGE_HAPTICS_AUTO_TRIGGER","HID_USAGE_HAPTICS_MANUAL_TRIGGER","HID_USAGE_HAPTICS_AUTO_TRIGGER_ASSOCIATED_CONTROL","HID_USAGE_HAPTICS_INTENSITY","HID_USAGE_HAPTICS_REPEAT_COUNT","HID_USAGE_HAPTICS_RETRIGGER_PERIOD","HID_USAGE_HAPTICS_WAVEFORM_VENDOR_PAGE","HID_USAGE_HAPTICS_WAVEFORM_VENDOR_ID","HID_USAGE_HAPTICS_WAVEFORM_CUTOFF_TIME","HID_USAGE_HAPTICS_WAVEFORM_NONE","HID_USAGE_HAPTICS_WAVEFORM_STOP","HID_USAGE_HAPTICS_WAVEFORM_CLICK","HID_USAGE_HAPTICS_WAVEFORM_BUZZ_CONTINUOUS","HID_USAGE_HAPTICS_WAVEFORM_RUMBLE_CONTINUOUS","HID_USAGE_HAPTICS_WAVEFORM_PRESS","HID_USAGE_HAPTICS_WAVEFORM_RELEASE","HID_USAGE_PID_UNDEFINED","HID_USAGE_PID_PHYSICAL_INTERFACE_DEVICE","HID_USAGE_PID_NORMAL","HID_USAGE_PID_SET_EFFECT_REPORT","HID_USAGE_PID_EFFECT_BLOCK_INDEX","HID_USAGE_PID_PARAMETER_BLOCK_OFFSET","HID_USAGE_PID_ROM_FLAG","HID_USAGE_PID_EFFECT_TYPE","HID_USAGE_PID_ET_CONSTANT_FORCE","HID_USAGE_PID_ET_RAMP","HID_USAGE_PID_ET_CUSTOM_FORCE_DATA","HID_USAGE_PID_ET_SQUARE","HID_USAGE_PID_ET_SINE","HID_USAGE_PID_ET_TRIANGLE","HID_USAGE_PID_ET_SAWTOOTH_UP","HID_USAGE_PID_ET_SAWTOOTH_DOWN","HID_USAGE_PID_ET_SPRING","HID_USAGE_PID_ET_DAMPER","HID_USAGE_PID_ET_INERTIA","HID_USAGE_PID_ET_FRICTION","HID_USAGE_PID_DURATION","HID_USAGE_PID_SAMPLE_PERIOD","HID_USAGE_PID_GAIN","HID_USAGE_PID_TRIGGER_BUTTON","HID_USAGE_PID_TRIGGER_REPEAT_INTERVAL","HID_USAGE_PID_AXES_ENABLE","HID_USAGE_PID_DIRECTION_ENABLE","HID_USAGE_PID_DIRECTION","HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_OFFSET","HID_USAGE_PID_BLOCK_TYPE","HID_USAGE_PID_SET_ENVELOPE_REPORT","HID_USAGE_PID_ATTACK_LEVEL","HID_USAGE_PID_ATTACK_TIME","HID_USAGE_PID_FADE_LEVEL","HID_USAGE_PID_FADE_TIME","HID_USAGE_PID_SET_CONDITION_REPORT","HID_USAGE_PID_CP_OFFSET","HID_USAGE_PID_POSITIVE_COEFFICIENT","HID_USAGE_PID_NEGATIVE_COEFFICIENT","HID_USAGE_PID_POSITIVE_SATURATION","HID_USAGE_PID_NEGATIVE_SATURATION","HID_USAGE_PID_DEAD_BAND","HID_USAGE_PID_DOWNLOAD_FORCE_SAMPLE","HID_USAGE_PID_ISOCH_CUSTOM_FORCE_ENABLE","HID_USAGE_PID_CUSTOM_FORCE_DATA_REPORT","HID_USAGE_PID_CUSTOM_FORCE_DATA","HID_USAGE_PID_CUSTOM_FORCE_VENDOR_DEFINED_DATA","HID_USAGE_PID_SET_CUSTOM_FORCE_REPORT","HID_USAGE_PID_CUSTOM_FORCE_DATA_OFFSET","HID_USAGE_PID_SAMPLE_COUNT","HID_USAGE_PID_SET_PERIODIC_REPORT","HID_USAGE_PID_OFFSET","HID_USAGE_PID_MAGNITUDE","HID_USAGE_PID_PHASE","HID_USAGE_PID_PERIOD","HID_USAGE_PID_SET_CONSTANT_FORCE_REPORT","HID_USAGE_PID_SET_RAMP_FORCE_REPORT","HID_USAGE_PID_RAMP_START","HID_USAGE_PID_RAMP_END","HID_USAGE_PID_EFFECT_OPERATION_REPORT","HID_USAGE_PID_EFFECT_OPERATION","HID_USAGE_PID_OP_EFFECT_START","HID_USAGE_PID_OP_EFFECT_START_SOLO","HID_USAGE_PID_OP_EFFECT_STOP","HID_USAGE_PID_LOOP_COUNT","HID_USAGE_PID_DEVICE_GAIN_REPORT","HID_USAGE_PID_DEVICE_GAIN","HID_USAGE_PID_PID_POOL_REPORT","HID_USAGE_PID_RAM_POOL_SIZE","HID_USAGE_PID_ROM_POOL_SIZE","HID_USAGE_PID_ROM_EFFECT_BLOCK_COUNT","HID_USAGE_PID_SIMULTANEOUS_EFFECTS_MAX","HID_USAGE_PID_POOL_ALIGNMENT","HID_USAGE_PID_PID_POOL_MOVE_REPORT","HID_USAGE_PID_MOVE_SOURCE","HID_USAGE_PID_MOVE_DESTINATION","HID_USAGE_PID_MOVE_LENGTH","HID_USAGE_PID_PID_BLOCK_LOAD_REPORT","HID_USAGE_PID_BLOCK_LOAD_STATUS","HID_USAGE_PID_BLOCK_LOAD_SUCCESS","HID_USAGE_PID_BLOCK_LOAD_FULL","HID_USAGE_PID_BLOCK_LOAD_ERROR","HID_USAGE_PID_BLOCK_HANDLE","HID_USAGE_PID_PID_BLOCK_FREE_REPORT","HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_HANDLE","HID_USAGE_PID_PID_STATE_REPORT","HID_USAGE_PID_EFFECT_PLAYING","HID_USAGE_PID_PID_DEVICE_CONTROL_REPORT","HID_USAGE_PID_PID_DEVICE_CONTROL","HID_USAGE_PID_DC_ENABLE_ACTUATORS","HID_USAGE_PID_DC_DISABLE_ACTUATORS","HID_USAGE_PID_DC_STOP_ALL_EFFECTS","HID_USAGE_PID_DC_DEVICE_RESET","HID_USAGE_PID_DC_DEVICE_PAUSE","HID_USAGE_PID_DC_DEVICE_CONTINUE","HID_USAGE_PID_DEVICE_PAUSED","HID_USAGE_PID_ACTUATORS_ENABLED","HID_USAGE_PID_SAFETY_SWITCH","HID_USAGE_PID_ACTUATOR_OVERRIDE_SWITCH","HID_USAGE_PID_ACTUATOR_POWER","HID_USAGE_PID_START_DELAY","HID_USAGE_PID_PARAMETER_BLOCK_SIZE","HID_USAGE_PID_DEVICE_MANAGED_POOL","HID_USAGE_PID_SHARED_PARAMETER_BLOCKS","HID_USAGE_PID_CREATE_NEW_EFFECT_REPORT","HID_USAGE_PID_RAM_POOL_AVAILABLE","HID_USAGE_EHT_UNDEFINED","HID_USAGE_EHT_EYE_TRACKER","HID_USAGE_EHT_HEAD_TRACKER","HID_USAGE_EHT_TRACKING_DATA","HID_USAGE_EHT_CAPABILITIES","HID_USAGE_EHT_CONFIGURATION","HID_USAGE_EHT_STATUS","HID_USAGE_EHT_CONTROL","HID_USAGE_EHT_SENSOR_TIMESTAMP","HID_USAGE_EHT_POSITION_X","HID_USAGE_EHT_POSITION_Y","HID_USAGE_EHT_POSITION_Z","HID_USAGE_EHT_GAZE_POINT","HID_USAGE_EHT_LEFT_EYE_POSITION","HID_USAGE_EHT_RIGHT_EYE_POSITION","HID_USAGE_EHT_HEAD_POSITION","HID_USAGE_EHT_HEAD_DIRECTION_POINT","HID_USAGE_EHT_ROTATION_ABOUT_X_AXIS","HID_USAGE_EHT_ROTATION_ABOUT_Y_AXIS","HID_USAGE_EHT_ROTATION_ABOUT_Z_AXIS","HID_USAGE_EHT_TRACKER_QUALITY","HID_USAGE_EHT_MINIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_OPTIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_MAXIMUM_TRACKING_DISTANCE","HID_USAGE_EHT_MAXIMUM_SCREEN_PLANE_WIDTH","HID_USAGE_EHT_MAXIMUM_SCREEN_PLANE_HEIGHT","HID_USAGE_EHT_DISPLAY_MANUFACTURER_ID","HID_USAGE_EHT_DISPLAY_PRODUCT_ID","HID_USAGE_EHT_DISPLAY_SERIAL_NUMBER","HID_USAGE_EHT_DISPLAY_MANUFACTURER_DATE","HID_USAGE_EHT_CALIBRATED_SCREEN_WIDTH","HID_USAGE_EHT_CALIBRATED_SCREEN_HEIGHT","HID_USAGE_EHT_SAMPLING_FREQUENCY","HID_USAGE_EHT_CONFIGURATION_STATUS","HID_USAGE_EHT_DEVICE_MODE_REQUEST","HID_USAGE_AUXDISP_UNDEFINED","HID_USAGE_AUXDISP_ALPHANUMERIC_DISPLAY","HID_USAGE_AUXDISP_AUXILIARY_DISPLAY","HID_USAGE_AUXDISP_DISPLAY_ATTRIBUTES_REPORT","HID_USAGE_AUXDISP_ASCII_CHARACTER_SET","HID_USAGE_AUXDISP_DATA_READ_BACK","HID_USAGE_AUXDISP_FONT_READ_BACK","HID_USAGE_AUXDISP_DISPLAY_CONTROL_REPORT","HID_USAGE_AUXDISP_CLEAR_DISPLAY","HID_USAGE_AUXDISP_DISPLAY_ENABLE","HID_USAGE_AUXDISP_SCREEN_SAVER_DELAY","HID_USAGE_AUXDISP_SCREEN_SAVER_ENABLE","HID_USAGE_AUXDISP_VERTICAL_SCROLL","HID_USAGE_AUXDISP_HORIZONTAL_SCROLL","HID_USAGE_AUXDISP_CHARACTER_REPORT","HID_USAGE_AUXDISP_DISPLAY_DATA","HID_USAGE_AUXDISP_DISPLAY_STATUS","HID_USAGE_AUXDISP_STAT_NOT_READY","HID_USAGE_AUXDISP_STAT_READY","HID_USAGE_AUXDISP_ERR_NOT_A_LOADABLE_CHARACTER","HID_USAGE_AUXDISP_ERR_FONT_DATA_CANNOT_BE_READ","HID_USAGE_AUXDISP_CURSOR_POSITION_REPORT","HID_USAGE_AUXDISP_ROW","HID_USAGE_AUXDISP_COLUMN","HID_USAGE_AUXDISP_ROWS","HID_USAGE_AUXDISP_COLUMNS","HID_USAGE_AUXDISP_CURSOR_PIXEL_POSITIONING","HID_USAGE_AUXDISP_CURSOR_MODE","HID_USAGE_AUXDISP_CURSOR_ENABLE","HID_USAGE_AUXDISP_CURSOR_BLINK","HID_USAGE_AUXDISP_FONT_REPORT","HID_USAGE_AUXDISP_FONT_DATA","HID_USAGE_AUXDISP_CHARACTER_WIDTH","HID_USAGE_AUXDISP_CHARACTER_HEIGHT","HID_USAGE_AUXDISP_CHARACTER_SPACING_HORIZONTAL","HID_USAGE_AUXDISP_CHARACTER_SPACING_VERTICAL","HID_USAGE_AUXDISP_UNICODE_CHARACTER_SET","HID_USAGE_AUXDISP_FONT_7_SEGMENT","HID_USAGE_AUXDISP_7_SEGMENT_DIRECT_MAP","HID_USAGE_AUXDISP_FONT_14_SEGMENT","HID_USAGE_AUXDISP_14_SEGMENT_DIRECT_MAP","HID_USAGE_AUXDISP_DISPLAY_BRIGHTNESS","HID_USAGE_AUXDISP_DISPLAY_CONTRAST","HID_USAGE_AUXDISP_CHARACTER_ATTRIBUTE","HID_USAGE_AUXDISP_ATTRIBUTE_READBACK","HID_USAGE_AUXDISP_ATTRIBUTE_DATA","HID_USAGE_AUXDISP_CHAR_ATTR_ENHANCE","HID_USAGE_AUXDISP_CHAR_ATTR_UNDERLINE","HID_USAGE_AUXDISP_CHAR_ATTR_BLINK","HID_USAGE_AUXDISP_BITMAP_SIZE_X","HID_USAGE_AUXDISP_BITMAP_SIZE_Y","HID_USAGE_AUXDISP_MAX_BLIT_SIZE","HID_USAGE_AUXDISP_BIT_DEPTH_FORMAT","HID_USAGE_AUXDISP_DISPLAY_ORIENTATION","HID_USAGE_AUXDISP_PALETTE_REPORT","HID_USAGE_AUXDISP_PALETTE_DATA_SIZE","HID_USAGE_AUXDISP_PALETTE_DATA_OFFSET","HID_USAGE_AUXDISP_PALETTE_DATA","HID_USAGE_AUXDISP_BLIT_REPORT","HID_USAGE_AUXDISP_BLIT_RECTANGLE_X1","HID_USAGE_AUXDISP_BLIT_RECTANGLE_Y1","HID_USAGE_AUXDISP_BLIT_RECTANGLE_X2","HID_USAGE_AUXDISP_BLIT_RECTANGLE_Y2","HID_USAGE_AUXDISP_BLIT_DATA","HID_USAGE_AUXDISP_SOFT_BUTTON","HID_USAGE_AUXDISP_SOFT_BUTTON_ID","HID_USAGE_AUXDISP_SOFT_BUTTON_SIDE","HID_USAGE_AUXDISP_SOFT_BUTTON_OFFSET_1","HID_USAGE_AUXDISP_SOFT_BUTTON_OFFSET_2","HID_USAGE_AUXDISP_SOFT_BUTTON_REPORT","HID_USAGE_AUXDISP_SOFT_KEYS","HID_USAGE_AUXDISP_DISPLAY_DATA_EXTENSIONS","HID_USAGE_AUXDISP_CHARACTER_MAPPING","HID_USAGE_AUXDISP_UNICODE_EQUIVALENT","HID_USAGE_AUXDISP_CHARACTER_PAGE_MAPPING","HID_USAGE_AUXDISP_REQUEST_REPORT","HID_USAGE_SENSORS_UNDEFINED","HID_USAGE_SENSORS_SENSOR","HID_USAGE_SENSORS_BIOMETRIC","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_PRESENCE","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_PROXIMITY","HID_USAGE_SENSORS_BIOMETRIC_HUMAN_TOUCH","HID_USAGE_SENSORS_BIOMETRIC_BLOOD_PRESSURE","HID_USAGE_SENSORS_BIOMETRIC_BODY_TEMPERATURE","HID_USAGE_SENSORS_BIOMETRIC_HEART_RATE","HID_USAGE_SENSORS_BIOMETRIC_HEART_RATE_VARIABILITY","HID_USAGE_SENSORS_BIOMETRIC_PERIPHERAL_OXYGEN_SATURATION","HID_USAGE_SENSORS_BIOMETRIC_RESPIRATORY_RATE","HID_USAGE_SENSORS_ELECTRICAL","HID_USAGE_SENSORS_ELECTRICAL_CAPACITANCE","HID_USAGE_SENSORS_ELECTRICAL_CURRENT","HID_USAGE_SENSORS_ELECTRICAL_POWER","HID_USAGE_SENSORS_ELECTRICAL_INDUCTANCE","HID_USAGE_SENSORS_ELECTRICAL_RESISTANCE","HID_USAGE_SENSORS_ELECTRICAL_VOLTAGE","HID_USAGE_SENSORS_ELECTRICAL_POTENTIOMETER","HID_USAGE_SENSORS_ELECTRICAL_FREQUENCY","HID_USAGE_SENSORS_ELECTRICAL_PERIOD","HID_USAGE_SENSORS_ENVIRONMENTAL","HID_USAGE_SENSORS_ENVIRONMENTAL_ATMOSPHERIC_PRESSURE","HID_USAGE_SENSORS_ENVIRONMENTAL_HUMIDITY","HID_USAGE_SENSORS_ENVIRONMENTAL_TEMPERATURE","HID_USAGE_SENSORS_ENVIRONMENTAL_WIND_DIRECTION","HID_USAGE_SENSORS_ENVIRONMENTAL_WIND_SPEED","HID_USAGE_SENSORS_ENVIRONMENTAL_AIR_QUALITY","HID_USAGE_SENSORS_ENVIRONMENTAL_HEAT_INDEX","HID_USAGE_SENSORS_ENVIRONMENTAL_SURFACE_TEMPERATURE","HID_USAGE_SENSORS_ENVIRONMENTAL_VOLATILE_ORGANIC_COMPOUNDS","HID_USAGE_SENSORS_ENVIRONMENTAL_OBJECT_PRESENCE","HID_USAGE_SENSORS_ENVIRONMENTAL_OBJECT_PROXIMITY","HID_USAGE_SENSORS_LIGHT","HID_USAGE_SENSORS_LIGHT_AMBIENT_LIGHT","HID_USAGE_SENSORS_LIGHT_CONSUMER_INFRARED","HID_USAGE_SENSORS_LIGHT_INFRARED_LIGHT","HID_USAGE_SENSORS_LIGHT_VISIBLE_LIGHT","HID_USAGE_SENSORS_LIGHT_ULTRAVIOLET_LIGHT","HID_USAGE_SENSORS_LOCATION","HID_USAGE_SENSORS_LOCATION_BROADCAST","HID_USAGE_SENSORS_LOCATION_DEAD_RECKONING","HID_USAGE_SENSORS_LOCATION_GPS_GLOBAL_POSITIONING_SYSTEM","HID_USAGE_SENSORS_LOCATION_LOOKUP","HID_USAGE_SENSORS_LOCATION_OTHER","HID_USAGE_SENSORS_LOCATION_STATIC","HID_USAGE_SENSORS_LOCATION_TRIANGULATION","HID_USAGE_SENSORS_MECHANICAL","HID_USAGE_SENSORS_MECHANICAL_BOOLEAN_SWITCH","HID_USAGE_SENSORS_MECHANICAL_BOOLEAN_SWITCH_ARRAY","HID_USAGE_SENSORS_MECHANICAL_MULTIVALUE_SWITCH","HID_USAGE_SENSORS_MECHANICAL_FORCE","HID_USAGE_SENSORS_MECHANICAL_PRESSURE","HID_USAGE_SENSORS_MECHANICAL_STRAIN","HID_USAGE_SENSORS_MECHANICAL_WEIGHT","HID_USAGE_SENSORS_MECHANICAL_HAPTIC_VIBRATOR","HID_USAGE_SENSORS_MECHANICAL_HALL_EFFECT_SWITCH","HID_USAGE_SENSORS_MOTION","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_1D","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_2D","HID_USAGE_SENSORS_MOTION_ACCELEROMETER_3D","HID_USAGE_SENSORS_MOTION_GYROMETER_1D","HID_USAGE_SENSORS_MOTION_GYROMETER_2D","HID_USAGE_SENSORS_MOTION_GYROMETER_3D","HID_USAGE_SENSORS_MOTION_MOTION_DETECTOR","HID_USAGE_SENSORS_MOTION_SPEEDOMETER","HID_USAGE_SENSORS_MOTION_ACCELEROMETER","HID_USAGE_SENSORS_MOTION_GYROMETER","HID_USAGE_SENSORS_MOTION_GRAVITY_VECTOR","HID_USAGE_SENSORS_MOTION_LINEAR_ACCELEROMETER","HID_USAGE_SENSORS_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_COMPASS_1D","HID_USAGE_SENSORS_ORIENTATION_COMPASS_2D","HID_USAGE_SENSORS_ORIENTATION_COMPASS_3D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_1D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_2D","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER_3D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_1D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_2D","HID_USAGE_SENSORS_ORIENTATION_DISTANCE_3D","HID_USAGE_SENSORS_ORIENTATION_DEVICE_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_COMPASS","HID_USAGE_SENSORS_ORIENTATION_INCLINOMETER","HID_USAGE_SENSORS_ORIENTATION_DISTANCE","HID_USAGE_SENSORS_ORIENTATION_RELATIVE_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_SIMPLE_ORIENTATION","HID_USAGE_SENSORS_SCANNER","HID_USAGE_SENSORS_SCANNER_BARCODE","HID_USAGE_SENSORS_SCANNER_RFID","HID_USAGE_SENSORS_SCANNER_NFC","HID_USAGE_SENSORS_TIME","HID_USAGE_SENSORS_TIME_ALARM_TIMER","HID_USAGE_SENSORS_TIME_REAL_TIME_CLOCK","HID_USAGE_SENSORS_PERSONAL_ACTIVITY","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_ACTIVITY_DETECTION","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_DEVICE_POSITION","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_PEDOMETER","HID_USAGE_SENSORS_PERSONAL_ACTIVITY_STEP_DETECTION","HID_USAGE_SENSORS_ORIENTATION_EXTENDED","HID_USAGE_SENSORS_ORIENTATION_EXTENDED_GEOMAGNETIC_ORIENTATION","HID_USAGE_SENSORS_ORIENTATION_EXTENDED_MAGNETOMETER","HID_USAGE_SENSORS_GESTURE","HID_USAGE_SENSORS_GESTURE_CHASSIS_FLIP_GESTURE","HID_USAGE_SENSORS_GESTURE_HINGE_FOLD_GESTURE","HID_USAGE_SENSORS_OTHER","HID_USAGE_SENSORS_OTHER_CUSTOM","HID_USAGE_SENSORS_OTHER_GENERIC","HID_USAGE_SENSORS_OTHER_GENERIC_ENUMERATOR","HID_USAGE_SENSORS_OTHER_HINGE_ANGLE","HID_USAGE_SENSORS_EVENT","HID_USAGE_SENSORS_EVENT_SENSOR_STATE","HID_USAGE_SENSORS_EVENT_SENSOR_EVENT","HID_USAGE_SENSORS_PROPERTY","HID_USAGE_SENSORS_PROPERTY_FRIENDLY_NAME","HID_USAGE_SENSORS_PROPERTY_PERSISTENT_UNIQUE_ID","HID_USAGE_SENSORS_PROPERTY_SENSOR_STATUS","HID_USAGE_SENSORS_PROPERTY_MINIMUM_REPORT_INTERVAL","HID_USAGE_SENSORS_PROPERTY_SENSOR_MANUFACTURER","HID_USAGE_SENSORS_PROPERTY_SENSOR_MODEL","HID_USAGE_SENSORS_PROPERTY_SENSOR_SERIAL_NUMBER","HID_USAGE_SENSORS_PROPERTY_SENSOR_DESCRIPTION","HID_USAGE_SENSORS_PROPERTY_SENSOR_CONNECTION_TYPE","HID_USAGE_SENSORS_PROPERTY_SENSOR_DEVICE_PATH","HID_USAGE_SENSORS_PROPERTY_HARDWARE_REVISION","HID_USAGE_SENSORS_PROPERTY_FIRMWARE_VERSION","HID_USAGE_SENSORS_PROPERTY_RELEASE_DATE","HID_USAGE_SENSORS_PROPERTY_REPORT_INTERVAL","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_ABSOLUTE","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_PERCENT_OF_RANGE","HID_USAGE_SENSORS_PROPERTY_CHANGE_SENSITIVITY_PERCENT_RELATIVE","HID_USAGE_SENSORS_PROPERTY_ACCURACY","HID_USAGE_SENSORS_PROPERTY_RESOLUTION","HID_USAGE_SENSORS_PROPERTY_MAXIMUM","HID_USAGE_SENSORS_PROPERTY_MINIMUM","HID_USAGE_SENSORS_PROPERTY_REPORTING_STATE","HID_USAGE_SENSORS_PROPERTY_SAMPLING_RATE","HID_USAGE_SENSORS_PROPERTY_RESPONSE_CURVE","HID_USAGE_SENSORS_PROPERTY_POWER_STATE","HID_USAGE_SENSORS_PROPERTY_MAXIMUM_FIFO_EVENTS","HID_USAGE_SENSORS_PROPERTY_REPORT_LATENCY","HID_USAGE_SENSORS_PROPERTY_FLUSH_FIFO_EVENTS","HID_USAGE_SENSORS_PROPERTY_MAXIMUM_POWER_CONSUMPTION","HID_USAGE_SENSORS_PROPERTY_IS_PRIMARY","HID_USAGE_SENSORS_DATA_FIELD_LOCATION","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ANTENNA_SEA_LEVEL","HID_USAGE_SENSORS_DATA_FIELD_DIFFERENTIAL_REFERENCE_STATION_ID","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ELLIPSOID_ERROR","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_ELLIPSOID","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_SEA_LEVEL_ERROR","HID_USAGE_SENSORS_DATA_FIELD_ALTITUDE_SEA_LEVEL","HID_USAGE_SENSORS_DATA_FIELD_DIFFERENTIAL_GPS_DATA_AGE","HID_USAGE_SENSORS_DATA_FIELD_ERROR_RADIUS","HID_USAGE_SENSORS_DATA_FIELD_FIX_QUALITY","HID_USAGE_SENSORS_DATA_FIELD_FIX_TYPE","HID_USAGE_SENSORS_DATA_FIELD_GEOIDAL_SEPARATION","HID_USAGE_SENSORS_DATA_FIELD_GPS_OPERATION_MODE","HID_USAGE_SENSORS_DATA_FIELD_GPS_SELECTION_MODE","HID_USAGE_SENSORS_DATA_FIELD_GPS_STATUS","HID_USAGE_SENSORS_DATA_FIELD_POSITION_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_HORIZONTAL_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_VERTICAL_DILUTION_OF_PRECISION","HID_USAGE_SENSORS_DATA_FIELD_LATITUDE","HID_USAGE_SENSORS_DATA_FIELD_LONGITUDE","HID_USAGE_SENSORS_DATA_FIELD_TRUE_HEADING","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_HEADING","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_VARIATION","HID_USAGE_SENSORS_DATA_FIELD_SPEED","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_AZIMUTH","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_ELEVATION","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_IDS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_PRNS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_IN_VIEW_S_N_RATIOS","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_USED_COUNT","HID_USAGE_SENSORS_DATA_FIELD_SATELLITES_USED_PRNS","HID_USAGE_SENSORS_DATA_FIELD_NMEA_SENTENCE","HID_USAGE_SENSORS_DATA_FIELD_ADDRESS_LINE_1","HID_USAGE_SENSORS_DATA_FIELD_ADDRESS_LINE_2","HID_USAGE_SENSORS_DATA_FIELD_CITY","HID_USAGE_SENSORS_DATA_FIELD_STATE_OR_PROVINCE","HID_USAGE_SENSORS_DATA_FIELD_COUNTRY_OR_REGION","HID_USAGE_SENSORS_DATA_FIELD_POSTAL_CODE","HID_USAGE_SENSORS_PROPERTY_LOCATION","HID_USAGE_SENSORS_PROPERTY_LOCATION_DESIRED_ACCURACY","HID_USAGE_SENSORS_DATA_FIELD_ENVIRONMENTAL","HID_USAGE_SENSORS_DATA_FIELD_ATMOSPHERIC_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_RELATIVE_HUMIDITY","HID_USAGE_SENSORS_DATA_FIELD_TEMPERATURE","HID_USAGE_SENSORS_DATA_FIELD_WIND_DIRECTION","HID_USAGE_SENSORS_DATA_FIELD_WIND_SPEED","HID_USAGE_SENSORS_DATA_FIELD_AIR_QUALITY_INDEX","HID_USAGE_SENSORS_DATA_FIELD_EQUIVALENT_CO2","HID_USAGE_SENSORS_DATA_FIELD_VOLATILE_ORGANIC_COMPOUND_CONCENTRATION","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PRESENCE","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PROXIMITY_RANGE","HID_USAGE_SENSORS_DATA_FIELD_OBJECT_PROXIMITY_OUT_OF_RANGE","HID_USAGE_SENSORS_PROPERTY_ENVIRONMENTAL","HID_USAGE_SENSORS_PROPERTY_REFERENCE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_MOTION","HID_USAGE_SENSORS_DATA_FIELD_MOTION_STATE","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_X","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_Y","HID_USAGE_SENSORS_DATA_FIELD_ACCELERATION_AXIS_Z","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_VELOCITY_ABOUT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ANGULAR_POSITION_ABOUT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MOTION_SPEED","HID_USAGE_SENSORS_DATA_FIELD_MOTION_INTENSITY","HID_USAGE_SENSORS_DATA_FIELD_ORIENTATION","HID_USAGE_SENSORS_DATA_FIELD_HEADING","HID_USAGE_SENSORS_DATA_FIELD_HEADING_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_HEADING_COMPENSATED_MAGNETIC_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_COMPENSATED_TRUE_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_MAGNETIC_NORTH","HID_USAGE_SENSORS_DATA_FIELD_HEADING_TRUE_NORTH","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_DISTANCE_OUT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_TILT","HID_USAGE_SENSORS_DATA_FIELD_TILT_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_TILT_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_TILT_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_ROTATION_MATRIX","HID_USAGE_SENSORS_DATA_FIELD_QUATERNION","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_X_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_Y_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETIC_FLUX_Z_AXIS","HID_USAGE_SENSORS_DATA_FIELD_MAGNETOMETER_ACCURACY","HID_USAGE_SENSORS_DATA_FIELD_SIMPLE_ORIENTATION_DIRECTION","HID_USAGE_SENSORS_DATA_FIELD_MECHANICAL","HID_USAGE_SENSORS_DATA_FIELD_BOOLEAN_SWITCH_STATE","HID_USAGE_SENSORS_DATA_FIELD_BOOLEAN_SWITCH_ARRAY_STATES","HID_USAGE_SENSORS_DATA_FIELD_MULTIVALUE_SWITCH_VALUE","HID_USAGE_SENSORS_DATA_FIELD_FORCE","HID_USAGE_SENSORS_DATA_FIELD_ABSOLUTE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_GAUGE_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_STRAIN","HID_USAGE_SENSORS_DATA_FIELD_WEIGHT","HID_USAGE_SENSORS_PROPERTY_MECHANICAL","HID_USAGE_SENSORS_PROPERTY_VIBRATION_STATE","HID_USAGE_SENSORS_PROPERTY_FORWARD_VIBRATION_SPEED","HID_USAGE_SENSORS_PROPERTY_BACKWARD_VIBRATION_SPEED","HID_USAGE_SENSORS_DATA_FIELD_BIOMETRIC","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PRESENCE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PROXIMITY_RANGE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_PROXIMITY_OUT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_HUMAN_TOUCH_STATE","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE_DIASTOLIC","HID_USAGE_SENSORS_DATA_FIELD_BLOOD_PRESSURE_SYSTOLIC","HID_USAGE_SENSORS_DATA_FIELD_HEART_RATE","HID_USAGE_SENSORS_DATA_FIELD_RESTING_HEART_RATE","HID_USAGE_SENSORS_DATA_FIELD_HEARTBEAT_INTERVAL","HID_USAGE_SENSORS_DATA_FIELD_RESPIRATORY_RATE","HID_USAGE_SENSORS_DATA_FIELD_SPO2","HID_USAGE_SENSORS_DATA_FIELD_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ILLUMINANCE","HID_USAGE_SENSORS_DATA_FIELD_COLOR_TEMPERATURE","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY_X","HID_USAGE_SENSORS_DATA_FIELD_CHROMATICITY_Y","HID_USAGE_SENSORS_DATA_FIELD_CONSUMER_IR_SENTENCE_RECEIVE","HID_USAGE_SENSORS_DATA_FIELD_INFRARED_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_RED_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_GREEN_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_BLUE_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_A_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_B_LIGHT","HID_USAGE_SENSORS_DATA_FIELD_ULTRAVIOLET_INDEX","HID_USAGE_SENSORS_DATA_FIELD_NEAR_INFRARED_LIGHT","HID_USAGE_SENSORS_PROPERTY_LIGHT","HID_USAGE_SENSORS_PROPERTY_CONSUMER_IR_SENTENCE_SEND","HID_USAGE_SENSORS_PROPERTY_AUTO_BRIGHTNESS_PREFERRED","HID_USAGE_SENSORS_PROPERTY_AUTO_COLOR_PREFERRED","HID_USAGE_SENSORS_DATA_FIELD_SCANNER","HID_USAGE_SENSORS_DATA_FIELD_RFID_TAG_40_BIT","HID_USAGE_SENSORS_DATA_FIELD_NFC_SENTENCE_RECEIVE","HID_USAGE_SENSORS_PROPERTY_SCANNER","HID_USAGE_SENSORS_PROPERTY_NFC_SENTENCE_SEND","HID_USAGE_SENSORS_DATA_FIELD_ELECTRICAL","HID_USAGE_SENSORS_DATA_FIELD_CAPACITANCE","HID_USAGE_SENSORS_DATA_FIELD_CURRENT","HID_USAGE_SENSORS_DATA_FIELD_ELECTRICAL_POWER","HID_USAGE_SENSORS_DATA_FIELD_INDUCTANCE","HID_USAGE_SENSORS_DATA_FIELD_RESISTANCE","HID_USAGE_SENSORS_DATA_FIELD_VOLTAGE","HID_USAGE_SENSORS_DATA_FIELD_FREQUENCY","HID_USAGE_SENSORS_DATA_FIELD_PERIOD","HID_USAGE_SENSORS_DATA_FIELD_PERCENT_OF_RANGE","HID_USAGE_SENSORS_DATA_FIELD_TIME","HID_USAGE_SENSORS_DATA_FIELD_YEAR","HID_USAGE_SENSORS_DATA_FIELD_MONTH","HID_USAGE_SENSORS_DATA_FIELD_DAY","HID_USAGE_SENSORS_DATA_FIELD_DAY_OF_WEEK","HID_USAGE_SENSORS_DATA_FIELD_HOUR","HID_USAGE_SENSORS_DATA_FIELD_MINUTE","HID_USAGE_SENSORS_DATA_FIELD_SECOND","HID_USAGE_SENSORS_DATA_FIELD_MILLISECOND","HID_USAGE_SENSORS_DATA_FIELD_TIMESTAMP","HID_USAGE_SENSORS_DATA_FIELD_JULIAN_DAY_OF_YEAR","HID_USAGE_SENSORS_DATA_FIELD_TIME_SINCE_SYSTEM_BOOT","HID_USAGE_SENSORS_PROPERTY_TIME","HID_USAGE_SENSORS_PROPERTY_TIME_ZONE_OFFSET_FROM_UTC","HID_USAGE_SENSORS_PROPERTY_TIME_ZONE_NAME","HID_USAGE_SENSORS_PROPERTY_DAYLIGHT_SAVINGS_TIME_OBSERVED","HID_USAGE_SENSORS_PROPERTY_TIME_TRIM_ADJUSTMENT","HID_USAGE_SENSORS_PROPERTY_ARM_ALARM","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_USAGE","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_BOOLEAN_ARRAY","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_1","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_2","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_3","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_4","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_5","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_6","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_7","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_8","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_9","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_10","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_11","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_12","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_13","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_14","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_15","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_16","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_17","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_18","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_19","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_20","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_21","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_22","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_23","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_24","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_25","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_26","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_27","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_VALUE_28","HID_USAGE_SENSORS_DATA_FIELD_GENERIC","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID_OR_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_CATEGORY_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_TYPE_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_EVENT_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTY_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_DATA_FIELD_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_EVENT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_DATA_FIELD","HID_USAGE_SENSORS_DATA_FIELD_ENUMERATOR_TABLE_ROW_INDEX","HID_USAGE_SENSORS_DATA_FIELD_ENUMERATOR_TABLE_ROW_COUNT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID_OR_PROPERTYKEY_KIND","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_GUID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_PROPERTYKEY","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_TOP_LEVEL_COLLECTION_ID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_ID","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_ITEM_POSITION_INDEX","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_FIRMWARE_VARTYPE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_UNIT_OF_MEASURE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_UNIT_EXPONENT","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_SIZE","HID_USAGE_SENSORS_DATA_FIELD_GENERIC_REPORT_COUNT","HID_USAGE_SENSORS_PROPERTY_GENERIC","HID_USAGE_SENSORS_PROPERTY_ENUMERATOR_TABLE_ROW_INDEX","HID_USAGE_SENSORS_PROPERTY_ENUMERATOR_TABLE_ROW_COUNT","HID_USAGE_SENSORS_DATA_FIELD_PERSONAL_ACTIVITY","HID_USAGE_SENSORS_DATA_FIELD_ACTIVITY_TYPE","HID_USAGE_SENSORS_DATA_FIELD_ACTIVITY_STATE","HID_USAGE_SENSORS_DATA_FIELD_DEVICE_POSITION","HID_USAGE_SENSORS_DATA_FIELD_STEP_COUNT","HID_USAGE_SENSORS_DATA_FIELD_STEP_COUNT_RESET","HID_USAGE_SENSORS_DATA_FIELD_STEP_DURATION","HID_USAGE_SENSORS_DATA_FIELD_STEP_TYPE","HID_USAGE_SENSORS_PROPERTY_MINIMUM_ACTIVITY_DETECTION_INTERVAL","HID_USAGE_SENSORS_PROPERTY_SUPPORTED_ACTIVITY_TYPES","HID_USAGE_SENSORS_PROPERTY_SUBSCRIBED_ACTIVITY_TYPES","HID_USAGE_SENSORS_PROPERTY_SUPPORTED_STEP_TYPES","HID_USAGE_SENSORS_PROPERTY_SUBSCRIBED_STEP_TYPES","HID_USAGE_SENSORS_PROPERTY_FLOOR_HEIGHT","HID_USAGE_SENSORS_DATA_FIELD_CUSTOM_TYPE_ID","HID_USAGE_SENSORS_PROPERTY_CUSTOM","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_1","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_2","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_3","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_4","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_5","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_6","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_7","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_8","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_9","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_10","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_11","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_12","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_13","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_14","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_15","HID_USAGE_SENSORS_PROPERTY_CUSTOM_VALUE_16","HID_USAGE_SENSORS_DATA_FIELD_HINGE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_GESTURE_SENSOR","HID_USAGE_SENSORS_DATA_FIELD_GESTURE_STATE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_INITIAL_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_FINAL_ANGLE","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_CONTRIBUTING_PANEL","HID_USAGE_SENSORS_DATA_FIELD_HINGE_FOLD_TYPE","HID_USAGE_SENSORS_SENSOR_STATE_UNDEFINED","HID_USAGE_SENSORS_SENSOR_STATE_READY","HID_USAGE_SENSORS_SENSOR_STATE_NOT_AVAILABLE","HID_USAGE_SENSORS_SENSOR_STATE_NO_DATA","HID_USAGE_SENSORS_SENSOR_STATE_INITIALIZING","HID_USAGE_SENSORS_SENSOR_STATE_ACCESS_DENIED","HID_USAGE_SENSORS_SENSOR_STATE_ERROR","HID_USAGE_SENSORS_SENSOR_EVENT_UNKNOWN","HID_USAGE_SENSORS_SENSOR_EVENT_STATE_CHANGED","HID_USAGE_SENSORS_SENSOR_EVENT_PROPERTY_CHANGED","HID_USAGE_SENSORS_SENSOR_EVENT_DATA_UPDATED","HID_USAGE_SENSORS_SENSOR_EVENT_POLL_RESPONSE","HID_USAGE_SENSORS_SENSOR_EVENT_CHANGE_SENSITIVITY","HID_USAGE_SENSORS_SENSOR_EVENT_RANGE_MAXIMUM_REACHED","HID_USAGE_SENSORS_SENSOR_EVENT_RANGE_MINIMUM_REACHED","HID_USAGE_SENSORS_SENSOR_EVENT_HIGH_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_HIGH_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_LOW_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_LOW_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_ZERO_THRESHOLD_CROSS_UPWARD","HID_USAGE_SENSORS_SENSOR_EVENT_ZERO_THRESHOLD_CROSS_DOWNWARD","HID_USAGE_SENSORS_SENSOR_EVENT_PERIOD_EXCEEDED","HID_USAGE_SENSORS_SENSOR_EVENT_FREQUENCY_EXCEEDED","HID_USAGE_SENSORS_SENSOR_EVENT_COMPLEX_TRIGGER","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_INTEGRATED","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_ATTACHED","HID_USAGE_SENSORS_CONNECTION_TYPE_PC_EXTERNAL","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_NO_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_ALL_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_REPORT_THRESHOLD_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_NO_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_ALL_EVENTS","HID_USAGE_SENSORS_REPORTING_STATE_WAKE_ON_THRESHOLD_EVENTS","HID_USAGE_SENSORS_POWER_STATE_UNDEFINED","HID_USAGE_SENSORS_POWER_STATE_D0_FULL_POWER","HID_USAGE_SENSORS_POWER_STATE_D1_LOW_POWER","HID_USAGE_SENSORS_POWER_STATE_D2_STANDBY_POWER_WITH_WAKEUP","HID_USAGE_SENSORS_POWER_STATE_D3_SLEEP_WITH_WAKEUP","HID_USAGE_SENSORS_POWER_STATE_D4_POWER_OFF","HID_USAGE_SENSORS_FIX_QUALITY_NO_FIX","HID_USAGE_SENSORS_FIX_QUALITY_GPS","HID_USAGE_SENSORS_FIX_QUALITY_DGPS","HID_USAGE_SENSORS_FIX_TYPE_NO_FIX","HID_USAGE_SENSORS_FIX_TYPE_GPS_SPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_DGPS_SPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_GPS_PPS_MODE_FIX_VALID","HID_USAGE_SENSORS_FIX_TYPE_REAL_TIME_KINEMATIC","HID_USAGE_SENSORS_FIX_TYPE_FLOAT_RTK","HID_USAGE_SENSORS_FIX_TYPE_ESTIMATED_DEAD_RECKONED","HID_USAGE_SENSORS_FIX_TYPE_MANUAL_INPUT_MODE","HID_USAGE_SENSORS_FIX_TYPE_SIMULATOR_MODE","HID_USAGE_SENSORS_GPS_OPERATION_MODE_MANUAL","HID_USAGE_SENSORS_GPS_OPERATION_MODE_AUTOMATIC","HID_USAGE_SENSORS_GPS_SELECTION_MODE_AUTONOMOUS","HID_USAGE_SENSORS_GPS_SELECTION_MODE_DGPS","HID_USAGE_SENSORS_GPS_SELECTION_MODE_ESTIMATED_DEAD_RECKONED","HID_USAGE_SENSORS_GPS_SELECTION_MODE_MANUAL_INPUT","HID_USAGE_SENSORS_GPS_SELECTION_MODE_SIMULATOR","HID_USAGE_SENSORS_GPS_SELECTION_MODE_DATA_NOT_VALID","HID_USAGE_SENSORS_GPS_STATUS_DATA_VALID","HID_USAGE_SENSORS_GPS_STATUS_DATA_NOT_VALID","HID_USAGE_SENSORS_ACCURACY_DEFAULT","HID_USAGE_SENSORS_ACCURACY_HIGH","HID_USAGE_SENSORS_ACCURACY_MEDIUM","HID_USAGE_SENSORS_ACCURACY_LOW","HID_USAGE_SENSORS_DAY_OF_WEEK_SUNDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_MONDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_TUESDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_WEDNESDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_THURSDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_FRIDAY","HID_USAGE_SENSORS_DAY_OF_WEEK_SATURDAY","HID_USAGE_SENSORS_KIND_CATEGORY","HID_USAGE_SENSORS_KIND_TYPE","HID_USAGE_SENSORS_KIND_EVENT","HID_USAGE_SENSORS_KIND_PROPERTY","HID_USAGE_SENSORS_KIND_DATA_FIELD","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_LOW","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_MEDIUM","HID_USAGE_SENSORS_MAGNETOMETER_ACCURACY_HIGH","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_NOT_ROTATED","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_90_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_180_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_ROTATED_270_DEGREES_CCW","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_FACE_UP","HID_USAGE_SENSORS_SIMPLE_ORIENTATION_DIRECTION_FACE_DOWN","HID_USAGE_SENSORS_VT_NULL","HID_USAGE_SENSORS_VT_BOOL","HID_USAGE_SENSORS_VT_UI1","HID_USAGE_SENSORS_VT_I1","HID_USAGE_SENSORS_VT_UI2","HID_USAGE_SENSORS_VT_I2","HID_USAGE_SENSORS_VT_UI4","HID_USAGE_SENSORS_VT_I4","HID_USAGE_SENSORS_VT_UI8","HID_USAGE_SENSORS_VT_I8","HID_USAGE_SENSORS_VT_R4","HID_USAGE_SENSORS_VT_R8","HID_USAGE_SENSORS_VT_WSTR","HID_USAGE_SENSORS_VT_STR","HID_USAGE_SENSORS_VT_CLSID","HID_USAGE_SENSORS_VT_VECTOR_VT_UI1","HID_USAGE_SENSORS_VT_F16E0","HID_USAGE_SENSORS_VT_F16E1","HID_USAGE_SENSORS_VT_F16E2","HID_USAGE_SENSORS_VT_F16E3","HID_USAGE_SENSORS_VT_F16E4","HID_USAGE_SENSORS_VT_F16E5","HID_USAGE_SENSORS_VT_F16E6","HID_USAGE_SENSORS_VT_F16E7","HID_USAGE_SENSORS_VT_F16E8","HID_USAGE_SENSORS_VT_F16E9","HID_USAGE_SENSORS_VT_F16EA","HID_USAGE_SENSORS_VT_F16EB","HID_USAGE_SENSORS_VT_F16EC","HID_USAGE_SENSORS_VT_F16ED","HID_USAGE_SENSORS_VT_F16EE","HID_USAGE_SENSORS_VT_F16EF","HID_USAGE_SENSORS_VT_F32E0","HID_USAGE_SENSORS_VT_F32E1","HID_USAGE_SENSORS_VT_F32E2","HID_USAGE_SENSORS_VT_F32E3","HID_USAGE_SENSORS_VT_F32E4","HID_USAGE_SENSORS_VT_F32E5","HID_USAGE_SENSORS_VT_F32E6","HID_USAGE_SENSORS_VT_F32E7","HID_USAGE_SENSORS_VT_F32E8","HID_USAGE_SENSORS_VT_F32E9","HID_USAGE_SENSORS_VT_F32EA","HID_USAGE_SENSORS_VT_F32EB","HID_USAGE_SENSORS_VT_F32EC","HID_USAGE_SENSORS_VT_F32ED","HID_USAGE_SENSORS_VT_F32EE","HID_USAGE_SENSORS_VT_F32EF","HID_USAGE_SENSORS_ACTIVITY_TYPE_UNKNOWN","HID_USAGE_SENSORS_ACTIVITY_TYPE_STATIONARY","HID_USAGE_SENSORS_ACTIVITY_TYPE_FIDGETING","HID_USAGE_SENSORS_ACTIVITY_TYPE_WALKING","HID_USAGE_SENSORS_ACTIVITY_TYPE_RUNNING","HID_USAGE_SENSORS_ACTIVITY_TYPE_IN_VEHICLE","HID_USAGE_SENSORS_ACTIVITY_TYPE_BIKING","HID_USAGE_SENSORS_ACTIVITY_TYPE_IDLE","HID_USAGE_SENSORS_UNIT_NOT_SPECIFIED","HID_USAGE_SENSORS_UNIT_LUX","HID_USAGE_SENSORS_UNIT_DEGREES_KELVIN","HID_USAGE_SENSORS_UNIT_DEGREES_CELSIUS","HID_USAGE_SENSORS_UNIT_PASCAL","HID_USAGE_SENSORS_UNIT_NEWTON","HID_USAGE_SENSORS_UNIT_METERS_SECOND","HID_USAGE_SENSORS_UNIT_KILOGRAM","HID_USAGE_SENSORS_UNIT_METER","HID_USAGE_SENSORS_UNIT_METERS_SECOND_SECOND","HID_USAGE_SENSORS_UNIT_FARAD","HID_USAGE_SENSORS_UNIT_AMPERE","HID_USAGE_SENSORS_UNIT_WATT","HID_USAGE_SENSORS_UNIT_HENRY","HID_USAGE_SENSORS_UNIT_OHM","HID_USAGE_SENSORS_UNIT_VOLT","HID_USAGE_SENSORS_UNIT_HERTZ","HID_USAGE_SENSORS_UNIT_BAR","HID_USAGE_SENSORS_UNIT_DEGREES_ANTI_CLOCKWISE","HID_USAGE_SENSORS_UNIT_DEGREES_CLOCKWISE","HID_USAGE_SENSORS_UNIT_DEGREES","HID_USAGE_SENSORS_UNIT_DEGREES_SECOND","HID_USAGE_SENSORS_UNIT_DEGREES_SECOND_SECOND","HID_USAGE_SENSORS_UNIT_KNOT","HID_USAGE_SENSORS_UNIT_PERCENT","HID_USAGE_SENSORS_UNIT_SECOND","HID_USAGE_SENSORS_UNIT_MILLISECOND","HID_USAGE_SENSORS_UNIT_G","HID_USAGE_SENSORS_UNIT_BYTES","HID_USAGE_SENSORS_UNIT_MILLIGAUSS","HID_USAGE_SENSORS_UNIT_BITS","HID_USAGE_SENSORS_ACTIVITY_STATE_NO_STATE_CHANGE","HID_USAGE_SENSORS_ACTIVITY_STATE_START_ACTIVITY","HID_USAGE_SENSORS_ACTIVITY_STATE_END_ACTIVITY","HID_USAGE_SENSORS_EXPONENT_0","HID_USAGE_SENSORS_EXPONENT_1","HID_USAGE_SENSORS_EXPONENT_2","HID_USAGE_SENSORS_EXPONENT_3","HID_USAGE_SENSORS_EXPONENT_4","HID_USAGE_SENSORS_EXPONENT_5","HID_USAGE_SENSORS_EXPONENT_6","HID_USAGE_SENSORS_EXPONENT_7","HID_USAGE_SENSORS_EXPONENT_8","HID_USAGE_SENSORS_EXPONENT_9","HID_USAGE_SENSORS_EXPONENT_A","HID_USAGE_SENSORS_EXPONENT_B","HID_USAGE_SENSORS_EXPONENT_C","HID_USAGE_SENSORS_EXPONENT_D","HID_USAGE_SENSORS_EXPONENT_E","HID_USAGE_SENSORS_EXPONENT_F","HID_USAGE_SENSORS_DEVICE_POSITION_UNKNOWN","HID_USAGE_SENSORS_DEVICE_POSITION_UNCHANGED","HID_USAGE_SENSORS_DEVICE_POSITION_ON_DESK","HID_USAGE_SENSORS_DEVICE_POSITION_IN_HAND","HID_USAGE_SENSORS_DEVICE_POSITION_MOVING_IN_BAG","HID_USAGE_SENSORS_DEVICE_POSITION_STATIONARY_IN_BAG","HID_USAGE_SENSORS_STEP_TYPE_UNKNOWN","HID_USAGE_SENSORS_STEP_TYPE_RUNNING","HID_USAGE_SENSORS_STEP_TYPE_WALKING","HID_USAGE_SENSORS_GESTURE_STATE_UNKNOWN","HID_USAGE_SENSORS_GESTURE_STATE_STARTED","HID_USAGE_SENSORS_GESTURE_STATE_COMPLETED","HID_USAGE_SENSORS_GESTURE_STATE_CANCELLED","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_UNKNOWN","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_PANEL_1","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_PANEL_2","HID_USAGE_SENSORS_HINGE_FOLD_CONTRIBUTING_PANEL_BOTH","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_UNKNOWN","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_INCREASING","HID_USAGE_SENSORS_HINGE_FOLD_TYPE_DECREASING","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_ABSOLUTE","HID_USAGE_SENSORS_MODIFIER_MAXIMUM","HID_USAGE_SENSORS_MODIFIER_MINIMUM","HID_USAGE_SENSORS_MODIFIER_ACCURACY","HID_USAGE_SENSORS_MODIFIER_RESOLUTION","HID_USAGE_SENSORS_MODIFIER_THRESHOLD_HIGH","HID_USAGE_SENSORS_MODIFIER_THRESHOLD_LOW","HID_USAGE_SENSORS_MODIFIER_CALIBRATION_OFFSET","HID_USAGE_SENSORS_MODIFIER_CALIBRATION_MULTIPLIER","HID_USAGE_SENSORS_MODIFIER_REPORT_INTERVAL","HID_USAGE_SENSORS_MODIFIER_FREQUENCY_MAX","HID_USAGE_SENSORS_MODIFIER_PERIOD_MAX","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_PERCENT_OF_RANGE","HID_USAGE_SENSORS_MODIFIER_CHANGE_SENSITIVITY_PERCENT_RELATIVE","HID_USAGE_MEDICAL_UNDEFINED","HID_USAGE_MEDICAL_MEDICAL_ULTRASOUND","HID_USAGE_MEDICAL_VCR_ACQUISITION","HID_USAGE_MEDICAL_FREEZE_THAW","HID_USAGE_MEDICAL_CLIP_STORE","HID_USAGE_MEDICAL_UPDATE","HID_USAGE_MEDICAL_NEXT","HID_USAGE_MEDICAL_SAVE","HID_USAGE_MEDICAL_PRINT","HID_USAGE_MEDICAL_MICROPHONE_ENABLE","HID_USAGE_MEDICAL_CINE","HID_USAGE_MEDICAL_TRANSMIT_POWER","HID_USAGE_MEDICAL_VOLUME","HID_USAGE_MEDICAL_FOCUS","HID_USAGE_MEDICAL_DEPTH","HID_USAGE_MEDICAL_SOFT_STEP_MINUS_PRIMARY","HID_USAGE_MEDICAL_SOFT_STEP_MINUS_SECONDARY","HID_USAGE_MEDICAL_DEPTH_GAIN_COMPENSATION","HID_USAGE_MEDICAL_ZOOM_SELECT","HID_USAGE_MEDICAL_ZOOM_ADJUST","HID_USAGE_MEDICAL_SPECTRAL_DOPPLER_MODE_SELECT","HID_USAGE_MEDICAL_SPECTRAL_DOPPLER_ADJUST","HID_USAGE_MEDICAL_COLOR_DOPPLER_MODE_SELECT","HID_USAGE_MEDICAL_COLOR_DOPPLER_ADJUST","HID_USAGE_MEDICAL_MOTION_MODE_SELECT","HID_USAGE_MEDICAL_MOTION_MODE_ADJUST","HID_USAGE_MEDICAL_2_D_MODE_SELECT","HID_USAGE_MEDICAL_2_D_MODE_ADJUST","HID_USAGE_MEDICAL_SOFT_CONTROL_SELECT","HID_USAGE_MEDICAL_SOFT_CONTROL_ADJUST","HID_USAGE_BRAILLE_UNDEFINED","HID_USAGE_BRAILLE_BRAILLE_DISPLAY","HID_USAGE_BRAILLE_BRAILLE_ROW","HID_USAGE_BRAILLE_8_DOT_BRAILLE_CELL","HID_USAGE_BRAILLE_6_DOT_BRAILLE_CELL","HID_USAGE_BRAILLE_NUMBER_OF_BRAILLE_CELLS","HID_USAGE_BRAILLE_SCREEN_READER_CONTROL","HID_USAGE_BRAILLE_SCREEN_READER_IDENTIFIER","HID_USAGE_BRAILLE_ROUTER_SET_1","HID_USAGE_BRAILLE_ROUTER_SET_2","HID_USAGE_BRAILLE_ROUTER_SET_3","HID_USAGE_BRAILLE_ROUTER_KEY","HID_USAGE_BRAILLE_ROW_ROUTER_KEY","HID_USAGE_BRAILLE_BRAILLE_BUTTONS","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_1","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_2","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_3","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_4","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_5","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_6","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_7","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_DOT_8","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_SPACE","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_LEFT_SPACE","HID_USAGE_BRAILLE_BRAILLE_KEYBOARD_RIGHT_SPACE","HID_USAGE_BRAILLE_BRAILLE_FACE_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_LEFT_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_RIGHT_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_TOP_CONTROLS","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_CENTER","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_UP","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_DOWN","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_LEFT","HID_USAGE_BRAILLE_BRAILLE_JOYSTICK_RIGHT","HID_USAGE_BRAILLE_BRAILLE_D_PAD_CENTER","HID_USAGE_BRAILLE_BRAILLE_D_PAD_UP","HID_USAGE_BRAILLE_BRAILLE_D_PAD_DOWN","HID_USAGE_BRAILLE_BRAILLE_D_PAD_LEFT","HID_USAGE_BRAILLE_BRAILLE_D_PAD_RIGHT","HID_USAGE_BRAILLE_BRAILLE_PAN_LEFT","HID_USAGE_BRAILLE_BRAILLE_PAN_RIGHT","HID_USAGE_BRAILLE_BRAILLE_ROCKER_UP","HID_USAGE_BRAILLE_BRAILLE_ROCKER_DOWN","HID_USAGE_BRAILLE_BRAILLE_ROCKER_PRESS","HID_USAGE_LIGHT_UNDEFINED","HID_USAGE_LIGHT_LAMP_ARRAY","HID_USAGE_LIGHT_LAMP_ARRAY_ATTRIBUTES_REPORT","HID_USAGE_LIGHT_LAMP_COUNT","HID_USAGE_LIGHT_BOUNDING_BOX_WIDTH_IN_MICROMETERS","HID_USAGE_LIGHT_BOUNDING_BOX_HEIGHT_IN_MICROMETERS","HID_USAGE_LIGHT_BOUNDING_BOX_DEPTH_IN_MICROMETERS","HID_USAGE_LIGHT_LAMP_ARRAY_KIND","HID_USAGE_LIGHT_MIN_UPDATE_INTERVAL_IN_MICROSECONDS","HID_USAGE_LIGHT_LAMP_ATTRIBUTES_REQUEST_REPORT","HID_USAGE_LIGHT_LAMP_ID","HID_USAGE_LIGHT_LAMP_ATTRIBUTES_RESPONSE_REPORT","HID_USAGE_LIGHT_POSITION_X_IN_MICROMETERS","HID_USAGE_LIGHT_POSITION_Y_IN_MICROMETERS","HID_USAGE_LIGHT_POSITION_Z_IN_MICROMETERS","HID_USAGE_LIGHT_LAMP_PURPOSES","HID_USAGE_LIGHT_UPDATE_LATENCY_IN_MICROSECONDS","HID_USAGE_LIGHT_RED_LEVEL_COUNT","HID_USAGE_LIGHT_GREEN_LEVEL_COUNT","HID_USAGE_LIGHT_BLUE_LEVEL_COUNT","HID_USAGE_LIGHT_INTENSITY_LEVEL_COUNT","HID_USAGE_LIGHT_IS_PROGRAMMABLE","HID_USAGE_LIGHT_INPUT_BINDING","HID_USAGE_LIGHT_LAMP_MULTI_UPDATE_REPORT","HID_USAGE_LIGHT_RED_UPDATE_CHANNEL","HID_USAGE_LIGHT_GREEN_UPDATE_CHANNEL","HID_USAGE_LIGHT_BLUE_UPDATE_CHANNEL","HID_USAGE_LIGHT_INTENSITY_UPDATE_CHANNEL","HID_USAGE_LIGHT_LAMP_UPDATE_FLAGS","HID_USAGE_LIGHT_LAMP_RANGE_UPDATE_REPORT","HID_USAGE_LIGHT_LAMP_ID_START","HID_USAGE_LIGHT_LAMP_ID_END","HID_USAGE_LIGHT_LAMP_ARRAY_CONTROL_REPORT","HID_USAGE_LIGHT_AUTONOMOUS_MODE","HID_USAGE_MONITOR_MONITOR_CONTROL","HID_USAGE_MONITOR_EDID_INFORMATION","HID_USAGE_MONITOR_VDIF_INFORMATION","HID_USAGE_MONITOR_VESA_VERSION","HID_USAGE_MONITOR_VESA_BRIGHTNESS","HID_USAGE_MONITOR_VESA_CONTRAST","HID_USAGE_MONITOR_VESA_RED_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_GREEN_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_BLUE_VIDEO_GAIN","HID_USAGE_MONITOR_VESA_FOCUS","HID_USAGE_MONITOR_VESA_HORIZONTAL_POSITION","HID_USAGE_MONITOR_VESA_HORIZONTAL_SIZE","HID_USAGE_MONITOR_VESA_HORIZONTAL_PINCUSHION","HID_USAGE_MONITOR_VESA_HORIZONTAL_PINCUSHION_BALANCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_MISCONVERGENCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_LINEARITY","HID_USAGE_MONITOR_VESA_HORIZONTAL_LINEARITY_BALANCE","HID_USAGE_MONITOR_VESA_VERTICAL_POSITION","HID_USAGE_MONITOR_VESA_VERTICAL_SIZE","HID_USAGE_MONITOR_VESA_VERTICAL_PINCUSHION","HID_USAGE_MONITOR_VESA_VERTICAL_PINCUSHION_BALANCE","HID_USAGE_MONITOR_VESA_VERTICAL_MISCONVERGENCE","HID_USAGE_MONITOR_VESA_VERTICAL_LINEARITY","HID_USAGE_MONITOR_VESA_VERTICAL_LINEARITY_BALANCE","HID_USAGE_MONITOR_VESA_PARALLELOGRAM_DISTORTION_KEY_BALANCE","HID_USAGE_MONITOR_VESA_TRAPEZOIDAL_DISTORTION_KEY","HID_USAGE_MONITOR_VESA_TILT_ROTATION","HID_USAGE_MONITOR_VESA_TOP_CORNER_DISTORTION_CONTROL","HID_USAGE_MONITOR_VESA_TOP_CORNER_DISTORTION_BALANCE","HID_USAGE_MONITOR_VESA_BOTTOM_CORNER_DISTORTION_CONTROL","HID_USAGE_MONITOR_VESA_BOTTOM_CORNER_DISTORTION_BALANCE","HID_USAGE_MONITOR_VESA_HORIZONTAL_MOIR","HID_USAGE_MONITOR_VESA_VERTICAL_MOIR","HID_USAGE_MONITOR_VESA_RED_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_GREEN_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_BLUE_VIDEO_BLACK_LEVEL","HID_USAGE_MONITOR_VESA_INPUT_LEVEL_SELECT","HID_USAGE_MONITOR_VESA_INPUT_SOURCE_SELECT","HID_USAGE_MONITOR_VESA_ON_SCREEN_DISPLAY","HID_USAGE_MONITOR_VESA_STEREOMODE","HID_USAGE_MONITOR_VESA_AUTO_SIZE_CENTER","HID_USAGE_MONITOR_VESA_POLARITY_HORIZONTAL_SYNCHRONIZATION","HID_USAGE_MONITOR_VESA_POLARITY_VERTICAL_SYNCHRONIZATION","HID_USAGE_MONITOR_VESA_SYNCHRONIZATION_TYPE","HID_USAGE_MONITOR_VESA_SCREEN_ORIENTATION","HID_USAGE_MONITOR_VESA_HORIZONTAL_FREQUENCY","HID_USAGE_MONITOR_VESA_VERTICAL_FREQUENCY","HID_USAGE_MONITOR_VESA_DEGAUSS","HID_USAGE_MONITOR_VESA_SETTINGS","HID_USAGE_POS_BARCODE_UNDEFINED","HID_USAGE_POS_BARCODE_BAR_CODE_BADGE_READER","HID_USAGE_POS_BARCODE_BAR_CODE_SCANNER","HID_USAGE_POS_BARCODE_DUMB_BAR_CODE_SCANNER","HID_USAGE_POS_BARCODE_CORDLESS_SCANNER_BASE","HID_USAGE_POS_BARCODE_BAR_CODE_SCANNER_CRADLE","HID_USAGE_POS_BARCODE_ATTRIBUTE_REPORT","HID_USAGE_POS_BARCODE_SETTINGS_REPORT","HID_USAGE_POS_BARCODE_SCANNED_DATA_REPORT","HID_USAGE_POS_BARCODE_RAW_SCANNED_DATA_REPORT","HID_USAGE_POS_BARCODE_TRIGGER_REPORT","HID_USAGE_POS_BARCODE_STATUS_REPORT","HID_USAGE_POS_BARCODE_UPC_EAN_CONTROL_REPORT","HID_USAGE_POS_BARCODE_EAN_2_3_LABEL_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODE_39_CONTROL_REPORT","HID_USAGE_POS_BARCODE_INTERLEAVED_2_OF_5_CONTROL_REPORT","HID_USAGE_POS_BARCODE_STANDARD_2_OF_5_CONTROL_REPORT","HID_USAGE_POS_BARCODE_MSI_PLESSEY_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODABAR_CONTROL_REPORT","HID_USAGE_POS_BARCODE_CODE_128_CONTROL_REPORT","HID_USAGE_POS_BARCODE_MISC_1D_CONTROL_REPORT","HID_USAGE_POS_BARCODE_2D_CONTROL_REPORT","HID_USAGE_POS_BARCODE_AIMING_POINTER_MODE","HID_USAGE_POS_BARCODE_BAR_CODE_PRESENT_SENSOR","HID_USAGE_POS_BARCODE_CLASS_1A_LASER","HID_USAGE_POS_BARCODE_CLASS_2_LASER","HID_USAGE_POS_BARCODE_HEATER_PRESENT","HID_USAGE_POS_BARCODE_CONTACT_SCANNER","HID_USAGE_POS_BARCODE_ELECTRONIC_ARTICLE_SURVEILLANCE_NOTIFICATION","HID_USAGE_POS_BARCODE_CONSTANT_ELECTRONIC_ARTICLE_SURVEILLANCE","HID_USAGE_POS_BARCODE_ERROR_INDICATION","HID_USAGE_POS_BARCODE_FIXED_BEEPER","HID_USAGE_POS_BARCODE_GOOD_DECODE_INDICATION","HID_USAGE_POS_BARCODE_HANDS_FREE_SCANNING","HID_USAGE_POS_BARCODE_INTRINSICALLY_SAFE","HID_USAGE_POS_BARCODE_KLASSE_EINS_LASER","HID_USAGE_POS_BARCODE_LONG_RANGE_SCANNER","HID_USAGE_POS_BARCODE_MIRROR_SPEED_CONTROL","HID_USAGE_POS_BARCODE_NOT_ON_FILE_INDICATION","HID_USAGE_POS_BARCODE_PROGRAMMABLE_BEEPER","HID_USAGE_POS_BARCODE_TRIGGERLESS","HID_USAGE_POS_BARCODE_WAND","HID_USAGE_POS_BARCODE_WATER_RESISTANT","HID_USAGE_POS_BARCODE_MULTI_RANGE_SCANNER","HID_USAGE_POS_BARCODE_PROXIMITY_SENSOR","HID_USAGE_POS_BARCODE_FRAGMENT_DECODING","HID_USAGE_POS_BARCODE_SCANNER_READ_CONFIDENCE","HID_USAGE_POS_BARCODE_DATA_PREFIX","HID_USAGE_POS_BARCODE_PREFIX_AIMI","HID_USAGE_POS_BARCODE_PREFIX_NONE","HID_USAGE_POS_BARCODE_PREFIX_PROPRIETARY","HID_USAGE_POS_BARCODE_ACTIVE_TIME","HID_USAGE_POS_BARCODE_AIMING_LASER_PATTERN","HID_USAGE_POS_BARCODE_BAR_CODE_PRESENT","HID_USAGE_POS_BARCODE_BEEPER_STATE","HID_USAGE_POS_BARCODE_LASER_ON_TIME","HID_USAGE_POS_BARCODE_LASER_STATE","HID_USAGE_POS_BARCODE_LOCKOUT_TIME","HID_USAGE_POS_BARCODE_MOTOR_STATE","HID_USAGE_POS_BARCODE_MOTOR_TIMEOUT","HID_USAGE_POS_BARCODE_POWER_ON_RESET_SCANNER","HID_USAGE_POS_BARCODE_PREVENT_READ_OF_BARCODES","HID_USAGE_POS_BARCODE_INITIATE_BARCODE_READ","HID_USAGE_POS_BARCODE_TRIGGER_STATE","HID_USAGE_POS_BARCODE_TRIGGER_MODE","HID_USAGE_POS_BARCODE_TRIGGER_MODE_BLINKING_LASER_ON","HID_USAGE_POS_BARCODE_TRIGGER_MODE_CONTINUOUS_LASER_ON","HID_USAGE_POS_BARCODE_TRIGGER_MODE_LASER_ON_WHILE_PULLED","HID_USAGE_POS_BARCODE_TRIGGER_MODE_LASER_STAYS_ON_AFTER_TRIGGER_RELEASE","HID_USAGE_POS_BARCODE_COMMIT_PARAMETERS_TO_NVM","HID_USAGE_POS_BARCODE_PARAMETER_SCANNING","HID_USAGE_POS_BARCODE_PARAMETERS_CHANGED","HID_USAGE_POS_BARCODE_SET_PARAMETER_DEFAULT_VALUES","HID_USAGE_POS_BARCODE_SCANNER_IN_CRADLE","HID_USAGE_POS_BARCODE_SCANNER_IN_RANGE","HID_USAGE_POS_BARCODE_AIM_DURATION","HID_USAGE_POS_BARCODE_GOOD_READ_LAMP_DURATION","HID_USAGE_POS_BARCODE_GOOD_READ_LAMP_INTENSITY","HID_USAGE_POS_BARCODE_GOOD_READ_LED","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_FREQUENCY","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_LENGTH","HID_USAGE_POS_BARCODE_GOOD_READ_TONE_VOLUME","HID_USAGE_POS_BARCODE_NO_READ_MESSAGE","HID_USAGE_POS_BARCODE_NOT_ON_FILE_VOLUME","HID_USAGE_POS_BARCODE_POWERUP_BEEP","HID_USAGE_POS_BARCODE_SOUND_ERROR_BEEP","HID_USAGE_POS_BARCODE_SOUND_GOOD_READ_BEEP","HID_USAGE_POS_BARCODE_SOUND_NOT_ON_FILE_BEEP","HID_USAGE_POS_BARCODE_GOOD_READ_WHEN_TO_WRITE","HID_USAGE_POS_BARCODE_GRWTI_AFTER_DECODE","HID_USAGE_POS_BARCODE_GRWTI_BEEP_LAMP_AFTER_TRANSMIT","HID_USAGE_POS_BARCODE_GRWTI_NO_BEEP_LAMP_USE_AT_ALL","HID_USAGE_POS_BARCODE_BOOKLAND_EAN","HID_USAGE_POS_BARCODE_CONVERT_EAN_8_TO_13_TYPE","HID_USAGE_POS_BARCODE_CONVERT_UPC_A_TO_EAN_13","HID_USAGE_POS_BARCODE_CONVERT_UPC_E_TO_A","HID_USAGE_POS_BARCODE_EAN_13","HID_USAGE_POS_BARCODE_EAN_8","HID_USAGE_POS_BARCODE_EAN_99_128_MANDATORY","HID_USAGE_POS_BARCODE_EAN_99_P5_128_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_EAN","HID_USAGE_POS_BARCODE_UPC_EAN_COUPON_CODE","HID_USAGE_POS_BARCODE_UPC_EAN_PERIODICALS","HID_USAGE_POS_BARCODE_UPC_A","HID_USAGE_POS_BARCODE_UPC_A_WITH_128_MANDATORY","HID_USAGE_POS_BARCODE_UPC_A_WITH_128_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_A_WITH_P5_OPTIONAL","HID_USAGE_POS_BARCODE_UPC_E","HID_USAGE_POS_BARCODE_UPC_E1","HID_USAGE_POS_BARCODE_PERIODICAL","HID_USAGE_POS_BARCODE_PERIODICAL_AUTO_DISCRIMINATE_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_ONLY_DECODE_WITH_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_IGNORE_PLUS_2","HID_USAGE_POS_BARCODE_PERIODICAL_AUTO_DISCRIMINATE_PLUS_5","HID_USAGE_POS_BARCODE_PERIODICAL_ONLY_DECODE_WITH_PLUS_5","HID_USAGE_POS_BARCODE_PERIODICAL_IGNORE_PLUS_5","HID_USAGE_POS_BARCODE_CHECK","HID_USAGE_POS_BARCODE_CHECK_DISABLE_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_4_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_5_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_EUROPEAN_4_DIGIT_PRICE","HID_USAGE_POS_BARCODE_CHECK_ENABLE_EUROPEAN_5_DIGIT_PRICE","HID_USAGE_POS_BARCODE_EAN_TWO_LABEL","HID_USAGE_POS_BARCODE_EAN_THREE_LABEL","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_1","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_2","HID_USAGE_POS_BARCODE_EAN_8_FLAG_DIGIT_3","HID_USAGE_POS_BARCODE_EAN_13_FLAG_DIGIT_1","HID_USAGE_POS_BARCODE_EAN_13_FLAG_DIGIT_2","HID_USAGE_POS_BARCODE_TRANSMIT_CHECK_DIGIT","HID_USAGE_POS_BARCODE_DISABLE_CHECK_DIGIT_TRANSMIT","HID_USAGE_POS_BARCODE_ENABLE_CHECK_DIGIT_TRANSMIT","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_1","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_2","HID_USAGE_POS_BARCODE_SYMBOLOGY_IDENTIFIER_3","HID_USAGE_POS_BARCODE_DECODED_DATA","HID_USAGE_POS_BARCODE_DECODE_DATA_CONTINUED","HID_USAGE_POS_BARCODE_BAR_SPACE_DATA","HID_USAGE_POS_BARCODE_SCANNER_DATA_ACCURACY","HID_USAGE_POS_BARCODE_RAW_DATA_POLARITY","HID_USAGE_POS_BARCODE_POLARITY_INVERTED_BAR_CODE","HID_USAGE_POS_BARCODE_POLARITY_NORMAL_BAR_CODE","HID_USAGE_POS_BARCODE_MINIMUM_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_MAXIMUM_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_FIRST_DISCRETE_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_SECOND_DISCRETE_LENGTH_TO_DECODE","HID_USAGE_POS_BARCODE_DATA_LENGTH_METHOD","HID_USAGE_POS_BARCODE_DL_METHOD_READ_ANY","HID_USAGE_POS_BARCODE_DL_METHOD_CHECK_IN_RANGE","HID_USAGE_POS_BARCODE_DL_METHOD_CHECK_FOR_DISCRETE","HID_USAGE_POS_BARCODE_AZTEC_CODE","HID_USAGE_POS_BARCODE_BC412","HID_USAGE_POS_BARCODE_CHANNEL_CODE","HID_USAGE_POS_BARCODE_CODE_16","HID_USAGE_POS_BARCODE_CODE_32","HID_USAGE_POS_BARCODE_CODE_49","HID_USAGE_POS_BARCODE_CODE_ONE","HID_USAGE_POS_BARCODE_COLORCODE","HID_USAGE_POS_BARCODE_DATA_MATRIX","HID_USAGE_POS_BARCODE_MAXICODE","HID_USAGE_POS_BARCODE_MICROPDF","HID_USAGE_POS_BARCODE_PDF_417","HID_USAGE_POS_BARCODE_POSICODE","HID_USAGE_POS_BARCODE_QR_CODE","HID_USAGE_POS_BARCODE_SUPERCODE","HID_USAGE_POS_BARCODE_ULTRACODE","HID_USAGE_POS_BARCODE_USD_5_SLUG_CODE","HID_USAGE_POS_BARCODE_VERICODE","HID_USAGE_POS_SCALE_UNDEFINED","HID_USAGE_POS_SCALE_WEIGHING_DEVICE","HID_USAGE_POS_SCALE_SCALE_DEVICE","HID_USAGE_POS_SCALE_SCALE_CLASS_I_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_I_METRIC_2","HID_USAGE_POS_SCALE_SCALE_CLASS_II_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_III_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_IIIL_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_IV_METRIC","HID_USAGE_POS_SCALE_SCALE_CLASS_III_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_IIIL_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_IV_ENGLISH","HID_USAGE_POS_SCALE_SCALE_CLASS_GENERIC","HID_USAGE_POS_SCALE_SCALE_ATTRIBUTE_REPORT","HID_USAGE_POS_SCALE_SCALE_CONTROL_REPORT","HID_USAGE_POS_SCALE_SCALE_DATA_REPORT","HID_USAGE_POS_SCALE_SCALE_STATUS_REPORT","HID_USAGE_POS_SCALE_SCALE_WEIGHT_LIMIT_REPORT","HID_USAGE_POS_SCALE_SCALE_STATISTICS_REPORT","HID_USAGE_POS_SCALE_DATA_WEIGHT","HID_USAGE_POS_SCALE_DATA_SCALING","HID_USAGE_POS_SCALE_WEIGHT_UNIT","HID_USAGE_POS_SCALE_WEIGHT_UNIT_MILLIGRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_GRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_KILOGRAM","HID_USAGE_POS_SCALE_WEIGHT_UNIT_CARATS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_TAELS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_GRAINS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_PENNYWEIGHTS","HID_USAGE_POS_SCALE_WEIGHT_UNIT_METRIC_TON","HID_USAGE_POS_SCALE_WEIGHT_UNIT_AVOIR_TON","HID_USAGE_POS_SCALE_WEIGHT_UNIT_TROY_OUNCE","HID_USAGE_POS_SCALE_WEIGHT_UNIT_OUNCE","HID_USAGE_POS_SCALE_WEIGHT_UNIT_POUND","HID_USAGE_POS_SCALE_CALIBRATION_COUNT","HID_USAGE_POS_SCALE_RE_ZERO_COUNT","HID_USAGE_POS_SCALE_SCALE_STATUS","HID_USAGE_POS_SCALE_SCALE_STATUS_FAULT","HID_USAGE_POS_SCALE_SCALE_STATUS_STABLE_AT_CENTER_OF_ZERO","HID_USAGE_POS_SCALE_SCALE_STATUS_IN_MOTION","HID_USAGE_POS_SCALE_SCALE_STATUS_WEIGHT_STABLE","HID_USAGE_POS_SCALE_SCALE_STATUS_UNDER_ZERO","HID_USAGE_POS_SCALE_SCALE_STATUS_OVER_WEIGHT_LIMIT","HID_USAGE_POS_SCALE_SCALE_STATUS_REQUIRES_CALIBRATION","HID_USAGE_POS_SCALE_SCALE_STATUS_REQUIRES_RE_ZEROING","HID_USAGE_POS_SCALE_ZERO_SCALE","HID_USAGE_POS_SCALE_ENFORCED_ZERO_RETURN","HID_USAGE_POS_MSR_UNDEFINED","HID_USAGE_POS_MSR_MSR_DEVICE_READ_ONLY","HID_USAGE_POS_MSR_TRACK_1_LENGTH","HID_USAGE_POS_MSR_TRACK_2_LENGTH","HID_USAGE_POS_MSR_TRACK_3_LENGTH","HID_USAGE_POS_MSR_TRACK_JIS_LENGTH","HID_USAGE_POS_MSR_TRACK_DATA","HID_USAGE_POS_MSR_TRACK_1_DATA","HID_USAGE_POS_MSR_TRACK_2_DATA","HID_USAGE_POS_MSR_TRACK_3_DATA","HID_USAGE_POS_MSR_TRACK_JIS_DATA","HID_USAGE_CAMERA_UNDEFINED","HID_USAGE_CAMERA_CAMERA_AUTO_FOCUS","HID_USAGE_CAMERA_CAMERA_SHUTTER","HID_USAGE_FIDO_UNDEFINED","HID_USAGE_FIDO_U2F_AUTHENTICATOR_DEVICE","HID_USAGE_FIDO_INPUT_REPORT_DATA","HID_USAGE_FIDO_OUTPUT_REPORT_DATA","ZMK_HID_USAGE","ZMK_HID_USAGE_ID","ZMK_HID_USAGE_PAGE","USAGE_KEYPAD","USAGE_CONSUMER","HID_USAGE_GD","HID_USAGE_SIM","HID_USAGE_VR","HID_USAGE_SPORT","HID_USAGE_GAME","HID_USAGE_GDV","HID_USAGE_KEY","HID_USAGE_LED","HID_USAGE_TELEPHONY","HID_USAGE_CONSUMER","HID_USAGE_DIGITIZERS","HID_USAGE_HAPTICS","HID_USAGE_PID","HID_USAGE_EHT","HID_USAGE_AUXDISP","HID_USAGE_SENSORS","HID_USAGE_MEDICAL","HID_USAGE_BRAILLE","HID_USAGE_LIGHT","HID_USAGE_MONITOR","HID_USAGE_MONITOR_VALUES","HID_USAGE_MONITOR_VESA","HID_USAGE_POWER","HID_USAGE_POS_BARCODE","HID_USAGE_POS_SCALE","HID_USAGE_POS_MSR","HID_USAGE_POS_RESV","HID_USAGE_CAMERA","HID_USAGE_ARCADE","HID_USAGE_GAMING","HID_USAGE_FIDO","SYSTEM_POWER","SYS_PWR","SYSTEM_SLEEP","SYS_SLEEP","SYSTEM_WAKE_UP","SYS_WAKE","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","NUMBER_1","N1","NUM_1","EXCLAMATION","EXCL","BANG","NUMBER_2","N2","NUM_2","AT_SIGN","AT","ATSN","NUMBER_3","N3","NUM_3","HASH","POUND","NUMBER_4","N4","NUM_4","DOLLAR","DLLR","NUMBER_5","N5","NUM_5","PERCENT","PRCNT","PRCT","NUMBER_6","N6","NUM_6","CARET","CRRT","NUMBER_7","N7","NUM_7","AMPERSAND","AMPS","NUMBER_8","N8","NUM_8","ASTERISK","ASTRK","STAR","NUMBER_9","N9","NUM_9","LEFT_PARENTHESIS","LPAR","LPRN","NUMBER_0","N0","NUM_0","RIGHT_PARENTHESIS","RPAR","RPRN","RETURN","ENTER","RET","ESCAPE","ESC","BACKSPACE","BSPC","BKSP","TAB","SPACE","SPC","MINUS","UNDERSCORE","UNDER","EQUAL","EQL","PLUS","LEFT_BRACKET","LBKT","LEFT_BRACE","LBRC","LCUR","RIGHT_BRACKET","RBKT","RIGHT_BRACE","RBRC","RCUR","BACKSLASH","BSLH","PIPE","NON_US_HASH","NUHS","TILDE2","SEMICOLON","SEMI","SCLN","COLON","COLN","SINGLE_QUOTE","SQT","APOSTROPHE","APOS","QUOT","DOUBLE_QUOTES","DQT","GRAVE","GRAV","TILDE","TILD","COMMA","CMMA","LESS_THAN","LT","LABT","PERIOD","DOT","GREATER_THAN","GT","RABT","SLASH","FSLH","QUESTION","QMARK","CAPSLOCK","CAPS","CLCK","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","PRINTSCREEN","PSCRN","PRSC","SCROLLLOCK","SLCK","SCLK","PAUSE_BREAK","PAUS","INSERT","INS","HOME","PAGE_UP","PG_UP","PGUP","DELETE","DEL","END","PAGE_DOWN","PG_DN","PGDN","RIGHT_ARROW","RIGHT","RARW","LEFT_ARROW","LEFT","LARW","DOWN_ARROW","DOWN","DARW","UP_ARROW","UP","UARW","KP_NUMLOCK","KP_NUM","KP_NLCK","CLEAR2","KP_DIVIDE","KP_SLASH","KDIV","KP_MULTIPLY","KP_ASTERISK","KMLT","KP_MINUS","KP_SUBTRACT","KMIN","KP_PLUS","KPLS","KP_ENTER","KP_NUMBER_1","KP_N1","KP_NUMBER_2","KP_N2","KP_NUMBER_3","KP_N3","KP_NUMBER_4","KP_N4","KP_NUMBER_5","KP_N5","KP_NUMBER_6","KP_N6","KP_NUMBER_7","KP_N7","KP_NUMBER_8","KP_N8","KP_NUMBER_9","KP_N9","KP_NUMBER_0","KP_N0","KP_DOT","NON_US_BACKSLASH","NON_US_BSLH","NUBS","PIPE2","K_APPLICATION","K_APP","K_CONTEXT_MENU","K_CMENU","GUI","K_POWER","K_PWR","KP_EQUAL","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","K_EXECUTE","K_EXEC","K_HELP","K_MENU","K_SELECT","K_STOP","K_AGAIN","K_REDO","K_UNDO","UNDO","K_CUT","CUT","K_COPY","COPY","K_PASTE","PSTE","K_FIND","K_MUTE","K_VOLUME_UP","K_VOL_UP","VOLU","K_VOLUME_DOWN","K_VOL_DN","VOLD","LOCKING_CAPS","LCAPS","LOCKING_NUM","LNLCK","LOCKING_SCROLL","LSLCK","KP_COMMA","KP_EQUAL_AS400","INTERNATIONAL_1","INT1","INT_RO","INTERNATIONAL_2","INT2","INT_KATAKANAHIRAGANA","INT_KANA","INTERNATIONAL_3","INT3","INT_YEN","INTERNATIONAL_4","INT4","INT_HENKAN","INTERNATIONAL_5","INT5","INT_MUHENKAN","INTERNATIONAL_6","INT6","INT_KPJPCOMMA","INTERNATIONAL_7","INT7","INTERNATIONAL_8","INT8","INTERNATIONAL_9","INT9","LANGUAGE_1","LANG1","LANG_HANGEUL","LANGUAGE_2","LANG2","LANG_HANJA","LANGUAGE_3","LANG3","LANG_KATAKANA","LANGUAGE_4","LANG4","LANG_HIRAGANA","LANGUAGE_5","LANG5","LANG_ZENKAKUHANKAKU","LANGUAGE_6","LANG6","LANGUAGE_7","LANG7","LANGUAGE_8","LANG8","LANGUAGE_9","LANG9","ALT_ERASE","SYSREQ","ATTENTION","K_CANCEL","CLEAR","PRIOR","RETURN2","RET2","SEPARATOR","OUT","OPER","CLEAR_AGAIN","CRSEL","EXSEL","CURU","KP_LEFT_PARENTHESIS","KP_LPAR","KP_RIGHT_PARENTHESIS","KP_RPAR","KSPC","KP_CLEAR","LEFT_CONTROL","LCTRL","LCTL","LEFT_SHIFT","LSHIFT","LSHFT","LSFT","LEFT_ALT","LALT","LEFT_GUI","LGUI","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA","RIGHT_CONTROL","RCTRL","RCTL","RIGHT_SHIFT","RSHIFT","RSHFT","RSFT","RIGHT_ALT","RALT","RIGHT_GUI","RGUI","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA","K_PLAY_PAUSE","K_PP","K_STOP2","K_PREVIOUS","K_PREV","K_NEXT","K_EJECT","K_VOLUME_UP2","K_VOL_UP2","K_VOLUME_DOWN2","K_VOL_DN2","K_MUTE2","K_WWW","K_BACK","K_FORWARD","K_STOP3","K_FIND2","K_SCROLL_UP","K_SCROLL_DOWN","K_EDIT","K_SLEEP","K_LOCK","K_SCREENSAVER","K_COFFEE","K_REFRESH","K_CALCULATOR","K_CALC","C_POWER","C_PWR","C_RESET","C_SLEEP","C_SLEEP_MODE","C_MENU","C_MENU_PICK","C_MENU_SELECT","C_MENU_UP","C_MENU_DOWN","C_MENU_LEFT","C_MENU_RIGHT","C_MENU_ESCAPE","C_MENU_ESC","C_MENU_INCREASE","C_MENU_INC","C_MENU_DECREASE","C_MENU_DEC","C_DATA_ON_SCREEN","C_CAPTIONS","C_SUBTITLES","C_SNAPSHOT","C_PIP","C_RED_BUTTON","C_RED","C_GREEN_BUTTON","C_GREEN","C_BLUE_BUTTON","C_BLUE","C_YELLOW_BUTTON","C_YELLOW","C_ASPECT","C_BRIGHTNESS_INC","C_BRI_INC","C_BRI_UP","C_BRIGHTNESS_DEC","C_BRI_DEC","C_BRI_DN","C_BACKLIGHT_TOGGLE","C_BKLT_TOG","C_BRIGHTNESS_MINIMUM","C_BRI_MIN","C_BRIGHTNESS_MAXIMUM","C_BRI_MAX","C_BRIGHTNESS_AUTO","C_BRI_AUTO","C_MEDIA_STEP","C_MODE_STEP","C_RECALL_LAST","C_CHAN_LAST","C_MEDIA_COMPUTER","C_MEDIA_TV","C_MEDIA_WWW","C_MEDIA_DVD","C_MEDIA_PHONE","C_MEDIA_GUIDE","C_MEDIA_VIDEOPHONE","C_MEDIA_GAMES","C_MEDIA_MESSAGES","C_MEDIA_CD","C_MEDIA_VCR","C_MEDIA_TUNER","C_QUIT","C_HELP","C_MEDIA_TAPE","C_MEDIA_CABLE","C_MEDIA_SATELLITE","C_MEDIA_HOME","C_CHANNEL_INC","C_CHAN_INC","C_CHANNEL_DEC","C_CHAN_DEC","C_MEDIA_VCR_PLUS","C_PLAY","C_PAUSE","C_RECORD","C_REC","C_FAST_FORWARD","C_FF","C_REWIND","C_RW","C_NEXT","M_NEXT","C_PREVIOUS","C_PREV","M_PREV","C_STOP","M_STOP","C_EJECT","M_EJCT","C_RANDOM_PLAY","C_SHUFFLE","C_REPEAT","C_SLOW_TRACKING","C_SLOW2","C_STOP_EJECT","C_PLAY_PAUSE","C_PP","M_PLAY","C_VOICE_COMMAND","C_MUTE","M_MUTE","C_BASS_BOOST","C_VOLUME_UP","C_VOL_UP","M_VOLU","C_VOLUME_DOWN","C_VOL_DN","M_VOLD","C_SLOW","C_ALTERNATE_AUDIO_INCREMENT","C_ALT_AUDIO_INC","C_AL_CCC","C_AL_WORD","C_AL_TEXT_EDITOR","C_AL_SPREADSHEET","C_AL_SHEET","C_AL_GRAPHICS_EDITOR","C_AL_PRESENTATION","C_AL_DATABASE","C_AL_DB","C_AL_EMAIL","C_AL_MAIL","C_AL_NEWS","C_AL_VOICEMAIL","C_AL_CONTACTS","C_AL_ADDRESS_BOOK","C_AL_CALENDAR","C_AL_CAL","C_AL_TASK_MANAGER","C_AL_JOURNAL","C_AL_FINANCE","C_AL_CALCULATOR","C_AL_CALC","C_AL_AV_CAPTURE_PLAYBACK","C_AL_MY_COMPUTER","C_AL_WWW","C_AL_NETWORK_CHAT","C_AL_CHAT","C_AL_LOGOFF","C_AL_LOCK","C_AL_SCREENSAVER","C_AL_COFFEE","C_AL_CONTROL_PANEL","C_AL_SELECT_TASK","C_AL_NEXT_TASK","C_AL_PREVIOUS_TASK","C_AL_PREV_TASK","C_AL_HELP","C_AL_DOCUMENTS","C_AL_DOCS","C_AL_SPELLCHECK","C_AL_SPELL","C_AL_KEYBOARD_LAYOUT","C_AL_SCREEN_SAVER","C_AL_FILE_BROWSER","C_AL_FILES","C_AL_IMAGE_BROWSER","C_AL_IMAGES","C_AL_AUDIO_BROWSER","C_AL_AUDIO","C_AL_MUSIC","C_AL_MOVIE_BROWSER","C_AL_MOVIES","C_AL_INSTANT_MESSAGING","C_AL_IM","C_AL_OEM_FEATURES","C_AL_TIPS","C_AL_TUTORIAL","C_AC_NEW","C_AC_OPEN","C_AC_CLOSE","C_AC_EXIT","C_AC_SAVE","C_AC_PRINT","C_AC_PROPERTIES","C_AC_PROPS","C_AC_UNDO","C_AC_COPY","C_AC_CUT","C_AC_PASTE","C_AC_FIND","C_AC_SEARCH","C_AC_GOTO","C_AC_HOME","C_AC_BACK","C_AC_FORWARD","C_AC_STOP","C_AC_REFRESH","C_AC_BOOKMARKS","C_AC_FAVORITES","C_AC_FAVOURITES","C_AC_ZOOM_IN","C_AC_ZOOM_OUT","C_AC_ZOOM","C_AC_VIEW_TOGGLE","C_AC_SCROLL_UP","C_AC_SCROLL_DOWN","C_AC_EDIT","C_AC_CANCEL","C_AC_INSERT","C_AC_INS","C_AC_DEL","C_AC_REDO","C_AC_REPLY","C_AC_FORWARD_MAIL","C_AC_SEND","C_AC_DESKTOP_SHOW_ALL_WINDOWS","C_AC_DESKTOP_SHOW_ALL_APPLICATIONS","C_KEYBOARD_INPUT_ASSIST_PREVIOUS","C_KBIA_PREV","C_KEYBOARD_INPUT_ASSIST_NEXT","C_KBIA_NEXT","C_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP","C_KBIA_PREV_GRP","C_KEYBOARD_INPUT_ASSIST_NEXT_GROUP","C_KBIA_NEXT_GRP","C_KEYBOARD_INPUT_ASSIST_ACCEPT","C_KBIA_ACCEPT","C_KEYBOARD_INPUT_ASSIST_CANCEL","C_KBIA_CANCEL","ZMK_MOCK_IS_PRESS","ZMK_MOCK_PRESS","ZMK_MOCK_RELEASE","ZMK_MOCK_ROW","ZMK_MOCK_COL","ZMK_MOCK_MSEC","KT_ROW","KT_COL","RC","MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI","SELECT_MODS","STRIP_MODS","APPLY_MODS","LC","LS","LA","LG","RC","RS","RA","RG","OUT_TOG","OUT_USB","OUT_BLE","RST_WARM","RST_COLD","RST_UF2","RGB_TOG_CMD","RGB_ON_CMD","RGB_OFF_CMD","RGB_HUI_CMD","RGB_HUD_CMD","RGB_SAI_CMD","RGB_SAD_CMD","RGB_BRI_CMD","RGB_BRD_CMD","RGB_SPI_CMD","RGB_SPD_CMD","RGB_EFF_CMD","RGB_EFR_CMD","RGB_EFS_CMD","RGB_COLOR_HSB_CMD","RGB_TOG","RGB_ON","RGB_OFF","RGB_HUI","RGB_HUD","RGB_SAI","RGB_SAD","RGB_BRI","RGB_BRD","RGB_SPI","RGB_SPD","RGB_EFF","RGB_EFR","RGB_COLOR_HSB_VAL","RGB_COLOR_HSB","RGB_COLOR_HSV"]')},30877:function(_){"use strict";_.exports=JSON.parse('[{"match":{"code":"<"},"params":["layer","code"]},{"match":{"code":"&mt"},"params":["code","code"]},{"match":{"code":"&sl"},"params":["layer"]},{"match":{"code":"&sk"},"params":["code"]},{"match":{"code":"&inc_dec_kp"},"params":["code","code"]},{"match":{"compatible":"zmk,behavior-backlight"},"params":[{"name":"backlight action","type":"command","enum":[{"code":"BL_ON","description":"Turn on backlight"},{"code":"BL_OFF","description":"Turn off backlight"},{"code":"BL_TOG","description":"Toggle backlight on and off"},{"code":"BL_INC","description":"Increase brightness"},{"code":"BL_DEC","description":"Decrease brightness"},{"code":"BL_CYCLE","description":"Cycle brightness"},{"code":"BL_SET","description":"Set a specific brightness","additionalParams":[{"name":"brightness","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]}]}]}]},{"match":{"compatible":"zmk,behavior-bluetooth"},"params":[{"name":"bluetooth action","type":"command","enum":[{"code":"BT_CLR","displayName":"Clear profile","description":"Clear bond information between the keyboard and host for the selected profile."},{"code":"BT_NXT","displayName":"Next profile","description":"Switch to the next profile, cycling through to the first one when the end is reached."},{"code":"BT_PRV","displayName":"Previous profile","description":"Switch to the previous profile, cycling through to the last one when the beginning is reached."},{"code":"BT_SEL","displayName":"Select profile","description":"Select the 0-indexed profile by number. Please note: this definition must include a number as an argument in the keymap to work correctly. eg. BT_SEL 0","additionalParams":[{"name":"bluetooth profile","type":"integer","enum":[{"code":0,"displayName":"Bluetooth profile #0"},{"code":1,"displayName":"Bluetooth profile #1"},{"code":2,"displayName":"Bluetooth profile #2"},{"code":3,"displayName":"Bluetooth profile #3"},{"code":4,"displayName":"Bluetooth profile #4"}]}]}]}]},{"match":{"compatible":"zmk,behavior-key-press"},"params":["code"]},{"match":{"compatible":"zmk,behavior-key-toggle"},"params":["code"]},{"match":{"compatible":"zmk,behavior-momentary-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-outputs"},"params":[{"type":"command","name":"keyboard output mode","enum":[{"code":"OUT_BLE","name":"BLE","description":"Prefer sending to the current bluetooth profile"},{"code":"OUT_USB","name":"USB","description":"Prefer sending to USB"},{"code":"OUT_TOG","name":"Toggle","description":"Toggle between USB and BLE"}]}]},{"match":{"compatible":"zmk,behavior-to-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-toggle-layer"},"params":["layer"]},{"match":{"compatible":"zmk,behavior-rgb-underglow"},"params":[{"type":"command","name":"RGB underglow action","enum":[{"code":"RGB_TOG","displayName":"Toggle","description":"Toggles the RGB feature on and off"},{"code":"RGB_HUI","displayName":"Increase hue","description":"Increases the hue of the RGB feature"},{"code":"RGB_HUD","displayName":"Decrease hue","description":"Decreases the hue of the RGB feature"},{"code":"RGB_SAI","displayName":"Increase saturation","description":"Increases the saturation of the RGB feature"},{"code":"RGB_SAD","displayName":"Decrease saturation","description":"Decreases the saturation of the RGB feature"},{"code":"RGB_BRI","displayName":"Increase brightness","description":"Increases the brightness of the RGB feature"},{"code":"RGB_BRD","displayName":"Decrease brightness","description":"Decreases the brightness of the RGB feature"},{"code":"RGB_SPI","displayName":"Increase speed","description":"Increases the speed of the RGB feature effect\'s animation"},{"code":"RGB_SPD","displayName":"Decrease speed","description":"Decreases the speed of the RGB feature effect\'s animation"},{"code":"RGB_EFF","displayName":"Next effect","description":"Cycles the RGB feature\'s effect forwards"},{"code":"RGB_EFR","displayName":"Previous effect","description":"Cycles the RGB feature\'s effect reverse"},{"code":"RGB_COLOR_HSB","displayName":"Set color","description":"Sets a specific HSB (HSV) value for the underglow","symbol":"HSB","helper":"hsb-color-picker","helperPrompt":"Set color","params":[{"name":"hue","type":"integer","enum":[0,30,60,90,120,160,180,210,240,270,300,330,360]},{"name":"saturation","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]},{"name":"value","type":"integer","enum":[0,10,20,30,40,50,60,70,80,90,100]}]}]}]},{"match":{"compatible":"zmk,behavior-ext-power"},"params":[{"type":"command","name":"external power mode","enum":[{"code":"EP_ON","name":"On","description":"Enable the external power"},{"code":"EP_OFF","name":"Off","description":"Disable the external power"},{"code":"EP_TOG","name":"Toggle","description":"Toggle the external power"}]}]},{"match":{"compatible":"zmk,macro-control-tap-time"},"params":[{"type":"number","raw":true}]},{"match":{"compatible":"zmk,macro-control-wait-time"},"params":[{"type":"number","raw":true}]}]')},31742:function(_){"use strict";_.exports=JSON.parse('{"zmk,behavior-sensor-rotate":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate","include":"zero_param.yaml","properties":{"#sensor-binding-cells":{"type":"int","required":true,"const":0},"bindings":{"type":"phandle-array","required":true},"tap-ms":{"type":"int","default":5},"label":{"type":"string","required":true}}},"zmk,behavior-sensor-rotate-var":{"description":"Sensor rotate behavior","compatible":"zmk,behavior-sensor-rotate-var","include":"two_param.yaml","properties":{"#sensor-binding-cells":{"type":"int","required":true,"const":2},"bindings":{"type":"phandles","required":true},"tap-ms":{"type":"int","default":5},"label":{"type":"string","required":true}}}}')},43003:function(_){"use strict";_.exports=JSON.parse('[{"match":{"compatible":"zmk,behavior-caps-word"},"properties":{"continue-list":{"choices":{"$source":"keycodes","$key":"code"}},"mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]}}},{"match":{"compatible":"zmk,behavior-mod-morph"},"properties":{"bindings":{"length":2},"mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]},"keep-mods":{"type":"integer-union","choices":["MOD_LCTL","MOD_LSFT","MOD_LALT","MOD_LGUI","MOD_RCTL","MOD_RSFT","MOD_RALT","MOD_RGUI"]}}},{"match":{"compatible":"zmk,behavior-hold-tap"},"properties":{"bindings":{"length":2},"hold-trigger-key-positions":{"helper":"key-position-picker"},"tapping-term-ms":{"required":true},"tapping_term_ms":{"required":true,"deprecatedBy":"tapping-term-ms"},"quick_tap_ms":{"deprecatedBy":"quick-tap-ms"}}},{"match":{"compatible":"zmk,behavior-sticky-key"},"properties":{"bindings":{"length":1}}},{"match":{"compatible":"zmk,behavior-sensor-rotate-var"},"description":"Sensor rotate behavior (with parameters)","properties":{"bindings":{"length":2}}}]')},80012:function(_){"use strict";_.exports=JSON.parse('[{"name":"behavior_reset","description":"Removed in Zephyr 3.2, use &sys_reset","labels":["reset"],"code":"&reset","compatible":"zmk,behavior-reset","properties":{"compatible":{"raw":"\\"zmk,behavior-reset\\"","parsed":"zmk,behavior-reset"},"#binding-cells":{"raw":"<0>","parsed":0},"label":{"raw":"\\"RESET\\"","parsed":"RESET"}}}]')},92914:function(_){"use strict";_.exports=JSON.parse('[{"match":{"compatible":"zmk,behavior-backlight"},"includes":["#include <dt-bindings/zmk/backlight.h>"],"displayName":"Backlight"},{"match":{"compatible":"zmk,behavior-bluetooth"},"includes":["#include <dt-bindings/zmk/bt.h>"],"displayName":"Bluetooth"},{"match":{"compatible":"zmk,behavior-key-press"},"displayName":"Key Press","includes":["#include <dt-bindings/zmk/keys.h>"],"docsUrl":"https://zmk.dev/docs/behaviors/key-press#key-press"},{"match":{"compatible":"zmk,behavior-key-toggle"},"displayName":"Key Toggle","includes":["#include <dt-bindings/zmk/keys.h>"]},{"match":{"code":"<"},"displayName":"Layer/Tap","description":"Layer or Tap behavior","docsUrl":"https://zmk.dev/docs/behaviors/layers#layer-tap"},{"match":{"compatible":"zmk,behavior-momentary-layer"},"displayName":"Momentary Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#momentary-layer"},{"match":{"code":"&mt"},"displayName":"Mod/Tap","description":"Mod or Tap behavior"},{"match":{"compatible":"zmk,behavior-outputs"},"includes":["#include <dt-bindings/zmk/outputs.h>"],"displayName":"Output"},{"match":{"code":"&sl"},"displayName":"Sticky Layer","description":"Sticky layer behavior"},{"match":{"code":"&sk"},"displayName":"Sticky Key"},{"match":{"compatible":"zmk,behavior-to-layer"},"displayName":"To Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#to-layer"},{"match":{"compatible":"zmk,behavior-toggle-layer"},"displayName":"Toggle Layer","docsUrl":"https://zmk.dev/docs/behaviors/layers#toggle-layer"},{"match":{"compatible":"zmk,behavior-rgb-underglow"},"includes":["#include <dt-bindings/zmk/rgb.h>"],"displayName":"RGB Underglow"},{"match":{"compatible":"zmk,behavior-ext-power"},"includes":["#include <dt-bindings/zmk/ext_power.h>"],"displayName":"External Power"},{"match":{"compatible":"zmk,macro-control-mode-press"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-mode-release"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-mode-tap"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-tap-time"},"context":"macros"},{"match":{"compatible":"zmk,macro-control-wait-time"},"context":"macros"},{"match":{"compatible":"zmk,macro-pause-for-release"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-1to1"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-1to2"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-2to1"},"context":"macros"},{"match":{"compatible":"zmk,macro-param-2to2"},"context":"macros"},{"match":{"code":"&inc_dec_kp"},"displayName":"Increment/Decrement Key Press","context":"encoders"},{"match":{"compatible":"zmk,behavior-sensor-rotate-var"},"displayName":"Sensor Rotate (variable)","context":"encoders"},{"match":{"compatible":"zmk,behavior-sensor-rotate"},"displayName":"Sensor Rotate","context":"encoders"}]')},27112:function(_){"use strict";_.exports=JSON.parse('[{"names":["LEFT_ALT","LALT","LA(code)"],"symbol":"⌥","faIcon":null},{"names":["RIGHT_ALT","RALT","RA(code)"],"symbol":"⌥","faIcon":null},{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"symbol":"⌘","faIcon":null},{"names":["RIGHT_GUI","RGUI","RG(code)","RIGHT_WIN","RWIN","RIGHT_COMMAND","RCMD","RIGHT_META","RMETA"],"symbol":"⌘","faIcon":null}]')},445:function(_){"use strict";_.exports=JSON.parse('[{"names":["RETURN","ENTER","RET"],"symbol":"⮐","faIcon":null},{"names":["SPACE"],"symbol":"␣","faIcon":null},{"names":["LEFT_SHIFT","LSHIFT","LSHFT","LS(code)"],"symbol":"⇧","faIcon":null},{"names":["RIGHT_SHIFT","RSHIFT","RSHFT","RS(code)"],"symbol":"⇧","faIcon":null}]')},27453:function(_){"use strict";_.exports=JSON.parse('[{"names":["LEFT_GUI","LGUI","LG(code)","LEFT_WIN","LWIN","LEFT_COMMAND","LCMD","LEFT_META","LMETA"],"faIcon":"windows fa-brands"}]')},97107:function(_){"use strict";_.exports=JSON.parse('[{"names":["EXCL"],"symbol":"!"},{"names":["AT"],"symbol":"@"},{"names":["HASH"],"symbol":"#"},{"names":["DLLR"],"symbol":"$"},{"names":["PRCNT"],"symbol":"%"},{"names":["CARET"],"symbol":"^"},{"names":["AMPS"],"symbol":"&"},{"names":["STAR"],"symbol":"*"},{"names":["BSPC"],"faIcon":"delete-left"},{"names":["DEL"],"faIcon":"delete-right"},{"names":["MINUS"],"symbol":"-"},{"names":["UNDER"],"symbol":"_"},{"names":["EQUAL"],"symbol":"="},{"names":["PLUS"],"symbol":"+"},{"names":["PIPE"],"symbol":"|"},{"names":["COLON"],"symbol":":"},{"names":["GRAVE"],"symbol":"`"},{"names":["TILDE"],"symbol":"~"},{"names":["LT"],"symbol":"<"},{"names":["GT"],"symbol":">"},{"names":["RIGHT"],"faIcon":"caret-right"},{"names":["LEFT"],"faIcon":"caret-left"},{"names":["DOWN"],"faIcon":"caret-down"},{"names":["UP"],"faIcon":"caret-up"},{"names":["C_PWR"],"faIcon":"power-off"},{"names":["K_PWR"],"faIcon":"power-off"},{"names":["C_AL_LOCK"],"faIcon":"lock"},{"names":["K_LOCK"],"faIcon":"lock"},{"names":["C_SLEEP"],"faIcon":"moon"},{"names":["K_SLEEP"],"faIcon":"moon"},{"names":["C_SLEEP_MODE"],"faIcon":"moon"},{"names":["LEFT_PARENTHESIS","LPAR"],"symbol":"(","faIcon":null},{"names":["RIGHT_PARENTHESIS","RPAR"],"symbol":")","faIcon":null},{"names":["LEFT_BRACKET","LBKT"],"symbol":"[","faIcon":null},{"names":["LEFT_BRACE","LBRC"],"symbol":"{","faIcon":null},{"names":["RIGHT_BRACKET","RBKT"],"symbol":"]","faIcon":null},{"names":["RIGHT_BRACE","RBRC"],"symbol":"}","faIcon":null},{"names":["BACKSLASH","BSLH"],"symbol":"\\\\","faIcon":null},{"names":["SEMICOLON","SEMI"],"symbol":";","faIcon":null},{"names":["SINGLE_QUOTE","SQT","APOSTROPHE","APOS"],"symbol":"\'","faIcon":null},{"names":["DOUBLE_QUOTES","DQT"],"symbol":"\\"","faIcon":null},{"names":["COMMA"],"symbol":",","faIcon":null},{"names":["PERIOD","DOT"],"symbol":".","faIcon":null},{"names":["GREATER_THAN","GT"],"symbol":">","faIcon":null},{"names":["SLASH","FSLH"],"symbol":"/","faIcon":null},{"names":["QUESTION","QMARK"],"symbol":"?","faIcon":null},{"names":["NON_US_BACKSLASH","NON_US_BSLH"],"symbol":"\\\\","faIcon":null},{"names":["K_MUTE"],"symbol":null,"faIcon":"volume-mute"},{"names":["C_VOLUME_UP","C_VOL_UP"],"symbol":null,"faIcon":"volume-up"},{"names":["C_VOLUME_DOWN","C_VOL_DN"],"symbol":null,"faIcon":"volume-down"}]')}}]); +//# sourceMappingURL=shared.d86d4fb68aba6e9ecb92.js.map
\ No newline at end of file |