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