summaryrefslogtreecommitdiffhomepage
path: root/6538.f54a160d3283f7f6f53a.js
blob: a60f81fc962ba7ad018bf4508dad54c801b48e9c (plain)
1
2
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6538],{27926:function(n,e,r){r.d(e,{Z:function(){return j}});var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),A=r(19216),d=r.n(A),p=r(44589),f=r.n(p),b=r(56281),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),o()(b.Z,m);var y=b.Z&&b.Z.locals?b.Z.locals:void 0,h=r(85893);function v(n){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},v(n)}var C=["children","secondary","className"];function g(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function x(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){B(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):g(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}function E(n){var e=n.children,r=n.secondary,t=n.className,o=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,C);return(0,h.jsx)("button",x(x({className:[t,y.action,r&&y.secondary].join(" ")},o),{},{children:e}))}E.defaultProps={className:""};var j=E},2062:function(n,e,r){r.d(e,{Z:function(){return C}});var t=r(41051),o=r(93379),i=r.n(o),a=r(7795),l=r.n(a),c=r(90569),u=r.n(c),s=r(3565),A=r.n(s),d=r(19216),p=r.n(d),f=r(44589),b=r.n(f),m=r(528),y={};y.styleTagTransform=b(),y.setAttributes=A(),y.insert=u().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=p(),i()(m.Z,y);var h=m.Z&&m.Z.locals?m.Z.locals:void 0,v=r(85893);function C(n){var e=n.children,r=n.className,o=void 0===r?"":r,i=[h.tip,o].join(" ");return(0,v.jsxs)("div",{className:i,children:[(0,v.jsx)(t.Z,{className:"fa-flip-horizontal",name:"hand-point-up"})," ",e]})}},81404:function(n,e,r){r.d(e,{Z:function(){return y}});var t=r(94184),o=r.n(t),i=r(67294),a=r(39693),l=r.n(a),c=r(35161),u=r.n(c),s=r(52156),A=r(61953),d=r(38356),p=r(74871),f=r(85893);function b(n){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b(n)}function m(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 y(n){var e,r=n.node,t=n.onSelect,o=n.expanded,a=void 0!==o&&o,c=(0,i.useCallback)((function(n){n.stopPropagation(),t({node:r,type:"tree"})}),[r,t]),d=void 0===(null===(e=r.source)||void 0===e?void 0:e.code)||void 0===r.value||r._isPlaceholder,b=(0,i.useMemo)((function(){return u()((0,p.H)(r),"source")}),[r]),m=b.length>1,y=(0,i.useMemo)((function(){return b.map(s.rG).join(" + ")}),[b]),g=a?(0,f.jsx)(h,{codes:b}):m?(0,f.jsx)(v,{codes:b}):(0,f.jsx)(C,{codes:b});return(0,f.jsx)("span",{className:l()([A.Z.code,d&&A.Z.missingValue]).join(" "),title:y,onClick:c,children:d?(0,f.jsx)(s.J1,{}):g})}function h(n){var e=n.codes,r=(0,i.useMemo)((function(){var n=e.slice(0,-1),r=e.at(-1);return n.reduce((function(n,e){return"".concat(e.code,"(").concat(n,")")}),null==r?void 0:r.code)}),[e]),t=(0,i.useMemo)((function(){return e.map((function(n){return n?n.description||n.name:"⦸"})).join(" + ")}),[e]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("code",{children:r}),(0,f.jsx)("span",{children:t})]})}function v(n){var e=n.codes,r=(0,i.useMemo)((function(){return e.slice(0,-1).map(s.r8).map((function(n,e){return(0,f.jsx)("span",{children:n},e)})).reduce((function(n,e){return 0===n.length?[e]:[].concat(function(n){if(Array.isArray(n))return m(n)}(r=n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(r)||function(n,e){if(n){if("string"==typeof n)return m(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)?m(n,e):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]);var r}),[])}),[e]),t=(0,i.useMemo)((function(){return(0,s.r8)(e.at(-1))}),[e]);return(0,f.jsxs)("span",{className:d.Z.keycodeWithModifiers,children:[(0,f.jsx)("span",{className:d.Z.appliedModifierSymbols,children:r}),(0,f.jsx)("span",{className:d.Z.modifiedKeycodeSymbol,children:t})]})}function C(n){var e,r,t,a=n.codes,l=(0,i.useMemo)((function(){return(0,s.r8)(a[0])}),[a]);return(0,f.jsx)("span",{className:o()((e={},r=d.Z.modifier,t=a[0].isModifier,(r=function(n){var e=function(n,e){if("object"!==b(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==b(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===b(e)?e:String(e)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e)),children:l})}},74871:function(n,e,r){function t(n,e){if(n){if("string"==typeof n)return i(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(n,e):void 0}}function o(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}function i(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function a(n){return n.params.length>0?[n].concat(function(n){if(Array.isArray(n))return i(n)}(e=a(n.params[0]))||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):[n];var e}function l(n){var e,r=function(n){if(Array.isArray(n))return n}(e=n)||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],a=r.slice(1);return{value:i,params:0===a.length?[]:[l(a)]}}r.d(e,{H:function(){return a},n:function(){return l}})},83197:function(n,e,r){r.d(e,{N:function(){return M},Z:function(){return q}});var t=r(27361),o=r.n(t),i=r(45697),a=r.n(i),l=r(67294),c=r(67069),u=r(52156),s=r(81404),A=r(93379),d=r.n(A),p=r(7795),f=r.n(p),b=r(90569),m=r.n(b),y=r(3565),h=r.n(y),v=r(19216),C=r.n(v),g=r(44589),x=r.n(g),B=r(33151),E={};E.styleTagTransform=x(),E.setAttributes=h(),E.insert=m().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=C(),d()(B.Z,E);var j=B.Z&&B.Z.locals?B.Z.locals:void 0,k=r(85893);function w(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 S=function(n){var e,r,t=n.node,o=n.onSelect,i=(e=t.params,r=3,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return w(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)?w(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],c=i[1],s=i[2],A=(0,l.useCallback)((function(n){var e;null==n||null===(e=n.stopPropagation)||void 0===e||e.call(n),o({node:t,type:"tree"})}),[t,o]),d=(0,l.useMemo)((function(){return[a,c,s].some((function(n){return void 0===(null==n?void 0:n.value)||(null==n?void 0:n._isPlaceholder)}))}),[a,c,s]),p=(0,l.useMemo)((function(){return[a,c,s].some((function(n){return void 0===(null==n?void 0:n.value)}))?{}:{backgroundColor:"hsl(".concat(a.value,", ").concat(c.value,"%, ").concat(s.value,"%)"),border:".1em solid hsl(".concat(a.value,", ").concat(c.value,"%, ").concat(.75*s.value,"%)"),boxSizing:"border-box"}}),[a,c,s]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(u.ZP,{node:t,onSelect:o}),d?(0,k.jsx)(u.ZP,{node:{},onSelect:A}):(0,k.jsx)("div",{onClick:A,className:j.colorIconWrapper,children:(0,k.jsx)("div",{className:j.colorIcon,title:p.backgroundColor,style:p})})]})},O=r(61953);function P(n){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P(n)}function Z(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function T(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){D(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function D(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==P(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==P(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===P(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function I(n){var e=n.node,r=n.onSelect,t=n.expanded;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(u.ZP,{node:e,onSelect:r,expanded:t}),o()(e,"source.params.length")>0?(0,k.jsx)(Y,{slots:e.source.params,params:e.params,onSelect:r}):null]})}function M(n){var e=n.node,r=n.onSelect,t=n.slot,o=n.expanded,i=void 0!==o&&o,a=(0,l.useMemo)((function(){var n;return"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?S:"code"===t?s.Z:I}),[e,t]);return(0,k.jsx)("span",{className:O.Z.param,children:(0,k.jsx)(a,{node:e,onSelect:r,expanded:i})})}function Y(n){var e=n.slots,r=n.params,t=n.onSelect,o=n.root,i=n.wrapperProps;return(0,k.jsx)("span",T(T({className:O.Z.params,"data-is-root":!!o,"data-param-count":r.length},i),{},{children:e.map((function(n,e){return"placeholder"!==n.type&&(0,k.jsx)(M,{slot:n,node:r[e],onSelect:t},e)}))}))}Y.propTypes={slots:a().arrayOf(c.wu).isRequired,params:a().arrayOf(c.le).isRequired,source:c.qz,onSelect:a().func};var q=Y},52156:function(n,e,r){r.d(e,{J1:function(){return d},r8:function(){return f},rG:function(){return p}});var t=r(39693),o=r.n(t),i=r(67294),a=r(45697),l=r.n(a),c=r(67069),u=r(61953),s=r(41051),A=r(85893);function d(){return(0,A.jsx)("span",{children:"⦸"})}function p(n){var e=(null==n?void 0:n.displayName)||(null==n?void 0:n.description);return n&&"(".concat(n.code,") ").concat(e)}function f(n){var e,r=(null==n?void 0:n.symbol)||(null==n||null===(e=n.code)||void 0===e?void 0:e.toString());return(null==n?void 0:n.faIcon)&&(0,A.jsx)(s.Z,{name:null==n?void 0:n.faIcon})||r||(0,A.jsx)(d,{})}function b(n){var e,r,t=n.value,o=n.expanded;if(void 0===o||!o)return f(t);if(!t)return(0,A.jsx)(d,{});var i=t.faIcon?(0,A.jsx)(s.Z,{name:t.faIcon}):t.symbol,a=null===(e=t.code)||void 0===e||null===(r=e.toString)||void 0===r?void 0:r.call(e),l=t.displayName||t.description||t.name;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("code",{children:a}),l&&(0,A.jsx)("span",{children:l})," ",i]})}function m(n){var e=n.node,r=n.onSelect,t=n.expanded,a=void 0!==t&&t,l=e.value,c=e.source,s=e._isPlaceholder,f=p(c),m=(0,i.useCallback)((function(n){n.stopPropagation(),r({node:e})}),[e,r]);return(0,A.jsx)("span",{className:o()([u.Z.code,(void 0===l||s)&&u.Z.missingValue]).join(" "),title:f,onClick:m,children:s?(0,A.jsx)(d,{}):(0,A.jsx)(b,{value:c,expanded:a})})}m.propTypes={node:c.le.isRequired,onSelect:l().func},e.ZP=m},27213:function(n,e,r){r.d(e,{Z:function(){return d}});var t=r(94184),o=r.n(t),i=r(83197),a=r(64536),l=r(39017),c=r(61953),u=r(41051),s=r(85893);function A(n){return A="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},A(n)}function d(n){var e,r,t,a,d,p=n.value,f=(0,l.wQ)(p),b=(0,l.UU)(p),m=f.source,y=(0,l.Kf)(f);return(0,s.jsxs)(s.Fragment,{children:[m?(0,s.jsx)("span",{className:o()(c.Z["behaviour-binding"],(t={},a=c.Z.missingValue,d=!(null!==(e=f.source)&&void 0!==e&&e.code),(a=function(n){var e=function(n,e){if("object"!==A(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==A(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===A(e)?e:String(e)}(a))in t?Object.defineProperty(t,a,{value:d,enumerable:!0,configurable:!0,writable:!0}):t[a]=d,t)),children:(null===(r=f.source)||void 0===r?void 0:r.code)||"⦸"}):null,y&&(0,s.jsx)(u.Z,{name:"warning",className:c.Z.missing,title:"Binding has missing value(s)"}),(0,s.jsx)(i.Z,{root:!0,slots:b,params:f.params,wrapperProps:{"data-simple":(0,l.Gg)(f),"data-long":(0,l.Mc)(f,b)}})]})}d.propTypes={value:a.U4.isRequired}},67069:function(n,e,r){r.d(e,{dH:function(){return A},le:function(){return d},qz:function(){return u},wu:function(){return a}});var t=r(45697),o=r.n(t),i=o().oneOfType([o().number,o().shape({name:o().string,type:o().string,description:o().string,code:o().any})]),a=o().oneOfType([o().oneOf(["code","layer"]),o().shape({type:o().oneOf(["placeholder"])}),o().shape({enum:o().arrayOf(i),raw:o().bool,name:o().string,type:o().string.isRequired})]),l=o().arrayOf(a),c=o().oneOfType([o().string,o().number]),u=o().shape({params:l,code:c.isRequired,description:o().string,symbol:o().string,faIcon:o().string}),s={value:c,source:u};s.params=o().arrayOf(o().shape(s));var A=o().shape(s),d=A;o().arrayOf(A)},39017:function(n,e,r){r.d(e,{Gg:function(){return y},He:function(){return C},Kf:function(){return j},Mc:function(){return h},NB:function(){return v},NE:function(){return B},UU:function(){return E},wQ:function(){return x},wx:function(){return g}});var t=r(27361),o=r.n(t),i=r(13311),a=r.n(i),l=r(67294),c=r(41696),u=r(81485);function s(n){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s(n)}function A(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?A(Object(r),!0).forEach((function(e){p(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function p(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==s(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==s(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===s(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function f(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||b(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(n,e){if(n){if("string"==typeof n)return m(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)?m(n,e):void 0}}function m(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 y(n){var e=f(n.params,1)[0],r=o()(e,"source.symbol",o()(e,"source.code","")),t=!!o()(e,"source.faIcon")||1===r.length;return 1===n.params.length&&t}function h(n,e){var r=f(n.params,1)[0],t=o()(r,"source.symbol",o()(r,"value","")),i=!o()(r,"source.faIcon")&&t.length>4,a=e.length>1,l=o()(r,"params",[]).length>0;return i||a||l}function v(n,e){var r=n.value,t=n.params,i=e.sources,l=e.mergedGlyphs,u=e.behaviorParameters,s=r;function A(n,e){if(!n)return{value:void 0,slot:e,params:[]};var r=n.value,t=n.params,c=n._isPlaceholder,u=function(n,e){var r;return n=o()(i.defines,n,n),Number.isNaN(Number(n))||(n=Number(n)),e.raw?{code:n}:e.enum?a()(e.enum,{code:n})||a()(e.enum,n)||{code:n}:"placeholder"===e.type?{code:n}:null==i||null===(r=i[e])||void 0===r?void 0:r[n]}(r,e);return{value:r,_isPlaceholder:c,slot:e,source:d(d({},u),{},{symbol:o()(l,[null==u?void 0:u.name,"symbol"],null==u?void 0:u.symbol),faIcon:o()(l,[null==u?void 0:u.name,"faIcon"],null==u?void 0:u.faIcon)}),params:o()(u,"params",[]).map((function(n,e){return A(t[e],n)}))}}return{value:r,slot:"behaviour",source:o()(i.behaviours,s,{}),params:(0,c.L)(n,u).map((function(n,e){return A(t[e],n)}))}}function C(n){var e=[];return function n(r){var t=r.params||[];e.push(r),t.forEach(n)}(n),e}function g(n){if(!n[0].source.code)return!0;var e,r=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=b(n))){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(n);try{for(r.s();!(e=r.n()).done;){var t,o=e.value;if(((null===(t=o.source)||void 0===t?void 0:t.params)||[]).length>o.params.length)return!0;if(o.params.some((function(n){var e;return"placeholder"!==(null===(e=n.slot)||void 0===e?void 0:e.type)&&(void 0===n.value||""===n.value||void 0===n.source||n._isPlaceholder)})))return!0}}catch(n){r.e(n)}finally{r.f()}}function x(n){return B([n])[0]}function B(n){var e=(0,l.useContext)(u.c);return(0,l.useMemo)((function(){return n.map((function(n){return v(n,e)}))}),[n,e])}function E(n){var e=(0,l.useContext)(u.c).behaviorParameters;return(0,c.L)(n,e)}function j(n){var e=(0,l.useMemo)((function(){return C(n)}),[n]);return(0,l.useMemo)((function(){return g(e)}),[e])}},80671:function(n,e,r){r.d(e,{Z:function(){return K}});var t=r(94184),o=r.n(t),i=r(18029),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(27926),A=r(64261),d=r(96186),p=r(83197),f=r(52156),b=r(50361),m=r.n(b),y=r(27361),h=r.n(y),v=r(81485),C=r(39017);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}function x(n){var e,r=m()(n),t=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(n,e){if(n){if("string"==typeof n)return 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&&n&&"number"==typeof n.length){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}((0,C.He)(r));try{for(t.s();!(e=t.n()).done;){var o=e.value;for(var i in o)"_isPlaceholder"===i&&o._isPlaceholder||["value","params"].includes(i)||delete o[i]}}catch(n){t.e(n)}finally{t.f()}return r}var B=r(41696);function E(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 j(n,e){var r=e.nodeIndex,t=e.updatedNode,o=m()(n),i=(0,C.He)(o),a=i[r];return a.value=t.value,a.params=t.params,delete a._isPlaceholder,i.forEach((function(n){delete n.source,delete n.slot})),o}function k(n,e){var r,t,o,i=e.nodeIndex,a=e.source,l=e.behaviorParameters,c=m()(n),u=(0,C.He)(c),s=u[i];s.slot.raw&&"number"===s.slot.type&&(a.code=Number(a.code));var A=(null===(r=s.source)||void 0===r||null===(t=r.additionalParams)||void 0===t?void 0:t.length)||0;((null===(o=a.additionalParams)||void 0===o?void 0:o.length)||0)<A&&(u[0].params.splice(1,u[0].params.length-1),u.splice(2,u.length-1));var d=function(n,e){var r=n.params,t=n.source,o=(null==t?void 0:t.params)||[];return e.reduce((function(n,e,t){return[].concat(function(n){if(Array.isArray(n))return E(n)}(i=n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(i)||function(n,e){if(n){if("string"==typeof n)return E(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)?E(n,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o[t]!==e?{value:0,_isPlaceholder:!0}:r[t]]);var i}),[])}(s,"behaviour"===s.slot?l[a.code]||[]:(null==a?void 0:a.params)||[]);return delete s._isPlaceholder,s.value=a.code,s.params=d,u.forEach((function(n){delete n.source,delete n.slot})),c}function w(n){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w(n)}function S(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function O(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){P(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function P(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==w(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==w(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===w(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Z(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var T=r(94596),D=r(61953),I=r(34482),M=r(85893);function Y(n){return Y="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},Y(n)}function q(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Y(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Y(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Y(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return 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}}(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 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 K(n){var e=n.binding,r=n.bindingIndex,t=n.onUpdate,i=n.onCancel,a=n.context,l=void 0===a?"none":a,c=n.Heading,p=R((0,u.useState)(e),2),b=function(n,e,r){var t,o,i,a,l=(0,u.useContext)(v.c),c=l.sources,s=(i=(0,u.useState)(null),a=2,function(n){if(Array.isArray(n))return n}(i)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(i,a)||function(n,e){if(n){if("string"==typeof n)return Z(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(n,e):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=s[0],d=s[1],p=(0,C.wQ)((null==A?void 0:A.pending)||n),f=[0],b=n.value,y=h()(c.behaviours,b,{}),g=(t=(0,B.L)(n,l.behaviorParameters)).slice.apply(t,f),E=(o=p.params).slice.apply(o,f),w=(0,C.He)(p),S=(0,u.useMemo)((function(){return(0,C.wx)(w)}),[w]),P=(0,u.useCallback)((function(){return d(null)}),[d]),T=(0,u.useCallback)((function(n){var e=A.nodeIndex,t="tree"===A.type?j(p,{nodeIndex:e,updatedNode:n}):k(p,{source:n,nodeIndex:e,behaviorParameters:l.behaviorParameters});r(x(t)),P()}),[p,A,P,r,l.behaviorParameters]),D=(0,u.useCallback)((function(){A.pending&&(r(x(A.pending)),P())}),[null==A?void 0:A.pending,r,P]),I=(0,u.useCallback)((function(n){var e=A.pending,r=A.nodeIndex,t="tree"===A.type?j(e,{nodeIndex:r,updatedNode:n}):k(e,{source:n,nodeIndex:r,behaviorParameters:l.behaviorParameters}),o=(0,C.NB)(t,l),i=(0,C.He)(o),a=i[r];d(O(O({},A),{},{pending:o,index:i,node:a}))}),[A,d,l]),M=(0,u.useCallback)((function(n){var e=n.node,r=n.type,t=void 0===r?"value":r,o=m()(p),i=function(n,e,r){var t={layer:"Assign layer",mod:"Assign modifier",behaviour:"Assign behavior",keycode:"Assign key code"};if("tree"===r&&e){var o,i=null===(o=e.source)||void 0===o?void 0:o.helperPrompt;if(i)return i}return n.name?"Assign ".concat(n.name):n.raw?"Enter raw value":t[n]||t.keycode}(e.slot,e,t),a=w.indexOf(e);(null==A?void 0:A.nodeIndex)!==a||(null==A?void 0:A.type)!==t?d({pending:o,node:e,type:t,nodeIndex:a,prompt:i}):D()}),[A,p,w,d,D]),Y=(0,u.useMemo)((function(){return{behavior:y,behaviorParams:g,bindTree:p,bindTreeParams:E,editing:A,index:w,invalid:S}}),[y,g,p,E,A,w,S]),q=(0,u.useMemo)((function(){return{clearEditing:P,handleChange:I,handleConfirm:D,handleUpdateAndConfirm:T,handleUpdateBindValue:T,selectNodeForEditing:M}}),[P,M,I,D,T]);return(0,u.useMemo)((function(){return[Y,q]}),[Y,q])}(p[0],0,p[1]),y=R(b,2),g=y[0],E=g.bindTree,w=g.behavior,S=g.behaviorParams,P=g.editing,Y=g.invalid,U=y[1],K=U.clearEditing,z=U.handleChange,L=U.handleConfirm,X=U.handleUpdateBindValue,Q=U.selectNodeForEditing,W=(0,u.useCallback)((function(){t(x(E))}),[E,t]),J=P&&(0,M.jsx)(I.b,{node:P.node,type:P.type,behaviour:w,context:l,prompt:P.prompt,searchKey:"code",inline:!0,onSelect:X,onConfirm:L,onChange:z,onCancel:K});return(0,M.jsx)(A.Z,{onDismiss:i,children:(0,M.jsxs)(d.Z,{dismissText:null,classes:[T.Z.dialogBox],children:[(0,M.jsxs)("div",{className:T.Z.mainPanel,children:[(0,M.jsx)(c,{bindingIndex:r,bindTree:E,context:l}),(0,M.jsxs)("div",{className:T.Z.bindingSlots,children:[(0,M.jsxs)("h3",{children:["Behavior ",(0,M.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal"},children:(0,M.jsx)("span",{className:o()(D.Z.extracted,q({},D.Z.highlight,0===(null==P?void 0:P.nodeIndex))),children:(0,M.jsx)("span",{className:D.Z.param,children:(0,M.jsx)(f.ZP,{slot:"behaviour",node:E,expanded:!0,onSelect:Q})})})})]}),(0,M.jsx)(N,{slots:S,node:E,onSelect:Q,editing:P})]}),(0,M.jsxs)("div",{className:T.Z.dialogActions,children:[(0,M.jsx)(s.Z,{onClick:W,disabled:Y,children:"Okay"}),(0,M.jsx)(s.Z,{onClick:i,secondary:!0,children:"Cancel"})]})]}),J&&(0,M.jsxs)("div",{className:T.Z.editPanel,children:[(0,M.jsx)("button",{onClick:L,className:T.Z.editPanelClose,children:"Close"}),J]})]})})}function N(n){var e=n.slots,r=n.node,t=n.editing,o=n.onSelect;return 0===e.length?null:(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)("h3",{children:"Parameters"}),(0,M.jsx)("ol",{className:T.Z.parameterSlots,"data-slot-count":e.length,children:e.map((function(n,e){return"placeholder"!==n.type&&(0,M.jsx)(u.Fragment,{children:(0,M.jsx)(z,{slot:n,param:r.params[e],editing:(null==t?void 0:t.nodeIndex)===e+1,onSelect:o},e)},e)}))})]})}function z(n){var e=n.slot,r=n.param,t=n.editing,i=n.onSelect,l=(0,u.useMemo)((function(){var n=e.raw?"Raw value":e.name||e,r={code:"key-code"}[n]||n;return a()(r)}),[e]);return(0,M.jsxs)("li",{children:[(0,M.jsx)("label",{children:l}),(0,M.jsx)("span",{className:o()(T.Z.param,D.Z.extracted,q({},D.Z.highlight,t)),children:(0,M.jsx)(p.N,{slot:e,node:r,onSelect:i,expanded:!0})})]})}K.propTypes={context:c().string,hideBehaviour:c().bool.isRequired,onUpdate:c().func.isRequired},K.defaultProps={hideBehaviour:!1}},62417:function(n,e,r){function t(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9,._+-]/)?"valid characters: a-zA-Z0-9,._+-":void 0}r.d(e,{G3:function(){return o},Gk:function(){return t},zq:function(){return i}});var o=t;function i(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9_]/)?"valid characters: a-zA-Z0-9_":void 0}},82607:function(n,e,r){var t=r(45697),o=r.n(t),i=r(91118),a=r(27213),l=r(64536),c=r(85893);function u(n){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u(n)}function s(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function A(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){d(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function d(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==u(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===u(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function p(n){var e=n.binding,r=n.keyWrapperProps,t=void 0===r?{}:r;return(0,c.jsx)(i.Z,A(A({},t),{},{children:(0,c.jsx)(a.Z,{value:e})}))}p.propTypes={binding:l.U4.isRequired,keyWrapperProps:o().any},e.Z=p},91118:function(n,e,r){var t=r(39693),o=r.n(t),i=r(61953),a=r(85893);function l(n){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l(n)}var c=["children","selectable","themeClass","className"];function u(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function s(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){A(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 A(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==l(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}e.Z=function(n){var e=n.children,r=n.selectable,t=void 0===r||r,l=n.themeClass,u=void 0===l?void 0:l,A=n.className,d=void 0===A?"":A,p=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,c),f=o()([i.Z.key,t&&i.Z.selectable,null!=u?u:i.Z.keyDefaultTheme,d]).join(" ");return(0,a.jsx)("div",s(s({className:f},p),{},{children:e}))}},34482:function(n,e,r){r.d(e,{b:function(){return Hn},Z:function(){return Gn}});var t=r(94184),o=r.n(t),i=r(78718),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(96186),A=r(64261),d=r(81485),p=function(n,e){var r=(e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1))%n.length;return r<0?n.length+r:r},f=r(93379),b=r.n(f),m=r(7795),y=r.n(m),h=r(90569),v=r.n(h),C=r(3565),g=r.n(C),x=r(19216),B=r.n(x),E=r(44589),j=r.n(E),k=r(47881),w={};w.styleTagTransform=j(),w.setAttributes=g(),w.insert=v().bind(null,"head"),w.domAPI=y(),w.insertStyleElement=B(),b()(k.Z,w);var S=k.Z&&k.Z.locals?k.Z.locals:void 0,O=r(85893);function P(n){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P(n)}function Z(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function T(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){D(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function D(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==P(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==P(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===P(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function I(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function M(n){var e,r,t=n.results,o=n.onSelect,i=n.initialChoice,a=n.renderResult,l=(0,u.useRef)(null),c=(0,u.useMemo)((function(){return t.findIndex((function(n){return n.code===i}))}),[t,i]),s=(e=(0,u.useState)({cursorIndex:c,touched:!1}),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return I(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=s[0],d=A.cursorIndex,f=A.touched,b=s[1],m=(0,u.useCallback)((function(n){return b((function(e){return T(T({},e),{},{cursorIndex:n,touched:!0})}))}),[b]),y=(0,u.useCallback)((function(n){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t='li[data-result-index="'.concat(n,'"]');!function(n,e){var r=n.offsetParent.scrollTop,t=n.offsetParent.offsetHeight,o=n.offsetTop,i=o+n.scrollHeight;(o<r||i>r+t)&&n.scrollIntoView(e)}(null===(e=l.current)||void 0===e?void 0:e.querySelector(t),r)}),[l]);(0,u.useEffect)((function(){f||-1===c||y(c,{behavior:"auto",block:"center"})}),[f,y,c]);var h=(0,u.useCallback)((function(n,e){if(0!==t.length)if(void 0!==e){var r=null!==d?p(t,d,e):n;y(r,{behavior:"auto",block:"nearest"}),m(r)}else m(n);else m(null)}),[t,d,m,y]),v=(0,u.useCallback)((function(){h(0,1)}),[h]),C=(0,u.useCallback)((function(){h(t.length-1,-1)}),[h,t]),g=(0,u.useCallback)((function(n){o(t[d],n)}),[t,d,o]),x=(0,u.useCallback)((function(n){if("BUTTON"!==n.target.nodeName){var e={ArrowDown:v,ArrowUp:C,Enter:g}[n.key];e&&(n.preventDefault(),n.stopPropagation(),e(n))}}),[v,C,g]);return(0,u.useEffect)((function(){return document.body.addEventListener("keydown",x),function(){return document.body.removeEventListener("keydown",x)}}),[l,x]),(0,O.jsx)("ul",{className:S.results,ref:l,children:t.map((function(n,e){return(0,O.jsx)("li",{className:d===e?S.highlighted:"",title:n.description,"data-result-index":e,onClick:function(e){return o(n,e)},onDoubleClick:function(e){return o(n,e)},onMouseOver:function(){return h(e)},children:a(n,e)},e)}))})}M.propTypes={results:c().array.isRequired,onSelect:c().func.isRequired,renderResult:c().func.isRequired};var Y=r(67069),q={onCancel:c().func,onChange:c().func,onSelect:c().func.isRequired,node:Y.le.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number};function R(n){var e=(0,u.useContext)(d.c).getSearchTargets,r=n.node,t=n.param,o=n.onSelect,i=(0,u.useMemo)((function(){return e(t)}),[e,t]);return(0,O.jsx)(M,{results:i,initialChoice:null==r?void 0:r.value,onSelect:o,renderResult:function(n){return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{children:n.displayName||n.name||n.code}),n.description&&(0,O.jsx)("p",{className:S.description,children:n.description})]})}})}R.propTypes=q;var U=r(87360),K=r.n(U),N=r(41051);function z(n){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z(n)}function L(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function X(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){Q(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Q(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 W(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return J(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?J(n,e):void 0}}(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 J(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var F=10;function H(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=n.renderResults,i=n.initialQuery,a=!e.length||e.length>F,l=function(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=W((0,u.useState)({query:"",touched:!1}),2),i=o[0],a=i.query,l=i.touched,c=o[1],s=(0,u.useMemo)((function(){if(!a)return e;var n=t?{keys:t,limit:30}:{key:r,limit:30};return K().go(a,e,n).map((function(n){return X(X({},n.obj),{},{search:n})}))}),[a,e,r,t]),A=(0,u.useCallback)((function(n){c({query:n.target.value,touched:!0})}),[c]),d=(0,u.useCallback)((function(n){c({query:"",touched:!0})}),[c]);return[(0,u.useMemo)((function(){return{query:a,filtered:s,touched:l}}),[a,s,l]),(0,u.useMemo)((function(){return{handleChange:A,handleClearSearch:d}}),[A,d])]}({choices:e,searchKey:r,searchKeys:t,initialQuery:i}),c=W(l,2),s=c[0],A=s.query,d=s.filtered,p=c[1],f=p.handleChange,b=p.handleClearSearch,m=(0,u.useMemo)((function(){return a?d:e}),[a,d,e]);return(0,O.jsxs)(O.Fragment,{children:[a&&(0,O.jsx)(G,{value:A,onChange:f,onClear:b}),o(m)]})}function G(n){var e=n.value,r=n.onChange,t=n.onClear,o=(0,u.useRef)(null);return(0,u.useEffect)((function(){o.current.focus()}),[]),(0,O.jsxs)("div",{className:S.searchWrapper,children:[(0,O.jsx)("input",{ref:o,type:"text",value:e,onChange:r}),(0,O.jsx)(N.Z,{className:S.searchIcon,name:"search"}),(0,O.jsx)(N.Z,{className:S.clearSearchIcon,name:"times",onClick:t})]})}function _(n){var e=n.searchKey,r=n.node,t=n.param,o=n.behaviour,i=n.context,a=n.onSelect,l=(0,u.useContext)(d.c).getSearchTargets,c=(0,u.useMemo)((function(){return l(t,o.code,i)}),[l,t,o,i]);return(0,O.jsx)(H,{choices:c,searchKey:e,renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,initialChoice:r.value,onSelect:a,renderResult:V})}})}function V(n){var e=n.search?(0,O.jsx)("span",{children:K().highlight(n.search,(function(n,e){return(0,O.jsx)("b",{children:n},e)}))}):(0,O.jsx)("span",{children:n.code}),r=n.displayName||n.description;return(0,O.jsxs)(O.Fragment,{children:[e,r&&(0,O.jsx)("p",{className:S.description,children:r})]})}H.propTypes={choices:c().array.isRequired,searchKey:c().string,initialQuery:c().string.isRequired,renderResults:c().func.isRequired},H.defaultProps={initialQuery:""},G.propTypes={value:c().string.isRequired,onChange:c().func.isRequired,onClear:c().func.isRequired},_.propTypes=q;var $=r(55651),nn=r(27926);function en(n){return en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},en(n)}function rn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function tn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rn(Object(r),!0).forEach((function(e){on(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function on(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==en(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==en(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===en(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function an(n){var e=n.node,r=n.onChange,t=n.onConfirm,o=n.inline,i=(0,u.useMemo)((function(){return{h:Number(e.params[0].value),s:Number(e.params[1].value),l:Number(e.params[2].value)}}),[e.params]),a=(0,u.useCallback)((function(n){var t=n.h,o=n.s,i=n.l;r(tn(tn({},e),{},{params:[{value:Math.round(t)},{value:Math.round(o)},{value:Math.round(i)}]}))}),[e,r]);return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,O.jsx)($.Jz,{color:i,onChange:a})}),!o&&(0,O.jsx)("p",{style:{textAlign:"center"},children:(0,O.jsx)(nn.Z,{onClick:t,children:"Confirm"})})]})}an.propTypes=q;var ln=r(39693),cn=r.n(ln),un=r(35161),sn=r.n(un),An=r(2062),dn=r(91118),pn=r(74871),fn=r(82569),bn=r.n(fn);function mn(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}}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}var hn=r(38356);function vn(n){return vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vn(n)}function Cn(n){return function(n){if(Array.isArray(n))return gn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return gn(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)?gn(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function xn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==vn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==vn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===vn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var Bn=["LS","LA","LC","LG"],En=["RS","RA","RC","RG"],jn={LS:{short:"LSHFT",full:"Left Shift"},LC:{short:"LCTRL",full:"Left Control"},LA:{short:"LALT",full:"Left Alt"},LG:{short:"LGUI",full:"Left Gui"},RS:{short:"RSHFT",full:"Right Shift"},RC:{short:"RCTRL",full:"Right Control"},RA:{short:"RALT",full:"Right Alt"},RG:{short:"RGUI",full:"Right Gui"}},kn=" (This modifier is implicitly used by the active keycode and cannot be de-selected)";function wn(n){var e=n.selected,r=n.implicit,t=n.row,i=n.onChange;return(0,O.jsx)("ul",{className:hn.Z.modifiers,children:t.map((function(n,t){var a;return(0,O.jsx)("li",{title:jn[n].full+(r.includes(n)?kn:""),className:o()((a={},xn(a,hn.Z.selected,e.includes(n)),xn(a,hn.Z.implicit,r.includes(n)),a)),children:(0,O.jsxs)("label",{children:[(0,O.jsx)("input",{type:"checkbox",checked:e.includes(n)||r.includes(n),disabled:r.includes(n),onChange:function(r){i(r.target.checked?[].concat(Cn(e),[n]):bn()(e,n))}})," ",(0,O.jsx)("span",{children:jn[n].short})]})},t)}))})}function Sn(n){var e=n.selected,r=n.implicit,t=n.onChange;return function(n,e,r){!function(n){var e,r,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).singleKeyOnly,o=void 0!==t&&t,i=(e=(0,u.useState)([]),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||mn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],a=(0,u.useCallback)((function(){return i([])}),[i]);(0,u.useEffect)((function(){function e(n){i((function(e){return o?[n.code]:[].concat(function(n){return function(n){if(Array.isArray(n))return yn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||mn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e),[n.code])}))}function r(e){i((function(r){return r.includes(e.code)&&setTimeout((function(){return n(e)})),bn()(r,e.code)}))}return document.body.addEventListener("keydown",e),document.body.addEventListener("keyup",r),document.body.addEventListener("focusout",a),function(){document.body.removeEventListener("keydown",e),document.body.removeEventListener("keyup",r),document.body.removeEventListener("focusout",a)}}),[o,i,n,a])}((0,u.useCallback)((function(t){var o=function(n){var e,r={Control:"C",Shift:"S",Alt:"A",Meta:"G"}[n.key],t=(e={},xn(e,KeyboardEvent.DOM_KEY_LOCATION_LEFT,"L"),xn(e,KeyboardEvent.DOM_KEY_LOCATION_RIGHT,"R"),e)[n.location];return r&&t?"".concat(t).concat(r):null}(t);o&&!e.includes(o)&&r(n.includes(o)?bn()(n,o):[].concat(Cn(n),[o]))}),[n,e,r]),{singleKeyOnly:!0})}(e,r,t),(0,O.jsxs)("div",{className:hn.Z.allModifiers,children:[(0,O.jsx)(wn,{row:Bn,selected:e,implicit:r,onChange:t}),(0,O.jsx)(wn,{row:En,selected:e,implicit:r,onChange:t})]})}Sn.propTypes={selected:c().arrayOf(c().string),implicit:c().arrayOf(c().string),onChange:c().func.isRequired};var On=r(81404),Pn=r(39017);function Zn(n){return function(n){if(Array.isArray(n))return Dn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||Tn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tn(n,e){if(n){if("string"==typeof n)return Dn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dn(n,e):void 0}}function Dn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function In(n){var e=n.node,r=n.onSelect,t=n.onChange,o=n.onConfirm,i=n.behaviour,a=n.inline,l=(0,u.useContext)(d.c).getSearchTargets,c=(0,u.useMemo)((function(){return sn()((0,pn.H)(e),"source")}),[e]),s=(0,u.useMemo)((function(){return c.at(-1)}),[c]),A=(0,u.useMemo)((function(){var n;return null===(n=c.at(-1))||void 0===n?void 0:n.code}),[c]),p=(0,u.useMemo)((function(){return sn()(1===c.length?[]:c.slice(0,-1),"code")}),[c]),f=(0,u.useMemo)((function(){return l("code",i.code).filter((function(n){return 0===n.params.length}))}),[l,i]),b=(0,u.useCallback)((function(n){t((0,pn.n)(cn()([].concat(Zn(n),[A]))))}),[t,A]),m=(0,u.useCallback)((function(n){t((0,pn.n)(cn()([].concat(Zn(p),[null==n?void 0:n.code]))))}),[t,p]),y=(0,u.useCallback)((function(n,e){"dblclick"!==e.type?m(n):r((0,pn.n)(cn()([].concat(Zn(p),[null==n?void 0:n.code]))))}),[r,m,p]),h=a?Yn:Mn;return(0,O.jsx)(h,{selectedModifiers:p,selectedKeycode:A,keycodeDefinition:s,choices:f,handleChangeModifiers:b,handleSelectKeycode:y,handleCancel:function(){r(e)},onConfirm:o})}function Mn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,i=n.choices,a=n.handleChangeModifiers,l=n.handleSelectKeycode,c=n.handleCancel,s=n.onConfirm,A=(0,u.useMemo)((function(){return{value:"&kp",params:[{value:r,params:[]}]}}),[r]),d=(0,Pn.wQ)(A);return(0,O.jsxs)("div",{className:o()(S.dialog,hn.Z.wrapper),children:[(0,O.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{children:"Keycode"}),(0,O.jsx)(dn.Z,{className:hn.Z.previewKeycode,selectable:!1,children:(0,O.jsx)(On.Z,{node:d.params[0],onSelect:function(){}})})]}),(0,O.jsxs)("div",{children:[(0,O.jsx)("h3",{children:"Modifiers"}),(0,O.jsx)(Sn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:a})]})]}),(0,O.jsx)("h3",{children:"Available Keycodes"}),(0,O.jsx)(H,{choices:i,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,initialChoice:r,onSelect:l,renderResult:qn})}}),(0,O.jsx)(An.Z,{className:hn.Z.quickCloseTip,children:(0,O.jsx)("span",{children:"Double-click to select and close the dialog"})}),(0,O.jsxs)("div",{style:{marginTop:"10px",textAlign:"center"},children:[(0,O.jsx)(nn.Z,{disabled:!r,onClick:s,children:"Confirm"}),(0,O.jsx)(nn.Z,{onClick:c,secondary:!0,children:"Cancel"})]})]})}function Yn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,o=n.choices,i=n.handleChangeModifiers,a=n.handleSelectKeycode;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("h3",{children:"Modifiers"}),(0,O.jsx)(Sn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:i}),(0,O.jsx)("h3",{children:"Available Keycodes"}),(0,O.jsx)(H,{choices:o,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,O.jsx)(M,{results:n,onSelect:a,initialChoice:r,renderResult:qn})}})]})}function qn(n){var e,r,t=(e=n.search||[],r=1,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||Tn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=t?(0,O.jsx)("span",{dangerouslySetInnerHTML:{__html:K().highlight(t)}}):(0,O.jsx)("span",{children:n.code}),i=function(n){var e=null==n?void 0:n.symbol,r=null==n?void 0:n.faIcon;return r?(0,O.jsx)(N.Z,{name:r}):e&&!n.aliases.includes(e)?e:void 0}(n);return(0,O.jsxs)("div",{className:hn.Z.resultItem,children:[(0,O.jsxs)("div",{className:hn.Z.description,children:[o,(0,O.jsx)("p",{className:S.description,children:n.description})]}),i&&(0,O.jsx)("div",{className:hn.Z.symbol,children:i})]})}function Rn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Un(n){n&&(n.focus(),n.select())}function Kn(n){var e,r,t=n.value,o=n.param,i=n.onSelect,a=(e=(0,u.useState)(t),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return Rn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rn(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1],s=(0,u.useCallback)((function(n){"Enter"===n.key&&i({code:l})}),[l,i]),A=(0,u.useCallback)((function(n){var e=n.target.value;"number"===o.type&&(e=Number(e),Number.isNaN(e))||c(e)}),[o,c]);return(0,O.jsx)("input",{ref:Un,type:"text",value:l,onChange:A,onKeyDown:s})}In.propTypes=q,Kn.propTypes=q;var Nn=r(95998),zn=r(80736);function Ln(n){var e=n.node,r=n.onSelect,t=(0,Nn.v9)(zn.vl),o=(0,u.useMemo)((function(){return t.map((function(n,e){return{code:e.toString(),description:n.name||"Layer ".concat(e)}}))}),[t]);return(0,O.jsx)(M,{results:o,initialChoice:e.value,onSelect:r,renderResult:function(n){return(0,O.jsxs)(O.Fragment,{children:[n.code,n.description&&(0,O.jsx)("p",{className:S.description,children:n.description})]})}})}Ln.propTypes=q;var Xn=["prompt","onCancel"];function Qn(n){return Qn="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},Qn(n)}function Wn(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 Jn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wn(Object(r),!0).forEach((function(e){Fn(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Wn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Fn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Qn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Qn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Qn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Hn(n){var e=n.node,r=n.type,t=n.onSelect,i=n.onChange,l=n.onConfirm,c=a()(n,["node","value","prompt","param","behaviour","context","searchKey","inline"]),s=(0,u.useMemo)((function(){var n;return"tree"===r&&"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?an:e.slot.raw||"placeholder"===e.slot.type?Kn:e.slot.enum?R:"code"===e.slot?In:"layer"===e.slot?Ln:_}),[e,r]);return(0,O.jsx)("div",{className:o()(S.wrapper,Fn({},S.inline,n.inline)),children:(0,O.jsx)(s,Jn(Jn({},c),{},{param:e.slot,onSelect:t,onChange:i,onConfirm:l}))})}function Gn(n){var e=n.prompt,r=n.onCancel,t=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,Xn);return(0,O.jsx)(A.Z,{onDismiss:r,children:(0,O.jsxs)(s.Z,{dismissText:null,classes:[S.dialogWrapper],children:[(0,O.jsx)("h2",{children:e}),(0,O.jsx)(Hn,Jn({},t))]})})}Hn.propTypes={type:c().string.isRequired,node:Y.le.isRequired,behaviour:c().object.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,inline:c().bool,onCancel:c().func,onUpdate:c().func,onSelect:c().func.isRequired},Hn.defaultProps={type:"value",value:"",freeForm:!1,inline:!1,searchThreshold:10},Gn.propTypes={type:c().string.isRequired,node:Y.le.isRequired,behaviour:c().object.isRequired,prompt:c().string.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,onCancel:c().func.isRequired,onChange:c().func,onSelect:c().func.isRequired}},56281:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,"button.pi2Ig8c3Fdh4H2Jpxdo7 {\n  display: inline-block;\n  cursor: pointer;\n  background-color: var(--hover-selection);\n  color: white;\n\n  font-size: 16px;\n  border: none;\n  border-radius: 5px;\n  padding: 0 5px;\n\n  height: 30px;\n  line-height: 30px;\n  vertical-align: middle;\n}\n\nbutton.Ctpu4E2dZYJ6g8CUGFOF {\n  color: var(--fg);\n  background-color: transparent;\n}\n\nbutton.pi2Ig8c3Fdh4H2Jpxdo7[disabled] {\n  filter: saturate(20%);\n  opacity: .5;\n  cursor: not-allowed;\n}\n","",{version:3,sources:["webpack://./src/Common/action-button.module.css"],names:[],mappings:"AAAA;EACE,qBAAqB;EACrB,eAAe;EACf,wCAAwC;EACxC,YAAY;;EAEZ,eAAe;EACf,YAAY;EACZ,kBAAkB;EAClB,cAAc;;EAEd,YAAY;EACZ,iBAAiB;EACjB,sBAAsB;AACxB;;AAEA;EACE,gBAAgB;EAChB,6BAA6B;AAC/B;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,mBAAmB;AACrB",sourcesContent:["button.action {\n  display: inline-block;\n  cursor: pointer;\n  background-color: var(--hover-selection);\n  color: white;\n\n  font-size: 16px;\n  border: none;\n  border-radius: 5px;\n  padding: 0 5px;\n\n  height: 30px;\n  line-height: 30px;\n  vertical-align: middle;\n}\n\nbutton.secondary {\n  color: var(--fg);\n  background-color: transparent;\n}\n\nbutton.action[disabled] {\n  filter: saturate(20%);\n  opacity: .5;\n  cursor: not-allowed;\n}\n"],sourceRoot:""}]),a.locals={action:"pi2Ig8c3Fdh4H2Jpxdo7",secondary:"Ctpu4E2dZYJ6g8CUGFOF"},e.Z=a},528:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".sq9i7hQeTeeKuarmO8oA {\n  display: inline-block;\n  font-size: 70%;\n  background: rgba(0, 0, 0, 0.5);\n  color: white;\n  padding: 4px;\n  border-radius: 4px;\n  width: max-content;\n}\n","",{version:3,sources:["webpack://./src/Common/tip.module.css"],names:[],mappings:"AAAA;EACE,qBAAqB;EACrB,cAAc;EACd,8BAA8B;EAC9B,YAAY;EACZ,YAAY;EACZ,kBAAkB;EAClB,kBAAkB;AACpB",sourcesContent:[".tip {\n  display: inline-block;\n  font-size: 70%;\n  background: rgba(0, 0, 0, 0.5);\n  color: white;\n  padding: 4px;\n  border-radius: 4px;\n  width: max-content;\n}\n"],sourceRoot:""}]),a.locals={tip:"sq9i7hQeTeeKuarmO8oA"},e.Z=a},14409:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.AmikJd3HeM7NGUa8io2A {\n  width: 350px;\n}\n\n.dAV6OQxNVA4AUwWKyxqw {\n  width: 100%;\n  background-color: transparent;\n}\n\n.AmikJd3HeM7NGUa8io2A h3:first-child {\n  margin-top: 0px;\n}\n\n.xCOOsvxL5qQ3kR8ri91A {\n  pointer-events: none;\n  box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\n}\n\n.Ox9WHfAMFuthXo6ZOJoI {\n  padding: 2px 0;\n}\n\n.u4uW9U2E0DfbUM9vP9pf {\n  padding: 0;\n  margin: 0;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li {\n  display: inline-block;\n  font-family: monospace, monospace;\n  font-size: 70%;\n  margin: 2px;\n  border-radius: 2px;\n\n  background-color: rgba(0, 0, 0, .5);\n  opacity: 0.5;\n  color: white;\n}\n.u4uW9U2E0DfbUM9vP9pf li label {\n  display: inline-block;\n  padding: 4px;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.YcHSun3PLo8dCb9qIZtc {\n  opacity: 1;\n  background-color: var(--selection);\n  color: white;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm {\n  background-color: var(--error-highlight);\n  filter: saturate(50%);\n}\n\n.u4uW9U2E0DfbUM9vP9pf li:not(.Ix6wQt3EBFUH2PUcsqgm):hover {\n  opacity: 1;\n  background-color: var(--hover-selection);\n}\n\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm:hover * {\n  cursor: not-allowed;\n}\n\n.u4uW9U2E0DfbUM9vP9pf li input[type="checkbox"] {\n  margin: 0;\n  vertical-align: text-bottom;\n}\n\n.d3hMEDpEkH8H7YLG_NjI {\n  width: 100% !important;\n  box-sizing: border-box;\n  text-align: center;\n}\n\n.gFHbtpz6TuduOVYLXwHu {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n}\n\n.AfAg5j2RJEcA0Zh3z7mX {\n  flex-grow: 1;\n}\n\n.YeOANHLbze2W1EGYOFiI {\n  font-size: 120%;\n  padding: 6px 10px;\n  color: white !important;\n  background-color: rgba(30, 30, 30, 0.4);\n  border-radius: 5px;\n}\n\n/* .modifier, */\n.pDc69k_ZSCzl167cUYy8 {\n  background-color: rgba(30, 30, 30, 0.1);\n  border-radius: 5px;\n  padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n  /* body:not([data-theme="light"]) .modifier, */\n  body:not([data-theme="light"]) .pDc69k_ZSCzl167cUYy8 {\n    background-color: rgb(30, 30, 30, 0.3);\n  }\n}\n\n.pDc69k_ZSCzl167cUYy8 .hHrbV5DBivuXAbTelsAB {\n  margin-right: 2px;\n}\n\n.pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n  background-color: var(--key-bg-base);\n  padding: 0px 3px;\n  border-radius: 4px;\n}\n\n.'+l.Z.locals.key+":hover .pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n  background-color: var(--hover-selection);\n}\n","",{version:3,sources:["webpack://./src/EnhancedPickers/Keycode/styles.module.css"],names:[],mappings:"AAAA,qDAAqD;;AAKrD;EACE,YAAY;AACd;;AAEA;EACE,WAAW;EACX,6BAA6B;AAC/B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,oBAAoB;EACpB,6CAA6C;AAC/C;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,UAAU;EACV,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,iCAAiC;EACjC,cAAc;EACd,WAAW;EACX,kBAAkB;;EAElB,mCAAmC;EACnC,YAAY;EACZ,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,YAAY;AACd;;AAEA;EACE,UAAU;EACV,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,wCAAwC;EACxC,qBAAqB;AACvB;;AAEA;EACE,UAAU;EACV,wCAAwC;AAC1C;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,eAAe;EACf,iBAAiB;EACjB,uBAAuB;EACvB,uCAAuC;EACvC,kBAAkB;AACpB;;AAEA,eAAe;AACf;EACE,uCAAuC;EACvC,kBAAkB;EAClB,YAAY;AACd;;AAEA;EACE,8CAA8C;EAC9C;IACE,sCAAsC;EACxC;AACF;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,oCAAoC;EACpC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,wCAAwC;AAC1C",sourcesContent:['/* @import "../../Keyboard/Keys/styles.module.css"; */\n:import("../../Keyboard/Keys/styles.module.css") {\n  key: key;\n}\n\n.wrapper {\n  width: 350px;\n}\n\n.inline {\n  width: 100%;\n  background-color: transparent;\n}\n\n.wrapper h3:first-child {\n  margin-top: 0px;\n}\n\n.previewKeycode {\n  pointer-events: none;\n  box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\n}\n\n.allModifiers {\n  padding: 2px 0;\n}\n\n.modifiers {\n  padding: 0;\n  margin: 0;\n}\n\n.modifiers li {\n  display: inline-block;\n  font-family: monospace, monospace;\n  font-size: 70%;\n  margin: 2px;\n  border-radius: 2px;\n\n  background-color: rgba(0, 0, 0, .5);\n  opacity: 0.5;\n  color: white;\n}\n.modifiers li label {\n  display: inline-block;\n  padding: 4px;\n}\n\n.modifiers li.selected {\n  opacity: 1;\n  background-color: var(--selection);\n  color: white;\n}\n\n.modifiers li.implicit {\n  background-color: var(--error-highlight);\n  filter: saturate(50%);\n}\n\n.modifiers li:not(.implicit):hover {\n  opacity: 1;\n  background-color: var(--hover-selection);\n}\n\n.modifiers li.implicit:hover * {\n  cursor: not-allowed;\n}\n\n.modifiers li input[type="checkbox"] {\n  margin: 0;\n  vertical-align: text-bottom;\n}\n\n.quickCloseTip {\n  width: 100% !important;\n  box-sizing: border-box;\n  text-align: center;\n}\n\n.resultItem {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n}\n\n.description {\n  flex-grow: 1;\n}\n\n.symbol {\n  font-size: 120%;\n  padding: 6px 10px;\n  color: white !important;\n  background-color: rgba(30, 30, 30, 0.4);\n  border-radius: 5px;\n}\n\n/* .modifier, */\n.keycodeWithModifiers {\n  background-color: rgba(30, 30, 30, 0.1);\n  border-radius: 5px;\n  padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n  /* body:not([data-theme="light"]) .modifier, */\n  body:not([data-theme="light"]) .keycodeWithModifiers {\n    background-color: rgb(30, 30, 30, 0.3);\n  }\n}\n\n.keycodeWithModifiers .appliedModifierSymbols {\n  margin-right: 2px;\n}\n\n.keycodeWithModifiers .modifiedKeycodeSymbol {\n  background-color: var(--key-bg-base);\n  padding: 0px 3px;\n  border-radius: 4px;\n}\n\n.key:hover .keycodeWithModifiers .modifiedKeycodeSymbol {\n  background-color: var(--hover-selection);\n}\n'],sourceRoot:""}]),c.locals={wrapper:"AmikJd3HeM7NGUa8io2A",inline:"dAV6OQxNVA4AUwWKyxqw",previewKeycode:"xCOOsvxL5qQ3kR8ri91A",allModifiers:"Ox9WHfAMFuthXo6ZOJoI",modifiers:"u4uW9U2E0DfbUM9vP9pf",selected:"YcHSun3PLo8dCb9qIZtc",implicit:"Ix6wQt3EBFUH2PUcsqgm",quickCloseTip:"d3hMEDpEkH8H7YLG_NjI",resultItem:"gFHbtpz6TuduOVYLXwHu",description:"AfAg5j2RJEcA0Zh3z7mX",symbol:"YeOANHLbze2W1EGYOFiI",keycodeWithModifiers:"pDc69k_ZSCzl167cUYy8",appliedModifierSymbols:"hHrbV5DBivuXAbTelsAB",modifiedKeycodeSymbol:"hutggzXLuv58uTDC0MZg"},e.Z=c},33151:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.'+l.Z.locals.key+" .ElYzpTlttqVbs6KKy9ob {\n  align-self: center;\n}\n."+l.Z.locals.extracted+" .ElYzpTlttqVbs6KKy9ob {\n  display: inline-block;\n  border-bottom: .15em dotted var(--key-color-base);\n  box-sizing: border-box;\n  padding: 6px .25em;\n}\n\n:hover .ElYzpTlttqVbs6KKy9ob:hover {\n  cursor: pointer;\n  background-color: var(--hover-selection);\n  border-radius: 0;\n  border-radius: 3px;\n}\n\n.rdE_HhSUTcg2dK35N2WA {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  height: 1em;\n  aspect-ratio: 1;\n  border-radius: 2px;\n}\n\n."+l.Z.locals.extracted+" .rdE_HhSUTcg2dK35N2WA {\n  display: inline-block;\n}\n","",{version:3,sources:["webpack://./src/EnhancedPickers/RGB/styles.module.css"],names:[],mappings:"AAAA,qDAAqD;;AAMrD;EACE,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,iDAAiD;EACjD,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,qBAAqB;AACvB",sourcesContent:['/* @import "../../Keyboard/Keys/styles.module.css"; */\n:import("../../Keyboard/Keys/styles.module.css") {\n  key: key;\n  extracted: extracted;\n}\n\n.key .colorIconWrapper {\n  align-self: center;\n}\n.extracted .colorIconWrapper {\n  display: inline-block;\n  border-bottom: .15em dotted var(--key-color-base);\n  box-sizing: border-box;\n  padding: 6px .25em;\n}\n\n:hover .colorIconWrapper:hover {\n  cursor: pointer;\n  background-color: var(--hover-selection);\n  border-radius: 0;\n  border-radius: 3px;\n}\n\n.colorIcon {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  height: 1em;\n  aspect-ratio: 1;\n  border-radius: 2px;\n}\n\n.extracted .colorIcon {\n  display: inline-block;\n}\n'],sourceRoot:""}]),c.locals={colorIconWrapper:"ElYzpTlttqVbs6KKy9ob",colorIcon:"rdE_HhSUTcg2dK35N2WA"},e.Z=c},31259:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.vkwsKfJdRwBqJsa6XLtK {\n  position: absolute;\n  top: 0;\n  left: 50%;\n  transform: translateX(-50%);\n  background: var(--bg);\n  border-radius: 30px;\n  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n  font-size: 80%;\n  width: 541px;\n  padding: 0 20px;\n  margin: 20px 0;\n}\n\n.vkwsKfJdRwBqJsa6XLtK p { margin: 5px 0; }\n\n.Za5_vxc5rEvMTUQh2BzW {\n  display: flex;\n  padding: 0;\n  max-width: fit-content;\n}\n\n.DdULxV1MLLuhoFdYrsvp {\n  text-align: center;\n}\n\n.ZUn8lbtdY0Tn_RG3i3pz {\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  min-width: 400px;\n  max-width: 500px;\n  padding: 20px 40px;\n}\n\n.Q4AvqwYH1uAkPM9EnXMo {\n  margin: 0;\n  padding-left: 15px;\n}\n.Q4AvqwYH1uAkPM9EnXMo[data-slot-count="1"] {\n  list-style-type: none;\n  padding-left: 0;\n}\n.Q4AvqwYH1uAkPM9EnXMo li {\n  position: relative;\n  margin: 0 0 15px 25px;\n}\n\n.daj2D9YH7o5FkuRCGRKw {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-bottom: 1px solid var(--key-bg-base);\n  padding-bottom: 20px;\n  gap: 40px;\n}\n\n.ECcVyZa4GyjklIgcnoqr {\n  position: relative;\n\n  width: auto;\n  min-width: 250px;\n  max-width: 400px;\n  max-height: 500px;\n\n  padding: 20px;\n  border-left: 1px solid var(--key-bg-base)\n}\n\n.pW09rdsSXEQ2ayWrJAON {\n  background-color: var(--selection);\n  color: white;\n}\n\n.l9K6SYcfaIEZkOSBRoMw {\n  position: absolute;\n  left: 0;\n  top: 50%;\n\n  font-size: 75%;\n\n  transform-origin: top left;\n  transform: translate(-25%, 100%) rotate(-90deg);\n\n  background-color: var(--dialog-bg);\n  color: var(--key-color);\n  border: 1px solid var(--key-bg-base);\n  border-radius: 4px;\n}\n.l9K6SYcfaIEZkOSBRoMw:hover {\n  cursor: pointer;\n  background-color: var(--key-bg-base);\n}',"",{version:3,sources:["webpack://./src/Keyboard/BindingEditor/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,2BAA2B;EAC3B,qBAAqB;EACrB,mBAAmB;EACnB,4CAA4C;EAC5C,cAAc;EACd,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA,0BAAY,aAAa,EAAE;;AAE3B;EACE,aAAa;EACb,UAAU;EACV,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,eAAe;AACjB;AACA;EACE,kBAAkB;EAClB,qBAAqB;AACvB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,2CAA2C;EAC3C,oBAAoB;EACpB,SAAS;AACX;;AAEA;EACE,kBAAkB;;EAElB,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;;EAEjB,aAAa;EACb;AACF;;AAEA;EACE,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,OAAO;EACP,QAAQ;;EAER,cAAc;;EAEd,0BAA0B;EAC1B,+CAA+C;;EAE/C,kCAAkC;EAClC,uBAAuB;EACvB,oCAAoC;EACpC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,oCAAoC;AACtC",sourcesContent:['.notice {\n  position: absolute;\n  top: 0;\n  left: 50%;\n  transform: translateX(-50%);\n  background: var(--bg);\n  border-radius: 30px;\n  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n  font-size: 80%;\n  width: 541px;\n  padding: 0 20px;\n  margin: 20px 0;\n}\n\n.notice p { margin: 5px 0; }\n\n.dialogBox {\n  display: flex;\n  padding: 0;\n  max-width: fit-content;\n}\n\n.dialogActions {\n  text-align: center;\n}\n\n.mainPanel {\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  min-width: 400px;\n  max-width: 500px;\n  padding: 20px 40px;\n}\n\n.parameterSlots {\n  margin: 0;\n  padding-left: 15px;\n}\n.parameterSlots[data-slot-count="1"] {\n  list-style-type: none;\n  padding-left: 0;\n}\n.parameterSlots li {\n  position: relative;\n  margin: 0 0 15px 25px;\n}\n\n.keyBindingHeader {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-bottom: 1px solid var(--key-bg-base);\n  padding-bottom: 20px;\n  gap: 40px;\n}\n\n.editPanel {\n  position: relative;\n\n  width: auto;\n  min-width: 250px;\n  max-width: 400px;\n  max-height: 500px;\n\n  padding: 20px;\n  border-left: 1px solid var(--key-bg-base)\n}\n\n.editing {\n  background-color: var(--selection);\n  color: white;\n}\n\n.editPanelClose {\n  position: absolute;\n  left: 0;\n  top: 50%;\n\n  font-size: 75%;\n\n  transform-origin: top left;\n  transform: translate(-25%, 100%) rotate(-90deg);\n\n  background-color: var(--dialog-bg);\n  color: var(--key-color);\n  border: 1px solid var(--key-bg-base);\n  border-radius: 4px;\n}\n.editPanelClose:hover {\n  cursor: pointer;\n  background-color: var(--key-bg-base);\n}'],sourceRoot:""}]),a.locals={notice:"vkwsKfJdRwBqJsa6XLtK",dialogBox:"Za5_vxc5rEvMTUQh2BzW",dialogActions:"DdULxV1MLLuhoFdYrsvp",mainPanel:"ZUn8lbtdY0Tn_RG3i3pz",parameterSlots:"Q4AvqwYH1uAkPM9EnXMo",keyBindingHeader:"daj2D9YH7o5FkuRCGRKw",editPanel:"ECcVyZa4GyjklIgcnoqr",editing:"pW09rdsSXEQ2ayWrJAON",editPanelClose:"l9K6SYcfaIEZkOSBRoMw"},e.Z=a},2:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.CoLZlKR1WcMrFd9XhDMC {\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\n\tfont-family: Quicksand, avenir, sans-serif;\n\n\t/* TODO: remove this once I have a wrapper with size defaults */\n\twidth: 65px;\n\theight: 65px;\n\n\tfont-size: 110%;\n\tborder-radius: 5px;\n}\n\n.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi { cursor: pointer; }\n.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi * {\n\tpointer-events: none;\n\tborder: none;\n\ttext-decoration: none !important;\n}\n\n\n.CT4uGhwl8sY0LwT3p39g:not(:hover) .UNzQquWsoIanOpIN0Q9L,\n.OsA2qRpHoDPcN93o_TUX:not(:hover) .DejZXCvvhJILPbs9Q8ht.UNzQquWsoIanOpIN0Q9L {\n\ttext-decoration: underline wavy var(--error-highlight);\n\ttext-underline-offset: 4px;\n\tcolor: var(--error-highlight);\n\tfont-weight: bold;\n}\n\n.Y5EVt8b0BaXNd9uLxhfh {\n\tposition: absolute;\n\tleft: 2px;\n\tbottom: 2px;\n\tfont-size: 80%;\n\n\tanimation: sYr3l9y03JxO_2AP73jr ease-in-out 1s alternate-reverse;\n}\n.Y5EVt8b0BaXNd9uLxhfh:hover {\n\tcolor: rgb(255, 225, 0);\n}\n\n@keyframes sYr3l9y03JxO_2AP73jr {\n\t0% { color: var(--key-color-base) }\n\t100% { color: var(--key-color-extreme) }\n}\n\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht,\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht :before,\n.CoLZlKR1WcMrFd9XhDMC:hover .GliE4Ybwli9X6TNTjD1_ {\n\tborder-bottom-left-radius: 0;\n\tborder-bottom-right-radius: 0;\n\ttext-decoration: underline dotted white 2px;\n\ttext-underline-offset: 4px;\n}\n\n\n.huQDP3GbTLThbVIP8wFp {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.PpMmKpJfEi37Ldw7AeBT {\n\tborder-radius: 100%;\n\tbackground-color: var(--key-bg-base);\n\tcolor: var(--key-color-base);\n}\n\n._F1Vep3btfY3Rl4VJaUQ {\n\twidth: 80px;\n\theight: 80px;\n\tborder-radius: 100%;\n\tbackground-color: var(--key-bg-base);\n\tcolor: var(--key-color-base);\n}\n\n._F1Vep3btfY3Rl4VJaUQ .GliE4Ybwli9X6TNTjD1_ {\n\tleft: 50%;\n\ttransform: translateX(-50%);\n}\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root="true"] {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root="true"] .mLz637Atn0jZXey6Rx4v:first-child::before {\n\tcontent: "⟳";\n\tfont-size: 140%;\n\tfont-weight: bold;\n}\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root="true"] .mLz637Atn0jZXey6Rx4v:nth-child(2)::before {\n\tcontent: "⟲";\n\tfont-size: 140%;\n\tfont-weight: bold;\n}\n._F1Vep3btfY3Rl4VJaUQ:hover .ApHDJFJGYUaGTgzMeIKZ[data-is-root="true"] .mLz637Atn0jZXey6Rx4v:first-child::before,\n._F1Vep3btfY3Rl4VJaUQ:hover .ApHDJFJGYUaGTgzMeIKZ[data-is-root="true"] .mLz637Atn0jZXey6Rx4v:nth-child(2)::before {\n\tcolor: white;\n}\n\n\n.k2EIh8YlFvp9sBuklSxx {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 50%;\n\ttransform: translateX(-50%);\n\tfont-size: 50%;\n}\n\n.CoLZlKR1WcMrFd9XhDMC:hover, .PpMmKpJfEi37Ldw7AeBT:hover {\n\tbackground-color: var(--hover-selection);\n\ttransition: 200ms;\n\tz-index: 1;\n}\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht, .CoLZlKR1WcMrFd9XhDMC:hover .GliE4Ybwli9X6TNTjD1_ {\n\tcolor: var(--key-color-hover);\n}\n.CoLZlKR1WcMrFd9XhDMC > .DejZXCvvhJILPbs9Q8ht {\n\tpadding: 5px;\n}\n\n.mLz637Atn0jZXey6Rx4v {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n[data-simple="true"] { font-size: 140%; }\n[data-long="true"] { font-size: 60%; }\n\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"])::before { content: \'(\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"])::after { content: \')\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root="true"]) .mLz637Atn0jZXey6Rx4v:not(:last-child)::after { content: \',\'; }\n\n.DejZXCvvhJILPbs9Q8ht {\n\tcursor: default;\n\tpadding: 0px 4px;\n\tmargin-left: -2px;\n\tmargin-right: -2px;\n}\n\n.CT4uGhwl8sY0LwT3p39g .DejZXCvvhJILPbs9Q8ht {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tbox-sizing: content-box;\n\tmin-width: 0.5em;\n\ttext-align: center;\n\tborder-radius: 4px;\n}\n.CoLZlKR1WcMrFd9XhDMC .DejZXCvvhJILPbs9Q8ht:hover {\n\tbackground-color: white !important;\n\tcolor: var(--hover-selection) !important;\n\tborder-radius: 4px !important;\n}\n\n.DejZXCvvhJILPbs9Q8ht * {\n\tpointer-events: none;\n}\n\n.OsA2qRpHoDPcN93o_TUX {\n\t/* display: inline-block; */\n\tmargin: 0 5px;\n\tfont-family: Quicksand, avenir, sans-serif;\n\tfont-size: 110%;\n}\n.OsA2qRpHoDPcN93o_TUX .mLz637Atn0jZXey6Rx4v {\n\talign-items: center;\n\tgap: 6px;\n}\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht {\n\talign-items: center;\n\tpadding: 6px 12px;\n\tborder-radius: 5px;\n\tcolor: var(--key-color-base);\n\tborder-bottom: .15em dotted var(--key-color-base);\n\tborder-radius: 0;\n}\n\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht:hover,\n.OsA2qRpHoDPcN93o_TUX.sqfL6SjYMWzHXm3D6bOd .DejZXCvvhJILPbs9Q8ht {\n\tbackground-color: var(--hover-selection);\n\tborder-radius: 5px;\n\tcolor: white;\n\tcursor: pointer;\n}\n\n.DejZXCvvhJILPbs9Q8ht code+*::before {\n\tcontent: "|";\n\tbackground-color: transparent;\n\tmargin: auto 5px;\n}\n\n.GliE4Ybwli9X6TNTjD1_ {\n  position: absolute;\n  top: 0;\n  left: 0;\n  font-size: 10px;\n  padding: 2px;\n  opacity: 0.8;\n}\n\n.GliE4Ybwli9X6TNTjD1_:hover {\n  cursor: pointer;\n  color: var(--hover-selection) !important;\n  background-color: var(--key-bg-hover);\n  border-radius: 5px 0;\n  opacity: 1;\n}\n',"",{version:3,sources:["webpack://./src/Keyboard/Keys/styles.module.css"],names:[],mappings:"AAAA;CACC,kBAAkB;CAClB,aAAa;CACb,uBAAuB;CACvB,mBAAmB;;CAEnB,0CAA0C;;CAE1C,+DAA+D;CAC/D,WAAW;CACX,YAAY;;CAEZ,eAAe;CACf,kBAAkB;AACnB;;AAEA,6CAAe,eAAe,EAAE;AAChC;CACC,oBAAoB;CACpB,YAAY;CACZ,gCAAgC;AACjC;;;AAGA;;CAEC,sDAAsD;CACtD,0BAA0B;CAC1B,6BAA6B;CAC7B,iBAAiB;AAClB;;AAEA;CACC,kBAAkB;CAClB,SAAS;CACT,WAAW;CACX,cAAc;;CAEd,gEAAiD;AAClD;AACA;CACC,uBAAuB;AACxB;;AAEA;CACC,KAAK,6BAA6B;CAClC,OAAO,gCAAgC;AACxC;;AAEA;;;CAGC,4BAA4B;CAC5B,6BAA6B;CAC7B,2CAA2C;CAC3C,0BAA0B;AAC3B;;;AAGA;CACC,4BAA4B;CAC5B,oCAAoC;AACrC;;AAEA;CACC,mBAAmB;CACnB,oCAAoC;CACpC,4BAA4B;AAC7B;;AAEA;CACC,WAAW;CACX,YAAY;CACZ,mBAAmB;CACnB,oCAAoC;CACpC,4BAA4B;AAC7B;;AAEA;CACC,SAAS;CACT,2BAA2B;AAC5B;AACA;CACC,aAAa;CACb,sBAAsB;AACvB;AACA;CACC,YAAY;CACZ,eAAe;CACf,iBAAiB;AAClB;AACA;CACC,YAAY;CACZ,eAAe;CACf,iBAAiB;AAClB;AACA;;CAEC,YAAY;AACb;;;AAGA;CACC,kBAAkB;CAClB,MAAM;CACN,SAAS;CACT,2BAA2B;CAC3B,cAAc;AACf;;AAEA;CACC,wCAAwC;CACxC,iBAAiB;CACjB,UAAU;AACX;AACA;CACC,6BAA6B;AAC9B;AACA;CACC,YAAY;AACb;;AAEA;CACC,oBAAoB;CACpB,mBAAmB;AACpB;;AAEA,uBAAuB,eAAe,EAAE;AACxC,qBAAqB,cAAc,EAAE;;AAErC,2DAA6C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACzG,0DAA4C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACxG,iGAAoE,YAAY,EAAE;;AAElF;CACC,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,kBAAkB;AACnB;;AAEA;CACC,eAAe;CACf,qBAAqB;CACrB,uBAAuB;CACvB,gBAAgB;CAChB,kBAAkB;CAClB,kBAAkB;AACnB;AACA;CACC,kCAAkC;CAClC,wCAAwC;CACxC,6BAA6B;AAC9B;;AAEA;CACC,oBAAoB;AACrB;;AAEA;CACC,2BAA2B;CAC3B,aAAa;CACb,0CAA0C;CAC1C,eAAe;AAChB;AACA;CACC,mBAAmB;CACnB,QAAQ;AACT;AACA;CACC,mBAAmB;CACnB,iBAAiB;CACjB,kBAAkB;CAClB,4BAA4B;CAC5B,iDAAiD;CACjD,gBAAgB;AACjB;;AAEA;;CAEC,wCAAwC;CACxC,kBAAkB;CAClB,YAAY;CACZ,eAAe;AAChB;;AAEA;CACC,YAAY;CACZ,6BAA6B;CAC7B,gBAAgB;AACjB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,eAAe;EACf,YAAY;EACZ,YAAY;AACd;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,qCAAqC;EACrC,oBAAoB;EACpB,UAAU;AACZ",sourcesContent:['.key {\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\n\tfont-family: Quicksand, avenir, sans-serif;\n\n\t/* TODO: remove this once I have a wrapper with size defaults */\n\twidth: 65px;\n\theight: 65px;\n\n\tfont-size: 110%;\n\tborder-radius: 5px;\n}\n\n.key.unified { cursor: pointer; }\n.key.unified * {\n\tpointer-events: none;\n\tborder: none;\n\ttext-decoration: none !important;\n}\n\n\n.selectable:not(:hover) .missingValue,\n.extracted:not(:hover) .code.missingValue {\n\ttext-decoration: underline wavy var(--error-highlight);\n\ttext-underline-offset: 4px;\n\tcolor: var(--error-highlight);\n\tfont-weight: bold;\n}\n\n.missing {\n\tposition: absolute;\n\tleft: 2px;\n\tbottom: 2px;\n\tfont-size: 80%;\n\n\tanimation: pulse ease-in-out 1s alternate-reverse;\n}\n.missing:hover {\n\tcolor: rgb(255, 225, 0);\n}\n\n@keyframes pulse {\n\t0% { color: var(--key-color-base) }\n\t100% { color: var(--key-color-extreme) }\n}\n\n.key:hover .code,\n.key:hover .code :before,\n.key:hover .behaviour-binding {\n\tborder-bottom-left-radius: 0;\n\tborder-bottom-right-radius: 0;\n\ttext-decoration: underline dotted white 2px;\n\ttext-underline-offset: 4px;\n}\n\n\n.keyDefaultTheme {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.encoder {\n\tborder-radius: 100%;\n\tbackground-color: var(--key-bg-base);\n\tcolor: var(--key-color-base);\n}\n\n.encoder2 {\n\twidth: 80px;\n\theight: 80px;\n\tborder-radius: 100%;\n\tbackground-color: var(--key-bg-base);\n\tcolor: var(--key-color-base);\n}\n\n.encoder2 .behaviour-binding {\n\tleft: 50%;\n\ttransform: translateX(-50%);\n}\n.encoder2 .params[data-is-root="true"] {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.encoder2 .params[data-is-root="true"] .param:first-child::before {\n\tcontent: "⟳";\n\tfont-size: 140%;\n\tfont-weight: bold;\n}\n.encoder2 .params[data-is-root="true"] .param:nth-child(2)::before {\n\tcontent: "⟲";\n\tfont-size: 140%;\n\tfont-weight: bold;\n}\n.encoder2:hover .params[data-is-root="true"] .param:first-child::before,\n.encoder2:hover .params[data-is-root="true"] .param:nth-child(2)::before {\n\tcolor: white;\n}\n\n\n.encoderDirection {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 50%;\n\ttransform: translateX(-50%);\n\tfont-size: 50%;\n}\n\n.key:hover, .encoder:hover {\n\tbackground-color: var(--hover-selection);\n\ttransition: 200ms;\n\tz-index: 1;\n}\n.key:hover .code, .key:hover .behaviour-binding {\n\tcolor: var(--key-color-hover);\n}\n.key > .code {\n\tpadding: 5px;\n}\n\n.param {\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n[data-simple="true"] { font-size: 140%; }\n[data-long="true"] { font-size: 60%; }\n\n.params:not([data-is-root="true"])::before { content: \'(\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.params:not([data-is-root="true"])::after { content: \')\'; opacity: 0.4; font-weight: bold; margin: 2px; }\n.params:not([data-is-root="true"]) .param:not(:last-child)::after { content: \',\'; }\n\n.code {\n\tcursor: default;\n\tpadding: 0px 4px;\n\tmargin-left: -2px;\n\tmargin-right: -2px;\n}\n\n.selectable .code {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tbox-sizing: content-box;\n\tmin-width: 0.5em;\n\ttext-align: center;\n\tborder-radius: 4px;\n}\n.key .code:hover {\n\tbackground-color: white !important;\n\tcolor: var(--hover-selection) !important;\n\tborder-radius: 4px !important;\n}\n\n.code * {\n\tpointer-events: none;\n}\n\n.extracted {\n\t/* display: inline-block; */\n\tmargin: 0 5px;\n\tfont-family: Quicksand, avenir, sans-serif;\n\tfont-size: 110%;\n}\n.extracted .param {\n\talign-items: center;\n\tgap: 6px;\n}\n.extracted .code {\n\talign-items: center;\n\tpadding: 6px 12px;\n\tborder-radius: 5px;\n\tcolor: var(--key-color-base);\n\tborder-bottom: .15em dotted var(--key-color-base);\n\tborder-radius: 0;\n}\n\n.extracted .code:hover,\n.extracted.highlight .code {\n\tbackground-color: var(--hover-selection);\n\tborder-radius: 5px;\n\tcolor: white;\n\tcursor: pointer;\n}\n\n.code code+*::before {\n\tcontent: "|";\n\tbackground-color: transparent;\n\tmargin: auto 5px;\n}\n\n.behaviour-binding {\n  position: absolute;\n  top: 0;\n  left: 0;\n  font-size: 10px;\n  padding: 2px;\n  opacity: 0.8;\n}\n\n.behaviour-binding:hover {\n  cursor: pointer;\n  color: var(--hover-selection) !important;\n  background-color: var(--key-bg-hover);\n  border-radius: 5px 0;\n  opacity: 1;\n}\n'],sourceRoot:""}]),a.locals={key:"CoLZlKR1WcMrFd9XhDMC",unified:"MZMfZSmJbwqqfp28UUOi",selectable:"CT4uGhwl8sY0LwT3p39g",missingValue:"UNzQquWsoIanOpIN0Q9L",extracted:"OsA2qRpHoDPcN93o_TUX",code:"DejZXCvvhJILPbs9Q8ht",missing:"Y5EVt8b0BaXNd9uLxhfh",pulse:"sYr3l9y03JxO_2AP73jr","behaviour-binding":"GliE4Ybwli9X6TNTjD1_",keyDefaultTheme:"huQDP3GbTLThbVIP8wFp",encoder:"PpMmKpJfEi37Ldw7AeBT",encoder2:"_F1Vep3btfY3Rl4VJaUQ",params:"ApHDJFJGYUaGTgzMeIKZ",param:"mLz637Atn0jZXey6Rx4v",encoderDirection:"k2EIh8YlFvp9sBuklSxx",highlight:"sqfL6SjYMWzHXm3D6bOd"},e.Z=a},47881:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.sP2kDRoTZElZUTNHq033 {\n\twidth: 300px;\n\tbackground-color: var(--dialog-bg);\n}\n\n.yaxqlR_GEWJ1lBISL3_N {\n  min-width: 300px;\n\tpadding: 15px\n}\n\n.lPSkq707ZDxmzbGw5Qqy.CKvAtM2VhDdTBOb8bZBb {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.lPSkq707ZDxmzbGw5Qqy input[type="text"] {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 30px;\n\tline-height: 30px;\n\n\tfont-size: 120%;\n\tmargin: 0;\n\tpadding: 4px;\n\tborder: none;\n\tborder-radius: 4px;\n  box-sizing: border-box;\n}\nul.inAS9Qunkf3g5K3xz6o6 {\n\tposition: relative;\n\tfont-family: monospace;\n\tlist-style-position: inside;\n\tlist-style-type: none;\n\tmax-height: 300px;\n\toverflow: scroll;\n\tpadding: 4px;\n  margin: 4px 0;\n\tbackground: rgba(0, 0, 0, 0.75);\n\tborder-radius: 4px;\n}\n.CKvAtM2VhDdTBOb8bZBb ul.inAS9Qunkf3g5K3xz6o6 {\n\tflex-grow: 1;\n\tmax-height: initial;\n}\n.inAS9Qunkf3g5K3xz6o6 li {\n\tcursor: pointer;\n\tcolor: white;\n\tpadding: 5px;\n}\n.inAS9Qunkf3g5K3xz6o6 li:hover, .inAS9Qunkf3g5K3xz6o6 li.BL7Cxrn_efblQXY3W1Sw {\n\tbackground: white;\n\tcolor: black;\n}\n.inAS9Qunkf3g5K3xz6o6 li b { color: dodgerblue; }\n.inAS9Qunkf3g5K3xz6o6 li .uld0XaeoQaQJJwp0LT0X {\n\tfont-style: italic;\n\tfont-size: 90%;\n\tmargin: 0;\n\tcolor: gray;\n}\n\n.pqiZQublKXvmnT_ESDxQ {\n  font-size: 10px;\n}\n\n.pqiZQublKXvmnT_ESDxQ a {\n  color: var(--selection);\n  border-bottom: 1px dotted var(--selection);\n  cursor: pointer;\n}\n\n.ECUs4g2j1rekP4xxgQDr {\n  position: relative;\n}\n.lPSkq707ZDxmzbGw5Qqy .ECUs4g2j1rekP4xxgQDr input {\n  padding-left: 30px;\n}\n\n.xDUAgQZeBp0TZSOqCwHm {\n  position: absolute;\n\ttop: 50%;\n\tleft: 10px;\n\ttransform: translateY(-50%);\n\tpointer-events: none;\n}\n.eY5zRl49sESLjXmizMEP {\n  position: absolute;\n\ttop: 50%;\n\tright: 10px;\n\ttransform: translateY(-50%);\n\tcursor: pointer;\n}',"",{version:3,sources:["webpack://./src/ValuePicker/style.module.css"],names:[],mappings:"AAAA;CACC,YAAY;CACZ,kCAAkC;AACnC;;AAEA;EACE,gBAAgB;CACjB;AACD;;AAEA;CACC,YAAY;CACZ,aAAa;CACb,sBAAsB;CACtB,uBAAuB;AACxB;;AAEA;CACC,cAAc;CACd,WAAW;CACX,YAAY;CACZ,iBAAiB;;CAEjB,eAAe;CACf,SAAS;CACT,YAAY;CACZ,YAAY;CACZ,kBAAkB;EACjB,sBAAsB;AACxB;AACA;CACC,kBAAkB;CAClB,sBAAsB;CACtB,2BAA2B;CAC3B,qBAAqB;CACrB,iBAAiB;CACjB,gBAAgB;CAChB,YAAY;EACX,aAAa;CACd,+BAA+B;CAC/B,kBAAkB;AACnB;AACA;CACC,YAAY;CACZ,mBAAmB;AACpB;AACA;CACC,eAAe;CACf,YAAY;CACZ,YAAY;AACb;AACA;CACC,iBAAiB;CACjB,YAAY;AACb;AACA,6BAAgB,iBAAiB,EAAE;AACnC;CACC,kBAAkB;CAClB,cAAc;CACd,SAAS;CACT,WAAW;AACZ;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,uBAAuB;EACvB,0CAA0C;EAC1C,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;CACnB,QAAQ;CACR,UAAU;CACV,2BAA2B;CAC3B,oBAAoB;AACrB;AACA;EACE,kBAAkB;CACnB,QAAQ;CACR,WAAW;CACX,2BAA2B;CAC3B,eAAe;AAChB",sourcesContent:['.dialog {\n\twidth: 300px;\n\tbackground-color: var(--dialog-bg);\n}\n\n.dialogWrapper {\n  min-width: 300px;\n\tpadding: 15px\n}\n\n.wrapper.inline {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.wrapper input[type="text"] {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 30px;\n\tline-height: 30px;\n\n\tfont-size: 120%;\n\tmargin: 0;\n\tpadding: 4px;\n\tborder: none;\n\tborder-radius: 4px;\n  box-sizing: border-box;\n}\nul.results {\n\tposition: relative;\n\tfont-family: monospace;\n\tlist-style-position: inside;\n\tlist-style-type: none;\n\tmax-height: 300px;\n\toverflow: scroll;\n\tpadding: 4px;\n  margin: 4px 0;\n\tbackground: rgba(0, 0, 0, 0.75);\n\tborder-radius: 4px;\n}\n.inline ul.results {\n\tflex-grow: 1;\n\tmax-height: initial;\n}\n.results li {\n\tcursor: pointer;\n\tcolor: white;\n\tpadding: 5px;\n}\n.results li:hover, .results li.highlighted {\n\tbackground: white;\n\tcolor: black;\n}\n.results li b { color: dodgerblue; }\n.results li .description {\n\tfont-style: italic;\n\tfont-size: 90%;\n\tmargin: 0;\n\tcolor: gray;\n}\n\n.choices-counter {\n  font-size: 10px;\n}\n\n.choices-counter a {\n  color: var(--selection);\n  border-bottom: 1px dotted var(--selection);\n  cursor: pointer;\n}\n\n.searchWrapper {\n  position: relative;\n}\n.wrapper .searchWrapper input {\n  padding-left: 30px;\n}\n\n.searchIcon {\n  position: absolute;\n\ttop: 50%;\n\tleft: 10px;\n\ttransform: translateY(-50%);\n\tpointer-events: none;\n}\n.clearSearchIcon {\n  position: absolute;\n\ttop: 50%;\n\tright: 10px;\n\ttransform: translateY(-50%);\n\tcursor: pointer;\n}'],sourceRoot:""}]),a.locals={dialog:"sP2kDRoTZElZUTNHq033",dialogWrapper:"yaxqlR_GEWJ1lBISL3_N",wrapper:"lPSkq707ZDxmzbGw5Qqy",inline:"CKvAtM2VhDdTBOb8bZBb",results:"inAS9Qunkf3g5K3xz6o6",highlighted:"BL7Cxrn_efblQXY3W1Sw",description:"uld0XaeoQaQJJwp0LT0X","choices-counter":"pqiZQublKXvmnT_ESDxQ",searchWrapper:"ECUs4g2j1rekP4xxgQDr",searchIcon:"xDUAgQZeBp0TZSOqCwHm",clearSearchIcon:"eY5zRl49sESLjXmizMEP"},e.Z=a},38356:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),A=r(19216),d=r.n(A),p=r(44589),f=r.n(p),b=r(14409),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},94596:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),A=r(19216),d=r.n(A),p=r(44589),f=r.n(p),b=r(31259),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},61953:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),A=r(19216),d=r.n(A),p=r(44589),f=r.n(p),b=r(2),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0}}]);
//# sourceMappingURL=6538.f54a160d3283f7f6f53a.js.map