@fluentui/react-theme-provider
Version:
Fluent UI React theme provider component, hook, and theme related utilities.
16 lines (14 loc) • 3.29 MB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(746)},function(e,t,n){"use strict";n.d(t,"a",(function(){return G})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return x})),n.d(t,"g",(function(){return D})),n.d(t,"h",(function(){return P})),n.d(t,"i",(function(){return S})),n.d(t,"j",(function(){return R})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return s})),n.d(t,"p",(function(){return h})),n.d(t,"q",(function(){return U})),n.d(t,"r",(function(){return O})),n.d(t,"s",(function(){return m})),n.d(t,"t",(function(){return d})),n.d(t,"u",(function(){return B})),n.d(t,"v",(function(){return k})),n.d(t,"w",(function(){return v})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return N})),n.d(t,"z",(function(){return j})),n.d(t,"A",(function(){return c})),n.d(t,"B",(function(){return g})),n.d(t,"C",(function(){return u})),n.d(t,"D",(function(){return F})),n.d(t,"E",(function(){return M})),n.d(t,"F",(function(){return C})),n.d(t,"G",(function(){return w})),n.d(t,"H",(function(){return I}));var r=n(4),o=n(91),i=n(43);function a(e){return Object.keys(e)}function s(e,t,n){void 0===n&&(n=o.c);var r=u(e,n),i=u(t,n);return R(i)?!!R(r)&&i===r:R(r)?r in i:a(r).every((function(e){return e in i&&s(r[e],i[e])}))}function l(e){try{return R(e)||"number"==typeof e?""+e:e.type}catch(e){throw new Error("Events must be strings or objects with a string event.type property.")}}function c(e,t){try{return A(e)?e:e.toString().split(t)}catch(t){throw new Error("'"+e+"' is not a valid state path.")}}function u(e,t){return"object"==typeof(n=e)&&"value"in n&&"context"in n&&"event"in n&&"_event"in n?e.value:A(e)?d(e):"string"!=typeof e?e:d(c(e,t));var n}function d(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function p(e,t){for(var n={},r=a(e),o=0;o<r.length;o++){var i=r[o];n[i]=t(e[i],i,e,o)}return n}function f(e,t,n){var o,i,s={};try{for(var l=Object(r.e)(a(e)),c=l.next();!c.done;c=l.next()){var u=c.value,d=e[u];n(d)&&(s[u]=t(d,u,e))}}catch(e){o={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}return s}var m=function(e){return function(t){var n,o,i=t;try{for(var a=Object(r.e)(e),s=a.next();!s.done;s=a.next()){i=i[s.value]}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function h(e,t){return function(n){var o,i,a=n;try{for(var s=Object(r.e)(e),l=s.next();!l.done;l=s.next()){var c=l.value;a=a[t][c]}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function g(e){return e?R(e)?[[e]]:b(a(e).map((function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?g(e[t]).map((function(e){return[t].concat(e)})):[[t]]}))):[[]]}function b(e){var t;return(t=[]).concat.apply(t,Object(r.d)(e))}function y(e){return A(e)?e:[e]}function v(e){return void 0===e?[]:y(e)}function _(e,t,n){var o,i;if(x(e))return e(t,n.data);var s={};try{for(var l=Object(r.e)(a(e)),c=l.next();!c.done;c=l.next()){var u=c.value,d=e[u];x(d)?s[u]=d(t,n.data):s[u]=d}}catch(e){o={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}return s}function E(e){return/^(done|error)\./.test(e)}function S(e){return e instanceof Promise||!(null===e||!x(e)&&"object"!=typeof e||!x(e.then))}function O(e,t){var n,o,i=Object(r.b)([[],[]],2),a=i[0],s=i[1];try{for(var l=Object(r.e)(e),c=l.next();!c.done;c=l.next()){var u=c.value;t(u)?a.push(u):s.push(u)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return[a,s]}function T(e,t){return p(e.states,(function(e,n){if(e){var r=(R(t)?void 0:t[n])||(e?e.current:void 0);if(r)return{current:r,states:T(e,r)}}}))}function w(e,t){return{current:t,states:T(e,t)}}function C(e,t,n,o){return i.a||I(!!e,"Attempting to update undefined context"),e?n.reduce((function(e,n){var i,s,l=n.assignment,c={state:o,action:n,_event:t},u={};if(x(l))u=l(e,t.data,c);else try{for(var d=Object(r.e)(a(l)),p=d.next();!p.done;p=d.next()){var f=p.value,m=l[f];u[f]=x(m)?m(e,t.data,c):m}}catch(e){i={error:e}}finally{try{p&&!p.done&&(s=d.return)&&s.call(d)}finally{if(i)throw i.error}}return Object.assign({},e,u)}),e):e}var I=function(){};function A(e){return Array.isArray(e)}function x(e){return"function"==typeof e}function R(e){return"string"==typeof e}function N(e,t){if(e)return R(e)?{type:o.a,name:e,predicate:t?t[e]:void 0}:x(e)?{type:o.a,name:e.name,predicate:e}:e}function P(e){try{return"subscribe"in e&&x(e.subscribe)}catch(e){return!1}}i.a||(I=function(e,t){var n=e instanceof Error?e:void 0;if((n||!e)&&void 0!==console){var r=["Warning: "+t];n&&r.push(n),console.warn.apply(console,r)}});var k=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function D(e){try{return"__xstatenode"in e}catch(e){return!1}}var M=function(){var e=0;return function(){return(++e).toString(16)}}();function L(e,t){return R(e)||"number"==typeof e?Object(r.a)({type:e},t):e}function j(e,t){if(!R(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=L(e);return Object(r.a)({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function F(e,t){return y(t).map((function(t){return void 0===t||"string"==typeof t||D(t)?{target:t,event:e}:Object(r.a)(Object(r.a)({},t),{event:e})}))}function U(e){if(void 0!==e&&e!==o.d)return v(e)}function B(e,t,n){if(!i.a){var r=e.stack?" Stacktrace was '"+e.stack+"'":"";if(e===t)console.error("Missing onError handler for invocation '"+n+"', error was '"+e+"'."+r);else{var o=t.stack?" Stacktrace was '"+t.stack+"'":"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '"+n+"'. Original error: '"+e+"'. "+r+" Current error is '"+t+"'."+o)}}}function G(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===o.a)return t.predicate(n,r.data,s);var l=a[t.type];if(!l)throw new Error("Guard '"+t.type+"' is not implemented on machine '"+e.id+"'.");return l(n,r.data,s)}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(421);e.exports=n(748)(r.isElement,!0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return i}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function i(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={styled:!0,createGlobal:!0,createReset:!0,lighten:!0,darken:!0};Object.defineProperty(t,"createGlobal",{enumerable:!0,get:function(){return u.createGlobal}}),Object.defineProperty(t,"createReset",{enumerable:!0,get:function(){return u.createReset}}),Object.defineProperty(t,"lighten",{enumerable:!0,get:function(){return m.lightenColor}}),Object.defineProperty(t,"darken",{enumerable:!0,get:function(){return m.darkenColor}}),t.styled=void 0;var o,i=(o=n(1525))&&o.__esModule?o:{default:o},a=n(202);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(883);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(9);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(884);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(886),d=n(476);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=n(478);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=n(890);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var m=n(203);var h=i.default;t.styled=h},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),o=n(37),i=n(129),a=n(128),s=n(56),l=n(251),c=n(414),u=n(38),d=n(61),p=n(144),f=n(48),m=n(58),h=n(80),g=n(93),b=n(141),y=n(139),v=n(130),_=n(146),E=n(173),S=n(724),O=n(249),T=n(118),w=n(65),C=n(170),I=n(94),A=n(86),x=n(244),R=n(171),N=n(142),P=n(172),k=n(46),D=n(418),M=n(53),L=n(119),j=n(109),F=n(101).forEach,U=R("hidden"),B=k("toPrimitive"),G=j.set,z=j.getterFor("Symbol"),H=Object.prototype,Y=o.Symbol,V=i("JSON","stringify"),W=T.f,$=w.f,q=S.f,K=C.f,X=x("symbols"),Z=x("op-symbols"),Q=x("string-to-symbol-registry"),J=x("symbol-to-string-registry"),ee=x("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u((function(){return 7!=v($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,oe=function(e,t){var n=X[e]=v(Y.prototype);return G(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},ae=function(e,t,n){e===H&&ae(Z,t,n),m(e);var r=b(t,!0);return m(n),d(X,r)?(n.enumerable?(d(e,U)&&e[U][r]&&(e[U][r]=!1),n=v(n,{enumerable:y(0,!1)})):(d(e,U)||$(e,U,y(1,{})),e[U][r]=!0),re(e,r,n)):$(e,r,n)},se=function(e,t){m(e);var n=g(t),r=_(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=b(e,!0),n=K.call(this,t);return!(this===H&&d(X,t)&&!d(Z,t))&&(!(n||!d(this,t)||!d(X,t)||d(this,U)&&this[U][t])||n)},ce=function(e,t){var n=g(e),r=b(t,!0);if(n!==H||!d(X,r)||d(Z,r)){var o=W(n,r);return!o||!d(X,r)||d(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=q(g(e)),n=[];return F(t,(function(e){d(X,e)||d(N,e)||n.push(e)})),n},de=function(e){var t=e===H,n=q(t?Z:g(e)),r=[];return F(n,(function(e){!d(X,e)||t&&!d(H,e)||r.push(X[e])})),r};(l||(A((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=P(e),n=function(e){this===H&&n.call(Z,e),d(this,U)&&d(this[U],t)&&(this[U][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return z(this).tag})),A(Y,"withoutSetter",(function(e){return oe(P(e),e)})),C.f=le,w.f=ae,T.f=ce,E.f=S.f=ue,O.f=de,D.f=function(e){return oe(k(e),e)},s&&($(Y.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||A(H,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),F(_(ee),(function(e){M(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Q,t))return Q[t];var n=Y(t);return Q[t]=n,J[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?v(e):se(v(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(h(e))}}),V)&&r({target:"JSON",stat:!0,forced:!l||u((function(){var e=Y();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,V.apply(null,o)}});Y.prototype[B]||I(Y.prototype,B,Y.prototype.valueOf),L(Y,"Symbol"),N[U]=!0},function(e,t,n){var r=n(18),o=n(745);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";n.r(t),n.d(t,"CacheProvider",(function(){return f})),n.d(t,"ClassNames",(function(){return A})),n.d(t,"Global",(function(){return O})),n.d(t,"ThemeContext",(function(){return p})),n.d(t,"jsx",(function(){return E})),n.d(t,"keyframes",(function(){return w})),n.d(t,"withEmotionCache",(function(){return m}));var r=n(117),o=n.n(r),i=n(0),a=n(221),s=n(106),l=n(97),c=n(215),u=n(105);n.d(t,"css",(function(){return u.a}));var d=Object(i.createContext)("undefined"!=typeof HTMLElement?Object(a.a)():null),p=Object(i.createContext)({}),f=d.Provider,m=function(e){return Object(i.forwardRef)((function(t,n){return Object(i.createElement)(d.Consumer,null,(function(r){return e(t,r,n)}))}))},h=function(e){return e.replace(/\$/g,"-")},g="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",y=Object.prototype.hasOwnProperty,v=function(e,t,n,r){var o=null===n?t.css:t.css(n);"string"==typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var a=t[g],c=[o],u="";"string"==typeof t.className?u=Object(s.a)(e.registered,c,t.className):null!=t.className&&(u=t.className+" ");var d=Object(l.a)(c);if(-1===d.name.indexOf("-")){var p=t[b];p&&(d=Object(l.a)([d,"label:"+p+";"]))}Object(s.b)(e,d,"string"==typeof a);u+=e.key+"-"+d.name;var f={};for(var m in t)y.call(t,m)&&"css"!==m&&m!==g&&m!==b&&(f[m]=t[m]);return f.ref=r,f.className=u,Object(i.createElement)(a,f)},_=m((function(e,t,n){return"function"==typeof e.css?Object(i.createElement)(p.Consumer,null,(function(r){return v(t,e,r,n)})):v(t,e,null,n)}));_.displayName="EmotionCssPropInternal";var E=function(e,t){var n=arguments;if(null==t||!y.call(t,"css"))return i.createElement.apply(void 0,n);if("string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`"+t.css+"`");var r=n.length,o=new Array(r);o[0]=_;var a={};for(var s in t)y.call(t,s)&&(a[s]=t[s]);a[g]=e;var l=new Error;if(l.stack){var c=l.stack.match(/at (?:Object\.|)jsx.*\n\s+at ([A-Z][A-Za-z$]+) /);c||(c=l.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/)),c&&(a[b]=h(c[1]))}o[1]=a;for(var u=2;u<r;u++)o[u]=n[u];return i.createElement.apply(null,o)},S=!1,O=m((function(e,t){S||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),S=!0);var n=e.styles;if("function"==typeof n)return Object(i.createElement)(p.Consumer,null,(function(e){var r=Object(l.a)([n(e)]);return Object(i.createElement)(T,{serialized:r,cache:t})}));var r=Object(l.a)([n]);return Object(i.createElement)(T,{serialized:r,cache:t})})),T=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}o()(t,e);var n=t.prototype;return n.componentDidMount=function(){this.sheet=new c.a({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},n.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},n.insertStyles=function(){if(void 0!==this.props.serialized.next&&Object(s.b)(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},n.componentWillUnmount=function(){this.sheet.flush()},n.render=function(){return null},t}(i.Component),w=function(){var e=u.a.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},C=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function I(e,t,n){var r=[],o=Object(s.a)(e,r,n);return r.length<2?n:o+t(r)}var A=m((function(e,t){return Object(i.createElement)(p.Consumer,null,(function(n){var r=!1,o=function(){if(r)throw new Error("css can only be used during render");for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i=Object(l.a)(n,t.registered);return Object(s.b)(t,i,!1),t.key+"-"+i.name},i={css:o,cx:function(){if(r)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return I(t.registered,o,C(n))},theme:n},a=e.children(i);return r=!0,a}))}))},function(e,t,n){var r=n(254),o=n(86),i=n(723);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(18),o=n(80),i=n(146);r({target:"Object",stat:!0,forced:n(38)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return C})),n.d(t,"f",(function(){return I})),n.d(t,"g",(function(){return x})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return v})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return R})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return m})),n.d(t,"p",(function(){return h})),n.d(t,"q",(function(){return g})),n.d(t,"r",(function(){return E})),n.d(t,"s",(function(){return S})),n.d(t,"t",(function(){return u})),n.d(t,"u",(function(){return d})),n.d(t,"v",(function(){return p}));var r=n(4),o=n(43),i=n(1),a=n(27),s=n(26),l=Object(i.z)({type:s.f});function c(e,t){return t&&t[e]||void 0}function u(e,t){var n;if(Object(i.j)(e)||"number"==typeof e){var o=c(e,t);n=Object(i.f)(o)?{type:e,exec:o}:o||{type:e,exec:void 0}}else if(Object(i.f)(e))n={type:e.name||e.toString(),exec:e};else{o=c(e.type,t);if(Object(i.f)(o))n=Object(r.a)(Object(r.a)({},e),{exec:o});else if(o){var a=e.type,s=Object(r.c)(e,["type"]);n=Object(r.a)(Object(r.a)({type:a},o),s)}else n=e}return Object.defineProperty(n,"toString",{value:function(){return n.type},enumerable:!1,configurable:!0}),n}var d=function(e,t){return e?(Object(i.d)(e)?e:[e]).map((function(e){return u(e,t)})):[]};function p(e){var t=u(e);return Object(r.a)(Object(r.a)({id:Object(i.j)(e)?e:t.id},t),{type:t.type})}function f(e){return Object(i.j)(e)?{type:s.k,event:e}:m(e,{to:a.b.Internal})}function m(e,t){return{to:t?t.to:void 0,type:s.l,event:Object(i.f)(e)?e:Object(i.x)(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:Object(i.f)(e)?e.name:Object(i.c)(e)}}function h(e,t){return m(e,Object(r.a)(Object(r.a)({},t),{to:a.b.Parent}))}function g(){return h(s.o)}function b(e,t){return m(e,Object(r.a)(Object(r.a)({},t),{to:function(e,t,n){return n._event.origin}}))}var y=function(e,t){return{context:e,event:t}};function v(e,t){return void 0===e&&(e=y),{type:s.h,label:t,expr:e}}var _=function(e){return{type:s.b,sendId:e}};function E(e){var t=p(e);return{type:a.a.Start,activity:t,exec:void 0}}function S(e){var t=p(e);return{type:a.a.Stop,activity:t,exec:void 0}}var O=function(e){return{type:s.a,assignment:e}};function T(e,t){var n=t?"#"+t:"";return a.a.After+"("+e+")"+n}function w(e,t){var n=a.a.DoneState+"."+e,r={type:n,data:t,toString:function(){return n}};return r}function C(e,t){var n=a.a.DoneInvoke+"."+e,r={type:n,data:t,toString:function(){return n}};return r}function I(e,t){var n=a.a.ErrorPlatform+"."+e,r={type:n,data:t,toString:function(){return n}};return r}function A(e,t){return m((function(e,t){return t}),Object(r.a)(Object(r.a)({},t),{to:e}))}function x(e,t){return h((function(t,n,r){return{type:s.d,data:Object(i.f)(e)?e(t,n,r):e}}),Object(r.a)(Object(r.a)({},t),{to:a.b.Parent}))}function R(e,t,n,a,l){var c=Object(r.b)(Object(i.r)(l,(function(e){return e.type===s.a})),2),p=c[0],f=c[1],m=p.length?Object(i.F)(n,a,p,t):n;return[Object(i.b)(f.map((function(n){var l,c;switch(n.type){case s.k:return c=n,{type:s.k,_event:Object(i.z)(c.event)};case s.l:var p=function(e,t,n,o){var a,s={_event:n},l=Object(i.z)(Object(i.f)(e.event)?e.event(t,n.data,s):e.event);if(Object(i.j)(e.delay)){var c=o&&o[e.delay];a=Object(i.f)(c)?c(t,n.data,s):c}else a=Object(i.f)(e.delay)?e.delay(t,n.data,s):e.delay;var u=Object(i.f)(e.to)?e.to(t,n.data,s):e.to;return Object(r.a)(Object(r.a)({},e),{to:u,_event:l,event:l.data,delay:a})}(n,m,a,e.options.delays);return o.a||Object(i.H)(!Object(i.j)(n.delay)||"number"==typeof p.delay,"No delay reference for delay expression '"+n.delay+"' was found on machine '"+e.id+"'"),p;case s.h:return function(e,t,n){return Object(r.a)(Object(r.a)({},e),{value:Object(i.j)(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})}(n,m,a);case s.c:if(!(h=null===(l=n.conds.find((function(n){var r=Object(i.y)(n.cond,e.options.guards);return!r||Object(i.a)(e,r,m,a,t)})))||void 0===l?void 0:l.actions))return[];var f=R(e,t,m,a,d(Object(i.w)(h)));return m=f[1],f[0];case s.j:var h;if(!(h=n.get(m,a.data)))return[];f=R(e,t,m,a,d(Object(i.w)(h)));return m=f[1],f[0];default:return u(n,e.options.actions)}}))),m]}},function(e,t,n){"use strict";var r=n(18),o=n(56),i=n(37),a=n(61),s=n(48),l=n(65).f,c=n(412),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(p,u);var f=p.prototype=u.prototype;f.constructor=p;var m=f.toString,h="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var n=h?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){"use strict";var r=n(93),o=n(177),i=n(149),a=n(109),s=n(255),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";var r=n(426).charAt,o=n(109),i=n(255),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(37),o=n(431),i=n(14),a=n(94),s=n(46),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var p=r[d],f=p&&p.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(e){f[l]=u}if(f[c]||a(f,c,d),o[d])for(var m in i)if(f[m]!==i[m])try{a(f,m,i[m])}catch(e){f[m]=i[m]}}}},function(e,t,n){n(53)("iterator")},function(e,t,n){var r=n(37),o=n(118).f,i=n(94),a=n(86),s=n(242),l=n(412),c=n(174);e.exports=function(e,t){var n,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(n=h?r:g?r[m]||s(m,{}):(r[m]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},function(e,t,n){"use strict";var r=n(18),o=n(38),i=n(144),a=n(48),s=n(80),l=n(79),c=n(175),u=n(250),d=n(145),p=n(46),f=n(252),m=p("isConcatSpreadable"),h=f>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),g=d("concat"),b=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!h||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(b(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(d,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,p++,i)}return d.length=p,d}})},function(e,t,n){"use strict";var r=n(18),o=n(246).indexOf,i=n(112),a=n(72),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={Badge:!0,Link:!0,DocumentWrapper:!0,SyntaxHighlighter:!0,ActionBar:!0,Spaced:!0,Placeholder:!0,ScrollArea:!0,Button:!0,Form:!0,WithTooltip:!0,WithTooltipPure:!0,TooltipMessage:!0,TooltipNote:!0,TooltipLinkList:!0,Tabs:!0,TabsState:!0,TabBar:!0,TabWrapper:!0,IconButton:!0,TabButton:!0,Separator:!0,interleaveSeparators:!0,Bar:!0,FlexBar:!0,AddonPanel:!0,Icons:!0,StorybookLogo:!0,StorybookIcon:!0};Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return o.Badge}}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return i.Link}}),Object.defineProperty(t,"DocumentWrapper",{enumerable:!0,get:function(){return a.DocumentWrapper}}),Object.defineProperty(t,"SyntaxHighlighter",{enumerable:!0,get:function(){return s.SyntaxHighlighter}}),Object.defineProperty(t,"ActionBar",{enumerable:!0,get:function(){return l.ActionBar}}),Object.defineProperty(t,"Spaced",{enumerable:!0,get:function(){return c.Spaced}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return u.Placeholder}}),Object.defineProperty(t,"ScrollArea",{enumerable:!0,get:function(){return d.ScrollArea}}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return p.Button}}),Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return f.Form}}),Object.defineProperty(t,"WithTooltip",{enumerable:!0,get:function(){return m.WithTooltip}}),Object.defineProperty(t,"WithTooltipPure",{enumerable:!0,get:function(){return m.WithTooltipPure}}),Object.defineProperty(t,"TooltipMessage",{enumerable:!0,get:function(){return h.TooltipMessage}}),Object.defineProperty(t,"TooltipNote",{enumerable:!0,get:function(){return g.TooltipNote}}),Object.defineProperty(t,"TooltipLinkList",{enumerable:!0,get:function(){return b.TooltipLinkList}}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return y.Tabs}}),Object.defineProperty(t,"TabsState",{enumerable:!0,get:function(){return y.TabsState}}),Object.defineProperty(t,"TabBar",{enumerable:!0,get:function(){return y.TabBar}}),Object.defineProperty(t,"TabWrapper",{enumerable:!0,get:function(){return y.TabWrapper}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return v.IconButton}}),Object.defineProperty(t,"TabButton",{enumerable:!0,get:function(){return v.TabButton}}),Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return _.Separator}}),Object.defineProperty(t,"interleaveSeparators",{enumerable:!0,get:function(){return _.interleaveSeparators}}),Object.defineProperty(t,"Bar",{enumerable:!0,get:function(){return E.Bar}}),Object.defineProperty(t,"FlexBar",{enumerable:!0,get:function(){return E.FlexBar}}),Object.defineProperty(t,"AddonPanel",{enumerable:!0,get:function(){return S.AddonPanel}}),Object.defineProperty(t,"Icons",{enumerable:!0,get:function(){return O.Icons}}),Object.defineProperty(t,"StorybookLogo",{enumerable:!0,get:function(){return T.StorybookLogo}}),Object.defineProperty(t,"StorybookIcon",{enumerable:!0,get:function(){return w.StorybookIcon}});var o=n(914),i=n(487),a=n(917),s=n(286),l=n(293),c=n(1300),u=n(498),d=n(294),p=n(499),f=n(1302),m=n(500),h=n(1311),g=n(1312),b=n(1313),y=n(1315),v=n(298),_=n(1316),E=n(297),S=n(1317),O=n(206),T=n(1318),w=n(1319),C=n(1320);Object.keys(C).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n(1424)),o=c(n(1436)),i=c(n(1453)),a=c(n(1454)),s=c(n(1455)),l=c(n(1456));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=l.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,o.default)(e,s);return(0,i.default)(l)};t.default=u},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(e){o=null}var i=function(){throw new r},a=o?function(){try{return i}catch(e){try{return o(arguments,"callee").get}catch(e){return i}}}():i,s=n(84)(),l=Object.getPrototypeOf||function(e){return e.__proto__},c=void 0,u="undefined"==typeof Uint8Array?void 0:l(Uint8Array),d={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?l([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":c&&s&&Symbol.asyncIterator?c[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?l((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?l((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?l(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},p=n(32).call(Function.call,String.prototype.replace),f=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,m=/\\(\\)?/g,h=function(e){var t=[];return p(e,f,(function(e,n,r,o){t[t.length]=r?p(o,m,"$1"):n||e})),t},g=function(e,t){if(!(e in d))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===d[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return d[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=h(e),i=g("%"+(n.length>0?n[0]:"")+"%",t),a=1;a<n.length;a+=1)if(null!=i)if(o&&a+1>=n.length){var s=o(i,n[a]);if(!t&&!(n[a]in i))throw new r("base intrinsic for "+e+" exists, but the property is not available.");i=s?s.get||s.value:i[n[a]]}else i=i[n[a]];return i}},function(e,t,n){"use strict";var r=n(18),o=n(101).map,i=n(145),a=n(72),s=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(18),o=n(56);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(65).f})},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return c})),n.d(t,"j",(function(){return y})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return s})),n.d(t,"m",(function(){return o})),n.d(t,"n",(function(){return i})),n.d(t,"o",(function(){return g}));var r=n(27),o=r.a.Start,i=r.a.Stop,a=r.a.Raise,s=r.a.Send,l=r.a.Cancel,c=r.a.NullEvent,u=r.a.Assign,d=(r.a.After,r.a.DoneState,r.a.Log),p=r.a.Init,f=r.a.Invoke,m=(r.a.ErrorExecution,r.a.ErrorPlatform),h=r.a.ErrorCustom,g=r.a.Update,b=r.a.Choose,y=r.a.Pure},function(e,t,n){"use strict";var r,o;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(r||(r={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(o||(o={}))},function(e,t,n){"use strict";var r=n(32);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(42))},function(e,t,n){n(18)({target:"Array",stat:!0},{isArray:n(144)})},function(e,t,n){"use strict";var r=n(557);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r,o,i=Function.prototype.toString,a="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof a&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={}}catch(e){a=null}else a=null;var s=/^\s*class\b/,l=function(e){try{var t=i.call(e);return s.test(t)}catch(e){return!1}},c=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=a?function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{a(e,null,r)}catch(e){if(e!==o)return!1}return!l(e)}:function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(u)return function(e){try{return!l(e)&&(i.call(e),!0)}catch(e){return!1}}(e);if(l(e))return!1;var t=c.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(86),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){"use strict";var r=n(86),o=n(58),i=n(38),a=n(425),s=RegExp.prototype,l=s.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(c||u)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(56),o=n(65).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(42))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n(18)({target:"Object",stat:!0,sham:!n(56)},{create:n(130)})},function(e,t,n){var r=n(18),o=n(38),i=n(80),a=n(256),s=n(424);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(18)({target:"Object",stat:!0},{setPrototypeOf:n(257)})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1457);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return d(r).default}});var o=n(307);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return d(o).default}});var i=n(1460);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return d(i).default}});var a=n(1461);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return d(a).default}});var s=n(1463);Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return d(s).default}});var l=n(1464);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return d(l).default}});var c=n(524);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return d(c).default}});var u=n(1470);function d(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return d(u).default}})},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(37),o=n(244),i=n(61),a=n(172),s=n(251),l=n(414),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t,n){"use strict";var r=n(77),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)c(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!l,e.exports=u},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return i})),n.d(t,"h",(function(){return p}));var r=n(4),o=n(1),i=function(e){return"atomic"===e.type||"final"===e.type};function a(e){return Object(o.k)(e.states).map((function(t){return e.states[t]}))}function s(e){var t=[e];return i(e)?t:t.concat(Object(o.b)(a(e).map(s)))}function l(e,t){var n,o,i,s,l,u,d,p,f=c(new Set(e)),m=new Set(t);try{for(var h=Object(r.e)(m),g=h.next();!g.done;g=h.next())for(var b=(C=g.value).parent;b&&!m.has(b);)m.add(b),b=b.parent}catch(e){n={error:e}}finally{try{g&&!g.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}var y=c(m);try{for(var v=Object(r.e)(m),_=v.next();!_.done;_=v.next()){if("compound"!==(C=_.value).type||y.get(C)&&y.get(C).length){if("parallel"===C.type)try{for(var E=(l=void 0,Object(r.e)(a(C))),S=E.next();!S.done;S=E.next()){var O=S.value;"history"!==O.type&&(m.has(O)||(m.add(O),f.get(O)?f.get(O).forEach((function(e){return m.add(e)})):O.initialStateNodes.forEach((function(e){return m.add(e)}))))}}catch(e){l={error:e}}finally{try{S&&!S.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}}else f.get(C)?f.get(C).forEach((function(e){return m.add(e)})):C.initialStateNodes.forEach((function(e){return m.add(e)}))}}catch(e){i={error:e}}finally{try{_&&!_.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}try{for(var T=Object(r.e)(m),w=T.next();!w.done;w=T.next()){var C;for(b=(C=w.value).parent;b&&!m.has(b);)m.add(b),b=b.parent}}catch(e){d={error:e}}finally{try{w&&!w.done&&(p=T.return)&&p.call(T)}finally{if(d)throw d.error}}return m}function c(e){var t,n,o=new Map;try{for(var i=Object(r.e)(e),a=i.next();!a.done;a=i.next()){var s=a.value;o.has(s)||o.set(s,[]),s.parent&&(o.has(s.parent)||o.set(s.parent,[]),o.get(s.parent).push(s))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function u(e,t){return function e(t,n){var r=n.get(t);if(!r)return{};if("compound"===t.type){var o=r[0];if(!o)return{};if(i(o))return o.key}var a={};return r.forEach((function(t){a[t.key]=e(t,n)})),a}(e,c(l([e],t)))}function d(e,t){return Array.isArray(e)?e.some((function(e){return e===t})):e instanceof Set&&e.has(t)}function p(e){return Object(o.b)(Object(r.d)(new Set(e.map((function(e){return e.ownEvents})))))}function f(e,t){return"compound"===t.type?a(t).some((function(t){return"final"===t.type&&d(e,t)})):"parallel"===t.type&&a(t).every((function(t){return f(e,t)}))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(void 0===t)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(646);e.exports=function(e){return"symbol"==typeof e?"Symbol":r(e)}},function(e,t,n){var r=n(245),o=n(61),i=n(418),a=n(65).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(18),o=n(178);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){e.exports=function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return o(n||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var i=!1,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){t.exports=function(t){return"function"!=typeof Map||t?new(e("./similar")):new Map}},{"./similar":2}],2:[function(e,t,n){function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}r.prototype.get=function(e){var t;return this.lastItem&&this.isEqual(this.lastItem.key,e)?this.lastItem.val:(t=this.indexOf(e))>=0?(this.lastItem=this.list[t],this.list[t].val):void 0},r.prototype.set=function(e,t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=t,this):(n=this.indexOf(e))>=0?(this.lastItem=this.list[n],this.list[n].val=t,this):(this.lastItem={key:e,val:t},this.list.push(this.lastItem),this.size++,this)},r.prototype.delete=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),(t=this.indexOf(e))>=0)return this.size--,this.list.splice(t,1)[0]},r.prototype.has=function(e